[interop] Assistance with refstack client
Hi - I've got someone encountering errors attempting to install the refstack client. Error below. Is there anyone on the interop team that I can onnect these folks to for assistance? Cheers, Jimm warning: openssl 0x00000000 is too old for _hashlib INFO: Can't locate Tcl/Tk libs and/or headers building 'nis' extension gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./Include -I/root/refstack-client/.localpython/include -I. -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/root/refstack-client/.python_src/Python-3.6.0/Include -I/root/refstack-client/.python_src/Python-3.6.0 -c /root/refstack-client/.python_src/Python-3.6.0/Modules/nismodule.c -o build/temp.linux-x86_64-3.6/root/refstack-client/.python_src/Python-3.6.0/Modules/nismodule.o /root/refstack-client/.python_src/Python-3.6.0/Modules/nismodule.c:17:10: fatal error: rpc/rpc.h: No such file or directory 17 | #include <rpc/rpc.h> | ^~~~~~~~~~~ compilation terminated. AND + rm 16.7.9.tar.gz + cd virtualenv-16.7.9 + '[' -d /root/refstack-client/.venv ']' ++ command -v python3 + '[' -n /usr/bin/python3 ']' + python=python3 + python3 virtualenv.py /root/refstack-client/.venv --python=/root/refstack-client/.localpython/bin/python3.6 /root/refstack-client/virtualenv-16.7.9/virtualenv.py:24: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives import distutils.spawn /root/refstack-client/virtualenv-16.7.9/virtualenv.py:25: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead import distutils.sysconfig Running virtualenv with interpreter /root/refstack-client/.localpython/bin/python3.6 Already using interpreter /root/refstack-client/.localpython/bin/python3.6 Using base prefix '/root/refstack-client/.localpython' New python executable in /root/refstack-client/.venv/bin/python3.6 Also creating executable in /root/refstack-client/.venv/bin/python Command /root/refstack-client/.venv/bin/python3.6 -m pip config list had error code -11 Installing setuptools, pip, wheel... done. Traceback (most recent call last): File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 2634, in <module> main() File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 870, in main symlink=options.symlink, File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 1179, in create_environment install_wheel(to_install, py_executable, search_dirs, download=download) File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 1023, in install_wheel _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs) File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 1116, in _install_wheel_with_search_dir call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=script) File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 963, in call_subprocess raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode)) OSError: Command /root/refstack-client/.venv/bin/python3.6 - setuptools pip wheel failed with error code -11 + python3 virtualenv.py /root/refstack-client/.tempest/.venv --python=/root/refstack-client/.localpython/bin/python3.6 /root/refstack-client/virtualenv-16.7.9/virtualenv.py:24: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives import distutils.spawn /root/refstack-client/virtualenv-16.7.9/virtualenv.py:25: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead import distutils.sysconfig Running virtualenv with interpreter /root/refstack-client/.localpython/bin/python3.6 Already using interpreter /root/refstack-client/.localpython/bin/python3.6 Using base prefix '/root/refstack-client/.localpython' New python executable in /root/refstack-client/.tempest/.venv/bin/python3.6 Also creating executable in /root/refstack-client/.tempest/.venv/bin/python Command /root/refstack-clien.../.venv/bin/python3.6 -m pip config list had error code -11 Installing setuptools, pip, wheel... done. Traceback (most recent call last): File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 2634, in <module> main() File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 870, in main symlink=options.symlink, File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 1179, in create_environment install_wheel(to_install, py_executable, search_dirs, download=download) File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 1023, in install_wheel _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs) File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 1116, in _install_wheel_with_search_dir call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=script) File "/root/refstack-client/virtualenv-16.7.9/virtualenv.py", line 963, in call_subprocess raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode)) OSError: Command /root/refstack-clien.../.venv/bin/python3.6 - setuptools pip wheel failed with error code -11 + cd .. + rm -rf virtualenv-16.7.9 + /root/refstack-client/.venv/bin/python -m pip install -c https://releases.openstack.org/constraints/upper/master -e . /root/refstack-client/.venv/bin/python: No module named pip + cd /root/refstack-client/.tempestconf + /root/refstack-client/.venv/bin/python -m pip install -c https://releases.openstack.org/constraints/upper/master -e . /root/refstack-client/.venv/bin/python: No module named pip + cd .. + /root/refstack-client/.tempest/.venv/bin/python -m pip install -c https://releases.openstack.org/constraints/upper/master /root/refstack-client/.tempest /root/refstack-client/.tempest/.venv/bin/python: No module named pip
On 2022-07-18 13:42:09 -0500 (-0500), Jimmy McArthur wrote:
I've got someone encountering errors attempting to install the refstack client. Error below. Is there anyone on the interop team that I can onnect these folks to for assistance? [...]
I'm not really involved with RefStack development, but skimming the errors it looks like some dependency is getting compiled from source because there's no pre-built binaries for the target platform. Knowing what steps/commands led to that error condition, as well as the platform (Linux distribution name and version, processor architecture, that sort of info) would help to narrow down possible causes. -- Jeremy Stanley
I've encouraged the team in question to subscribe to the ML and reply themselves to hopefully help speed up the process. But here's the response from our Zendesk queue on this question from Jeremy: I am trying to install ref-stack on a clean ubuntu VM root@ubuntu20-04lts-scpu-8gb-cdg1-1:~/refstack-client# hostnamectl Static hostname: ubuntu20-04lts-scpu-8gb-cdg1-1 Icon name: computer-vm Chassis: vm Machine ID: 17b2bc7f7e524632910414ca691accf0 Boot ID: 460cab8e7ccf451fb0ed0342d6c6e253 Virtualization: kvm Operating System: Ubuntu 20.04.1 LTS Kernel: Linux 5.4.0-54-generic Architecture: x86-64 All I have done is clone the repo and Run the "easy button" setup: |./setup_env| On 7/18/22 2:08 PM, Jeremy Stanley wrote:
On 2022-07-18 13:42:09 -0500 (-0500), Jimmy McArthur wrote:
I've got someone encountering errors attempting to install the refstack client. Error below. Is there anyone on the interop team that I can onnect these folks to for assistance? [...]
I'm not really involved with RefStack development, but skimming the errors it looks like some dependency is getting compiled from source because there's no pre-built binaries for the target platform. Knowing what steps/commands led to that error condition, as well as the platform (Linux distribution name and version, processor architecture, that sort of info) would help to narrow down possible causes.
Hi Jimmy, I can help here, they can connect with me and we'll take a look. I'm sorry for not replying sooner, On Tue, 19 Jul 2022 at 19:04, Jimmy McArthur <jimmy@openinfra.dev> wrote:
I've encouraged the team in question to subscribe to the ML and reply themselves to hopefully help speed up the process. But here's the response from our Zendesk queue on this question from Jeremy:
I am trying to install ref-stack on a clean ubuntu VM
root@ubuntu20-04lts-scpu-8gb-cdg1-1:~/refstack-client# hostnamectl Static hostname: ubuntu20-04lts-scpu-8gb-cdg1-1 Icon name: computer-vm Chassis: vm Machine ID: 17b2bc7f7e524632910414ca691accf0 Boot ID: 460cab8e7ccf451fb0ed0342d6c6e253 Virtualization: kvm Operating System: Ubuntu 20.04.1 LTS Kernel: Linux 5.4.0-54-generic Architecture: x86-64
All I have done is clone the repo and Run the "easy button" setup: ./setup_env On 7/18/22 2:08 PM, Jeremy Stanley wrote:
On 2022-07-18 13:42:09 -0500 (-0500), Jimmy McArthur wrote:
I've got someone encountering errors attempting to install the refstack client. Error below. Is there anyone on the interop team that I can onnect these folks to for assistance?
[...]
I'm not really involved with RefStack development, but skimming the errors it looks like some dependency is getting compiled from source because there's no pre-built binaries for the target platform. Knowing what steps/commands led to that error condition, as well as the platform (Linux distribution name and version, processor architecture, that sort of info) would help to narrow down possible causes.
-- Martin
participants (3)
-
Jeremy Stanley
-
Jimmy McArthur
-
Martin Kopec