Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2045908

Summary: pre-flight validation for local_ip may fail for IPv6
Product: Red Hat OpenStack Reporter: Harald Jensås <hjensas>
Component: python-tripleoclientAssignee: Harald Jensås <hjensas>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: drosenfe, hbrock, jslagle, mburns, sbaker
Target Milestone: z3Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-12.6.1-2.20220126145209.316b3b0.el8osttrunk Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2045904 Environment:
Last Closed: 2022-06-22 16:03:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2045904    
Bug Blocks:    

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