openstack vnf package upload shows unexpected message

Bug #1847726 reported by Tushar Patil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-tackerclient
Fix Released
Low
Manpreet Kaur

Bug Description

$ openstack vnf package show dummy-id
Can not find requested vnf package: dummy-id

$openstack vnf package upload --path sample_vnf_pkg.zip dummy-id
404-tackerFault

In case of upload as well, user should see same error message as shown in case of "openstack vnf package show" command i.e. "Can not find requested vnf package: dummy-id".

Changed in python-tackerclient:
assignee: nobody → Shubham Potale (shubhamp)
Revision history for this message
Manpreet Kaur (manpreetk) wrote :

Originally this bug was fixed in the Ussuri release [1].

But in Victoria release, the error handling of non-existing VNF package
was modified, please refer to [2].
Now on passing 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.

In the current design, tackerclient does not support content-type
"application/problem+json", therefore the issue resurfaces.

Note: This bug should backport in the Victoria release.

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

Changed in python-tackerclient:
assignee: Shubham Potale (shubhamp) → Manpreet Kaur (manpreetk)
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Manpreet Kaur (manpreetk) wrote :
Yasufumi Ogawa (yasufum)
Changed in python-tackerclient:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tackerclient 1.6.0

This issue was fixed in the openstack/python-tackerclient 1.6.0 release.

Changed in python-tackerclient:
status: In Progress → 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.