Yeah, problem is permission. I was thought it would unnecessary while I'm 
running with root. Thanks

On Saturday, April 21, 2018 at 10:01:39 PM UTC+6:30, Benny Kusman wrote:
>
> IOError: [Errno 13] Permission denied: 
> '/usr/lib/python2.7/site-packages/sshuttle-0.78.4-py2.7.egg/EGG-INFO/entry_points.txt
>
> can you try to see the permission on the folder ?
>
> On Fri, Apr 20, 2018 at 3:36 PM, pi co <[email protected] <javascript:>> 
> wrote:
>
>> Hi, I'm start using Ansible for learning purpose. I got error again and 
>> again when I try to install Ansible Tower in my Cent OS 7. I'm using 
>> Ansible Tower Bundel for installation and get it from here : 
>> https://releases.ansible.com/ansible-tower/setup-bundle/
>>
>> Error are as below :
>>
>> TASK [awx_install : Migrate the Tower database schema (may take awhile 
>> when upgrading).] 
>> *******************************************************************************
>> [0;31mfatal: [localhost]: FAILED! => {"changed": true, "cmd": 
>> ["awx-manage", "migrate", "--noinput", "--fake-initial"], "delta": 
>> "0:00:01.466058", "end": "2018-04-20 12:16:57.314897", "msg": "non-zero 
>> return code", "rc": 1, "start": "2018-04-20 12:16:55.848839", "stderr": 
>> "Traceback (most recent call last):\n  File \"/bin/awx-manage\", line 9, in 
>> <module>\n    load_entry_point('awx==3.2.3', 'console_scripts', 
>> 'awx-manage')()\n  File \"/lib/python2.7/site-packages/awx/__init__.py\", 
>> line 91, in manage\n  File 
>> \"/lib/python2.7/site-packages/awx/__init__.py\", line 46, in 
>> prepare_env\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/conf/__init__.py\",
>>  
>> line 48, in __getattr__\n    self._setup(name)\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/conf/__init__.py\",
>>  
>> line 44, in _setup\n    self._wrapped = Settings(settings_module)\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/conf/__init__.py\",
>>  
>> line 92, in __init__\n    mod = 
>> importlib.import_module(self.SETTINGS_MODULE)\n  File 
>> \"/usr/lib64/python2.7/importlib/__init__.py\", line 37, in 
>> import_module\n    __import__(name)\n  File 
>> \"/lib/python2.7/site-packages/awx/settings/production.py\", line 16, in 
>> <module>\n  File \"/lib/python2.7/site-packages/awx/settings/defaults.py\", 
>> line 8, in <module>\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/__init__.py\", 
>> line 34, in <module>\n    from celery import current_app as celery  # 
>> noqa\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/five.py\", line 
>> 307, in __getattr__\n    module = __import__(self._object_origins[name], 
>> None, None, [name])\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/_state.py\", 
>> line 20, in <module>\n    from celery.utils.threads import LocalStack\n  
>> File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/utils/__init__.py\",
>>  
>> line 25, in <module>\n    from kombu.entity import Exchange, Queue\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/kombu/entity.py\", line 
>> 13, in <module>\n    from .serialization import prepare_accept_content\n  
>> File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/kombu/serialization.py\",
>>  
>> line 454, in <module>\n    for ep, args in 
>> entrypoints('kombu.serializers'):  # pragma: no cover\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/kombu/utils/__init__.py\",
>>  
>> line 413, in <genexpr>\n    return ((ep, ep.load()) for ep in 
>> iter_entry_points(namespace))\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 726, in iter_entry_points\n    entries = dist.get_entry_map(group)\n  
>> File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2657, in get_entry_map\n    self._get_metadata('entry_points.txt'), 
>> self\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2387, in parse_map\n    for group, lines in data:\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2985, in split_sections\n    for line in yield_lines(s):\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2247, in yield_lines\n    for ss in strs:\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2583, in _get_metadata\n    for line in 
>> self.get_metadata_lines(name):\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 1473, in get_metadata_lines\n    return 
>> yield_lines(self.get_metadata(name))\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 1469, in get_metadata\n    value = self._get(self._fn(self.egg_info, 
>> name))\n  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 1578, in _get\n    with open(path, 'rb') as stream:\nIOError: [Errno 
>> 13] Permission denied: 
>> '/usr/lib/python2.7/site-packages/sshuttle-0.78.4-py2.7.egg/EGG-INFO/entry_points.txt'",
>>  
>> "stderr_lines": ["Traceback (most recent call last):", "  File 
>> \"/bin/awx-manage\", line 9, in <module>", "    
>> load_entry_point('awx==3.2.3', 'console_scripts', 'awx-manage')()", "  File 
>> \"/lib/python2.7/site-packages/awx/__init__.py\", line 91, in manage", "  
>> File \"/lib/python2.7/site-packages/awx/__init__.py\", line 46, in 
>> prepare_env", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/conf/__init__.py\",
>>  
>> line 48, in __getattr__", "    self._setup(name)", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/conf/__init__.py\",
>>  
>> line 44, in _setup", "    self._wrapped = Settings(settings_module)", "  
>> File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/conf/__init__.py\",
>>  
>> line 92, in __init__", "    mod = 
>> importlib.import_module(self.SETTINGS_MODULE)", "  File 
>> \"/usr/lib64/python2.7/importlib/__init__.py\", line 37, in import_module", 
>> "    __import__(name)", "  File 
>> \"/lib/python2.7/site-packages/awx/settings/production.py\", line 16, in 
>> <module>", "  File 
>> \"/lib/python2.7/site-packages/awx/settings/defaults.py\", line 8, in 
>> <module>", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/djcelery/__init__.py\", 
>> line 34, in <module>", "    from celery import current_app as celery  # 
>> noqa", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/five.py\", line 
>> 307, in __getattr__", "    module = __import__(self._object_origins[name], 
>> None, None, [name])", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/_state.py\", 
>> line 20, in <module>", "    from celery.utils.threads import LocalStack", 
>> "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/utils/__init__.py\",
>>  
>> line 25, in <module>", "    from kombu.entity import Exchange, Queue", "  
>> File \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/kombu/entity.py\", 
>> line 13, in <module>", "    from .serialization import 
>> prepare_accept_content", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/kombu/serialization.py\",
>>  
>> line 454, in <module>", "    for ep, args in 
>> entrypoints('kombu.serializers'):  # pragma: no cover", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/kombu/utils/__init__.py\",
>>  
>> line 413, in <genexpr>", "    return ((ep, ep.load()) for ep in 
>> iter_entry_points(namespace))", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 726, in iter_entry_points", "    entries = dist.get_entry_map(group)", 
>> "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2657, in get_entry_map", "    self._get_metadata('entry_points.txt'), 
>> self", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2387, in parse_map", "    for group, lines in data:", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2985, in split_sections", "    for line in yield_lines(s):", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2247, in yield_lines", "    for ss in strs:", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 2583, in _get_metadata", "    for line in 
>> self.get_metadata_lines(name):", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 1473, in get_metadata_lines", "    return 
>> yield_lines(self.get_metadata(name))", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 1469, in get_metadata", "    value = self._get(self._fn(self.egg_info, 
>> name))", "  File 
>> \"/var/lib/awx/venv/awx/lib/python2.7/site-packages/pkg_resources/__init__.py\",
>>  
>> line 1578, in _get", "    with open(path, 'rb') as stream:", "IOError: 
>> [Errno 13] Permission denied: 
>> '/usr/lib/python2.7/site-packages/sshuttle-0.78.4-py2.7.egg/EGG-INFO/entry_points.txt'"],
>>  
>> "stdout": "", "stdout_lines": []}[0m
>> to retry, use: --limit 
>> @/opt/ansible-tower-setup-bundle-3.2.3-1.el7/install.retry
>>
>> PLAY RECAP 
>> *************************************************************************************************************************************************************
>> localhost                  : ok=89   changed=7    unreachable=0    
>> failed=1
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/53db5302-9f61-4dd0-ad95-306b3c03b1db%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/53db5302-9f61-4dd0-ad95-306b3c03b1db%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fe7b6f9f-368b-4960-88ca-c4ca87ab5849%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to