<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p></p>
<p style="font-family: Arial; font-size: 14px;">Hello guys,<br>
<br>
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:<br>
<br>
TASK [lxc_container_create : Drop container network file (interfaces)] *********</p>
<div style="font-family: Arial; font-size: 14px;">task path: /etc/ansible/roles/lxc_container_create/tasks/container_create.yml:262<br>
<br>
The console prints out this error for each one of the containers:<br>
<br>
<div>container_name: "infra1_cinder_scheduler_container-8054b2be"</div>
<div>physical_host: "infra1"</div>
<div>Container confirmed</div>
<div><192.168.100.30> ESTABLISH SSH CONNECTION FOR USER: lab232</div>
<div>An exception occurred during task execution. The full traceback is:</div>
<div>Traceback (most recent call last):</div>
<div>  File "/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 98, in run</div>
<div>    item_results = self._run_loop(items)</div>
<div>  File "/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 290, in _run_loop</div>
<div>    res = self._execute(variables=task_vars)</div>
<div>  File "/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 511, in _execute</div>
<div>    result = self._handler.run(task_vars=variables)</div>
<div>  File "/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/plugins/action/template.py", line 149, in run</div>
<div>    tmp = self._make_tmp_path(remote_user)</div>
<div>  File "/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 224, in _make_tmp_path</div>
<div>    tmpdir =  self._remote_expand_user(C.DEFAULT_REMOTE_TMP, sudoable=False)</div>
<div>  File "/opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 506, in _remote_expand_user</div>
<div>    initial_fragment = data['stdout'].strip().splitlines()[-1]</div>
<div>IndexError: list index out of range</div>
<div> </div>
<div>fatal: [infra1_nova_scheduler_container-92a94180]: FAILED! => {</div>
<div>    "failed": true, </div>
<div>    "msg": "Unexpected failure during module execution.", </div>
<div>    "stdout": ""</div>
<div>}</div>
<div><br>
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!</div>
</div>
<br>
<p></p>
<p>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.</p>
<p><br>
</p>
<p></p>
<div></div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature">
<p>Enviado desde <a href="http://aka.ms/weboutlook" id="LPNoLP">Outlook</a><br>
</p>
</div>
</div>
</body>
</html>