yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79725
[Bug 1696866] Re: Cinder LVM driver and ipv6 broken
Reviewed: https://review.opendev.org/677524
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=fddb9b7962ab2d4f3b6f57faef1c090b097b60c6
Submitter: Zuul
Branch: master
commit fddb9b7962ab2d4f3b6f57faef1c090b097b60c6
Author: Gorka Eguileor <geguileo@xxxxxxxxxx>
Date: Tue Aug 20 19:36:09 2019 +0200
Fix LVM IPv6 target portals
The LVM driver is reporting incorrect target_portal and target_portals
entries for IPv6 with all the targets, as it is not enclosing the
address in square brackets making it impossible for iscsiadm in OS-Brick
to tell the port appart from the IP address.
This patch makes sure that IPv6 addresses in target_portal and
target_portals are properly formatted in the [IPv6_address]:port when
the IPv6_address does not already include the square brackets.
This fix affects all the targets: IET, LIO, TGT, CXT, and SCST.
Closes-Bug: #1696866
Change-Id: Ie7053c813af8c99b5545222d4724b71061348a09
** Changed in: cinder
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1696866
Title:
Cinder LVM driver and ipv6 broken
Status in Cinder:
Fix Released
Status in OpenStack Compute (nova):
Invalid
Status in oslo.config:
Invalid
Status in tripleo:
Fix Released
Bug description:
The following traceback is seen in the cinder volume logs if you
deploy with the default LVM driver and ipv6:
2017-06-08 21:50:40.665 38554 CRITICAL cinder [req-a7aff57e-2042-48f2-b1eb-962f79ccda01 - - - - -] ConfigFileValueError: Value for option iscsi_ip_address is not valid: [fd00:fd00:fd00:3000::12] is not a valid host address
2017-06-08 21:50:40.665 38554 ERROR cinder Traceback (most recent call last):
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/bin/cinder-volume", line 10, in <module>
2017-06-08 21:50:40.665 38554 ERROR cinder sys.exit(main())
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/cmd/volume.py", line 120, in main
2017-06-08 21:50:40.665 38554 ERROR cinder launcher.wait()
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 581, in wait
2017-06-08 21:50:40.665 38554 ERROR cinder self.conf.log_opt_values(LOG, logging.DEBUG)
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2799, in log_opt_values
2017-06-08 21:50:40.665 38554 ERROR cinder _sanitize(opt, getattr(group_attr, opt_name)))
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3277, in __getattr__
2017-06-08 21:50:40.665 38554 ERROR cinder return self._conf._get(name, self._group)
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2841, in _get
2017-06-08 21:50:40.665 38554 ERROR cinder value = self._do_get(name, group, namespace)
2017-06-08 21:50:40.665 38554 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2884, in _do_get
2017-06-08 21:50:40.665 38554 ERROR cinder % (opt.name, str(ve)))
2017-06-08 21:50:40.665 38554 ERROR cinder ConfigFileValueError: Value for option iscsi_ip_address is not valid: [fd00:fd00:fd00:3000::12] is not a valid host address
The problem appears to be that we bracket the value. If I remove the
brackets then cinder volume works correctly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1696866/+subscriptions