Improve the returned messages

Registered by Yan Xing'an on 2017-09-20

When using tacker's api, we often get a message like this:
$ tacker nsd-create --nsd-file sample-tosca-nsd.yaml NSD1
Request Failed: internal server error while processing your request.

This error mainly due to mistake of configuration, and should be more readable.

We should look into tacker code carefully.

Blueprint information

Status:
Complete
Approver:
dharmendra
Priority:
Medium
Drafter:
Yan Xing'an
Direction:
Approved
Assignee:
dharmendra
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
None
Started by
dharmendra on 2019-05-13
Completed by
dharmendra on 2019-05-13

Related branches

Sprints

Whiteboard

NS related:
1. https://bugs.launchpad.net/tacker/+bug/1710801 (New)

vnffg related:
1. https://bugs.launchpad.net/tacker/+bug/1710633 (New)

vnf related:
1.

Gerrit topic: https://review.openstack.org/#q,topic:bug/1710801,n,z

Addressed by: https://review.openstack.org/634374
    Improve the returned Message for nsd-create

Gerrit topic: https://review.openstack.org/#q,topic:bug/1710633,n,z

Addressed by: https://review.openstack.org/636605
    vnffg-create failed abnormally due to invalid network_src_port_id

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.