Initial system configuration, including IPv6 address with brackets and without port, fails

Bug #1957836 reported by Adriano Oliveira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Critical
Luis Eduardo Angelini Marquitti

Bug Description

Brief Description
-----------------
A DC subcloud configuration failed because of error in ipv6 address validation.

Severity
--------
Critical

Steps to Reproduce
------------------
install DC system controller

Expected Behavior
------------------
ansible pass

Actual Behavior
----------------
ansible failed

Reproducibility
---------------
It is the first saw this issue

System Configuration
--------------------
DC

Branch/Pull Time/Commit
-----------------------
2022-01-11_20-00-06

Last Pass
---------
2022-01-10_02-00-35

Timestamp/Logs
--------------

Failed to update the initial system config.
2022-01-12 05:58:23,938 p=11036 u=sysadmin | TASK [bootstrap/persist-config : Fail if populate config script throws an exception] ***
2022-01-12 05:58:23,938 p=11036 u=sysadmin | Wednesday 12 January 2022 05:58:23 +0000 (0:00:00.367) 0:03:50.929 *****
2022-01-12 05:58:23,963 p=11036 u=sysadmin | fatal: [localhost]: FAILED! => changed=false
msg: Failed to provision initial system configuration.
2022-01-12 05:58:23,964 p=11036 u=sysadmin | PLAY RECAP *********************************************************************
2022-01-12 05:58:23,964 p=11036 u=sysadmin | localhost : ok=198 changed=68 unreachable=0 failed=1

Test Activity
-------------
installation

Changed in starlingx:
assignee: nobody → Luis Eduardo Angelini Marquitti (leduard1)
status: New → In Progress
Revision history for this message
Adriano Oliveira (aoliveir) wrote :

Additional logs:

sysinv 2022-01-12 05:58:23.511 83776 WARNING wsme.api [-] Client-side error: Parameter 'no_proxy' includes an invalid address '[fd04::1]'.: ClientSideError: Parameter 'no_proxy' includes an invalid address '[fd04::1]'.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/824654

Revision history for this message
Ghada Khalil (gkhalil) wrote : Re: Initial system configuration, including IPv6 address with brackets and without port , fails

screening: stx.7.0 / critical - this issue was recently introduced by the following change: https://review.opendev.org/c/starlingx/config/+/819475/

tags: added: stx.config
Changed in starlingx:
importance: Undecided → Critical
tags: added: stx.7.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/824757
Committed: https://opendev.org/starlingx/config/commit/682ad57a2cccea6b2d16212ac448f06ea5337446
Submitter: "Zuul (22348)"
Branch: master

commit 682ad57a2cccea6b2d16212ac448f06ea5337446
Author: Luis Eduardo Angelini Marquitti <email address hidden>
Date: Fri Jan 14 20:10:52 2022 +0000

    Revert "Improving IPV4 validation for configs"

    This reverts commit 70eac8bd1f6c237d475ae15f4cae715ddf110f31.

    Reason for revert: Side effect on IPv6 addresses with brackets and
    without port. Fix under testing on
    https://review.opendev.org/c/starlingx/config/+/824654.

    Closes-Bug: 1957836

    Change-Id: Ib3025b148171298e16b9c38af8654ce5e77b10cb

Changed in starlingx:
status: In Progress → Fix Released
Changed in starlingx:
status: Fix Released → New
status: New → Fix Released
Ghada Khalil (gkhalil)
summary: Initial system configuration, including IPv6 address with brackets and
- without port , fails
+ without port, fails
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.