Ironic config not correctly writtin for IPv6 Provisioning

Bug #1845746 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ironic
Fix Released
Undecided
Harald Jensås
tripleo
Fix Released
High
Harald Jensås

Bug Description

ironic.conf options:

[pxe]/ip_version
   must be set to '6' if IPv6 provisioning network.

[deploy]/http_url
  must be wrapped if IPv6 provisioning network.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-ironic (master)

Fix proposed to branch: master
Review: https://review.opendev.org/685506

Changed in puppet-ironic:
assignee: nobody → Harald Jensås (harald-jensas)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/685507

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/685508

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-ironic (master)

Reviewed: https://review.opendev.org/685506
Committed: https://git.openstack.org/cgit/openstack/puppet-ironic/commit/?id=0e8a483e354016e4113938a1c60bb0fbf3d6de03
Submitter: Zuul
Branch: master

commit 0e8a483e354016e4113938a1c60bb0fbf3d6de03
Author: Harald Jensås <email address hidden>
Date: Sat Sep 28 01:34:17 2019 +0200

    [pxe]/ip_version param in ironic::drivers::pxe

    Add the ip_version parameter in the pxe class so that
    the IP version that will be used for PXE booting can
    be configured.

    Closes-Bug: #1845746
    Change-Id: Ib29adccc8378bd3e2a46b7d2ca3cfacba55e7674

Changed in puppet-ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/685507
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=6e202df4ea45931d872ff2d14dbf3e3737ade375
Submitter: Zuul
Branch: master

commit 6e202df4ea45931d872ff2d14dbf3e3737ade375
Author: Harald Jensås <email address hidden>
Date: Sat Sep 28 01:39:20 2019 +0200

    Fix Ironic configuration for IPv6

    When using IPv6 for provisioning baremtal nodes ironic.conf
    needs:
      - [pxe]/ip_version must be set to '6'. Add parameter
        IronicIpVersion.
      - [deploy]/http_url must have the IPv6 address wrapped.
        Use the $NETWORK_uri value from hiera which carries
        an ip address fit for use in url.

    Related-Bug: #1845746
    Depends-On: Ib29adccc8378bd3e2a46b7d2ca3cfacba55e7674
    Change-Id: I6384e11dd68cdbf2179545caae2c818fd1a6b23e

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-ironic 15.4.0

This issue was fixed in the openstack/puppet-ironic 15.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/685508
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=fd2ca88220d46a732ea96f253f8bf5cb267ee33a
Submitter: Zuul
Branch: master

commit fd2ca88220d46a732ea96f253f8bf5cb267ee33a
Author: Harald Jensås <email address hidden>
Date: Sat Sep 28 01:52:01 2019 +0200

    IronicIpVersion: '6' if local_ip is IPv6

    Set the ironic pxe version according to the IP version
    used on the provisionin network.

    Change-Id: I32049dfa892d4f4cdc03dcab2ed31a11abe99770
    Closes-Bug: #1845746
    Depends-On: I6384e11dd68cdbf2179545caae2c818fd1a6b23e

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 12.3.0

This issue was fixed in the openstack/python-tripleoclient 12.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.