<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">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">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;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial"><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 color="#000000" style="background-color:rgb(255,255,255)" 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">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 face="monospace, monospace" style="background-color:rgb(182,215,168)">"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>