Go to file
Manpreet Kaur e7a0c96920 Fix error message for nonexistent vnf package
In Victoria release, the error handling of non-existing VNF package
was modified, please refer to [1].
On passing a non-existing vnf package uuid to "vnf package upload"
command, the tacker server sends an HTTP response with "Content-Type"
header as "application/problem+json" and the reason for a failure
described in the JSON problem details object.

This patch extracts the ETSI error message in method
exception_handler_v10.

Fixes the issue and now it will output below error message:

  $ openstack vnf package upload --path sample_vnf_pkg.zip dummy-id
  Can not find requested vnf package: dummy-id

Note: This bug was earlier address in Ussuri release, please refer [2].

[1] https://review.opendev.org/c/openstack/tacker/+/747678/37/tacker/api/vnfpkgm/v1/controller.py
[2] https://review.opendev.org/c/openstack/python-tackerclient/+/688886

Co-Authored-By: Wataru Juso  w-juso@nec.com
Closes-Bug: #1847726
Change-Id: I25e1bdc32e0b91bbe02b82f79918c02b98e5f110
2021-03-03 08:03:26 +05:30
2021-02-08 17:12:32 +05:30
2018-06-07 17:57:58 +09:00
2019-04-19 19:32:16 +00:00
2018-06-07 17:57:58 +09:00
2020-09-16 22:01:05 +00:00
2018-03-26 00:44:22 -07:00
2020-11-01 18:43:00 +00:00
2020-11-01 18:43:00 +00:00
2020-04-04 17:15:39 +02:00
2014-07-04 19:10:48 +09:00
2021-01-29 06:01:02 +05:30

Team and repository tags

image

NFV Orchestration (Tacker) Client

CLI and Client Library for OpenStack Tacker

Installation

Note: The paths we are using for configuration files in these steps are with reference to Ubuntu Operating System. The paths may vary for other Operating Systems.

The branch_name which is used in commands, specify the branch_name as stable/<branch> for any stable branch installation. For eg: stable/queens, stable/pike. If unspecified the default will be master branch.

Using python install

Clone python-tackerclient repository.

$ cd ~/
$ git clone https://github.com/openstack/python-tackerclient -b <branch_name>

Install python-tackerclient.

$ cd python-tackerclient
$ sudo python setup.py install

Using pip

You can also install the latest version by using pip command:

$ pip install python-tackerclient

Or, if it is needed to install python-tackerclient from master branch, type

$ pip install git+https://github.com/openstack/python-tackerclient.git

More Information

Description
NFV Orchestration (Tacker) Client
Readme 6.9 MiB
Languages
Python 100%