Skip to content
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

Support Cinder's volume-extend action #448

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

mansam
Copy link
Contributor

@mansam mansam commented Mar 14, 2019

There's an RFE for supporting Cinder's volume extend action. I don't know if it'll be accepted, but I had time so why not be proactive about it. https://bugzilla.redhat.com/show_bug.cgi?id=1685063

Volume extension has to be done via a separate request from updating other fields. I've added it as part of raw_update_volume since the alternative would be having to add a new UI just for this purpose. The way this is set up, if updating the volume's attributes fail, the whole thing will fail. But if only extending fails, the rest of the update will succeed but you'll still get a message in the UI about the resize having failed. If that seems odd, we could probably set up unique notifications and exceptions for volume-extend so that you get a notification for the attribute update and a separate notification for the results of the extend.

@aufi, what do you think about that?

@miq-bot miq-bot added the wip label Mar 14, 2019
Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks simple enough

@mansam
Copy link
Contributor Author

mansam commented Mar 15, 2019

Depends on ManageIQ/manageiq#18560

@mansam mansam changed the title [wip] Support Cinder's volume-extend action Support Cinder's volume-extend action Mar 15, 2019
@miq-bot miq-bot removed the wip label Mar 15, 2019
@aufi
Copy link
Member

aufi commented Mar 18, 2019

Looks good to me, Sam 👍

@miq-bot
Copy link
Member

miq-bot commented Mar 19, 2019

This pull request is not mergeable. Please rebase and repush.

@miq-bot
Copy link
Member

miq-bot commented Mar 19, 2019

Checked commit mansam@37b662e with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🍪

@aufi aufi merged commit 4f7d50d into ManageIQ:master Mar 21, 2019
@aufi aufi added this to the Sprint 108 Ending Apr 1, 2019 milestone Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants