Missing Location in http header when changing external connectivity

Bug #1945387 reported by YaoYudie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
Navum Gupta

Bug Description

ACcording to the specification file, When operating on VNF instance resource
The VNFM returns a "202 Accepted" response with an empty payload body and a "Location" HTTP header
that points to the new "Individual VNF LCM operation occurrence" resource, i.e. it includes the URI of that
resource which is "…/vnf_lcm_op_occs/{vnfLcmOpOccId}"
but now the "Location" HTTP header is missing in the response when changing external connectivity.

opertion log:
curl -i POST /vnflcm/v1/vnf_instances/69dc33ee-598a-47fa-860d-01f5f9a07583/change_ext_conn

{
    "seconds": 0.857558,
    "status": 202,
    "body": "",
    "headers": {
        "Content-Length": "0",
        "Content-Type": "application/json",
        "X-Openstack-Request-Id": "req-f87be405-94eb-4793-b6cd-3954fd5f99c3",
        "Date": "Tue, 28 Sep 2021 06:13:18 GMT",
        "Connection": "keep-alive"
    }
}

YaoYudie (yaoyudie)
Changed in tacker:
assignee: nobody → YaoYudie (yaoyudie)
Yasufumi Ogawa (yasufum)
Changed in tacker:
importance: Undecided → Low
Revision history for this message
Pooja Singla (psingla) wrote :

Dear YaoYudie, Please let me know if you are working on this bug. If no, I would like to start working on it.

Revision history for this message
Yasufumi Ogawa (yasufum) wrote :

Hi Pooja,
No reply on your comment. So, please try to tackle to fix the issue if you are still interested. Thanks!

Revision history for this message
Ayumu Ueha (ueha) wrote :

Hi Pooja,

It doesn't seem to be working, could you please start fixing this bug?

It seems that the following patch posted by your colleague was not enough.
https://review.opendev.org/c/openstack/tacker/+/783896

Revision history for this message
Navum Gupta (navum) wrote :

Hi Ayumu Ueha san,

We will start fixing this

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tacker/+/871083

Changed in tacker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.opendev.org/c/openstack/tacker/+/871083
Committed: https://opendev.org/openstack/tacker/commit/c062072813ed68472dc461f2fc8df625f7238372
Submitter: "Zuul (22348)"
Branch: master

commit c062072813ed68472dc461f2fc8df625f7238372
Author: navum <email address hidden>
Date: Thu Jan 19 12:14:01 2023 +0000

    Missing Location in http header

    This patch fixes the problem regarding the "Location" HTTP header
    which is missing in the response when changing external connectivity.
    According to the specification file, When operating on VNF instance
    resource.

    The VNFM returns a "202 Accepted" response with an empty payload body
    and a "Location" HTTP header that points to the new "Individual VNF LCM
    operation occurrence" resource, i.e. it includes the URI of that
    resource which is "…/vnf_lcm_op_occs/{vnfLcmOpOccId}" but now "Location"
    HTTP header is missing in the response when changing external
    connectivity.

    Closes-Bug: #1945387
    Change-Id: I77c161b08c9c468fe6d4d243c1d098a0855bb2c8

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 9.0.0.0rc1

This issue was fixed in the openstack/tacker 9.0.0.0rc1 release candidate.

Navum Gupta (navum)
Changed in tacker:
assignee: YaoYudie (yaoyudie) → Navum Gupta (navum)
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.