Red Hat Bugzilla – Bug 1287635
Attached volume for Openstack instance could show up as swap or ephemeral disk
Last modified: 2017-08-29 23:48:25 EDT
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):
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
The volume shows up in the list of swap or ephemeral disks.
The volume should be shown as a volume disk.
New commit detected on ManageIQ/manageiq/master:
Author: Ladislav Smola <firstname.lastname@example.org>
AuthorDate: Wed Dec 2 14:03:31 2015 +0100
Commit: Ladislav Smola <email@example.com>
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.
.../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.