IPv6 boostrap with dns server omission gives trace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
When bootstrapping a subcloud with IPv6 addressing, omission of "dns_servers:" in bootstrap override yaml for the subcloud results in a later trace instead of an early validation failure.
Severity
--------
Minor
Steps to Reproduce
------------------
The example I am running is IPv6 distributed cloud with an AIO-SX subcloud. It may be the case that the behaviour is the same for normal cluster bootstrap.
The documentation indicated that the DNS configuration is shared with system controller, so I omitted "dns_servers:" from subcloud bootstrap override file. My example bootstrap override yaml:
system_mode: simplex
name: "subcloud1"
description: "AIO-SX"
location: "dc1"
management_subnet: abcd:204:20::/64
management_
management_
management_
management_
external_
external_
external_
systemcontrolle
cluster_
cluster_pod_subnet: abcd:204:22::/64
cluster_
Expected Behavior
------------------
The early validation of IP version mismatch should have caught the mismatch of DNS server IP version, which defaults to IPv4.
Actual Behavior
----------------
The following trace occurred during ansible bootstrap:
"System config completed.",
"Load config completed.",
"No handlers could be found for logger \"cgtsclient.
"Failed to update the initial system config.",
" File \"/tmp/
" populate_
" File \"/tmp/
" client.
" File \"/usr/
" return self._update(
" File \"/usr/
" _, body = self.api.
" File \"/usr/
" method, **kwargs)",
" File \"/usr/
" error_json.
]
}
}
TASK [bootstrap/
fatal: [subcloud1]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."}
Reproducibility
---------------
Probably 100%
System Configuration
-------
Probably generic IPv6 bootstrap. But the observation comes from bootstrap of subcloud in IPv6 configuration. AIO-DX system controller with AIO-SX subcloud.
Branch/Pull Time/Commit
-------
Cengn build: 20210604T043006Z
Last Pass
---------
Unknown
Timestamp/Logs
--------------
As above
Test Activity
-------------
Manual test
Workaround
----------
Reinstall the subcloud controller (not using redfish) from ISO, delete the subcloud from system_conroller, fix the bootstrap yaml and rerun dcmanager subcloud add command
tags: | added: stx.config |
Changed in starlingx: | |
importance: | Undecided → Low |
status: | New → Triaged |