MAAS failing to deploy stock centos 7 due to network defaulting to disabled

Asked by George Wenzel on 2017-05-11

Ubunti MAAS is working great for all but one of the stock supported images.

All of the Ubuntu images work, and the included Centos 6.6 image also works. But the included Centos 7 image fails.

The cause of the failure is very simple, Centos 7 defaults to all ethernet ports disabled. Centos requires a manual login from the console to enable ethernet ports. But console logins are not possible, as the node is deployed with no users, and no password for root. The intended login path is ssh with public key, however the public key cannot be installed because the network is down when the script runs that installs the ssh key.

So the solution is that the script that runs to install the public key must first bring the network up.

I know I can break into single user mode and fix this, but this is MAAS, it is intended for large scale deployments of cloud assets, so naturally it is impractical to break into hundreds or thousands of semi-headless systems as part of an automated deployment.

What file do I need to edit on the MAAS server to bring up the ethernet port(s)? Is there some other workaround?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.