Cannot deploy Octavia on existing Rocky installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Gregory Thiemonge |
Bug Description
Description:
I'm trying to upgrade existing Rocky installation to add Octavia. The deployment fails with erorrs on Undercloud and Controller nodes.
Steps to reproduce:
I use the same deploy command I used for initial deployment with an additional "-e /usr/share/
Expected results:
Octavia successfully deployed.
Actual results:
This is a snippet of ansible errors I see in the output. Full output log is attached to the bug.
```
TASK [Configure octavia on overcloud] *******
2019-06-13 12:51:31,477 p=294741 u=mistral |
fatal: [undercloud]: FAILED! => {"changed": true,
"cmd": "ansible-playbook -i \"/var/
"stderr": "[DEPRECATION WARNING]: get_md5 has been deprecated along with the md5 return value,
use get_checksum=True and checksum_
will be removed in version 2.9. Deprecation warnings can be disabled by setting
deprecation_
PLAY [Undercloud[0]] *******
TASK [octavia-
Thursday 13 June 2019 12:51:28 +0100 (0:00:00.382) 0:02:39.149 *********
fatal: [ap12-ctrl3]: FAILED! => {\"changed\": false,
\"cmd\": \"crudini --get \\\"/var/
\"stderr\": \"[Errno 2] No such file or directory: '/var/lib/
fatal: [ap13-ctrl2]: FAILED! => {\"changed\": false,
\"cmd\": \"crudini --get \\\"/var/
\"stderr\": \"[Errno 2] No such file or directory: '/var/lib/
fatal: [ap14-ctrl1]: FAILED! => {\"changed\": false,
\"cmd\": \"crudini --get \\\"/var/
\"stderr\": \"[Errno 2] No such file or directory: '/var/lib/
TASK [octavia-
fatal: [ap12-ctrl3]: FAILED! => {\"changed\": true,
\"cmd\": \"docker restart $(sudo docker ps -f name=octavia -q)\",
\"stderr\": \"\\\"docker restart\\\" requires at least 1 argument(s).\
See 'docker restart --help'.\
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]\
Restart one or more containers\",
fatal: [ap13-ctrl2]: FAILED! => {\"changed\": true,
\"cmd\": \"docker restart $(sudo docker ps -f name=octavia -q)\",
\"stderr\": \"\\\"docker restart\\\" requires at least 1 argument(s).\
See 'docker restart --help'.\
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]\
Restart one or more containers\",
fatal: [ap14-ctrl1]: FAILED! => {\"changed\": true,
\"cmd\": \"docker restart $(sudo docker ps -f name=octavia -q)\",
\"stderr\": \"\\\"docker restart\\\" requires at least 1 argument(s).\
See 'docker restart --help'.\
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]\
Restart one or more containers\",
```
Environment:
Octavia docker image exists on Controller nodes, but not running containers:
```
[root@ap14-ctrl1 ~]# docker images |grep octavia
docker.
[root@ap14-ctrl1 ~]# docker ps |grep octavia
```
$ rpm -qa|egrep "tripleo|octavia"
puppet-
openstack-
python-
openstack-
ansible-
python2-
openstack-
python2-
ansible-
openstack-
openstack-
python-
python2-
openstack-
puppet-
Changed in tripleo: | |
importance: | Undecided → Medium |
milestone: | none → train-2 |
status: | New → Triaged |
Changed in tripleo: | |
milestone: | train-2 → train-3 |
Changed in tripleo: | |
milestone: | train-3 → ussuri-1 |
Changed in tripleo: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in tripleo: | |
milestone: | ussuri-3 → ussuri-rc3 |
Changed in tripleo: | |
milestone: | ussuri-rc3 → victoria-1 |
Changed in tripleo: | |
milestone: | victoria-1 → victoria-3 |
This should be resolved now with Gregory Thiemonge's patches to clean up certificate generation.