<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div id="divToolbarButtonsend" class="tbf fltBefore tbfHvr"><a _tbb="1" class="tba" id="send" name="lnkB" href="https://mail.uu.se/owa/?ae=PreFormAction&a=ReplyAll&t=IPM.Note&id=RgAAAAAYgm11jTMZSqDNQIKZhLPSBwCZtICTEb9DQLldDzcg6sC7AAAADML5AACZtICTEb9DQLldDzcg6sC7AABJX%2fCxAAAJ&pspid=_1486240160008_300721368#" fdsbl="0"><span class="tbLh tbBefore tbAfter"></span></a></div>
Hi, <br>
<br>
I am not an expert but I had similar problem and that was because of different MTU at host interface and container's interface.
<br>
<br>
My suggestion will be to check the MTU, if that helps. <br>
<br>
Regards..<br>
Salman. <br>
  <br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:'Segoe UI',Helvetica,Arial,sans-serif; font-size:medium">
PhD, Scientific Computing<br>
Researcher, IT Department,<br>
Uppsala University.</div>
<div style="font-family:'Segoe UI',Helvetica,Arial,sans-serif; font-size:medium">
<div>Senior Cloud Architect, </div>
<div>SNIC.</div>
Cloud Application Expert,<br>
UPPMAX.<br>
<a href="https://mail.uu.se/owa/redir.aspx?REF=m0Eyh6bAe3V0K5jcrZeIkUVJw4_716jYUS9Yd1fJMFOsyyE71yXTCAFtYWlsdG86c2FsbWFuLnRvb3JAaXQudXUuc2U." target="_blank">salman.toor@it.uu.se</a><br>
http://www.it.uu.se/katalog/salto690</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF668918" style="direction: ltr;"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Amit Kumar [ebiibe82@gmail.com]<br>
<b>Sent:</b> Saturday, February 04, 2017 7:22 PM<br>
<b>To:</b> openstack-operators@lists.openstack.org<br>
<b>Subject:</b> [Openstack-operators] OSA Newton Release Deployment in test environment<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">Hi All,</font></span></div>
<span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">
<div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></span></div>
I am trying to prepare test environment as mentioned in the following link. I am using two VMs created in Virtualbox. One will be Infra Node and other will be Compute Node. "Block Storage Host" is not present in my deployment.</font></span>
<div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><a href="http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/app-config-test.html#test-environment-config" rel="nofollow" target="_blank">http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/app-config-test.html#test-environment-config</a><br>
</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif"><br>
</font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font color="#000000" face="arial, helvetica, sans-serif">While following instructions in Newton deployment guide (<a href="http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/" rel="nofollow" target="_blank">http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/</a>),
 at "Run Playbooks" step, "openstack-ansible setup-hosts.yml" is successful but "openstack-ansible setup-infrastructure.yml" is failing. </font></span></div>
