some services don't deploy cleanly on bare_metal if there are other services on same host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned | ||
Juno |
Fix Released
|
Medium
|
Darren Birkett | ||
Kilo |
Invalid
|
Undecided
|
Unassigned | ||
Trunk |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Example:
Try and deploy cinder-volume service on bare_metal, on the same host as nova compute (which has nova and neutron installed on the bare metal host already). When you run the plays. It will try and install the cinder sha, using the neutron service name:
TASK: [openstack_common | Install service source] *******
failed: [533816-node20] => {"ansible_job_id": "389040967562.
msg: Task failed as maximum retries was encountered
<job 389040967562.11665> FAILED on 533816-node20
<job 389040967562.5717> polling, 1795s remaining
<job 389040967562.5461> polling, 1795s remaining
<job 389040967562.5346> polling, 1795s remaining
changed: [533814-
changed: [533813-
changed: [533815-
failed: [533816-node20] => {"ansible_job_id": "389040967562.
msg: Task failed as maximum retries was encountered
<job 389040967562.5717> finished on 533814-
<job 389040967562.11665> FAILED on 533816-node20
<job 389040967562.5461> finished on 533813-
<job 389040967562.5346> finished on 533815-
root@533816-
total 1408
drwxr-xr-x 5 root root 4096 Sep 3 13:06 ./
drwxr-xr-x 23 root root 4096 Sep 3 12:29 ../
drwxr-xr-x 9 root root 4096 Sep 3 13:08 cinder_
-rw-r--r-- 1 root root 1420671 Sep 2 11:46 get-pip.py
drwxr-xr-x 9 root root 4096 Sep 3 11:03 neutron_
drwxr-xr-x 9 root root 4096 Sep 3 10:57 nova_cc6c50ee23
Note how it is trying to install neutron_
This is how I got around the issue (including inventory/
diff --git a/rpc_deploymen
index 560b33e..3e92e68 100644
--- a/rpc_deploymen
+++ b/rpc_deploymen
@@ -24,4 +24,5 @@
- galera_client_cnf
vars_files:
- vars/repo_
- - vars/openstack_
\ No newline at end of file
+ - vars/openstack_
+ - inventory/
description: | updated |
Changed in openstack-ansible: | |
assignee: | nobody → Darren Birkett (darren-birkett) |
juno review: https:/ /review. openstack. org/221242