Bug 2013207 - Dual-stack KubeAPI multi-node cluster with single Machine Network does not fail validation
Summary: Dual-stack KubeAPI multi-node cluster with single Machine Network does not fa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Infrastructure Operator
Version: rhacm-2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: rhacm-2.4
Assignee: Mat Kowalski
QA Contact:
Derek
URL:
Whiteboard:
: 2009760 (view as bug list)
Depends On: 2005440
Blocks: 2009760
TreeView+ depends on / blocked
 
Reported: 2021-10-12 11:30 UTC by OpenShift BugZilla Robot
Modified: 2023-08-14 17:09 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-03 20:19:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 17123 0 None None None 2021-10-12 14:06:49 UTC
Github openshift assisted-service pull 2757 0 None open [release-ocm-2.4] Bug 2013207: Use current and new cluster data for dual-stack check 2021-10-12 11:57:02 UTC
Red Hat Issue Tracker MGMTBUGSM-347 0 None None None 2022-04-23 04:50:01 UTC

Comment 1 Mat Kowalski 2021-10-12 11:32:28 UTC
*** Bug 2009760 has been marked as a duplicate of this bug. ***

Comment 2 Crystal Chun 2021-10-18 16:15:15 UTC
Please verify and close this bug.

Comment 3 nshidlin 2021-11-07 12:58:38 UTC
Verified on: ACM version 2.4.0-DOWNSTREAM-2021-11-02-15-58-38

After creating agentclusterinstall with dual stack service-network, dual stack cluster-network, and single stack machine network entries; the spec cannot be applied:
status:                                                                                                                                                             
  conditions:                                                                                                                                                                
  - lastProbeTime: "2021-11-07T12:44:20Z"                                                                                                                                    
    lastTransitionTime: "2021-11-07T12:44:20Z"                                                                                                                               
    message: 'The Spec could not be synced due to an input error: Expected 2 machine                                                                                       
      networks, found 1'                                                                                                                                                     
    reason: InputError                                                                                                                                                       
    status: "False"                                                                                                                                                          
    type: SpecSynced

Patching in the second machine network allows the spec to be synced:
status:                                                                                                                                                                      
  conditions:                                                                                                                                                                
  - lastProbeTime: "2021-11-07T12:52:09Z"                                                                                                                                    
    lastTransitionTime: "2021-11-07T12:52:09Z"                                                                                                                               
    message: SyncOK                                                                                                                                                          
    reason: SyncOK                                                                                                                                                           
    status: "True"                                                                                                                                                           
    type: SpecSynced                                             

Removing the second machine network brings the agentclusterinstall into the same spec sync error:
status:                                                                                                                                                             [38/1808]
  conditions:                                                                                                                                                                
  - lastProbeTime: "2021-11-07T12:53:26Z"                                                                                                                                    
    lastTransitionTime: "2021-11-07T12:53:26Z"                                                                                                                               
    message: 'The Spec could not be synced due to an input error: Expected 2 machine                                                                                         
      networks, found 1'                                                                                                                                                     
    reason: InputError                                                                                                                                                       
    status: "False"                                                                                                                                                          
    type: SpecSynced


Note You need to log in before you can comment on or make changes to this bug.