NS8 Prebuilt Image VM Network Issue (Maybe)

NethServer Version: NS8
Module: Prebuilt NS8 on Rocky Linux 9
So, finally got this imported into a Proxmox VM and booted to shell prompt. I’m testing it on my office LAN and I’m able to ping its local IP.

I used Andy W’s howto to get NS8 working on a Debian 12 VM, and I can access its NS8 cluster in my browser. However, trying to access NS8 on the Rocky VM just times out. I hate quitting on something when I’m so close.

The NS8 install doc says the prebuilt images use cloud-init for network initialization. I’m not sure if I have to have a cloud-init image associated with a cdrom drive, like Proxmox’s cloud-init support doc suggests? I configured it using ‘qm set [VM ID] --ide2 local-lvm:cloudinit’ like the doc says, then booted the VM from the ide2, but get the same effect, i.e., boots to shell prompt, but can’t access NS8 using its local IP address.

Any ideas? No big deal if not. Just wanted to see if the prebuilt image is any different than the Debian VM and if I liked it any better. I’m too new to NS8 to know the difference I suppose. It’s quite a different feel than NS7.

I was able to get this working by doing a curl install of NS8 stable from the command line of the Rocky Linux VM. I still can’t SSH in for the life of me. I’ll keep plugging away at it.

1 Like

NS8 is preinstalled so that step shouldn’t be necessary but good to know that it helped.

Did you follow the Installation — NS8 documentation about the pre-built image? It also explains how to enable ssh.

Yes, I even added a user in wheel and I can’t SSH in with that user either.

Maybe root login works?

I’ve got a guess since the issue has been spotted internally when provisioning some images. Try to ‘dnf update’ from console and restart the machine, the issue might be OpenSSL updating but not updating dependent packages.

2 Likes

I checked the latest qcow2 image with core 3.2.5, I can log in via SSH after the documented steps.

Follow the system journal while doing the SSH login attempt:

journalctl -f
1 Like

I’m not ignoring you guys. I’m trying to get my proxmox installation with NS8 VMs sorted out first, before proceeding with this SSH stuff. I’m trying to make it so I can access the NS8 proxmox VMs across the internet having a public IP on the vbridge assigned to my NIC. I’m not sure how to correlate the VM network configs to make this happen. Once I get this working, I’ll go back to trying to get the SSH access working to them.

Hmmmm. I still had to add ssh keys to the user to be able to SSH in. There’s no override in the sshd.conf files for group wheel.

Cheers.