Strange behavior

takeshi

New Member
Nov 25, 2020
4
2
3
64
Hi,
trying to get rid of some problems, I tried to upgrade my ProxMox VE 6.1-7 by doing:
apt update && apt full-upgrade
After that, without server restart, I could see 'ProxMox VE 6.2-15' in the web UI.

However, this didn't solve the problems and since some threads indicated a server reboot would be necessary in some cases, I did it but after that, to my surprise, the node hostname changed to the hostname of a VM that I created before the reboot (using terraform proxmox plugin)
Before the reboot I had this shell prompt in the proxmox server:
root@ryovm107
but after reboot it changed to the name of a VM:
root@terraform-test-vm


Also the pve services would not start anymore:

root@terraform-test-vm:~# systemctl status pve-cluster
● pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-11-27 06:43:14 JST; 11min ago
Process: 2146 ExecStart=/usr/bin/pmxcfs (code=exited, status=255/EXCEPTION)

Nov 27 06:43:14 terraform-test-vm systemd[1]: pve-cluster.service: Service RestartSec=100ms expired, scheduling restart.
Nov 27 06:43:14 terraform-test-vm systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 5.
Nov 27 06:43:14 terraform-test-vm systemd[1]: Stopped The Proxmox VE cluster filesystem.
Nov 27 06:43:14 terraform-test-vm systemd[1]: pve-cluster.service: Start request repeated too quickly.
Nov 27 06:43:14 terraform-test-vm systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Nov 27 06:43:14 terraform-test-vm systemd[1]: Failed to start The Proxmox VE cluster filesystem.
root@terraform-test-vm:~#


So I think my server is messed up and I will try to solve this by getting a clean install of new PVE 6.3.
However, I am curious if anyone knows how the VM hostname ended up being used by the proxmox host.
 
Last edited:
Hi,

Could you post output of the following commands:

Bash:
~ cat /etc/hosts
~ cat /etc/hostname
~ ls -la /etc/pve/nodes/
~ pveversion -v
 
Ah, I'm very sorry. I missed your email.
Our infra team already moved to fix the server by installing the latest version of PVE so it is not possible to investigate this anymore.
If this happens again the next time we need to do an upgrade I will make sure we get this info and keep the server around for a while.
Thank you.
 
  • Like
Reactions: Moayad

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!