OSA-based upgrade from Ocata to Pike, failure on lxc_containers_create for galera.

asked 2018-04-12 14:01:44 -0500

bnordgren gravatar image

I am upgrading from Ocata to Pike (and eventually to Queens) using the manual instructions here. Prior steps succeeded, but the following command fails as shown below. It seems to me that "no hosts matched" and the eventual "No file was found..." errors are related, but I can't tease out what is going wrong.

root@deploy:/opt/openstack-ansible/playbooks# openstack-ansible lxc-containers-create.yml -e 'lxc_container_allow_restarts=false' --limit galera_all
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "

PLAY [Gather lxc container host facts] ****************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY [Create container(s)] ****************************************************************************************************************************************************************************************

TASK [lxc_container_create : Allow the usage of local facts] ******************************************************************************************************************************************************
Thursday 12 April 2018  12:51:02 -0600 (0:00:00.146)       0:00:00.147 ******** 
ok: [control1_galera_container-2ec46006 -> 192.168.58.2]
ok: [control0_galera_container-0bd411a7 -> 192.168.58.1]
ok: [control2_galera_container-199b717d -> 192.168.58.3]

TASK [lxc_container_create : Check the physical_host variable is set] *********************************************************************************************************************************************
Thursday 12 April 2018  12:51:04 -0600 (0:00:02.393)       0:00:02.540 ******** 

TASK [lxc_container_create : Kernel version and LXC backing store check] ******************************************************************************************************************************************
Thursday 12 April 2018  12:51:04 -0600 (0:00:00.022)       0:00:02.562 ******** 

TASK [lxc_container_create : Gather variables for each operating system] ******************************************************************************************************************************************
Thursday 12 April 2018  12:51:04 -0600 (0:00:00.020)       0:00:02.583 ******** 
fatal: [control1_galera_container-2ec46006]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [control2_galera_container-199b717d]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
fatal: [control0_galera_container-0bd411a7]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}

PLAY RECAP ********************************************************************************************************************************************************************************************************
control0_galera_container-0bd411a7 : ok=1    changed=0    unreachable=0    failed=1   
control1_galera_container-2ec46006 : ok=1    changed=0    unreachable=0    failed=1   
control2_galera_container-199b717d : ok=1    changed=0    unreachable=0    failed=1
edit retag flag offensive close merge delete