network create with --project fails

Bug #1671254 reported by tom king
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Incomplete
Undecided
Unassigned

Bug Description

With python_openstackclient-3.9.0-py2.py3-none-any.whl

Issuing the openstack network create command with --project fails.
openstack network create --project 38b83cb40bbb469f88854ffc9b5880cc --project-domain default --provider-network-type portgroup --provider-physical-network "dvportgroup-2076" "PrashantSunkari-Ext1-vlan3525"
Error while executing command: Bad Request

The neutron-server log shows this:
2017-03-08 21:20:37.417 30166 DEBUG neutron.api.v2.base [req-96ecc273-f280-4df9-ae98-0c9a107b2b2b tking e4af51f8fd504576a18c815c9cbec9f2 - - -] Request body: {u'network': {u'admin_state_up': True, u'project_id': u'38b83cb40bbb469f88854ffc9b5880cc', u'name': u'PrashantSunkari-Ext1-vlan3525', u'provider:physical_network': u'dvportgroup-2076', u'provider:network_type': u'portgroup'}} prepare_request_body /usr/lib/python2.7/dist-packages/neutron/api/v2/base.py:657
2017-03-08 21:20:37.417 30166 INFO neutron.api.v2.resource [req-96ecc273-f280-4df9-ae98-0c9a107b2b2b tking e4af51f8fd504576a18c815c9cbec9f2 - - -] create failed (client error): Unrecognized attribute(s) 'project_id'

Revision history for this message
tom king (kingttx) wrote :

Still exists with python-openstackclient (3.11.0)

Revision history for this message
wingwj (wingwj) wrote :

I tested the issue on newest (pike) devstack with osc 3.11.0, the problem is not reproduced,
please see the result here: http://paste.openstack.org/show/613878/.

Changed in python-openstackclient:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.