Skip to content

Instantly share code, notes, and snippets.

@a1git
Created March 30, 2018 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/e8a4e53213394ceb0a59d95e132ed7a1 to your computer and use it in GitHub Desktop.
Save a1git/e8a4e53213394ceb0a59d95e132ed7a1 to your computer and use it in GitHub Desktop.
stable/queens
ubuntu 16.04 clean install
getting this issue.
failed: [c2_repo_container-b6e094cc] (item={'changed': True, '_ansible_ignore_errors': None, 'started': 1, 'finished': 0, '_ansible_item_result': True, '$
ansible_parsed': True, 'ansible_job_id': '354962879689.10012', 'failed': False, '_ansible_no_log': False, 'results_file': '/root/.ansible_async/354962879$
89.10012', 'item': {'size': 1004, 'invocation': {'module_args': {'mode': None, 'force': True, 'selevel': None, 'validate': None, 'content': None, 'dest':
'/var/www/repo/os-releases/17.0.0/ubuntu-16.04-x86_64/venv-build-options-os_gnocchi.txt', 'src': '/root/.ansible/tmp/ansible-tmp-1522429820.2278595-14897$
811261912/source', 'seuser': None, 'remote_src': None, 'serole': None, 'delimiter': None, 'setype': None, 'regexp': None, 'local_follow': None, 'directory
_mode': None, 'owner': None, 'attributes': None, 'group': None, 'follow': False, 'original_basename': 'venv-build-options.txt.j2', 'backup': False, 'unsaf
e_writes': None}}, 'changed': True, 'gid': 0, '_ansible_ignore_errors': None, 'md5sum': '3a9b211d55fe3fe216a592f82f8063a1', 'group': 'root', 'state': 'fil
e', '_ansible_parsed': True, '_ansible_item_result': True, 'item': {'role_name': 'os_gnocchi', 'role_data': {'gnocchi_requires_pip_packages': ['httplib2',
'python-keystoneclient', 'virtualenv'], 'project_group': 'gnocchi_all', 'gnocchi_pip_packages': ['cryptography', 'gnocchi[mysql,file]', 'gnocchiclient',
'keystonemiddleware', 'python-memcached']}}, 'owner': 'root', 'checksum': '51742fec3455c54a903e3cef7ef626c4ce8f9cc2', 'diff': [], 'dest': '/var/www/repo/o
s-releases/17.0.0/ubuntu-16.04-x86_64/venv-build-options-os_gnocchi.txt', 'mode': '0644', '_ansible_no_log': False, 'src': '/root/.ansible/tmp/ansible-tmp
-1522429820.2278595-148972811261912/source', 'uid': 0, 'failed': False}}) => {"ansible_job_id": "354962879689.10012", "attempts": 1, "changed": true, "cmd
": "/opt/venv-build-script.sh /var/www/repo/os-releases/17.0.0/ubuntu-16.04-x86_64/venv-build-options-os_gnocchi.txt", "delta": "0:00:04.500326", "end": "
2018-03-30 13:10:40.239599", "finished": 1, "item": {"ansible_job_id": "354962879689.10012", "changed": true, "failed": false, "finished": 0, "item": {"ch
anged": true, "checksum": "51742fec3455c54a903e3cef7ef626c4ce8f9cc2", "dest": "/var/www/repo/os-releases/17.0.0/ubuntu-16.04-x86_64/venv-build-options-os_
gnocchi.txt", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": {"module_args": {"attributes": null, "backup": false, "content": null,
"delimiter": null, "dest": "/var/www/repo/os-releases/17.0.0/ubuntu-16.04-x86_64/venv-build-options-os_gnocchi.txt", "directory_mode": null, "follow": fa
lse, "force": true, "group": null, "local_follow": null, "mode": null, "original_basename": "venv-build-options.txt.j2", "owner": null, "regexp": null, "r
emote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1522429820.2278595-1489728112619
12/source", "unsafe_writes": null, "validate": null}}, "item": {"role_data": {"gnocchi_pip_packages": ["cryptography", "gnocchi[mysql,file]", "gnocchiclie
nt", "keystonemiddleware", "python-memcached"], "gnocchi_requires_pip_packages": ["httplib2", "python-keystoneclient", "virtualenv"], "project_group": "gn
occhi_all"}, "role_name": "os_gnocchi"}, "md5sum": "3a9b211d55fe3fe216a592f82f8063a1", "mode": "0644", "owner": "root", "size": 1004, "src": "/root/.ansib
le/tmp/ansible-tmp-1522429820.2278595-148972811261912/source", "state": "file", "uid": 0}, "results_file": "/root/.ansible_async/354962879689.10012", "sta
rted": 1}, "msg": "non-zero return code", "rc": 1, "start": "2018-03-30 13:10:35.739273", "stderr": " Could not find a version that satisfies the require
ment cryptography (from versions: )\nNo matching distribution found for cryptography", "stderr_lines": [" Could not find a version that satisfies the req
uirement cryptography (from versions: )", "No matching distribution found for cryptography"], "stdout": "Building venv gnocchi-17.0.0-x86_64...", "stdout_
lines": ["Building venv gnocchi-17.0.0-x86_64..."]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment