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

Enable attach/detach operations to storage manager #746

Conversation

gberginc
Copy link
Contributor

Attaching volume is currently not possible from within the list of cloud volumes of a chosen storage manager because the handler in ems_common does not have a path for the button (even though attach/detach option is enabled).

This patch adds the missing handlers and redirects to the required cloud_volume controller.

Video: http://x.k00.fr/6wmos (apologies for a short switch to the terminal, but I had a binding.pry there).

Somewhat related to #715 where I added ability to create new cloud volume from within the storage manager volume list.

@miq-bot add_label bug,storage

@gberginc
Copy link
Contributor Author

@AparnaKarve can you have a look at this one? If not, please assign to someone who can.

@AparnaKarve
Copy link
Contributor

@gberginc Will try and review this and #745 in the next day or two.

@miq-bot
Copy link
Member

miq-bot commented Mar 27, 2017

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

@gberginc gberginc force-pushed the enable_attach_detach_for_storage_manager branch from 12fe1d6 to c04d0f6 Compare March 28, 2017 07:30
@AparnaKarve
Copy link
Contributor

@gberginc Please rebase and repush. That should take care of the Hakiri security warnings and hopefully the Travis build too.

LGTM otherwise.
@h-kataria Please merge when green.

Attaching volume is currently not possible from within the list of cloud
volumes of a chosen storage manager because the handler in `ems_common`
does not have a path for the button (even though attach/detach option is
enabled).

This patch adds the missing handlers and redirects to the required
`cloud_volume` controller.
@gberginc gberginc force-pushed the enable_attach_detach_for_storage_manager branch from c04d0f6 to 4ab2e7f Compare March 31, 2017 03:42
@miq-bot
Copy link
Member

miq-bot commented Mar 31, 2017

Checked commit gberginc@4ab2e7f with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks good. 🍰

@gberginc
Copy link
Contributor Author

@AparnaKarve thanks for LGTM!

@h-kataria this is now green.

@martinpovolny martinpovolny merged commit be8be29 into ManageIQ:master Apr 3, 2017
@martinpovolny martinpovolny added this to the Sprint 58 Ending Apr 10, 2017 milestone Apr 3, 2017
@martinpovolny
Copy link
Member

Fine?

@gberginc
Copy link
Contributor Author

gberginc commented Apr 3, 2017

Thanks @martinpovolny!

@martinpovolny
Copy link
Member

No problem.

@gberginc : should this go to the Fine release?

@gberginc
Copy link
Contributor Author

@miq-bot add_label fine/yes

It was reported in this BZ that cloud volume operations (attach/detach) are not working. This PR added required redirects so it should be in Fine.

@simaishi
Copy link
Contributor

simaishi commented Jun 6, 2017

@gberginc @martinpovolny #997 is already backported to Fine branch without attach/detach. Can you create a Fine PR that covers change in PR 997 as well?

@AparnaKarve
Copy link
Contributor

@mmojzis This PR was not backported to Fine yet and hence the issue in https://bugzilla.redhat.com/show_bug.cgi?id=1459190 still persists.

@AparnaKarve
Copy link
Contributor

@simaishi Fine specific PR for this is #1776

@simaishi
Copy link
Contributor

simaishi commented Jan 4, 2018

Backported to Fine via #1776

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.

5 participants