setup-openstack in 19.0.0.0rc1 Create symlink to neutron-keepalived-state-change fails

Bug #1824631 reported by Andreas Florath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Mohammed Naser
Stein
Fix Committed
Undecided
Mohammed Naser
Train
Fix Released
Undecided
Mohammed Naser

Bug Description

Running setup-hosts fails with the attached error.

Version: 19.0.0.0rc1
on Ubuntu 18.04

My setup has three controller nodes.

TASK [os_neutron : Create symlink to neutron-keepalived-state-change] ***********************************************************************************************************************************************************************
task path: /etc/ansible/roles/os_neutron/tasks/neutron_post_install.yml:83
<controller2_neutron_server_container-318dbfb9> The "physical_host" variable of "controller2" has been found to have a corresponding host entry in inventory.
<controller2_neutron_server_container-318dbfb9> The "physical_host" variable of "controller2" terminates at "192.168.72.20" using the host variable "ansible_host".
<controller1_neutron_server_container-2e592617> The "physical_host" variable of "controller1" has been found to have a corresponding host entry in inventory.
<controller1_neutron_server_container-2e592617> The "physical_host" variable of "controller1" terminates at "192.168.72.19" using the host variable "ansible_host".
<controller0_neutron_server_container-be34e99d> The "physical_host" variable of "controller0" has been found to have a corresponding host entry in inventory.
<controller0_neutron_server_container-be34e99d> The "physical_host" variable of "controller0" terminates at "192.168.72.18" using the host variable "ansible_host".
fatal: [controller2_neutron_server_container-318dbfb9]: FAILED! => {"changed": false, "msg": "src file does not exist, use \"force=yes\" if you really want to create the link: /openstack/venvs/neutron-19.0.0.0rc1/bin/neutron-keepalived-s
tate-change", "path": "/usr/local/bin/neutron-keepalived-state-change", "src": "/openstack/venvs/neutron-19.0.0.0rc1/bin/neutron-keepalived-state-change", "state": "absent"}
ok: [controller1_neutron_server_container-2e592617] => {"changed": false, "dest": "/usr/local/bin/neutron-keepalived-state-change", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 72, "src": "/openstack/venvs/neutron-
19.0.0.0rc1/bin/neutron-keepalived-state-change", "state": "link", "uid": 0}
fatal: [controller0_neutron_server_container-be34e99d]: FAILED! => {"changed": false, "msg": "src file does not exist, use \"force=yes\" if you really want to create the link: /openstack/venvs/neutron-19.0.0.0rc1/bin/neutron-keepalived-s
tate-change", "path": "/usr/local/bin/neutron-keepalived-state-change", "src": "/openstack/venvs/neutron-19.0.0.0rc1/bin/neutron-keepalived-state-change", "state": "absent"}

Revision history for this message
Mohammed Naser (mnaser) wrote :

Hi,

I believe that your neutron_server venv did not deploy properly, and when you reran the deployment, it ran a symlink where it couldn't find anything.

This has been fixed by:

https://review.opendev.org/#/c/652161/
https://review.opendev.org/#/c/652252/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.