Bug 1672695

Summary: Volume attached to instance is available to be attached to same instance
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Sam Lucidi <slucidi>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.6CC: jfrey, jhardy, obarenbo, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.1.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1653062 Environment:
Last Closed: 2019-03-06 09:50:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On: 1653062    
Bug Blocks:    

Comment 2 Satoe Imaishi 2019-02-12 12:33:41 UTC
Backported to Hammer branch:

commit 26ab2ac98c5e10ea0c0b498183a82c1fd7f9b8c5
Author: Marek Aufart <aufi.cz>
Date:   Fri Dec 14 15:19:33 2018 +0100

    Merge pull request #409 from mansam/exclude-attached-instances-from-volume-attachment-form
    
    Exclude already attached VMs from the volume attachment form
    
    (cherry picked from commit 66f9fd169cc73519fdfc5bd735cc1f05025706a3)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1672695

Comment 3 CFME Bot 2019-02-13 01:49:29 UTC
New commit detected on ManageIQ/manageiq-providers-openstack/hammer:

https://github.com/ManageIQ/manageiq-providers-openstack/commit/26ab2ac98c5e10ea0c0b498183a82c1fd7f9b8c5
commit 26ab2ac98c5e10ea0c0b498183a82c1fd7f9b8c5
Author:     Marek Aufart <aufi.cz>
AuthorDate: Fri Dec 14 09:19:33 2018 -0500
Commit:     Marek Aufart <aufi.cz>
CommitDate: Fri Dec 14 09:19:33 2018 -0500

    Merge pull request #409 from mansam/exclude-attached-instances-from-volume-attachment-form

    Exclude already attached VMs from the volume attachment form

    (cherry picked from commit 66f9fd169cc73519fdfc5bd735cc1f05025706a3)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1672695

 app/models/manageiq/providers/openstack/cloud_manager/cloud_volume.rb | 2 +-
 spec/models/manageiq/providers/openstack/cloud_manager/cloud_volume_spec.rb | 6 +
 2 files changed, 7 insertions(+), 1 deletion(-)

Comment 4 Ido Ovadia 2019-02-20 12:53:22 UTC
Verified
========
5.10.1.1

Comment 6 errata-xmlrpc 2019-03-06 09:50:42 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/RHBA-2019:0453