Bug 1966952 - [4.8.0] [Assisted-4.8][SNO][Dual Stack] DHCPv6 settings "ipv6.dhcp-duid=ll" missing from dual stack install
Summary: [4.8.0] [Assisted-4.8][SNO][Dual Stack] DHCPv6 settings "ipv6.dhcp-duid=ll" m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: 4.8.0
Assignee: vemporop
QA Contact: Yuri Obshansky
URL:
Whiteboard: AI-Team-Core KNI-EDGE-4.9
Depends On: 1965026
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-02 08:46 UTC by Ronnie Lazar
Modified: 2021-07-27 23:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1965026
Environment:
Last Closed: 2021-07-27 23:11:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 1952 0 None open [ocm-2.3] Bug 1966952: Configure IPv6 DHCP in dual-stack 2021-06-11 05:29:46 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:11:29 UTC

Internal Links: 1967211

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


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