[ANSIBLE] Issue handling docker_no_proxy on Standard configs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Tee Ngo |
Bug Description
Brief Description
-----------------
When trying to configure a Standard system with proxies an error is retrieved that the format is wrong. Below is the localhost.yml format:
+++++++
dns_servers:
- <OUR INTERNAL DNS>
docker_http_proxy: <OUR INTERNAL PROXY>
docker_
docker_no_proxy:
- localhost
- 127.0.0.1
- 192.168.204.2
- 192.168.204.3
- 192.168.204.4
- 10.10.10.3
- 10.10.10.4
- 10.10.10.5
external_
external_
external_
external_
external_
+++++++
Severity
--------
Provide the severity of the defect.
Critical
Steps to Reproduce
------------------
1- Install a Standard system
2- Use localhost.yml file described above to configure system using ANSIBLE
Expected Behavior
------------------
Configuration should be finished successfully
Actual Behavior
----------------
EROOR:
"cgtsclient.
Reproducibility
---------------
Reproducible 100%
System Configuration
-------
Multi-node system
Branch/Pull Time/Commit
-------
=========BUILD INFO =========
localhost:~$ cat /etc/build.info
###
### StarlingX
### Built from master
###
OS="centos"
SW_VERSION="19.01"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID=
JOB="STX_
<email address hidden>"
BUILD_NUMBER="102"
BUILD_HOST=
BUILD_DATE=
http://
Last Pass
---------
Not Tested before
Timestamp/Logs
--------------
2019-05-17 12:12:57,789 p=28100 u=wrsroot | TASK [persist-config : Saving config in sysinv database] *******
2019-05-17 12:13:01,428 p=28100 u=wrsroot | changed: [localhost]
2019-05-17 12:13:01,432 p=28100 u=wrsroot | TASK [persist-config : debug] *******
2019-05-17 12:13:01,453 p=28100 u=wrsroot | 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.
"Failed to update the initial system config."
]
}
}
2019-05-17 12:13:01,457 p=28100 u=wrsroot | TASK [persist-config : Fail if populate config script throws an exception] *******
2019-05-17 12:13:01,477 p=28100 u=wrsroot | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."}
2019-05-17 12:13:01,479 p=28100 u=wrsroot | PLAY RECAP *******
2019-05-17 12:13:01,479 p=28100 u=wrsroot | localhost : ok=123 changed=44 unreachable=0 failed=1
Test Activity
-------------
Test Suite migration to ANSIBLE
Marking as release gating; issue related to ansible deployment.