Hello guys, I am trying to deploy a lab Openstack environment using ansible in order to get acquainted with this tool. Actually i am stuck with an error i am not being able to resolve. It happens on the following task:
TASK [lxc_container_create : Drop container network file (interfaces)] *********
task path:
/etc/ansible/roles/lxc_container_create/tasks/container_create.yml:262
The console prints out this error for each one of the containers:
container_name: "infra1_cinder_scheduler_container-8054b2be"
physical_host: "infra1"
Container confirmed
<192.168.100.30> ESTABLISH SSH CONNECTION FOR USER: lab232
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File
"/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/executor/task_executor.py",
line 98, in run
item_results = self._run_loop(items)
File
"/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/executor/task_executor.py",
line 290, in _run_loop
res = self._execute(variables=task_vars)
File
"/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/executor/task_executor.py",
line 511, in _execute
result = self._handler.run(task_vars=variables)
File
"/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/plugins/action/template.py",
line 149, in run
tmp = self._make_tmp_path(remote_user)
File
"/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/plugins/action/__init__.py",
line 224, in _make_tmp_path
tmpdir = self._remote_expand_user(C.DEFAULT_REMOTE_TMP, sudoable=False)
File
"/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/plugins/action/__init__.py",
line 506, in _remote_expand_user
initial_fragment = data['stdout'].strip().splitlines()[-1]
IndexError: list index out of range
fatal: [infra1_nova_scheduler_container-92a94180]: FAILED! => {
"failed": true,
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
Regarding my setup i have one infrastructure node and one compute node. I am
attaching the interface config for each node and the openstack_user_config.yml
file so you get a complete picture of my setup. I would deeply appreciate any
help or any pointers that might help me troubleshoot this!
I think the only relevant change i make regarding the instructions is my
management network which is 192.168.100.0./24 since I already have this set up
for other equipment.
Enviado desde Outlook<http://aka.ms/weboutlook>
Compute interfaces
Description: Compute interfaces
openstack_user_config.yml
Description: openstack_user_config.yml
Infra interfaces
Description: Infra interfaces
_______________________________________________ OpenStack-operators mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
