invalid choice: 'network-create'

asked 2014-01-27 16:06:06 -0600

anonymous user


Hi All -

In Ubuntu 10.04 env with Hanva stack on network-create step on compute node, I get the usage error on invalid choice:

nova network-create vmnet --fixed-range-v4= --bridge-interface=br100 --multi-host=T controller

usage: nova [--debug] [--os_username OS_USERNAME] [--os_password OS_PASSWORD]

        [--os_tenant_name OS_TENANT_NAME] [--os_auth_url OS_AUTH_URL]

        [--os_region_name OS_REGION_NAME] [--service_type SERVICE_TYPE]

        [--service_name SERVICE_NAME] [--endpoint_type ENDPOINT_TYPE]

        [--version VERSION] [--username USERNAME]

        [--region_name REGION_NAME] [--apikey APIKEY]

        [--projectid PROJECTID] [--url URL]

        <subcommand> ...

error: argument <subcommand>: invalid choice: 'network-create' Try `nova' for more information. root@linux6:~#

Looking in Nova man page for subcommand, there is no network-create opt. Not sure if this is doc error or if I'm missing any SW. Following this doc:

Regards Behzad

edit retag flag offensive close merge delete


what does nova --version give you? Mine gives 2.15.0. Make sure that you pull python-nova-client from the havana repo and not from ubuntu as it will be too old?

anemic gravatar imageanemic ( 2014-01-27 16:45:51 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-02 13:32:28 -0600

paulreiber gravatar image

You mentioned you're running that on the compute node. You need to run it on the controller node.

edit flag offensive delete link more


This is correct - It is out of the documentation even:

Create a network that virtual machines can use. Do this once for the entire installation and not on each compute node. Run the nova network-create command on the controller.

OP - Please try running on the controller.

mpetason gravatar imagempetason ( 2014-12-05 12:13:07 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-01-27 16:06:06 -0600

Seen: 979 times

Last updated: Dec 02 '14