[Openstack-operators] OSA Newton Release Deployment in test environment

Amit Kumar ebiibe82 at gmail.com
Sat Feb 4 18:22:10 UTC 2017


Hi All,

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.
http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/app-config-test.html#test-environment-config

While following instructions in Newton deployment guide (
http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/),
at "Run Playbooks" step, "openstack-ansible setup-hosts.yml" is successful
but "openstack-ansible setup-infrastructure.yml" is failing.

It is failing for " infra1_repo_container-" and is failing at "TASK
[pip_install : Install apt packages] **************************************"
Here is the failure text:
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"]}

On looking around, it seems that it is happening because LXC are lacking
connectivity to internet. So, as per the link:
http://docs.openstack.org/developer/openstack-ansible/developer-docs/installation-hosts-limited-connectivity.html
I tried the step mentioned at this page under heading "Install pip through
deployment host" but it is giving following error.

"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": []}"

Please guide if you are aware of any solution to this problem.

Thanks.

Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20170204/da8f2b76/attachment.html>


More information about the OpenStack-operators mailing list