XCP-ng Login Incorrect (both Console and SSH)
-
Good-day Folks,
My Environment:
- Host Hardware: HP ProLiant DL360p Gen8
- Host Version: XCP-ng 8.2.1 (GPLv2)
- Xen Orchestra, commit ba8c5
- xo-server 5.96.0
- xo-web 5.97.2
I'm fairly new to XCP-ng and yesterday I spun up a host, successfully connected it to XCP-Center and created a VM - upon which I installed Xen Orchestra (compiled from source using this installation script from Ronivay).
In my excitement, I immediately started tinkering away. As mentioned earlier, I connected XCP-Center to the host using the root credentials. I then joined the host to my Active Directory domain, and added a group (with Pool Admin role).
This is when I started noticing some weirdness. When I attempted to add the host to XO using the root credentials, it failed. So I attempted to login to the console, from both XO and XCP-Center, and then from SSH. All three attempts failed with the message, "login incorrect". During the installation I created a non-root user, that too is not being accepted. What worked eventually was to use a service account I had created in Active Directory, and that allowed me to join the host to XO, however, not to log into the host (via console or SSH).
What's strange is, the same root credentials are what XCP-Center is using to communicate with the host, so why can't I use it to login? I'm still reading through the documentation and any forum posts I can find on this, however, any help is greatly appreciated. Thanks.
-
@kagbasi-wgsdac Hi,
First Hosts should not be joined to an AD it's useless unless your in a citrix environnement wanting to do remote desktop.
I recommend you follow the procedure to reset the host password and see if your able to login with SSH after that.
Documentation here: https://xcp-ng.org/docs/troubleshooting.html#reset-root-password -
@Darkbeldin Oh? Dumb question then - why provide the option to join the host to the domain, if it's not recommended to actually do so?
Thanks, by the way, for the guide you shared. I will go through it later tonight when I can gain physical access to the host.
-
@kagbasi-wgsdac We don't provide it XCP-ng center is not officially supported, as a fork of Xencenter it reproduce all the features, as AD connection is need for Citrix hypervisor the feature is available in XCP center, but not in Xen orchestra.
-
@Darkbeldin Aaah, thanks for the clarification. Now I know....learned something today.
By the way, I've been so busy at work that I forgot my host has an iLO which I'd previously configured. I used it to gain console access and successfully rest the root credentials. I'm in and I have successfully reconnected XO to the host using the root credentials.
-