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

Bug 1966952

Summary: [4.8.0] [Assisted-4.8][SNO][Dual Stack] DHCPv6 settings "ipv6.dhcp-duid=ll" missing from dual stack install
Product: OpenShift Container Platform Reporter: Ronnie Lazar <alazar>
Component: assisted-installerAssignee: vemporop
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: high CC: alazar, aos-bugs, ccrum, dphillip, vemporop, yobshans
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Core KNI-EDGE-4.9
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1965026 Environment:
Last Closed: 2021-07-27 23:11:18 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: 1965026    
Bug Blocks:    

Description Ronnie Lazar 2021-06-02 08:46:35 UTC
+++ This bug was initially created as a clone of Bug #1965026 +++

Description of problem:
Installation using CRs with dual stack fails to present persistent IPv6 DHCP requests. 

Version-Release number of selected component (if applicable):
4.8

How reproducible:
Every time


Steps to Reproduce:
1. Create dual stack deployment CR
Define CR for dual stack deployment:

apiVersion: extensions.hive.openshift.io/v1beta1
kind: AgentClusterInstall
metadata:
  name: dual-ocp-aci 
  namespace: assisted-installer
  annotations: {"agent-install.openshift.io/install-config-overrides": "{\"networking\": {\"networkType\": \"OVNKubernetes\", \"machineNetwork\": [{\"cidr\": \"10.19.32.192/26\"}, {\"cidr\": \"2620:52:0:1343::/64\"}], \"clusterNetwork\": [{\"cidr\": \"10.128.0.0/14\", \"hostPrefix\": 23}, {\"cidr\": \"fd01::/48\", \"hostPrefix\": 64}], \"serviceNetwork\": [\"172.30.0.0/16\", \"fd02::/112\"]}}"}
spec:
  clusterDeploymentRef:
    name: dual-ocp-sno
  imageSetRef:
    name: openshift-4.8 
  networking:
    clusterNetwork:
      - cidr: "10.128.0.0/14" 
        hostPrefix: 23
    serviceNetwork:
      - "172.30.0.0/16"
    machineNetwork:
      - cidr: "10.19.32.192/26"


2. Deploy cluster. Look for 

ipv6.dhcp-duid=ll

Here:
https://github.com/openshift/assisted-service/blob/7dac3fb956cc7c477cf79aa024ba4813ac85000e/internal/ignition/ignition.go#L809

AI should parse and return when an IPv6 address is found. 

https://github.com/openshift/assisted-service/blame/902a54d507dc4661d0ca2977114dc8500f52ee05/internal/network/utils.go#L22-L26


Actual results:
DHCPv6 sends IP address via DUID that includes timestamp and will change. 

Expected results:
DHCPv6 sends IP address via MAC address that will not change and can be reserved. 

Additional info:
Can provide kubeconfig for dual stack install if need be.

--- Additional comment from Ronnie Lazar on 2021-05-26 15:33:44 UTC ---

Currently we do not support dual stack.
We will add support for it for 4.9

--- Additional comment from Ronnie Lazar on 2021-05-26 15:35:53 UTC ---

Will be handled as part of https://issues.redhat.com/browse/MGMT-6670

Comment 2 Chad Crum 2021-06-19 14:22:09 UTC
This was already verified in the upstream version that made it into the the downstream build.

see https://bugzilla.redhat.com/show_bug.cgi?id=1965026

Comment 4 errata-xmlrpc 2021-07-27 23:11:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438