On OpenStack controller /etc/resolve.conf is overwritten by NetworkManager after first reboot

Solution Verified - Updated -

Issue

After deploying the overcloud, the configuration of /etc/resolv.conf is generated properly by cloud-init.

The problem is that after first boot, Network Manager overwrites the /etc/resolv.conf file and removes nameserver lines from the generated file. As a side effect Neutron is failing to start.

Environment

  • Red Hat OpenStack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content