Backup & Restore: The service parameter value is restricted to 255 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Kristine Bujold |
Bug Description
Brief Description
-----------------
Restore on IPV6 configuration fails due to service parameter value restricted at 255 characters.
When restore, following error is seen. It seems that bootstrap reproduces those derived entries for docker_no_proxy.
TASK [bootstrap/
ok: [localhost] => {
"populate_
"changed": true,
"failed": false,
"msg": "non-zero return code",
"rc": 1,
"stderr": "No handlers could be found for logger \"cgtsclient.
"No handlers could be found for logger \"cgtsclient.
" File \"/tmp/
" populate_
" File \"/tmp/
" client.
" File \"/usr/
" return self._create(
" File \"/usr/
" _, body = self.api.
" File \"/usr/
" method, **kwargs)",
" File \"/usr/
" error_json.
],
"stdout": "Populating system config...\nSystem config completed.
"System config completed.",
"Load config completed.",
"DNS config completed.",
"Failed to update the initial system config."
]
}
}
TASK [bootstrap/
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."}
PLAY RECAP *******
localhost : ok=192 changed=74 unreachable=0 failed=1
2019-09-23 19:56:20.874 92986 ERROR sysinv.
2019-09-23 19:56:20.874 92986 WARNING wsme.api [-] Client-side error: The service parameter value is restricted to at most 255 characters.
Here is the override file that is generated:
controller-
dns_servers:
- 2620:10a:
pxeboot_subnet: 192.168.202.0/24
pxeboot_
pxeboot_
pxeboot_
pxeboot_
pxeboot_
management_subnet: face::/64
management_
management_
management_
management_
management_
management_
management_
management_
cluster_
cluster_
cluster_
cluster_
cluster_
cluster_
cluster_pod_subnet: dead:beef::/64
cluster_
cluster_
cluster_
cluster_
cluster_
external_
external_
external_
external_
external_
external_
external_
docker_no_proxy:
- "localhost"
- "127.0.0.1"
- "registry.local"
- "[face::2]"
- "[face::3]"
- "[2620:
- "[2620:
- "[face::4]"
- "[2620:
- "tis-lab-
docker_http_proxy: http://
Severity
--------
Critical: Fail to restore active controller on IPV6 configuration
Steps to Reproduce
------------------
1. Bring up the IPV6 regular system
2. Backup the system locally
3. Re-install the controller with the same load
4. Restore the system locally from controller
Expected Behavior
------------------
The active controller must be restored from backup
Actual Behavior
----------------
Active controller failed to restore
TASK [bootstrap/
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."}
PLAY RECAP *******
localhost : ok=192 changed=74 unreachable=0 failed=1
Reproducibility
---------------
Reproducible
System Configuration
-------
IPv6 configured system
Branch/Pull Time/Commit
-------
2019-09-22_20-00-00
Test Activity
-------------
Feature Testing
summary: |
- Backup & Restore: he service parameter value is restricted to 255 + Backup & Restore: The service parameter value is restricted to 255 characters |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
assignee: | Tee Ngo (teewrs) → Kristine Bujold (kbujold) |
Marking as stx.3.0 gating assuming there is a config that requires ansible to have more than 255 characters. If there is no such config, please mark as Invalid.