Functional tests: "The service catalog is empty." error

Bug #1474744 reported by Julia Varlamova
6
This bug affects 1 person
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_NETWORK=True
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_NAME=ci
2015-07-14 10:34:05.514 | 2015-07-14 10:34:05.503 | ++ [[ check-manilaclient-dsvm-neutron-functional =~ neutron ]]
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_NEUTRON_NET=
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_NEUTRON_SUBNET=
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-create --name ci --neutron-net --neutron-subnet

2015-07-14 10:34:09.675 | 2015-07-14 10:34:09.665 | usage: manila share-network-create [--nova-net-id <nova-net-id>]
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-subnet-id <neutron-subnet-id>]
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-net-id/--neutron-net_id/--neutron_net_id/--neutron_net-id: expected one argument
2015-07-14 10:34:09.683 | 2015-07-14 10:34:09.674 | Try 'manila help share-network-create' for more information.

18 tests fail due to this error. Seems that the problem appeared after changes in devstack : I613f1bdc6673f0c4bfe29aaab7b514348a617a8c

Changed in python-manilaclient:
assignee: nobody → Julia Varlamova (jvarlamova)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-manilaclient (master)

Reviewed: https://review.openstack.org/201481
Committed: https://git.openstack.org/cgit/openstack/python-manilaclient/commit/?id=2a4f79cc0d3e38a3077980da404695a62319520e
Submitter: Jenkins
Branch: master

commit 2a4f79cc0d3e38a3077980da404695a62319520e
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]: I613f1bdc6673f0c4bfe29aaab7b514348a617a8c

    Closes-Bug: #1474293
    Closes-Bug: #1474261
    Closes-Bug: #1474744

    Change-Id: Ia849a06275e738078dc4543680d499c6149117d5

Changed in python-manilaclient:
status: In Progress → Fix Committed
Changed in python-manilaclient:
importance: Undecided → Critical
Changed in python-manilaclient:
milestone: none → 1.3.0
status: Fix Committed → Fix Released
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.