Description of problem: When attaching a volume to an instance which has no swap or ephemeral disk assigned the volume shows up in the list of of disks as swap or ephemeral. Version-Release number of selected component (if applicable): 5.5.0.12-rc2.20151124135609_653c0d4 How reproducible: 100% Steps to Reproduce: 1. Spawn an Openstack instance that has no swap or ephemeral disk 2. Attach a volume to it 3. Check the instance list of disks Actual results: The volume shows up in the list of swap or ephemeral disks. Expected results: The volume should be shown as a volume disk.
https://github.com/ManageIQ/manageiq/pull/5677
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1b304f0722fde42fdf6ea2ff9e2afa2e32a6babe commit 1b304f0722fde42fdf6ea2ff9e2afa2e32a6babe Author: Ladislav Smola <lsmola> AuthorDate: Wed Dec 2 14:03:31 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Thu Dec 3 18:05:01 2015 +0100 Do not store empty disks Disks are not really created and mounted. The mounpoint is used for comparing with attached volumes, so by storing empty disks we are showing the relation badly. The mountpoint is mandatory column so we cannot store disks without it. Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1287635 .../openstack/cloud_manager/refresh_parser.rb | 6 +++--- .../openstack/cloud_manager/refresh_spec_common.rb | 22 +++++++++++++++++----- 2 files changed, 20 insertions(+), 8 deletions(-)
Tested with an instance that disk attached to it, it does not show swap or ephemeral assigned
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-2016:1348