Skip to content

RFE: support ipv6 in setup_vm_host_network role #298

@novacain1

Description

@novacain1

Bug description

https://github.com/redhat-partner-solutions/crucible/blob/main/roles/setup_vm_host_network/tasks/make_network_config.yml#L25 only supports IPv4. Given the emphasis on dual stack deployments, an RFE is to provide support for IPv6 based addresses on the bridge to hold VMs, that way the playbook could be used to set the IPv6 address on the bridge.

OpenShift version

other (provide in the description)

Assisted Installer version

other (provide in the description)

Relevant log output

TASK [generate_manifests : Using query to set mac_interface_map for supervisor1] ***************************************************************************************
Tuesday 12 December 2023  16:24:04 -0500 (0:00:00.042)       0:02:51.475 ****** 
fatal: [bastion]: FAILED! => 
  msg: |-
    Error in jmespath.search in json_query filter plugin:
    {'interfaces': [{'name': 'enp1s0', 'mac': '52:54:17:EC:BD:8D', 'addresses': {'ipv4': [{'ip': '172.28.50.47', 'prefix': 26}], 'ipv6': [{'ip': 'fd00:172:28:50::47', 'prefix': '64'}]}}], 'dns_server_ips': ['172.28.50.12', '{{ ipv6.dns }}'], 'routes': [{'destination': '0.0.0.0/0', 'address': '172.28.50.1', 'interface': '{{ vm_bridge_name }}'}, {'destination': '::/0', 'address': '{{ ipv6.gateway }}', 'interface': '{{ vm_bridge_name }}'}, {'destination': '172.28.50.0/24', 'address': '172.28.50.1', 'interface': '{{ vm_bridge_name }}'}]}: 'ipv6' is undefined. 'ipv6' is undefined

Inventory file

No response

Required statements

  • I have removed all sensitive details from the attached logs and inventory files.
  • I acknowledge that Red Hat does not provide commercial support for the content of this repository.
  • I acknowledge that any assistance is offered purely on a best-effort basis, as resource permits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions