리눅스 openstackclient 설치

1 개요[ | ]

리눅스 openstackclient 설치
  • 사전작업: 리눅스 pip 설치
  • non-root 사용자가 설치하면 openstack 파일은 ~/.local/bin 에 설치된다.
  • root 사용자(또는 sudo 사용)가 설치하면 openstack 파일이 /usr/local/bin/에 설치된다.
user01@localhost:~$ sudo pip install python-openstackclient
Collecting python-openstackclient
  Downloading https://files.pythonhosted.org/packages/56/e9/eb6e88074b8c1f20a622b7cc7f7d1e4be0e81ddf22ceb49949f414bd52c6/python-openstackclient-5.2.1.tar.gz (722kB)
    100% |████████████████████████████████| 727kB 1.3MB/s
Collecting pbr!=2.1.0,>=2.0.0 (from python-openstackclient)
  Using cached https://files.pythonhosted.org/packages/fb/48/69046506f6ac61c1eaa9a0d42d22d54673b69e176d30ca98e3f61513e980/pbr-5.5.1-py2.py3-none-any.whl
Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from python-openstackclient) (1.15.0)
Collecting Babel!=2.4.0,>=2.3.4 (from python-openstackclient)
  Downloading https://files.pythonhosted.org/packages/dd/a5/81076e10b5ef74493cf08a8e419e61b64324c9c55db4aa7f89c0240c4873/Babel-2.9.0-py2.py3-none-any.whl (8.8MB)
    100% |████████████████████████████████| 8.8MB 116kB/s
Collecting cliff!=2.9.0,>=2.8.0 (from python-openstackclient)
  Downloading https://files.pythonhosted.org/packages/55/2f/f1484035545a36de978c686b90a6d81c0b09a8e3002faf761737eef54cdc/cliff-2.18.0-py2.py3-none-any.whl (79kB)
    100% |████████████████████████████████| 81kB 7.5MB/s
Collecting openstacksdk>=0.36.0 (from python-openstackclient)
  Downloading https://files.pythonhosted.org/packages/41/bd/ae617abe3ef5e86f467f29ca67d45b16d08bb0c07eb2bd7704c6c2b13639/openstacksdk-0.45.0-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 839kB/s
Collecting osc-lib>=2.0.0 (from python-openstackclient)
  Downloading https://files.pythonhosted.org/packages/72/f3/d872dd8b6d8a15456958f517eb9913aa98b10d82d3996b40f96a4adaf2d9/osc_lib-2.0.0-py2.py3-none-any.whl (89kB)
    100% |████████████████████████████████| 92kB 8.0MB/s
...
Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/dist-packages (from pathlib2; python_version < "3"->importlib-resources; python_version < "3.7"->netaddr>=0.7.18->oslo.utils>=3.33.0->python-openstackclient) (1.10.0)
Building wheels for collected packages: python-openstackclient, unicodecsv, PrettyTable, dogpile.cache, keystoneauth1, pyperclip, subprocess32, msgpack
  Running setup.py bdist_wheel for python-openstackclient ... done
  Stored in directory: /root/.cache/pip/wheels/49/84/7a/06a64389b5006a38616c8dce335148f1af4bf2f232762bab8e
  Running setup.py bdist_wheel for unicodecsv ... done
  Stored in directory: /root/.cache/pip/wheels/a6/09/e9/e800279c98a0a8c94543f3de6c8a562f60e51363ed26e71283
  Running setup.py bdist_wheel for PrettyTable ... done
  Stored in directory: /root/.cache/pip/wheels/80/34/1c/3967380d9676d162cb59513bd9dc862d0584e045a162095606
  Running setup.py bdist_wheel for dogpile.cache ... done
  Stored in directory: /root/.cache/pip/wheels/94/de/9a/3eb70afe2fa3f9fdad8eb2726c94ea388d032ec9b1ed97560f
  Running setup.py bdist_wheel for keystoneauth1 ... done
  Stored in directory: /root/.cache/pip/wheels/2c/6e/f0/a717ac812edbc159ef3d371fd41b79896af8c247ede213e00b
  Running setup.py bdist_wheel for pyperclip ... done
  Stored in directory: /root/.cache/pip/wheels/25/af/b8/3407109267803f4015e1ee2ff23be0c8c19ce4008665931ee1
  Running setup.py bdist_wheel for subprocess32 ... done
  Stored in directory: /root/.cache/pip/wheels/68/39/1a/5e402bdfdf004af1786c8b853fd92f8c4a04f22aad179654d1
  Running setup.py bdist_wheel for msgpack ... done
  Stored in directory: /root/.cache/pip/wheels/7d/dc/1b/5704e2eb1e71a43b92fa64d0ba9bca6f73e5739662b1d3e034
Successfully built python-openstackclient unicodecsv PrettyTable dogpile.cache keystoneauth1 pyperclip subprocess32 msgpack
Installing collected packages: pbr, Babel, pyperclip, subprocess32, cmd2, stevedore, PyYAML, unicodecsv, PrettyTable, cliff, ipaddress, jsonpointer, jsonpatch, munch, dogpile.cache, requestsexceptions, os-service-types, jmespath, iso8601, keystoneauth1, netifaces, pycparser, cffi, cryptography, openstacksdk, simplejson, oslo.i18n, debtcollector, netaddr, monotonic, oslo.utils, osc-lib, rfc3986, oslo.config, msgpack, oslo.serialization, python-keystoneclient, python-novaclient, python-cinderclient, python-openstackclient
Successfully installed Babel-2.9.0 PrettyTable-0.7.2 PyYAML-5.4.1 cffi-1.14.5 cliff-2.18.0 cmd2-0.8.9 cryptography-3.3.2 debtcollector-1.22.0 dogpile.cache-0.9.2 ipaddress-1.0.23 iso8601-0.1.14 jmespath-0.10.0 jsonpatch-1.32 jsonpointer-2.1 keystoneauth1-4.0.1 monotonic-1.5 msgpack-1.0.2 munch-2.5.0 netaddr-0.8.0 netifaces-0.10.9 openstacksdk-0.45.0 os-service-types-1.7.0 osc-lib-2.0.0 oslo.config-7.0.0 oslo.i18n-3.25.1 oslo.serialization-2.29.3 oslo.utils-3.42.1 pbr-5.5.1 pycparser-2.20 pyperclip-1.8.2 python-cinderclient-6.0.0 python-keystoneclient-3.22.0 python-novaclient-16.0.0 python-openstackclient-5.2.1 requestsexceptions-1.4.0 rfc3986-1.4.0 simplejson-3.17.2 stevedore-1.32.0 subprocess32-3.5.4 unicodecsv-0.14.1
user01@localhost:~$ which openstack
/usr/local/bin/openstack
user01@localhost:~$ openstack --version
openstack 5.2.1

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}