Corresponding to this we have defined the following fields in globals.yml
- kolla_base_distro: "centos"
- kolla_install_type: "source"
- openstack_release: "wallaby"
- network_interface: "eno2" # MGMT interface
- kolla_external_vip_interface: "eno1" # OAM Interface
- kolla_internal_vip_address: "192.168.10.3" # MGMT Subnet free ip
- kolla_external_vip_address: "10.0.1.136" # OAM subnet free IP
- neutron_external_interface: "ens2f0" # Data Interface
- enable_neutron_provider_networks: "yes"
Note: Only relevant fields are being shown in this query
Also, for ironic following fields have been defined in globals.yml
- enable_ironic: "yes"
- enable_ironic_neutron_agent: "{{ enable_neutron | bool and enable_ironic | bool }}"
- enable_horizon_ironic: "{{ enable_ironic | bool }}"
- ironic_dnsmasq_interface: "ens2f0" # Data interface
- ironic_dnsmasq_dhcp_range: "20.20.20.10,20.20.20.100"
- ironic_dnsmasq_boot_file: "pxelinux.0"
- ironic_cleaning_network: "public1"
- ironic_dnsmasq_default_gateway: "20.20.20.1"
After successful deployment, a flat provider network with the name public1 is being created in openstack using the below commands:
- openstack network create public1 --provider-network-type flat --provider-physical-network physnet1
- openstack subnet create subnet1 --network public1 --subnet-range 20.20.20.0/24 --allocation-pool start=20.20.20.10,end=20.20.20.100 --ip-version=4 --gateway=20.20.20.1 --dhcp
Issue/Queries:
- Is the configuration done in globals.yml correct or is there anything else that needs to be done in order to separate control and data plane traffic?
- Also I have set automated_cleaning as "true" in ironic-conductor conatiner settings.But after creating the baremetal node, we run "node manage" command which runs successfully. Running "openstack baremetal node provide <node id>" command powers on the machine, sets the boot mode on Network Boot but no DHCP request for that particular mac is obtained on the controller. Is there anything I am missing that needs to be done in order to make ironic work?
Note: I have also verified that the nic is PXE enabled in system configuration setting