Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1971321

Summary: [DOC][MTV][API] NetworkMap CR does not get updated according to the related NetworkAttachmentDefinition (2nd network)
Product: Migration Toolkit for Virtualization Reporter: Ilanit Stein <istein>
Component: DocumentationAssignee: Avital Pinnick <apinnick>
Status: CLOSED CURRENTRELEASE QA Contact: Maayan Hadasi <mguetta>
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.0.0CC: amastbau, apinnick, fdupont, istein, mguetta
Target Milestone: ---   
Target Release: 2.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1971259 Environment:
Last Closed: 2021-06-15 08:48:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1971259    
Bug Blocks:    

Description Ilanit Stein 2021-06-13 15:38:30 UTC
A documentation is required for Bug #1971259:

+++ This bug was initially created as a clone of Bug #1971259 +++

Description of problem:
The NetworkMap does not get updated in the following cases:
- When creating a NetworkAttachmentDefinition (NAD) for a second network after the NetworkMap already exists --> NetworkMap stays on "NotReady" state, message: "Destination network not found"
- When the NetworkMap is ready and you delete the NAD which is in use --> NetworkMap stays in "Ready" state


Version-Release number of selected component (if applicable):
mtv-operator-bundle-container-2.0.0-23


How reproducible:
100%


Steps to Reproduce:
1. Via API, create a NetworkMap CR that includes mapping to a second network (multus) --> NetworkMap is on "NotReady" state due to "Destination network not found"
2. Create a NetworkAttachmentDefinition CR for the second network


Actual results:
NetworkMap stays on "NotReady" state


Expected results:
NetworkMap moves to "Ready" state

Comment 2 Avital Pinnick 2021-06-15 08:48:51 UTC
Changes merged.