ok Same result with Ansible 2.4
So I have:
git version 2.16.3
ansible 2.4.3.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u’/Library/Python/2.7/site-packages/napalm_ansible’, u’/usr/share/ansible/plugins/modules’]
ansible python module location = /Library/Python/2.7/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
I am cloning not forking.
git clone -b devel https://github.com/ansible/awx.git
$ git describe --long --first-parent
1.0.5-19-g3cb37b131
$
And the error.
Attaching to tools_awx_1
awx_1 | Using /etc/ansible/ansible.cfg as config file
awx_1 | 127.0.0.1 | SUCCESS => {
awx_1 | “changed”: false,
awx_1 | “elapsed”: 0,
awx_1 | “path”: null,
awx_1 | “port”: 5432,
awx_1 | “search_regex”: null,
awx_1 | “state”: “started”
awx_1 | }
awx_1 | Using /etc/ansible/ansible.cfg as config file
awx_1 | 127.0.0.1 | SUCCESS => {
awx_1 | “changed”: false,
awx_1 | “elapsed”: 0,
awx_1 | “path”: null,
awx_1 | “port”: 11211,
awx_1 | “search_regex”: null,
awx_1 | “state”: “started”
awx_1 | }
awx_1 | Using /etc/ansible/ansible.cfg as config file
awx_1 | 127.0.0.1 | SUCCESS => {
awx_1 | “changed”: false,
awx_1 | “elapsed”: 0,
awx_1 | “path”: null,
awx_1 | “port”: 5672,
awx_1 | “search_regex”: null,
awx_1 | “state”: “started”
awx_1 | }
awx_1 | Using /etc/ansible/ansible.cfg as config file
awx_1 | [DEPRECATION WARNING]: The sudo command line option has been deprecated in
awx_1 | favor of the “become” command line arguments. This feature will be removed in
awx_1 | version 2.6. Deprecation warnings can be disabled by setting
awx_1 | deprecation_warnings=False in ansible.cfg.
awx_1 | 127.0.0.1 | SUCCESS => {
awx_1 | “changed”: false,
awx_1 | “user”: “awx-dev”
awx_1 | }
awx_1 | Using /etc/ansible/ansible.cfg as config file
awx_1 | [DEPRECATION WARNING]: The sudo command line option has been deprecated in
awx_1 | favor of the “become” command line arguments. This feature will be removed in
awx_1 | version 2.6. Deprecation warnings can be disabled by setting
awx_1 | deprecation_warnings=False in ansible.cfg.
awx_1 | 127.0.0.1 | SUCCESS => {
awx_1 | “changed”: false,
awx_1 | “db”: “awx-dev”
awx_1 | }
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | ln: failed to create symbolic link ‘/venv/awx/lib/python2.7/site-packages/rdb.py’: File exists
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | mkdir -p /var/lib/awx/;
awx_1 | if [ “/venv” ]; then
awx_1 | . /venv/awx/bin/activate;
awx_1 | fi;
awx_1 | python -c “import awx as awx; print awx.version” > /var/lib/awx/.awx_version;
awx_1 |
awx_1 | Traceback (most recent call last):
awx_1 | File “”, line 1, in
awx_1 | File “awx/init.py”, line 12, in
awx_1 | version = get_distribution(‘awx’).version
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 553, in get_distribution
awx_1 | dist = get_provider(dist)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 427, in get_provider
awx_1 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 713, in find
awx_1 | if dist is not None and dist not in req:
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 2922, in contains
awx_1 | item = item.version
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 2544, in version
awx_1 | raise ValueError(tmpl % self.PKG_INFO, self)
awx_1 | ValueError: (“Missing ‘Version:’ header and/or PKG-INFO file”, awx [unknown version] (/awx_devel))
awx_1 | make: *** [version_file] Error 1
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | if [ “/venv” ]; then
awx_1 | . /venv/awx/bin/activate;
awx_1 | fi;
awx_1 | awx-manage migrate --noinput --fake-initial
awx_1 | /usr/local/bin/awx-manage:9: UserWarning: Unbuilt egg for awx [unknown version] (/awx_devel)
awx_1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | Traceback (most recent call last):
awx_1 | File “/usr/local/bin/awx-manage”, line 9, in
awx_1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 561, in load_entry_point
awx_1 | return get_distribution(dist).load_entry_point(group, name)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 553, in get_distribution
awx_1 | dist = get_provider(dist)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 427, in get_provider
awx_1 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 969, in require
awx_1 | needed = self.resolve(parse_requirements(requirements))
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 855, in resolve
awx_1 | raise DistributionNotFound(req, requirers)
awx_1 | pkg_resources.DistributionNotFound: The ‘awx’ distribution was not found and is required by the application
awx_1 | make: *** [migrate] Error 1
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | fatal: No names found, cannot describe anything.
awx_1 | if [ “/venv” ]; then
awx_1 | . /venv/awx/bin/activate;
awx_1 | fi;
awx_1 | awx-manage provision_instance --hostname=awx;
awx_1 | awx-manage register_queue --queuename=tower --instance_percent=100;
awx_1 | if [ “tower” == “tower,thepentagon” ]; then
awx_1 | awx-manage provision_instance --hostname=isolated;
awx_1 | awx-manage register_queue --queuename=‘thepentagon’ --hostnames=isolated --controller=tower;
awx_1 | awx-manage generate_isolated_key | ssh -o “StrictHostKeyChecking no” root@isolated ‘cat > /root/.ssh/authorized_keys’;
awx_1 | fi;
awx_1 | /usr/local/bin/awx-manage:9: UserWarning: Unbuilt egg for awx [unknown version] (/awx_devel)
awx_1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | Traceback (most recent call last):
awx_1 | File “/usr/local/bin/awx-manage”, line 9, in
awx_1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 561, in load_entry_point
awx_1 | return get_distribution(dist).load_entry_point(group, name)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 553, in get_distribution
awx_1 | dist = get_provider(dist)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 427, in get_provider
awx_1 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 969, in require
awx_1 | needed = self.resolve(parse_requirements(requirements))
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 855, in resolve
awx_1 | raise DistributionNotFound(req, requirers)
awx_1 | pkg_resources.DistributionNotFound: The ‘awx’ distribution was not found and is required by the application
awx_1 | /usr/local/bin/awx-manage:9: UserWarning: Unbuilt egg for awx [unknown version] (/awx_devel)
awx_1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | Traceback (most recent call last):
awx_1 | File “/usr/local/bin/awx-manage”, line 9, in
awx_1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 561, in load_entry_point
awx_1 | return get_distribution(dist).load_entry_point(group, name)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 553, in get_distribution
awx_1 | dist = get_provider(dist)
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 427, in get_provider
awx_1 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 969, in require
awx_1 | needed = self.resolve(parse_requirements(requirements))
awx_1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 855, in resolve
awx_1 | raise DistributionNotFound(req, requirers)
awx_1 | pkg_resources.DistributionNotFound: The ‘awx’ distribution was not found and is required by the application
awx_1 | 20:22:16 system | jupyter.1 started (pid=254)
awx_1 | 20:22:16 system | nginx.1 started (pid=245)
awx_1 | 20:22:16 system | runworker.1 started (pid=248)
awx_1 | 20:22:16 system | celeryd.1 started (pid=257)
awx_1 | 20:22:16 system | flower.1 started (pid=258)
awx_1 | 20:22:16 system | daphne.1 started (pid=251)
awx_1 | 20:22:16 system | receiver.1 started (pid=255)
awx_1 | 20:22:16 system | uwsgi.1 started (pid=256)
awx_1 | 20:22:16 jupyter.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 nginx.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 flower.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 runworker.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 celeryd.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 daphne.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 uwsgi.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 jupyter.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 receiver.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 nginx.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 runworker.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 flower.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 daphne.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 celeryd.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 receiver.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 uwsgi.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 jupyter.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 runworker.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 flower.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 celeryd.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 nginx.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 daphne.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 uwsgi.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 flower.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 runworker.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 jupyter.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 receiver.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 nginx.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 daphne.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 celeryd.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 nginx.1 | nginx -g “daemon off;”
awx_1 | 20:22:16 celeryd.1 | rm -f /tmp/celery_pid
awx_1 | 20:22:16 uwsgi.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 receiver.1 | fatal: No names found, cannot describe anything.
awx_1 | 20:22:16 jupyter.1 | /usr/local/bin/awx-manage:9: UserWarning: Unbuilt egg for awx [unknown version] (/awx_devel)
awx_1 | 20:22:16 jupyter.1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | 20:22:16 jupyter.1 | Traceback (most recent call last):
awx_1 | 20:22:16 jupyter.1 | File “/usr/local/bin/awx-manage”, line 9, in
awx_1 | 20:22:16 jupyter.1 | load_entry_point(‘awx’, ‘console_scripts’, ‘awx-manage’)()
awx_1 | 20:22:16 jupyter.1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 561, in load_entry_point
awx_1 | 20:22:16 jupyter.1 | return get_distribution(dist).load_entry_point(group, name)
awx_1 | 20:22:16 jupyter.1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 553, in get_distribution
awx_1 | 20:22:16 jupyter.1 | dist = get_provider(dist)
awx_1 | 20:22:16 jupyter.1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 427, in get_provider
awx_1 | 20:22:16 jupyter.1 | return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
awx_1 | 20:22:16 jupyter.1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 969, in require
awx_1 | 20:22:16 jupyter.1 | needed = self.resolve(parse_requirements(requirements))
awx_1 | 20:22:16 jupyter.1 | File “/venv/awx/lib/python2.7/site-packages/pkg_resources/init.py”, line 855, in resolve
awx_1 | 20:22:16 jupyter.1 | raise DistributionNotFound(req, requirers)
awx_1 | 20:22:16 jupyter.1 | pkg_resources.DistributionNotFound: The ‘awx’ distribution was not found and is required by the application
awx_1 | 20:22:16 jupyter.1 | make: *** [jupyter] Error 1
awx_1 | 20:22:16 system | jupyter.1 stopped (rc=2)
awx_1 | 20:22:16 system | sending SIGTERM to nginx.1 (pid 245)
awx_1 | 20:22:16 system | sending SIGTERM to runworker.1 (pid 248)
awx_1 | 20:22:16 system | sending SIGTERM to receiver.1 (pid 255)
awx_1 | 20:22:16 system | sending SIGTERM to daphne.1 (pid 251)
awx_1 | 20:22:16 system | sending SIGTERM to uwsgi.1 (pid 256)
awx_1 | 20:22:16 system | sending SIGTERM to celeryd.1 (pid 257)
awx_1 | 20:22:16 system | sending SIGTERM to flower.1 (pid 258)
awx_1 | 20:22:16 receiver.1 | make: *** [receiver] Terminated
awx_1 | 20:22:16 celeryd.1 | make: *** [celeryd] Terminated
awx_1 | 20:22:16 runworker.1 | make: *** [runworker] Terminated
awx_1 | 20:22:16 system | celeryd.1 stopped (rc=-15)
awx_1 | 20:22:16 daphne.1 | make: *** [daphne] Terminated
awx_1 | 20:22:17 uwsgi.1 | make: *** [collectstatic] Terminated
awx_1 | 20:22:17 system | uwsgi.1 stopped (rc=-15)
awx_1 | 20:22:17 system | runworker.1 stopped (rc=-15)
awx_1 | 20:22:17 flower.1 | make: *** [flower] Terminated
awx_1 | 20:22:17 system | flower.1 stopped (rc=-15)
awx_1 | 20:22:17 system | receiver.1 stopped (rc=-15)
awx_1 | 20:22:17 system | daphne.1 stopped (rc=-15)
awx_1 | 20:22:17 system | nginx.1 stopped (rc=-15)
tools_awx_1 exited with code 2