Functional tests: "The service catalog is empty." error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-manilaclient |
Fix Released
|
Critical
|
Julia Varlamova |
Bug Description
We cannot create share network in post_test_hook.sh due to error:
15-07-14 10:34:05.490 | +++ trueorfalse True USE_SHARE_NETWORK
2015-07-14 10:34:05.505 | 2015-07-14 10:34:05.491 | ++++ set +o
2015-07-14 10:34:05.505 | 2015-07-14 10:34:05.493 | ++++ grep xtrace
2015-07-14 10:34:05.505 | 2015-07-14 10:34:05.494 | +++ local 'xtrace=set -o xtrace'
2015-07-14 10:34:05.506 | 2015-07-14 10:34:05.496 | +++ set +o xtrace
2015-07-14 10:34:05.507 | 2015-07-14 10:34:05.497 | ++ USE_SHARE_
2015-07-14 10:34:05.509 | 2015-07-14 10:34:05.499 | ++ [[ True = True ]]
2015-07-14 10:34:05.512 | 2015-07-14 10:34:05.502 | ++ SHARE_NETWORK_
2015-07-14 10:34:05.514 | 2015-07-14 10:34:05.503 | ++ [[ check-manilacli
2015-07-14 10:34:05.515 | 2015-07-14 10:34:05.505 | +++ neutron net-show private -c id -f value
2015-07-14 10:34:06.035 | 2015-07-14 10:34:06.025 | The service catalog is empty.
2015-07-14 10:34:06.062 | 2015-07-14 10:34:06.052 | ++ DEFAULT_
2015-07-14 10:34:06.064 | 2015-07-14 10:34:06.054 | +++ neutron subnet-show private-subnet -c id -f value
2015-07-14 10:34:08.516 | 2015-07-14 10:34:08.506 | The service catalog is empty.
2015-07-14 10:34:08.548 | 2015-07-14 10:34:08.538 | ++ DEFAULT_
2015-07-14 10:34:08.549 | 2015-07-14 10:34:08.540 | ++ NEUTRON_NET=
2015-07-14 10:34:08.551 | 2015-07-14 10:34:08.541 | ++ NEUTRON_SUBNET=
2015-07-14 10:34:08.552 | 2015-07-14 10:34:08.543 | ++ manila share-network-
2015-07-14 10:34:09.675 | 2015-07-14 10:34:09.665 | usage: manila share-network-
2015-07-14 10:34:09.676 | 2015-07-14 10:34:09.667 | [--neutron-net-id <neutron-net-id>]
2015-07-14 10:34:09.678 | 2015-07-14 10:34:09.668 | [--neutron-
2015-07-14 10:34:09.679 | 2015-07-14 10:34:09.670 | [--name <name>]
2015-07-14 10:34:09.681 | 2015-07-14 10:34:09.671 | [--description <description>]
2015-07-14 10:34:09.682 | 2015-07-14 10:34:09.672 | error: argument --neutron-
2015-07-14 10:34:09.683 | 2015-07-14 10:34:09.674 | Try 'manila help share-network-
18 tests fail due to this error. Seems that the problem appeared after changes in devstack : I613f1bdc6673f0
Changed in python-manilaclient: | |
assignee: | nobody → Julia Varlamova (jvarlamova) |
status: | New → In Progress |
Changed in python-manilaclient: | |
importance: | Undecided → Critical |
Changed in python-manilaclient: | |
milestone: | none → 1.3.0 |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/201481 /git.openstack. org/cgit/ openstack/ python- manilaclient/ commit/ ?id=2a4f79cc0d3 e38a3077980da40 4695a62319520e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2a4f79cc0d3e38a 3077980da404695 a62319520e
Author: Julia Varlamova <email address hidden>
Date: Tue Jul 14 06:02:15 2015 -0400
Fix post_test_hook and update test-requirements
Our gate jobs are broken in two places:
- latest mock lib does not work on py26;
- post_test_hook.sh is not compatible with devstack anymore after change to devstack [1]
So, fix post_test_hook.sh and set proper version to mock lib.
[1]: I613f1bdc6673f0 c4bfe29aaab7b51 4348a617a8c
Closes-Bug: #1474293
Closes-Bug: #1474261
Closes-Bug: #1474744
Change-Id: Ia849a06275e738 078dc4543680d49 9c6149117d5