Bug 1461553
Summary: | openstack-cinder: OSP12 with ipv6 - failing to create a cinder volume: Value for option iscsi_ip_address is not valid | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
Component: | openstack-cinder | Assignee: | Eric Harney <eharney> |
Status: | CLOSED ERRATA | QA Contact: | Avi Avraham <aavraham> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 12.0 (Pike) | CC: | abishop, eharney, ohochman, pgrist, sasha, scorcora, srevivo, tshefi |
Target Milestone: | Upstream M2 | Keywords: | Triaged |
Target Release: | 12.0 (Pike) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-cinder-11.0.0-0.20170616065427.c1dbaba.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-13 21:32:50 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
Alexander Chuzhoy
2017-06-14 18:54:00 UTC
iscsi_ip_address is parsed as an oslo.config IPAddress. It looks like it accepts "fd00:fd00:fd00:3000::14" but not "[fd00:fd00:fd00:3000::14]" as a valid IP address. Changing cinder.conf's iscsi_ip_address value to not have brackets should work around this. Thanks Eric. Confirm that the following works: Editing /etc/cinder/cinder.conf and removing the brackets in line iscsi_ip_address=[ipv6address] to look like: iscsi_ip_address=ipv6address and executing "pcs resource restart openstack-cinder-volume" worked. (overcloud) [stack@undercloud-0 ~]$ cinder create 1 cinder list+------------------------------+--------------------------------------+ | Property | Value | +------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2017-06-14T20:11:20.000000 | | description | None | | encrypted | False | | id | bbf5d41b-caa6-478e-a615-5fd27154252b | | metadata | {} | | multiattach | False | | name | None | | os-vol-tenant-attr:tenant_id | c52812903ef24730aed253b2afed7379 | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | updated_at | None | | user_id | a4c02a4e30dc4800a106789b64df7477 | | volume_type | None | +------------------------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ cinder list +--------------------------------------+-----------+------+------+-------------+----------+-------------+ | ID | Status | Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+------+------+-------------+----------+-------------+ | bbf5d41b-caa6-478e-a615-5fd27154252b | available | - | 1 | - | false | | +--------------------------------------+-----------+------+------+-------------+----------+-------------+ This seems to be a behavior change in Cinder during Pike. I'm submitting a patch upstream to revert back to the previous behavior so we don't break upgrades for configs that use brackets in the near term. Just for completeness -- do we know that this same configuration used to work? shouldn't the bug move to modified ? we can re-test while we see it ON_QA (In reply to Omri Hochman from comment #6) > shouldn't the bug move to modified ? There isn't a build yet that contains the fix. Verified on: openstack-cinder-11.0.0-0.20170710183119.4689591.el7ost.noarch On an IPv6 deployment, 1 controller 1 compute Cinder create works, a volume is successfully created. $ cinder list +--------------------------------------+-----------+------------------------+------+-------------+----------+-------------+ | ID | Status | Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+------------------------+------+-------------+----------+-------------+ | 1b03a088-1a84-4dae-b258-9b3a2a13c832 | available | Vol_on_IPv6_deployment | 1 | - | false | | +--------------------------------------+-----------+------------------------+------+-------------+----------+-------------+ Adding that I still see the brackets, but it works OK. [heat-admin@controller-0 ~]$ sudo grep iscsi_ip_address /etc/cinder/cinder.conf iscsi_ip_address=[fd00:fd00:fd00:3000::17] 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/RHEA-2017:3462 |