Unable to assign a static IP address to instances created using Heat Orchestration.
- Platform9 Managed OpenStack - All versions
The force_config_drive option if not set to true will result in failure to assign the static IP address to provide in heat templates when the DHCP is disabled for the subnet. The config drive option is disabled by default on compute hosts.
- Enable the config drive option on all the hypervisros by adding the option in file /opt/pf9/etc/nova/conf.d/nova_overrides.conf in the DEFAULT section.
force_config_drive = true
- Restart the compute service by running the below command on all the hypervisors to make the change effective.
# systemctl restart pf9-ostackhost
You can refer Config Drive documentation in OpenStack for more details.