neutron_test.sh fails in python-neutronclient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The shell script neutron_test.sh that runs neutron CLI unit-tests fails in the latest python-
Below are the steps to reproduce this bug.
1. git clone git://git.
2. cd python-
3. ./neutron_test.sh
Below are the errors.
$ ./neutron_test.sh
+ net_name=mynet1
+ subnet_
+ port_name=myport1
+ noauth_tenant_id=me
+ '[' '' == noauth ']'
+ NOAUTH=
+ echo 'NOTE: User should be admin in order to perform all operations.'
NOTE: User should be admin in order to perform all operations.
+ sleep 3
+ FORMAT=' --request-format xml'
+ network=mynet1
+ neutron net-create --request-format xml mynet1
404 Not Found
The resource could not be found.
+ die 'fail to create network mynet1'
+ local exitcode=1
+ set +o xtrace
fail to create network mynet1
Removing test port, subnet and net...
Unable to find port with name 'myport1'
Unable to find subnet with name 'mysubnet1'
Unable to find network with name 'mynet1'
$
$ neutron --version
2.3.11
Reproduced in the latest python- neutronclient code. Fixing it.