affectedVirtualStorage is set as [] in notification when virtual storage is missing in package

Bug #1973372 reported by Pooja Singla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
Pooja Singla

Bug Description

affectedVirtualStorage is set as "affectedVirtualStorage: []" in notification when virtual storage is missing in uploaded vnf package.

Steps to reproduce:
1) Create vnf package by "openstack vnf package create" command
2) Upload vnf package which does not have virtual storage in
 vnfd by "openstack vnf package upload" command.
3) create vnf instance by "openstack vnflcm create" command
4) Instantiate vnf instance by "openstack vnflcm instantiate" command.

Current output : The notification in tacker-conductor logs contains "affectedVirtualStorages": [] when virtual storage is absent in vnfd.

Expected output: affectedVirtualStorages parameter should be absent in notification when virtual storage is not given in vnfd.

Revision history for this message
Pooja Singla (psingla) wrote :

I am assigning this bug to me. I will be working on it.

Changed in tacker:
assignee: nobody → Pooja Singla (psingla)
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/+/841793

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/+/841793
Committed: https://opendev.org/openstack/tacker/commit/0984f29fb139f52d7ffa8f41e3c03f1d5c72b110
Submitter: "Zuul (22348)"
Branch: master

commit 0984f29fb139f52d7ffa8f41e3c03f1d5c72b110
Author: Pooja Singla <email address hidden>
Date: Fri May 13 19:30:24 2022 +0000

    affectedVirtualStorages should not be set

    affectedVirtualStorages should be absent in
    notification when VNFD does not contain virtual
    storage

    Implemented a check during populating
    affectedVirtualStorages, affectedVirtualLinks,
    affectedVnfcs in notification

    Closes-Bug: #1973372
    Change-Id: Ic83359553fb256de83f8cf1578656f842945b6d0

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

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

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.