Admin can't override default "distributed" flags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
venkata anil |
Bug Description
neutron.conf allows system-wide flag for creating distributed router.
Below description is from neutron.conf
# System-wide flag to determine the type of router that tenants can create.
# Only admin can override. (boolean value)
#router_distributed = false
But admin is allowed to override this flag while creating the router, for example, with neutron client
neutron router-create --distributed=False test1
But this overriding is not possible with openstack client as it won't allow --distributed=
So when "router_
1) openstack router create --distributed test1
REQ: curl -g -i -X POST http://
2) openstack router create test2
REQ: curl -g -i -X POST http://
vagrant@
usage: openstack router create [-h] [-f {json,shell,
openstack router create: error: too few arguments
vagrant@
openstack 3.8.1
Changed in python-openstackclient: | |
assignee: | nobody → venkata anil (anil-venkata) |
Changed in python-openstackclient: | |
status: | New → Invalid |
It is still a bug. Openstack client has the provision to change router to "distributed" or "centralized" after creation using "set" command, but during creation admin can't override default behavior.
vagrant@ 16gb:~/ devstack$ openstack router set
[--enable | --disable]
[--distributed | --centralized]
[--route destination= <subnet> ,gateway= <ip-address> ]
[--no-route] [--ha | --no-ha]
[--external- gateway <network>]
[--fixed- ip subnet= <subnet> ,ip-address= <ip-address> ]
[--enable- snat | --disable-snat]
<router>
usage: openstack router set [-h] [--name <name>] [--description <description>]
openstack router set: error: too few arguments