yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72369
[Bug 1764259] Re: neutron openstack client returns ' Unknown error' instead of the real error
You are right. The fix will probably need to be in the python-
openstackclient code.
** Project changed: neutron => python-openstackclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1764259
Title:
neutron openstack client returns ' Unknown error' instead of the real
error
Status in python-openstackclient:
Incomplete
Bug description:
For several neutron create actions, when called via the openstack client you do not get the real error issued by the plugin, as you do with the neutronclient. instead yo get:
BadRequestException: Unknown error
For example, try to create a subnet without a cidr:
1) with the neutron client you see the real error:
neutron subnet-create --name sub1 net1
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Bad subnets request: a subnetpool must be specified in the absence of a cidr.
Neutron server returns request_ids: ['req-8ee84525-6e98-4774-9392-ab8b596cde1a']
2) with the openstack client the information is missing:
openstack subnet create --network net1 sub1
BadRequestException: Unknown error
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-openstackclient/+bug/1764259/+subscriptions
References