openstack network create: error: unrecognized arguments

asked 2016-11-10 07:11:56 -0600

peterf gravatar image

updated 2017-02-01 15:19:22 -0600

dbaxps gravatar image

Hi, this is my first openstack cluster. One control node and 5 compute nodes. I followed the Newton install guide for ubuntu 16.04. Everything is working fine until after "$ neutron ext-list", where I am required to run "$ openstack network agent list" it says network is an unknown command. I went for option 1 in the network configuration. I am unable to create a network instance?

$ openstack network create  --share \
>   --provider-physical-network provider \
>   --provider-network-type flat provider
usage: openstack network create [-h] [-f {json,shell,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent] [--prefix PREFIX]
                                [--share | --no-share] [--enable | --disable]
                                [--project <project>]
                                [--project-domain <project-domain>]
                                [--availability-zone-hint <availability-zone>]
openstack network create: error: unrecognized arguments: --provider-physical-network --provider-network-type flat provider

The service is available though so I am not sure what I am missing.

edit retag flag offensive close merge delete


Hi! Did you solve the problem? I'm having absolutely same issue.

AlexZ gravatar imageAlexZ ( 2016-12-15 06:43:48 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2017-02-01 14:55:01 -0600

AlexZ gravatar image

updated 2017-02-01 14:55:12 -0600

I had the same issue on Debian 8 if installed openstack via apt-get. So, I used pip to install openstack packages and after that everything works OK.

edit flag offensive delete link more

answered 2017-02-02 07:52:28 -0600

WigiPedia gravatar image

I had the same problem when I tried the first time as well. The only thing I came up with was that the software packages in the standard Ubuntu repositories are slightly different from those in the cloud-archive:newton repository. I recommend ensuring that you have add the appropriate repository and try to reinstall the packages, especially neutron and python-openstackclient.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-10 07:11:56 -0600

Seen: 2,495 times

Last updated: Feb 01 '17