I am sorry but things seem to be broken at some other place...
What I did:
- Get fresh systems on control and compute node.
- Load the current version of openstack-ansible from stable/newton
- bootstrap the control node
- run playbooks
- redefine the variable lxc_architecture_mapping in user_variables as proposed in https://bugs.launchpad.net/openstack-ansible/+bug/1703612/ (this change is required, otherwise lxc-create fails because the arch argument is empty)
I am sorry but things seem to be broken at some other place...
What I did: e_mapping in user_variables as proposed in https:/ /bugs.launchpad .net/openstack- ansible/ +bug/1703612/ (this change is required, otherwise lxc-create fails because the arch argument is empty)
- Get fresh systems on control and compute node.
- Load the current version of openstack-ansible from stable/newton
- bootstrap the control node
- run playbooks
- redefine the variable lxc_architectur
What I get: ******* ******* **** roles/lxc_ hosts/tasks/ lxc_cache_ preparation. yml:71 ecking= no -o KbdInteractiveA uthentication= no -o PreferredAuthen tications= gssapi- with-mic, gssapi- keyex,hostbased ,publickey -o PasswordAuthent ication= no -o User=root -o ConnectTimeout=5 -o UserKnownHostsF ile=/dev/ null -o StrictHostKeyCh ecking= no -o ServerAliveInte rval=64 -o ServerAliveCoun tMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath= /home/stack/ .ansible/ cp/ansible- ssh-%h- %p-%r 192.168.0.100 '/bin/sh -c '"'"'LANG= en_US.UTF- 8 LC_ALL=en_US.UTF-8 LC_MESSAGES= en_US.UTF- 8 /usr/bin/python && sleep 0'"'"'' lxc/LXC_ NAME/rootfs" , "/usr/local/ bin/cache- prep-commands. sh"], "delta": "0:00:00.003277", "end": "2017-07-26 14:23:42.061475", "failed": true, "invocation": {"module_args": {"_raw_params": "chroot /var/lib/ lxc/LXC_ NAME/rootfs /usr/local/ bin/cache- prep-commands. sh", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 126, "start": "2017-07-26 14:23:42.058198", "stderr": "chroot: failed to run command ‘/usr/local/ bin/cache- prep-commands. sh’: Exec format error", "stdout": "", "stdout_lines": [], "warnings": []}
- lxc container preparation fails during setup-hosts
- Detailed error message with max verbosity (haec2 is the control node's hostname):
TASK [lxc_hosts : Prepare cached image setup commands] *******
task path: /etc/ansible/
container_name: "haec2"
physical_host: "haec2"
container_name: "haec2"
physical_host: "haec2"
<192.168.0.100> ESTABLISH SSH CONNECTION FOR USER: root
<192.168.0.100> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
fatal: [haec2]: FAILED! => {"changed": true, "cmd": ["chroot", "/var/lib/