Wednesday Tidbit: Don’t let the NSX-T root password expire!

20170106-1I’ve decided that whilst it’s great to provision a Kubernetes blueprint with a standard network overlay to the vRealize Automation catalog, offering one that leverages NSX-T is even better. So a few days ago I started creating

this new blueprint to make use of the NSX-T NCP. However, once the first machine provisioned I discovered that routing was seriously broken, and no other machines would deploy. Seeing as this is the secondary site I dived into the NSX-T UI to see what the issue could be (we use NSX-V in the primary site).

Routing looked okay, but the transport nodes (my ESXi hosts my vRA compute cluster) had connectivity issues when communicating with the NSX controller.

Taking a look at the management cluster it was clear something wasn’t right:

Controller isn’t looking too clever…

On closer inspection…

“Down” = “not good”

Now I started to panic. When I upgraded from 2.3 to 2.4, I remember that the controllers were merged into the NSX manager before being deleted. Did I miss a step? Did I blow away my control plane before ensuring the upgrade was successful?

I decided to investigate further in the CLI.

For a start, is the controller even running?

Not that then 😦

Maybe the config has gone awry?

Or that 😦

Time to get the full status:

Okay, so it’s definitely the controller…

I was convinced at this point I would have to add another node, and at some time later remove the original. This involved a lot of work, as the original node is defined in various firewall configs and is set as an endpoint in both vRA on-prem and vRA Cloud.

Then an alert caught my eye:

Oh for f…

Okay, so I needed to sort that. Could it be the cause of all my pain?

At this point I SSH’d to the NSX-T manager and reset the password expiration using:

clear user root password-expiration

This is confirmed by using:

get user admin password-expiration

I then rebooted the manager. After a few minutes I was greeted with:


The moral of this story is clear – don’t let your NSX user passwords expire!

From now on I’m keeping my passwords from expiring. It may not be best practice, but it is preferable to the loss of service.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.