Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-26278

Uni04delta ipv6 job doesn't creates a public ipv4 network preventing creating of workload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • ci-framework
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-ops-day1day2-upgrades
    • None
    • RHOS Upgrades 2025 Sprint 21
    • 1
    • Critical

      Problem statement

      As a QE eng I want to create a instance in OpenStack after deployment with a IP that can be reached from controller-0, ie a IP on the public network.

      Currently in scenarios/uni/uni04delta-ipv6/04-scenario-vars.yaml we have the network configuration that will be applied in the ansible-post-deployment.log to create the public network.  That definition is IPv4:

       

      cifmw_os_net_setup_config:
        - name: public
          external: true
          shared: false
          is_default: true
          provider_network_type: flat
          provider_physical_network: datacentre
          subnets:
            - name: public_subnet
              cidr: 192.168.122.0/24
              allocation_pool_start: 192.168.122.171
              allocation_pool_end: 192.168.122.250
              gateway_ip: 192.168.122.1
              enable_dhcp: true
        - name: private
          external: false
          shared: true
          subnets:
            - name: private_subnet
              cidr: '10.2.0.0/24'
              allocation_pool_start: 10.2.0.10
              allocation_pool_end: 10.2.0.250
              gateway_ip: 10.2.0.1
              enable_dhcp: true 

      The problem is that on Controller-0 (or on any other host for that matter) we don't have any IPv4 routing.  So there's no way to create a FIP in that public network.

       

      ip -4 r -> empty 

      Solution: Create a IPv6 cifmw_os_net_setup_config definition

       cifmw_os_net_setup_config:
        - name: public
          external: true
          shared: false
          is_default: true
          provider_network_type: flat
          provider_physical_network: datacentre
          availability_zone_hints: []
          subnets:
            - name: public_subnet
              cidr: 2620:cf:cf:aaaa::/64
              allocation_pool_start: 2620:cf:cf:aaaa::100
              allocation_pool_end: 2620:cf:cf:aaaa::200
              gateway_ip: 2620:cf:cf:aaaa::1
              enable_dhcp: true
              ip_version: 6
              ipv6_address_mode: slaac
              ipv6_ra_mode: slaac
        - name: private
          external: false
          shared: true
          subnets:
            - name: private_subnet
              cidr: fd10:2:0::/64
              allocation_pool_start: fd10:2:0::10
              allocation_pool_end: fd10:2:0::250
              gateway_ip: fd10:2:0::1
              enable_dhcp: true
              ip_version: 6
              ipv6_address_mode: slaac
              ipv6_ra_mode: slaac

       

      Would work and match the external definition in scenarios/uni/uni04delta-ipv6/01-net-def.yaml .

       

      Setting priority as critical as it's blocking a CIX.

              sathlang@redhat.com Sofer Athlan Guyot
              sathlang@redhat.com Sofer Athlan Guyot
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: