Bug 2045908 - pre-flight validation for local_ip may fail for IPv6
Summary: pre-flight validation for local_ip may fail for IPv6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Harald Jensås
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On: 2045904
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-25 22:35 UTC by Harald Jensås
Modified: 2022-06-22 16:03 UTC (History)
5 users (show)

Fixed In Version: python-tripleoclient-12.6.1-2.20220126145209.316b3b0.el8osttrunk
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2045904
Environment:
Last Closed: 2022-06-22 16:03:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1953552 0 None None None 2022-01-25 22:35:04 UTC
OpenStack gerrit 825936 0 None MERGED Use netaddr when comparing local_ip for changes 2022-01-25 22:35:04 UTC
Red Hat Issue Tracker OSP-12295 0 None None None 2022-01-25 22:36:08 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:03:57 UTC

Description Harald Jensås 2022-01-25 22:35:04 UTC
+++ This bug was initially created as a clone of Bug #2045904 +++

Description of problem:
Changing the local_ip is not allowed.
  Existing IP:   fd00:fd00:fd00::1/64,
  Configured IP: fd00:fd00:fd00:0000::1/64

An error occurred during configuration validation, please check your host configuration and try again.

Error message: Changing the local_ip is not allowed. Existing IP: fd00:fd00:fd00::1/64, Configured IP: fd00:fd00:fd00:0000::1/64

The IP addresses are identical, but written in different ways.

The check should compare the address, not the strings.

https://opendev.org/openstack/python-tripleoclient/src/branch/master/tripleoclient/v1/undercloud_preflight.py#L315

Comment 10 errata-xmlrpc 2022-06-22 16:03:23 UTC
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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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-2022:4793


Note You need to log in before you can comment on or make changes to this bug.