Activity log for bug #1491882

Date Who What changed Old value New value Message
2015-09-03 14:36:28 Darren Birkett bug added bug
2015-09-03 14:37:43 Darren Birkett 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.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 root@533816-node20:/opt# ll /opt 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_22ad32603ca7fd9a6e8f66f36bb52350a6064558/ -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_90f17df0238303593674a58d7286de1fa395e0d3/ drwxr-xr-x 9 root root 4096 Sep 3 10:57 nova_cc6c50ee23f336d08e4fe833070943c0025a205d/ Note how it is trying to install neutron_22ad32603ca7fd9a6e8f66f36bb52350a6064558/, rather than cinder_22ad32603ca7fd9a6e8f66f36bb52350a6064558/ This is how I got around the issue: diff --git a/rpc_deployment/playbooks/openstack/cinder-common.yml b/rpc_deployment/playbooks/openstack/cinder-common.yml index 560b33e..3e92e68 100644 --- a/rpc_deployment/playbooks/openstack/cinder-common.yml +++ b/rpc_deployment/playbooks/openstack/cinder-common.yml @@ -24,4 +24,5 @@ - galera_client_cnf vars_files: - vars/repo_packages/cinder.yml - - vars/openstack_service_vars/cinder_api.yml \ No newline at end of file + - vars/openstack_service_vars/cinder_api.yml + - inventory/group_vars/cinder_all.yml 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.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 root@533816-node20:/opt# ll /opt 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_22ad32603ca7fd9a6e8f66f36bb52350a6064558/ -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_90f17df0238303593674a58d7286de1fa395e0d3/ drwxr-xr-x 9 root root 4096 Sep 3 10:57 nova_cc6c50ee23f336d08e4fe833070943c0025a205d/ Note how it is trying to install neutron_22ad32603ca7fd9a6e8f66f36bb52350a6064558/, rather than cinder_22ad32603ca7fd9a6e8f66f36bb52350a6064558/ This is how I got around the issue (including inventory/group_vars/cinder_all.yml explicitly ensures that the service name that's used in the container common play is set to cinder): diff --git a/rpc_deployment/playbooks/openstack/cinder-common.yml b/rpc_deployment/playbooks/openstack/cinder-common.yml index 560b33e..3e92e68 100644 --- a/rpc_deployment/playbooks/openstack/cinder-common.yml +++ b/rpc_deployment/playbooks/openstack/cinder-common.yml @@ -24,4 +24,5 @@      - galera_client_cnf    vars_files:      - vars/repo_packages/cinder.yml - - vars/openstack_service_vars/cinder_api.yml \ No newline at end of file + - vars/openstack_service_vars/cinder_api.yml + - inventory/group_vars/cinder_all.yml
2015-09-08 10:44:06 Darren Birkett openstack-ansible: assignee Darren Birkett (darren-birkett)
2015-09-08 11:29:26 Jesse Pretorius nominated for series openstack-ansible/juno
2015-09-08 11:29:26 Jesse Pretorius bug task added openstack-ansible/juno
2015-09-08 11:29:26 Jesse Pretorius nominated for series openstack-ansible/trunk
2015-09-08 11:29:26 Jesse Pretorius bug task added openstack-ansible/trunk
2015-09-08 11:29:26 Jesse Pretorius nominated for series openstack-ansible/kilo
2015-09-08 11:29:26 Jesse Pretorius bug task added openstack-ansible/kilo
2015-09-08 11:29:38 Jesse Pretorius openstack-ansible/juno: status New Confirmed
2015-09-08 11:29:46 Jesse Pretorius openstack-ansible/juno: assignee Darren Birkett (darren-birkett)
2015-09-08 11:29:56 Jesse Pretorius openstack-ansible/juno: milestone 10.1.14
2015-09-08 11:30:01 Jesse Pretorius openstack-ansible/juno: importance Undecided Medium
2015-09-08 12:33:03 OpenStack Infra openstack-ansible/juno: status Confirmed In Progress
2015-09-08 13:35:21 Jesse Pretorius openstack-ansible/kilo: status New Invalid
2015-09-08 13:35:24 Jesse Pretorius openstack-ansible/trunk: status New Invalid
2015-09-08 13:35:27 Jesse Pretorius openstack-ansible/trunk: assignee Darren Birkett (darren-birkett)
2015-09-08 14:54:41 OpenStack Infra openstack-ansible/juno: status In Progress Fix Committed
2015-09-11 22:11:52 Jesse Pretorius openstack-ansible/juno: status Fix Committed Fix Released