Professional Documents
Culture Documents
Comment 9
Comment 9
above.
root@evrardjp-artifacted:/opt/openstack-ansible# scripts/bootstrap-ansible.sh
+ export HTTP_PROXY=
+ HTTP_PROXY=
+ export HTTPS_PROXY=
+ HTTPS_PROXY=
+ export
ANSIBLE_PACKAGE=git+https://github.com/ansible/ansible@44026f8d7befa4d25c8ee8b3bd3e
fa3bdb240d62
+
ANSIBLE_PACKAGE=git+https://github.com/ansible/ansible@44026f8d7befa4d25c8ee8b3bd3e
fa3bdb240d62
+ export ANSIBLE_ROLE_FILE=ansible-role-requirements.yml
+ ANSIBLE_ROLE_FILE=ansible-role-requirements.yml
+ export SSH_DIR=/root/.ssh
+ SSH_DIR=/root/.ssh
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
++ awk '/requirements_git_install_branch:/ {print $2}'
playbooks/defaults/repo_packages/openstack_services.yml
+ export
'UPPER_CONSTRAINTS_FILE=http://git.openstack.org/cgit/openstack/requirements/plain/
upper-constraints.txt?id=4956f128ef9210a76f0943cb6cb5364ba78dd537'
+
UPPER_CONSTRAINTS_FILE='http://git.openstack.org/cgit/openstack/requirements/plain/
upper-constraints.txt?id=4956f128ef9210a76f0943cb6cb5364ba78dd537'
+ export ANSIBLE_ROLE_FETCH_MODE=galaxy
+ ANSIBLE_ROLE_FETCH_MODE=galaxy
+ VIRTUALENV_OPTIONS=--always-copy
++ dirname scripts/bootstrap-ansible.sh
+ cd scripts/..
+ info_block 'Checking for required libraries.'
+ source scripts/scripts-library.sh
++ LINE=----------------------------------------------------------------------
++ MAX_RETRIES=5
++ ANSIBLE_PARAMETERS='-e gather_facts=False'
+++ date +%s
++ STARTTIME=1485251382
++ PIP_INSTALL_OPTIONS='pip==9.0.1 setuptools==32.3.1 wheel==0.29.0 '
++ COMMAND_LOGS=/openstack/log/ansible_cmd_logs
++ '[' -z '' ']'
+++ grep -c '^processor' /proc/cpuinfo
++ CPU_NUM=8
++ '[' 8 -lt 10 ']'
++ ANSIBLE_FORKS=8
++ trap 'exit_fail 273 0 '\''Received STOP Signal'\''' SIGHUP SIGINT SIGTERM
++ trap 'exit_fail 274 0' ERR
+++ id -u
++ '[' 0 '!=' 0 ']'
++ '[' '!' -d etc -a '!' -d scripts -a '!' -d playbooks ']'
++ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/
usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
++
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/
usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
++ export HOME=/root
++ HOME=/root
++ [[ -f /usr/local/bin/openstack-ansible.rc ]]
+ info_block 'Bootstrapping System with Ansible'
+ echo ----------------------------------------------------------------------
----------------------------------------------------------------------
+ print_info 'Bootstrapping System with Ansible'
+ PROC_NAME='- [ Bootstrapping System with Ansible ] -'
+ printf '\n%s%s\n' '- [ Bootstrapping System with Ansible ] -'
-----------------------------
----------------------------------------
Command "/opt/ansible-runtime/bin/python2 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-ruWi5M-build/setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code,
__file__, 'exec'))" install --record /tmp/pip-_GOKtl-record/install-record.txt
--single-version-externally-managed --compile --install-headers /opt/ansible-
runtime/include/site/python2.7/ansible" failed with error code 1 in /tmp/pip-
ruWi5M-build/
/opt/ansible-runtime/lib/python2.7/site-
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.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
+ /opt/ansible-runtime/bin/pip install --isolated --upgrade --constraint
'http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?
id=4956f128ef9210a76f0943cb6cb5364ba78dd537' -r requirements.txt
git+https://github.com/ansible/ansible@44026f8d7befa4d25c8ee8b3bd3efa3bdb240d62
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring ovs: markers 'python_version == "3.4"' don't match your environment
Ignoring ovs: markers 'python_version == "3.5"' don't match your environment
Collecting
git+https://github.com/ansible/ansible@44026f8d7befa4d25c8ee8b3bd3efa3bdb240d62
Cloning https://github.com/ansible/ansible (to
44026f8d7befa4d25c8ee8b3bd3efa3bdb240d62) to /tmp/pip-duwgNp-build
Could not find a tag or branch '44026f8d7befa4d25c8ee8b3bd3efa3bdb240d62',
assuming commit.
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-duwgNp-build/setup.py", line 55, in <module>
data_files=[],
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/ansible-runtime/lib/python2.7/site-packages/setuptools/dist.py",
line 320, in __init__
_Distribution.__init__(self, attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/opt/ansible-runtime/lib/python2.7/site-packages/setuptools/dist.py",
line 386, in finalize_options
ep.require(installer=self.fetch_build_egg)
File "/opt/ansible-runtime/lib/python2.7/site-
packages/pkg_resources/__init__.py", line 2306, in require
items = working_set.resolve(reqs, env, installer)
File "/opt/ansible-runtime/lib/python2.7/site-
packages/pkg_resources/__init__.py", line 853, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (packaging 16.7 (/opt/ansible-
runtime/lib/python2.7/site-packages), Requirement.parse('packaging>=16.8'))
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-duwgNp-
build/
++ exit_fail 274 0
++ set +x
scripts/scripts-library.sh: line 197: lxc-ls: command not found
scripts/scripts-library.sh: line 199: lxc-checkconfig: command not found
scripts/scripts-library.sh: line 203: ansible: command not found
++ info_block 'Error Info - 274' 0
++ echo ----------------------------------------------------------------------
----------------------------------------------------------------------
++ print_info 'Error Info - 274' 0
++ PROC_NAME='- [ Error Info - 274 0 ] -'
++ printf '\n%s%s\n' '- [ Error Info - 274 0 ] -'
--------------------------------------------