Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [noc : Install -node- python packages] ************************************
- task path: /home/yuriy/projects/noc/ansible/noc_roles/noc/tasks/init_venv_python3.yml:310
- fatal: [noc-node-redos]: FAILED! => {
- "changed": false,
- "cmd": [
- "/opt/noc/bin/pip3",
- "install",
- "--upgrade",
- "-r",
- "./.requirements/node.txt"
- ],
- "invocation": {
- "module_args": {
- "chdir": "/opt/noc",
- "editable": false,
- "executable": null,
- "extra_args": "--upgrade",
- "name": null,
- "requirements": "./.requirements/node.txt",
- "state": "present",
- "umask": null,
- "version": null,
- "virtualenv": "/opt/noc",
- "virtualenv_command": "virtualenv",
- "virtualenv_python": null,
- "virtualenv_site_packages": false
- }
- }
- }
- MSG:
- stdout: Requirement already satisfied: aiokafka==0.8.0 in ./lib/python/site-packages (from -r ./.requirements/node.txt (line 6)) (0.8.0)
- Collecting Django==3.2.18 (from -r ./.requirements/node.txt (line 7))
- Downloading Django-3.2.18-py3-none-any.whl (7.9 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 11.0 MB/s eta 0:00:00
- Collecting FastAPI==0.94.1 (from -r ./.requirements/node.txt (line 8))
- Downloading fastapi-0.94.1-py3-none-any.whl (56 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.4/56.4 kB 733.3 kB/s eta 0:00:00
- Collecting Jinja2==3.0.3 (from -r ./.requirements/node.txt (line 9))
- Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 kB 2.0 MB/s eta 0:00:00
- Collecting PyYAML==6.0 (from -r ./.requirements/node.txt (line 10))
- Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.8/661.8 kB 7.1 MB/s eta 0:00:00
- Collecting Pygments==2.14.0 (from -r ./.requirements/node.txt (line 11))
- Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 7.8 MB/s eta 0:00:00
- Collecting XlsxWriter==3.0.9 (from -r ./.requirements/node.txt (line 12))
- Downloading XlsxWriter-3.0.9-py3-none-any.whl (152 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.8/152.8 kB 2.2 MB/s eta 0:00:00
- Collecting atomicl==0.1.1 (from -r ./.requirements/node.txt (line 13))
- Downloading atomicl-0.1.1.tar.gz (9.1 kB)
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'done'
- Collecting blinker==1.5 (from -r ./.requirements/node.txt (line 14))
- Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
- Collecting bsdiff4==1.2.3 (from -r ./.requirements/node.txt (line 15))
- Downloading bsdiff4-1.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31 kB)
- Collecting cachetools==5.3.0 (from -r ./.requirements/node.txt (line 16))
- Downloading cachetools-5.3.0-py3-none-any.whl (9.3 kB)
- Collecting crontab==0.22.9 (from -r ./.requirements/node.txt (line 17))
- Downloading crontab-0.22.9.tar.gz (20 kB)
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'done'
- Collecting csiphash==0.0.5 (from -r ./.requirements/node.txt (line 18))
- Downloading csiphash-0.0.5.tar.gz (12 kB)
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'done'
- Collecting demjson3==3.0.6 (from -r ./.requirements/node.txt (line 19))
- Downloading demjson3-3.0.6.tar.gz (131 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 131.5/131.5 kB 996.2 kB/s eta 0:00:00
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'done'
- Collecting dnspython==2.3.0 (from -r ./.requirements/node.txt (line 20))
- Downloading dnspython-2.3.0-py3-none-any.whl (283 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.7/283.7 kB 2.3 MB/s eta 0:00:00
- Collecting fs==2.4.16 (from -r ./.requirements/node.txt (line 21))
- Downloading fs-2.4.16-py2.py3-none-any.whl (135 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.3/135.3 kB 2.0 MB/s eta 0:00:00
- Collecting geojson==3.0.1 (from -r ./.requirements/node.txt (line 22))
- Downloading geojson-3.0.1-py3-none-any.whl (15 kB)
- Collecting geopy==2.3.0 (from -r ./.requirements/node.txt (line 23))
- Downloading geopy-2.3.0-py3-none-any.whl (119 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.8/119.8 kB 1.5 MB/s eta 0:00:00
- Collecting grpcio==1.51.3 (from -r ./.requirements/node.txt (line 24))
- Downloading grpcio-1.51.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 6.6 MB/s eta 0:00:00
- Collecting http-parser==0.9.0 (from -r ./.requirements/node.txt (line 25))
- Downloading http-parser-0.9.0.tar.gz (167 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.1/167.1 kB 2.2 MB/s eta 0:00:00
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'done'
- Collecting lz4==4.0.2 (from -r ./.requirements/node.txt (line 26))
- Downloading lz4-4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 4.0 MB/s eta 0:00:00
- Collecting manhole==1.7.0 (from -r ./.requirements/node.txt (line 27))
- Downloading manhole-1.7.0-py2.py3-none-any.whl (16 kB)
- Collecting markerlib==0.6.0 (from -r ./.requirements/node.txt (line 28))
- Downloading markerlib-0.6.0.tar.gz (3.8 kB)
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'done'
- Collecting mongoengine==0.27.0 (from -r ./.requirements/node.txt (line 29))
- Downloading mongoengine-0.27.0-py3-none-any.whl (110 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.6/110.6 kB 1.4 MB/s eta 0:00:00
- Collecting motor==3.1.1 (from -r ./.requirements/node.txt (line 30))
- Downloading motor-3.1.1-py3-none-any.whl (56 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.2/56.2 kB 761.0 kB/s eta 0:00:00
- PLAY RECAP *********************************************************************
- noc-node-redos : ok=268 changed=140 unreachable=0 failed=1 skipped=182 rescued=0 ignored=1
- Monday 24 April 2023 10:39:03 +0000 (0:00:24.881) 0:13:44.273 **********
- ===============================================================================
- Collecting networkx==3.1.0 (from -r ./.requirements/node.txt (line 31))
- Downloading networkx-3.1-py3-none-any.whl (2.1 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 5.1 MB/s eta 0:00:00
- Collecting numpy==1.24.0 (from -r ./.requirements/node.txt (line 32))
- Downloading numpy-1.24.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 5.4 MB/s eta 0:00:00
- Collecting orjson==3.8.7 (from -r ./.requirements/node.txt (line 33))
- Downloading orjson-3.8.7-cp39-cp39-manylinux_2_28_x86_64.whl (140 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 967.8 kB/s eta 0:00:00
- Collecting progressbar2==4.0.0 (from -r ./.requirements/node.txt (line 34))
- Downloading progressbar2-4.0.0-py2.py3-none-any.whl (26 kB)
- Collecting psycopg2==2.8.6 (from -r ./.requirements/node.txt (line 35))
- Downloading psycopg2-2.8.6.tar.gz (383 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 383.8/383.8 kB 2.8 MB/s eta 0:00:00
- Preparing metadata (setup.py): started
- Preparing metadata (setup.py): finished with status 'error'
- :stderr: error: subprocess-exited-with-error
- × python setup.py egg_info did not run successfully.
- │ exit code: 1
- ╰─> [23 lines of output]
- running egg_info
- creating /tmp/pip-pip-egg-info-5cjmekus/psycopg2.egg-info
- writing /tmp/pip-pip-egg-info-5cjmekus/psycopg2.egg-info/PKG-INFO
- Install CentOS system packages pre ------------------------------------ 115.42s
- /home/yuriy/projects/noc/ansible/noc_roles/pre/tasks/os/RED_7/main.yml:20 -----
- grafana : install library postgresql14-devel -------------------------- 110.27s
- /home/yuriy/projects/noc/ansible/system_roles/grafana/tasks/main.yml:17 -------
- clickhouse : Install CH ------------------------------------------------ 71.83s
- /home/yuriy/projects/noc/ansible/system_roles/clickhouse/tasks/os/RED_7/main.yml:15
- noc : Install CentOS system packages 2/2 ------------------------------- 48.41s
- /home/yuriy/projects/noc/ansible/noc_roles/noc/tasks/os/RED_7/main.yml:32 -----
- mongod : ReInstall MongoDB on version change --------------------------- 38.32s
- /home/yuriy/projects/noc/ansible/system_roles/mongod/tasks/os/RED_7/main.yml:41
- grafana : Install Grafana ---------------------------------------------- 34.24s
- /home/yuriy/projects/noc/ansible/system_roles/grafana/tasks/os/RED_7/main.yml:16
- writing dependency_links to /tmp/pip-pip-egg-info-5cjmekus/psycopg2.egg-info/dependency_links.txt
- writing top-level names to /tmp/pip-pip-egg-info-5cjmekus/psycopg2.egg-info/top_level.txt
- writing manifest file '/tmp/pip-pip-egg-info-5cjmekus/psycopg2.egg-info/SOURCES.txt'
- Error: pg_config executable not found.
- pg_config is required to build psycopg2 from source. Please add the directory
- containing pg_config to the $PATH or specify the full executable path with the
- option:
- python setup.py build_ext --pg-config /path/to/pg_config build ...
- or with the pg_config option in 'setup.cfg'.
- If you prefer to avoid building psycopg2 from source, please install the PyPI
- 'psycopg2-binary' package instead.
- noc : Pull NOC --------------------------------------------------------- 27.60s
- /home/yuriy/projects/noc/ansible/noc_roles/noc/tasks/git.yml:11 ---------------
- noc : Install -node- python packages ----------------------------------- 24.88s
- /home/yuriy/projects/noc/ansible/noc_roles/noc/tasks/init_venv_python3.yml:310
- consul : Install Consul ------------------------------------------------ 19.80s
- /home/yuriy/projects/noc/ansible/system_roles/consul/tasks/os/RED_7/main.yml:73
- consul : Consul HTTP API reachable? wait for port 8500 for 60 seconds -- 15.45s
- /home/yuriy/projects/noc/ansible/system_roles/consul/tasks/main.yml:79 --------
- mongod : Update replica set configuration ------------------------------ 15.39s
- /home/yuriy/projects/noc/ansible/system_roles/mongod/tasks/master.yml:55 ------
- mongod : Check replica set is initialized ------------------------------ 15.37s
- /home/yuriy/projects/noc/ansible/system_roles/mongod/tasks/master.yml:2 -------
- mongod : Initial replica set configuration ----------------------------- 15.37s
- For further information please check the 'doc/src/install.rst' file (also at
- <https://www.psycopg.org/docs/install.html>).
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- error: metadata-generation-failed
- × Encountered error while generating package metadata.
- ╰─> See above for output.
- note: This is an issue with the package mentioned above, not pip.
- hint: See above for details.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement