Ansible failure on IPV6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Tee Ngo |
Bug Description
Brief Description
-----------------.
Ansbile validation fails on IPV6 as below. Below localhost was updated with management and cluster host with IPV6 address.
Validation Error
TASK [validate-config : Fail if IPv6 management on simplex] *******
fatal: [localhost]: FAILED! => {"msg": "The conditional check 'ipv6_addressing' failed. The error was: template error while templating string: expected token 'end of statement block', got ':'. String: {% if abde::/64 %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/usr/share/
PLAY RECAP *******
localhost : ok=37 changed=9 unreachable=0 failed=1
-15:~$ cat localhost.yml
system_mode: duplex
pxeboot_subnet: 192.168.202.0/24
management_subnet: abde::/64
cluster_
external_
external_
external_
external_
external_
admin_password: Li69nux*
ansible_
Severity
--------.
Major
Steps to Reproduce
------------------
1. Install controller
2. As per description create localhost.yml
3. Execute ansible-playbook /usr/share/
4. As per description failure was seen.
Expected Behavior
------------------
No validation failure as per localhost.yml
Actual Behavior
----------------
As per description validation failure as per description.
Reproducibility
---------------
100% reproducible.
System Configuration
-------
Regular system
Branch/Pull Time/Commit
-------
BUILD_DATE=
Last Pass
---------
Never executed before.
Timestamp/Logs
--------------
n/a
Test Activity
-------------
Feature test
Changed in starlingx: | |
status: | Triaged → In Progress |
tags: | removed: stx.retestneeded |
Please retest with the cluster network still on IPv4. IPv6 on the cluster network is not done yet.
This means that the cluster network cannot be shared with the management network