Talk:OpenStack: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
It seems that the new openstack command line client, works more interactively? If I run the command
It seems that the new openstack command line client, works more interactively? If I run the command
{{Command|openstack}}  
{{Command|openstack}}  
starts up an interactive prompt and get get a list of available commands by typing <code>help</cod> at the openstack prompt.
starts up an interactive prompt and get get a list of available commands by typing <code>help</code> at the openstack prompt.

Revision as of 19:03, 5 April 2016

CERN docs on OpenStack, might be helpful https://clouddocs.web.cern.ch/clouddocs/

New combined CLI tool installation

Question.png
[name@server ~]$ sudo apt-get install python-dev python-pip
Question.png
[name@server ~]$ pip install python-openstackclient

see [http://docs.openstack.org/cli-reference/common/cli_install_openstack_command_line_clients.html]

To install on a machine (ACENET specifically without admin privileges) use:

Question.png
[name@server ~]$  pip install --user python-openstackclient

which installs to ~/.local/lib/pythonX.Y/site-packages/ so by adding export PYTHONPATH=${HOME}/.local/lib/python2.7/site-packages/:${PYTHONPATH} to your .bashrc file if you are using Python major version X=2, and minor version Y=7.

It seems that the new openstack command line client, works more interactively? If I run the command

Question.png
[name@server ~]$ openstack

starts up an interactive prompt and get get a list of available commands by typing help at the openstack prompt.