Bug 1287280
Summary: | Volume detach fails because failure to delete initiator [lvm] | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jeremy <jmelvin> |
Component: | openstack-cinder | Assignee: | Eric Harney <eharney> |
Status: | CLOSED ERRATA | QA Contact: | lkuchlan <lkuchlan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 (Kilo) | CC: | eharney, geguileo, scohen, sgotliv, srevivo |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | 7.0 (Kilo) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-cinder-2015.1.2-6.el7ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-26 15:29:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 3
Jeremy
2015-12-01 22:25:57 UTC
Tested using: python-cinderclient-1.2.1-1.el7ost.noarch python-cinder-2015.1.3-5.el7ost.noarch openstack-cinder-2015.1.3-5.el7ost.noarch Verification flow: 1. Creating an instance [stack@instack ~]$ nova boot --image 25e14562-0c56-4b7d-be97-f481f28da440 --flavor 1 --nic net-id=9f2c1691-7d46-4899-8f34-ec648eb9ec83 vm1 +--------------------------------------+-----------------------------------------------+ | Property | Value | +--------------------------------------+-----------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | | | OS-EXT-SRV-ATTR:host | - | | OS-EXT-SRV-ATTR:hypervisor_hostname | - | | OS-EXT-SRV-ATTR:instance_name | instance-00000003 | | OS-EXT-STS:power_state | 0 | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | - | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | adminPass | 5TJk8C7znwKx | | config_drive | | | created | 2016-04-13T13:33:18Z | | flavor | m1.tiny (1) | | hostId | | | id | 9c0b16df-99db-4384-8ff5-92dbad51c7d4 | | image | cirros (25e14562-0c56-4b7d-be97-f481f28da440) | | key_name | - | | metadata | {} | | name | vm1 | | os-extended-volumes:volumes_attached | [] | | progress | 0 | | security_groups | default | | status | BUILD | | tenant_id | e9dce6466d2b46f48eba013835d24237 | | updated | 2016-04-13T13:33:19Z | | user_id | ee55d61964f84a1f8e867db5e7124d8e | +--------------------------------------+-----------------------------------------------+ [stack@instack ~]$ nova list +--------------------------------------+------+--------+------------+-------------+--------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+--------------------+ | 9c0b16df-99db-4384-8ff5-92dbad51c7d4 | vm1 | ACTIVE | - | Running | net1=192.168.100.5 | +--------------------------------------+------+--------+------------+-------------+--------------------+ 2. Creating a volume [stack@instack ~]$ cinder create 1 +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2016-04-13T13:48:34.288843 | | display_description | None | | display_name | None | | encrypted | False | | id | 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 | | metadata | {} | | multiattach | false | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | volume_type | None | +---------------------+--------------------------------------+ [stack@instack ~]$ cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 | available | - | 1 | - | false | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ 3. Attaching volume to instance [stack@instack ~]$ nova volume-attach 9c0b16df-99db-4384-8ff5-92dbad51c7d4 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 +----------+--------------------------------------+ | Property | Value | +----------+--------------------------------------+ | device | /dev/vdb | | id | 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 | | serverId | 9c0b16df-99db-4384-8ff5-92dbad51c7d4 | | volumeId | 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 | +----------+--------------------------------------+ [stack@instack ~]$ cinder list +--------------------------------------+----------+--------------+------+-------------+----------+--------------------------------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+----------+--------------+------+-------------+----------+--------------------------------------+ | 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 | in-use | - | 1 | - | false | 9c0b16df-99db-4384-8ff5-92dbad51c7d4 | +--------------------------------------+----------+--------------+------+-------------+----------+--------------------------------------+ 4. Detaching the volume [stack@instack ~]$ nova volume-detach 9c0b16df-99db-4384-8ff5-92dbad51c7d4 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 [stack@instack ~]$ cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 1da3c05a-577b-4b03-8dd2-b4449cf90dd0 | available | - | 1 | - | false | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ 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://rhn.redhat.com/errata/RHBA-2016-0688.html |