<div><span style="font-family:"times new roman"; background-color:rgb(255,255,255)"><font color="#000000"><br>
</font></span></div>
<table class="gmail-irclog" style="width:1334px; color:rgb(0,0,0); font-family:"times new roman"">
<tbody>
<tr id="gmail-t2017-02-04T08:40:50">
<td class="gmail-text" style="width:1160px"><span style="background-color:rgb(255,255,255)">It is failing for " infra1_repo_container-" and is failing at "TASK [pip_install : Install apt packages] **************************************"</span></td>
</tr>
</tbody>
</table>
<br>
<div>Here is the failure text:</div>
<div><span style="color:rgb(0,0,0); font-family:monospace; font-size:13px; white-space:pre-wrap; background-color:rgb(221,255,221)">failed: [infra1_repo_container-f9649c00] (item=[u'build-essential', u'python-setuptools', u'libffi-dev', u'libssl-dev', u'python-dev',
 u'python-openssl', u'python-pyasn1']) => {"cache_update_time": 0, "cache_updated": false, "failed": true, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options":
 "force-confdef,force-confold", "force": false, "install_recommends": null, "name": ["build-essential", "python-setuptools", "libffi-dev", "libssl-dev", "python-dev", "python-openssl", "python-pyasn1"], "only_upgrade": false, "package": ["build-essential",
 "python-setuptools", "libffi-dev", "libssl-dev", "python-dev", "python-openssl", "python-pyasn1"], "purge": false, "state": "latest", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["build-essential", "python-setuptools", "libffi-dev",
 "libssl-dev", "python-dev", "python-openssl", "python-pyasn1"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'python-setuptools' 'python-openssl' 'python-pyasn1'' failed: E: There are problems
 and -y was used without --force-yes\n", "stderr": "E: There are problems and -y was used without --force-yes\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n
 python-pkg-resources\nSuggested packages:\n python-openssl-doc python-openssl-dbg python-distribute\n python-distribute-doc doc-base\nThe following NEW packages will be installed:\n python-openssl python-pkg-resources python-pyasn1 python-setuptools\n0 upgraded,
 4 newly installed, 0 to remove and 4 not upgraded.\nNeed to get 418 kB of archives.\nAfter this operation, 1801 kB of additional disk space will be used.\nWARNING: The following packages cannot be authenticated!\n python-pkg-resources python-setuptools\n",
 "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following extra packages will be installed:", " python-pkg-resources", "Suggested packages:", " python-openssl-doc python-openssl-dbg python-distribute",
 " python-distribute-doc doc-base", "The following NEW packages will be installed:", " python-openssl python-pkg-resources python-pyasn1 python-setuptools", "0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.", "Need to get 418 kB of archives.",
 "After this operation, 1801 kB of additional disk space will be used.", "WARNING: The following packages cannot be authenticated!", " python-pkg-resources python-setuptools"]}</span><br>
</div>
<div><span style="color:rgb(0,0,0); font-family:monospace; font-size:13px; white-space:pre-wrap; background-color:rgb(221,255,221)"><br>
</span></div>
<div><font style="background-color:rgb(255,255,255)" color="#000000" face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">On looking around, it seems that it is happening because LXC are lacking connectivity to internet. So, as per the link:
</span><span style="white-space:pre-wrap"><a href="http://docs.openstack.org/developer/openstack-ansible/developer-docs/installation-hosts-limited-connectivity.html" target="_blank">http://docs.openstack.org/developer/openstack-ansible/developer-docs/installation-hosts-limited-connectivity.html</a></span></font></div>
<div><font face="arial, helvetica, sans-serif">I tried the step mentioned at this page under heading "<span style="color:rgb(40,77,104)">Install pip through deployment host" but it is giving following error.</span></font></div>
<div><span style="color:rgb(40,77,104); font-family:"open sans",helvetica,arial,sans-serif; background-color:rgb(217,234,211)"><br>
</span></div>
<div><font style="background-color:rgb(182,215,168)" face="monospace, monospace">"fatal: [infra1]: FAILED! => {"changed": true, "cmd": "python /opt/get-pip.py --isolated --no-index --find-links=/tmp/pip_install  pip==8.1.2 setuptools==28.6.0 wheel==0.29.0",
 "delta": "0:00:00.740516", "end": "2017-02-04 22:58:12.985852", "failed": true, "invocation": {"module_args": {"_raw_params": "python /opt/get-pip.py --isolated --no-index --find-links=/tmp/pip_install  pip==8.1.2 setuptools==28.6.0 wheel==0.29.0", "_uses_shell":
 true, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2017-02-04 22:58:12.245336", "stderr": "Url '/tmp/pip_install' is ignored. It is either a non-existing path or lacks a specific
 scheme.\n  Url '/tmp/pip_install' is ignored. It is either a non-existing path or lacks a specific scheme.\n  Could not find a version that satisfies the requirement setuptools==28.6.0 (from versions: )\nNo matching distribution found for setuptools==28.6.0",
 "stdout": "Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python2.7/dist-packages\nCollecting setuptools==28.6.0", "stdout_lines": ["Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python2.7/dist-packages", "Collecting setuptools==28.6.0"],
 "warnings": []}"</font></div>
<div><br>
</div>
<div>Please guide if you are aware of any solution to this problem.</div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Amit</div>
</div>
</div>
</div>
</div>
</body>
</html>