Modify TripleO Ironic Inspector to PXE Boot Via DHCP Relay

Registered by Dan Sneddon on 2017-01-12

Ironic Inspector dnsmasq configuration needs to be configured with multiple subnets and DHCP ranges in order to support TripleO deployments across multiple subnets. Today, only a single subnet is taken from undercloud.conf, and used to configure the dnsmasq.conf for Ironic Inspector. This feature would allow entry of multiple subnets and ranges. Routers can then be configured with DHCP relay in order to facilitate remote boot.

The changes required for minimum functionality are limited to the undercloud scripts which configure Ironic Inspector based on undercloud.conf. However, in the future Ironic Inspector may support using a Neutron network, in which case we would configure multiple subnets on the "ctlplane" network, and the dnsmasq.conf could be automatically configured. We may wish to consider revisiting this feature once Ironic Inspector supports that feature.

Blueprint information

Status:
Complete
Approver:
Emilien Macchi
Priority:
Medium
Drafter:
Dan Sneddon
Direction:
Approved
Assignee:
Harald Jensås
Definition:
Approved
Series goal:
Accepted for rocky
Implementation:
Implemented
Milestone target:
milestone icon rocky-1
Started by
Emilien Macchi on 2017-06-13
Completed by
Alex Schultz on 2018-04-09

Related branches

Sprints

Whiteboard

[2017-12-08] Moving out to Rocky. If necessary please request FFE to explain why this is needed for Queens.
[2018-04-09] All patches seem to be merged. Setting to Implemented. If work is still necessary, please update the BP.

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-routed-networks-ironic-inspector,n,z

Addressed by: https://review.openstack.org/421011
    blueprint tripleo-routed-networks-ironic-inspector

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-routed-networks-deployment,n,z

Addressed by: https://review.openstack.org/421009
    blueprint tripleo-routed-networks-deployment

Addressed by: https://review.openstack.org/437544
    Tripleo routed networks ironic inspector

Gerrit topic: https://review.openstack.org/#q,topic:neutron-mech-driver,n,z

Addressed by: https://review.openstack.org/533362
    Unit tests - actually do some validations ...

Addressed by: https://review.openstack.org/533363
    Refactor unit test to set up config fixture in setup class

Addressed by: https://review.openstack.org/533364
    Move ctlplane network/subnet setup to python

Addressed by: https://review.openstack.org/533365
    Update config to use per network groups

Addressed by: https://review.openstack.org/533366
    Update validations to validate all subnets

Addressed by: https://review.openstack.org/533367
    Add support for multiple inspection subnets

Addressed by: https://review.openstack.org/533368
    Create static routes for remote subnets

Addressed by: https://review.openstack.org/533369
    Add per subnet network cidr nat rules

Addressed by: https://review.openstack.org/533370
    Add per subnet masquerading

Gerrit topic: https://review.openstack.org/#q,topic:tripleo-routed-networks-deployment,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-routed-networks-ironic-inspector2,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-routed-networks-ironic-inspector3,n,z

Gerrit topic: https://review.openstack.org/#q,topic:tripleo-routed-networks-deployment7,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.