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

Error in raw_attach_volume and raw_detach_volume methods #16002

Closed
ITD27M01 opened this issue Sep 20, 2017 · 6 comments
Closed

Error in raw_attach_volume and raw_detach_volume methods #16002

ITD27M01 opened this issue Sep 20, 2017 · 6 comments
Assignees
Labels

Comments

@ITD27M01
Copy link

ITD27M01 commented Sep 20, 2017

Hi Guys. From this commit
fc95a15#diff-d30acf874de5dc5851311dce7275624d there is methods for attaching volumes. But I think there is error in options for this methods (raw_attach_volume and raw_detach_volume).

From https://github.com/ManageIQ/manageiq/blob/master/app/models/vm_or_template/operations/configuration.rb#L95

run_command_via_parent(:vm_attach_volume, :volume_id, :device)

second parameters should be

:volume_id => volume_id, :device => device

and from https://github.com/ManageIQ/manageiq/blob/master/app/models/vm_or_template/operations/configuration.rb#L104

run_command_via_parent(:vm_detach_volume, :volume_id)

second parameter should be

:volume_id => volume_id
@ITD27M01
Copy link
Author

Related error:

[----] E, [2017-09-20T19:17:12.067803 #5234:f9b12c] ERROR -- : MIQ(MiqQueue#deliver) Message id: [15975009], Error: [undefined method find_by_id_filtered' for #<ManageIQ::Providers::Openstack::CloudManager:0x00000002c44710>] [----] E, [2017-09-20T19:17:12.068221 #5234:f9b12c] ERROR -- : [NoMethodError]: undefined method find_by_id_filtered' for #ManageIQ::Providers::Openstack::CloudManager:0x00000002c44710 Method:[rescue in deliver]

https://github.com/ManageIQ/manageiq/blob/euwe-3/app/models/manageiq/providers/openstack/cloud_manager.rb#L317

@bronaghs
Copy link

@miq-bot assign @tzumainn

@ITD27M01
Copy link
Author

@miq-bot
Copy link
Member

miq-bot commented Sep 17, 2018

This issue has been automatically marked as stale because it has not been updated for at least 6 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions!

@miq-bot miq-bot added the stale label Sep 17, 2018
@JPrause
Copy link
Member

JPrause commented Jan 23, 2019

@ITD27M01 is this still a valid issue. If not can you close.
If there's no update by next week, I'll be closing this issue.

@JPrause
Copy link
Member

JPrause commented Jan 29, 2019

Closing issue. If you feel the issue needs to remain open, please let me know and it will be reopened.
@miq-bot close_issue

@miq-bot miq-bot closed this as completed Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants