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.11665", "attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip install /opt/neutron_22ad32603ca7fd9a6e8f66f36bb52350a6064558", "failed": true, "finished": 1} <<<<<<<<<<<<<<<
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-node18_cinder_api_container-448ea5d3]
changed: [533813-node17_cinder_api_container-2c1891a2]
changed: [533815-node19_cinder_api_container-2dac840d]
failed: [533816-node20] => {"ansible_job_id": "389040967562.11665", "attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip install /opt/neutron_22ad32603ca7fd9a6e8f66f36bb52350a6064558", "failed": true, "finished": 1}
msg: Task failed as maximum retries was encountered
<job 389040967562.5717> finished on 533814-node18_cinder_api_container-448ea5d3
<job 389040967562.11665> FAILED on 533816-node20
<job 389040967562.5461> finished on 533813-node17_cinder_api_container-2c1891a2
<job 389040967562.5346> finished on 533815-node19_cinder_api_container-2dac840d
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] ******* ******* ******* ******* * 11665", "attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip install /opt/neutron_ 22ad32603ca7fd9 a6e8f66f36bb523 50a6064558" , "failed": true, "finished": 1} <<<<<<<<<<<<<<< node18_ cinder_ api_container- 448ea5d3] node17_ cinder_ api_container- 2c1891a2] node19_ cinder_ api_container- 2dac840d] 11665", "attempts": 5, "changed": false, "cmd": "/usr/local/bin/pip install /opt/neutron_ 22ad32603ca7fd9 a6e8f66f36bb523 50a6064558" , "failed": true, "finished": 1} node18_ cinder_ api_container- 448ea5d3 node17_ cinder_ api_container- 2c1891a2 node19_ cinder_ api_container- 2dac840d
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- node20: /opt# ll /opt 22ad32603ca7fd9 a6e8f66f36bb523 50a6064558/ 90f17df02383035 93674a58d7286de 1fa395e0d3/ f336d08e4fe8330 70943c0025a205d /
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_ 22ad32603ca7fd9 a6e8f66f36bb523 50a6064558/ , rather than cinder_ 22ad32603ca7fd9 a6e8f66f36bb523 50a6064558/
This is how I got around the issue:
diff --git a/rpc_deploymen t/playbooks/ openstack/ cinder- common. yml b/rpc_deploymen t/playbooks/ openstack/ cinder- common. yml t/playbooks/ openstack/ cinder- common. yml t/playbooks/ openstack/ cinder- common. yml packages/ cinder. yml service_ vars/cinder_ api.yml service_ vars/cinder_ api.yml group_vars/ cinder_ all.yml
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/