Bug 1517712 - Storage Volume Attach give Unexpected Error
Summary: Storage Volume Attach give Unexpected Error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.4
Assignee: Harpreet Kataria
QA Contact: Nikhil Dhandre
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-27 09:51 UTC by Nikhil Dhandre
Modified: 2022-07-09 08:59 UTC (History)
7 users (show)

Fixed In Version: 5.7.4.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-18 20:31:21 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Unexpected error (77.47 KB, image/png)
2017-11-27 09:51 UTC, Nikhil Dhandre
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3484 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-12-19 01:24:16 UTC

Description Nikhil Dhandre 2017-11-27 09:51:18 UTC
Created attachment 1359402 [details]
Unexpected error

Description of problem:
----------------------
while attaching volume with an instance UI gives an unexpected error. 

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


How reproducible:
-----------------
always


Steps to Reproduce:
1. Create one volume
2. Refresh Storage Provider
3. Now try to attached volume to any available instance

Actual results:
---------------
undefined method `available_vms' for #<ManageIQ::Providers::Openstack::CloudManager::CloudVolume:0x0000001816b530> Did you mean? availability_zone= [cloud_volume/attach]

Expected results:
-----------------
It should attach

Additional info:
---------------
tested against rhos7-ga

1. Production log: http://pastebin.test.redhat.com/535233
2. Find snapshot in Attachment

Comment 4 Harpreet Kataria 2017-11-28 19:03:59 UTC
https://github.com/ManageIQ/manageiq/pull/16540

Comment 5 CFME Bot 2017-11-29 19:35:54 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/6d8e6d5bb8bf82f428fcb5d47e0d838f602d3349

commit 6d8e6d5bb8bf82f428fcb5d47e0d838f602d3349
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Nov 28 13:58:23 2017 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Nov 28 13:58:23 2017 -0500

    Reverted a change that was accidentally backported
    
    this line was accidentally backported to EUWE in https://github.com/ManageIQ/manageiq/pull/15310 commit e066db4c6a9c89ee9270691d6e93aafae422b687
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1517712

 app/controllers/cloud_volume_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 9 errata-xmlrpc 2017-12-18 20:31:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:3484


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