Bug 1428962
| Summary: | detach fails due to failed mpath output parsing | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Jack Waterworth <jwaterwo> |
| Component: | openstack-cinder | Assignee: | Gorka Eguileor <geguileo> |
| Status: | CLOSED ERRATA | QA Contact: | Avi Avraham <aavraham> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 10.0 (Newton) | CC: | arkady_kanevsky, ccollett, eharney, geguileo, jjoyce, John_walsh, kurt_hey, pgrist, rajini.karthik, randy_perryman, srevivo, tshefi, vcojot |
| Target Milestone: | z5 | Keywords: | Triaged, ZStream |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-cinder-9.1.4-7.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
This update improves iSCSI connections by using the latest os-brick functionality to force detach volumes when appropriate.
For optimum results, use with iscsi-initiator-utils version 6.2.0.874-2 or greater.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-28 16:31:38 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: | |||
|
Description
Jack Waterworth
2017-03-03 17:16:07 UTC
In further testing last week, some key additional fixes were identified for this collection and Gorka is the process of getting those ready to post upstream. We don't have a specific ETA, but we will get the BZs updated once the patches are ready. Patches are posted for review, comprehensive testing is now passing on iSCSI (FC mpath testing will follow). The relevant patch set will actually be the following set and we will confirm the proper collection needed which may actually vary from the initial set proposed. This BZ will be the right place to track status for the collection. https://review.openstack.org/#/c/455394/ https://review.openstack.org/#/c/455393/ https://review.openstack.org/#/c/455392/ Verified on:
openstack-cinder-9.1.4-9.el7ost.noarch
Configured Cinder Kaminario iscsi multipath backend.
Using a virt deployment, maxed out on 18 tiny instances.
Boot instance create Cinder boot volume from image, shutdown=preserve.
# nova boot --flavor tinydisk --nic net-id=0a4d14d4-735b-4aaa-a0b3-f40c76b8d277 --block-device source=image,id=83a1ffc8-38e5-4b41-817e-09b105cef3f4,dest=volume,size=1,shutdown=preserve,bootindex=0 one1 --poll --min-count 9
can't use --min-count 18 system fails to create them all at once.
ran again now have 18 instance with 18 attached volumes.
Deleted all 18 instances
# for i in $(nova list --all-tenant | awk '{print$2}'); do nova delete $i ; done
All 18 instances were deleted
All 18 volumes remain detached/available.
Reran whole 18 create/delete loop four cycles, no issues were spotted.
As expected no volume remained attach to phantom UUIDs, verified.
Out of curiosity also run a fifth cycle this time with shutdown=remove
18 instance/volumes created again all instance/volumes were deleted none left behind.
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-2017:2821 |