Foreman_azure: "BadRequest : The Linux username 'root' is invalid."

First, I apologize if this is the wrong place to post this. I attempted to register at the plugin’s redmine, but never received the confirmation email … even though I tried two different email providers.

I have installed the foreman_azure plugin into Foreman 1.16. All seems to work great, until I attempt to create a new host. When I do so, I receive the following error after clicking Submit: “Failed to create a compute Azure (Azure) instance alphat-foremantest.cloudapp.net: e[31me[1mFailed to create virtual machine : e[31me[1mBadRequest : The Linux username ‘root’ is invalid.e[0me[0me[0me[0m”

According to Microsoft, “root” is a restricted username: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/faq#what-are-the-username-requirements-when-creating-a-vm

Sorry about that, our bugtracker is having email issues at the moment - we hope to have it resolved later today.

In the meantime, welcome :slight_smile:

1 Like