-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement cloud snapshot collector, list page, create & delete methods #22359
Implement cloud snapshot collector, list page, create & delete methods #22359
Conversation
From Pull Request: ManageIQ/manageiq#22359
…ate & delete methods create & delete methods
7c71c41
to
b42a4af
Compare
From Pull Request: ManageIQ/manageiq#22359
app/models/ext_management_system.rb
Outdated
@@ -302,6 +303,8 @@ def validate_zone_not_maintenance_when_ems_enabled? | |||
supports_attribute :feature => :cloud_subnet_create | |||
supports_attribute :feature => :cloud_volume | |||
supports_attribute :feature => :cloud_volume_create | |||
supports_attribute :feature => :cloud_volume_snapshots | |||
supports_attribute :feature => :cloud_volume_snapshots_create |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need cloud_volume_snapshots_create
on the EMS? I'd think that we would check for an EMS that supports cloud_volume_snapshots, then go to the cloud_volume_snapshot class to check if it supports create
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, actually we don't need it since the creation method is implemented in CloudVolume class. removing...
app/models/ext_management_system.rb
Outdated
@@ -154,6 +154,7 @@ def self.create_from_params(params, endpoints, authentications) | |||
supports_not :cloud_subnet_create | |||
supports_not :cloud_tenant_mapping | |||
supports_not :cloud_volume_create | |||
supports_not :cloud_volume_snapshots_create |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also wouldn't need this one then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
d56dfcd
to
7e0a0e6
Compare
Checked commits Autosde/manageiq@b42a4af~...7e0a0e6 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
We have developed an integration with a new resource type - "cloud volume snapshot" on the Autosde side. Now, we can provide a list of snapshots from the attached physical storage, create a new one based on a particular volume object and delete it - by using the Autosde rest endpoint (The Autosde GEM is already updated with these new features).
Following these new features, I have added to our (MIQ Autosde provider) collector and refresher to pull snapshots from Autosde and show them in the right place - Cloud Volume Snapshots. I also added the counter component to the provider dashboard.
List page:
Snapshot summary page:
Dashboard:
Create snapshot from cloud volume:
1.
2.
Delete button exists as well at the snapshots page
related PRs: