Bug 1449279 - Attaching EBS volume to an instance results in error
Summary: Attaching EBS volume to an instance results in error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Bronagh Sorota
QA Contact: Matouš Mojžíš
URL:
Whiteboard: cloud:storage:volume:ec2
: 1450777 (view as bug list)
Depends On:
Blocks: 1449843
TreeView+ depends on / blocked
 
Reported: 2017-05-09 14:05 UTC by Matouš Mojžíš
Modified: 2018-03-06 14:33 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1449843 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:33:34 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matouš Mojžíš 2017-05-09 14:05:47 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.8.0.13

How reproducible:
Always

Steps to Reproduce:
1. Have an ec2 provider with at least one instance 
2. Go to Storage -> Block storage -> Volumes
3. Attach a volume to an instance

Actual results:
[----] E, [2017-05-09T10:00:07.959027 #2849:3ab13c] ERROR -- : MIQ(MiqQueue#deliver) Message id: [69407], Error: [missing required parameter params[:device]]
[----] E, [2017-05-09T10:00:07.959774 #2849:3ab13c] ERROR -- : [ArgumentError]: missing required parameter params[:device]  Method:[rescue in deliver]
[----] E, [2017-05-09T10:00:07.960050 #2849:3ab13c] ERROR -- : /opt/rh/cfme-gemset/gems/aws-sdk-core-2.8.14/lib/aws-sdk-core/param_validator.rb:28:in `validate!'
[----] E, [2017-05-09T10:00:11.151706 #2930:cbee2c] ERROR -- : MIQ(cloud_volume_controller-wait_for_task): Unable to attach Cloud Volume "100" to i-0a2d9cf6bdc7e43c0: missing required parameter params[:device]


Expected results:


Additional info:

Comment 2 Gregor Berginc 2017-05-09 16:16:20 UTC
This should be fixed in the UI by making sure the device field is required. Contrary to OpenStack, EBS will fail if the field is empty. I'll propose a change in a PR.

Comment 3 Gregor Berginc 2017-05-09 18:35:58 UTC
Addressed in https://github.com/ManageIQ/manageiq-ui-classic/pull/1321 as explained in my first comment.

Comment 7 Bronagh Sorota 2017-06-08 13:19:05 UTC
*** Bug 1450777 has been marked as a duplicate of this bug. ***

Comment 8 Matouš Mojžíš 2017-12-01 11:58:51 UTC
Verified in 5.9.0.11.
Volume can be attached with no errors.


Note You need to log in before you can comment on or make changes to this bug.