Ask Your Question
1

Why are nova server-group-* api's missing in RDO Icehouse installation?

asked 2014-05-23 17:23:44 -0500

RonR gravatar image

I'm trying to take advantage of the nova server-group-add capability; however, this nova API does not exist on the RDO Icehouse installation that I did. Is there a reason that this API does not exist in the RDO distro? What's the easiest/best way to add it?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-05-25 09:50:06 -0500

sgordon gravatar image

updated 2014-06-02 07:37:41 -0500

The OpenStack client utilities are not packaged/tagged on the same release cycle as the integrated release. RDO includes the latest tagged version of python-novaclient, 2.17.0, but as you discovered the server group related CLI additions were only merged after this tag was created.

To work around this and pick up the changes made since the last tag was created it's possible to build the RPM from source:

$ git clone git://git.openstack.org/openstack/python-novaclient
$ cd python-novaclient
$ python setup.py bdist_rpm

Once built, install the resultant RPM, e.g.:

# yum remove python-novaclient
# yum install dist/python-novaclient-2.17.0.114.gc7c653d-1.noarch.rpm

You will then have access to the server group commands:

$ nova --help | grep server-group
    server-group-create
    server-group-delete
    server-group-get    Get a specific server group.
    server-group-list   Print a list of all server groups.

I filed https://bugzilla.redhat.com/show_bug.... to track the need to create a new tag and/or package and this has now occurred. You should be able to yum update python-novaclient from the RDO repositories and get the latest version with server groups support.

https://www.redhat.com/archives/rdo-l...

edit flag offensive delete link more

Comments

Thanks Steve for following up on this and creating the bug report for RDO to track the cause of this issue.

RonR gravatar imageRonR ( 2014-05-27 21:45:33 -0500 )edit
0

answered 2014-06-03 08:48:59 -0500

jruzicka gravatar image

python-novaclient-2.17.0-2 now available from RDO Icehouse repos contains support for server groups.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-23 17:23:44 -0500

Seen: 539 times

Last updated: Jun 03 '14