Managed OpenStack
Latest
Unable To Assign Static IP Address To Instances Created Using Heat Templates
Problem
Unable to assign a static IP address to instances created using Heat Orchestration.
Environment
Platform9 Managed OpenStack - All versions
Nova
Neutron
Cause
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.
Resolution
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.
/opt/pf9/etc/nova/conf.d/nova_overrides.conf:[DEFAULT]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
Additional Information
You can refer Config Drive documentation in OpenStack for more details.
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
