[Openstack] [openstack][AIO][Ansible]
Trinath Somanchi
trinath.somanchi at nxp.com
Fri Aug 5 06:52:07 UTC 2016
Now that can you check those MissingWarnings are the bottle necks ?
From: Vaidyanath Manogaran [mailto:vaidyanath.m at gmail.com]
Sent: Friday, August 05, 2016 12:21 PM
To: Trinath Somanchi <trinath.somanchi at nxp.com>
Cc: Openstack <openstack at lists.openstack.org>; community at lists.openstack.org; Prabhu_Kondarangi at infosys.com; Vaidyanath Manogaran <vaidyanath.manogaran at infosys.com>
Subject: Re: [Openstack] [openstack][AIO][Ansible]
Yes it works fine.
pip install pudb
Collecting pudb
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading pudb-2016.2.tar.gz (51kB)
100% |████████████████████████████████| 51kB 127kB/s
Collecting urwid>=1.1.1 (from pudb)
Downloading urwid-1.3.1.tar.gz (588kB)
100% |████████████████████████████████| 593kB 636kB/s
Collecting pygments>=1.0 (from pudb)
Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB)
100% |████████████████████████████████| 757kB 563kB/s
Building wheels for collected packages: pudb, urwid
Running setup.py bdist_wheel for pudb ... done
Stored in directory: /root/.cache/pip/wheels/fa/fc/cc/9e575bdcfa38fe98bdbf80f536098092134484c172fbc90245
Running setup.py bdist_wheel for urwid ... done
Stored in directory: /root/.cache/pip/wheels/e7/bb/9d/d7f7fcc9b3aeae20cf4685667635002415629e6395ff2dda7d
Successfully built pudb urwid
Installing collected packages: urwid, pygments, pudb
Successfully installed pudb-2016.2 pygments-2.1.3 urwid-1.3.1
On Fri, Aug 5, 2016 at 12:18 PM, Trinath Somanchi <trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>> wrote:
Have you tried manually?
/ Trinath
From: Vaidyanath Manogaran [mailto:vaidyanath.m at gmail.com<mailto:vaidyanath.m at gmail.com>]
Sent: Friday, August 05, 2016 11:44 AM
To: Trinath Somanchi <trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>>
Cc: Openstack <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>; community at lists.openstack.org<mailto:community at lists.openstack.org>; Prabhu_Kondarangi at infosys.com<mailto:Prabhu_Kondarangi at infosys.com>; Vaidyanath Manogaran <vaidyanath.manogaran at infosys.com<mailto:vaidyanath.manogaran at infosys.com>>
Subject: Re: [Openstack] [openstack][AIO][Ansible]
I have setup the proxy details in the /etc/openstack_deploy/user_variables.yml
apply_security_hardening: true
HTTP_PROXY: "http://192.168.19.46:3128"
HTTPS_PROXY: "http://192.168.19.46:3128"
NO_PROXY: "localhost,127.0.0.1"
http_proxy: "http://192.168.19.46:3128"
https_proxy: "http://192.168.19.46:3128"
no_proxy: "localhost,127.0.0.1"
But still its unable to get the details.
Regards,
Vaidyanath
On Fri, Aug 5, 2016 at 11:38 AM, Trinath Somanchi <trinath.somanchi at nxp.com<mailto:trinath.somanchi at nxp.com>> wrote:
The error is the you were unable to download latest PIP from internet.
Please check the accessibility.
/ Trinath
From: Vaidyanath Manogaran [mailto:vaidyanath.m at gmail.com<mailto:vaidyanath.m at gmail.com>]
Sent: Friday, August 05, 2016 10:49 AM
To: Openstack <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>; community at lists.openstack.org<mailto:community at lists.openstack.org>; Prabhu_Kondarangi at infosys.com<mailto:Prabhu_Kondarangi at infosys.com>; Vaidyanath Manogaran <vaidyanath.manogaran at infosys.com<mailto:vaidyanath.manogaran at infosys.com>>
Subject: [Openstack] [openstack][AIO][Ansible]
Hi All,
We are trying to setup Openstack STABLE/MITAKA branch AIO environment using Openstack-Ansible pre-defined scripts, But It is failing at PIP installation step on "lxc-hosts-setup.yml".
We have come across following steps, but we still stuck on the same stage. Can you please help what is the issue here ?
Steps followed:
1. Modified Playbooks (YAML files) as per our environment setup- No Syntax error
2. Added proxy settings in “user_variables.yml” file – No Syntax error
3. Executed “scripts/bootstrap-ansible.sh” file – Succeeded.
4. Executed “scripts/bootstrap-aio.sh” file – Succeeded.
5. Executed “scripts/run-playbooks.sh” file – Failed at TASK: [pip_install | Get Modern PIP]
a. Verified “/etc/environment” file
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
b. Verified “/etc/ansible/hosts” file
127.0.0.1 localhost
<HOST_IP> <HOST_NAME>
c. Verified “/etc/ansible/roles/pip_install/tasks/main.yml” file.
d. Verified “/etc/ansible/roles/pip_install/defaults/main.yml” file for PIP download URLS - Accessable
## Path to pip download/installation script.
pip_upstream_url: https://bootstrap.pypa.io/get-pip.py
pip_fallback_url: https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py
Error:
[Executing "lxc-hosts-setup.yml" playbook]
Variable files: "-e @/etc/openstack_deploy/user_conf_files.yml -e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
PLAY [Basic lxc host setup] ***************************************************
TASK: [apt_package_pinning | Add apt pin preferences] *************************
skipping: [aio1]
TASK: [pip_install | Create pip config directory] *****************************
ok: [aio1] => (item=/opt)
ok: [aio1] => (item=/root/.cache)
ok: [aio1] => (item=/root/.cache/pip)
TASK: [pip_install | Drop pip file(s)] ****************************************
ok: [aio1] => (item={'dest': u'/root/.cache/pip/selfcheck.json', 'src': 'selfcheck.json'})
TASK: [pip_install | Get Modern PIP] ******************************************
failed: [aio1] => {"attempts": 5, "failed": true}
msg: Task failed as maximum retries was encountered
...ignoring
TASK: [pip_install | Get Modern PIP using fallback URL] ***********************
failed: [aio1] => {"attempts": 5, "failed": true}
msg: Task failed as maximum retries was encountered
...ignoring
--
Regards,
Vaidyanath
+91-9483465528<tel:%2B91-9483465528>(M)
--
Regards,
Vaidyanath
+91-9483465528<tel:%2B91-9483465528>(M)
--
Regards,
Vaidyanath
+91-9483465528(M)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160805/a59702a3/attachment.html>
More information about the Openstack
mailing list