I have a few Proxmox nodes, yesterday, I upgraded them all to 3.4-11. Today I found one of the node is not showing OpenVZ node correctly in the Proxmox UI. Then I did a bit investigation and found this missing information is from Proxmox API /cluster/resources. Then I tried to run pvesh get /cluster/resources from the node in problem, I got:
Then I went to a normal node and run the same command, I got this:
So apparently the node in question does not return enough information about OpenVZ containers.
Code:
[COLOR=#444444]# pvesh get /cluster/resources[/COLOR]
[COLOR=#444444]200 OK[/COLOR]
[COLOR=#444444][[/COLOR]
[COLOR=#444444]{[/COLOR]
[COLOR=#444444]"id" : "openvz/127",[/COLOR]
[COLOR=#444444]"node" : "pve",[/COLOR]
[COLOR=#444444]"type" : "openvz",[/COLOR]
[COLOR=#444444]"vmid" : 127[/COLOR]
[COLOR=#444444]},[/COLOR]
[COLOR=#444444]{[/COLOR]
[COLOR=#444444]"id" : "openvz/118",[/COLOR]
[COLOR=#444444]"node" : "pve",[/COLOR]
[COLOR=#444444]"type" : "openvz",[/COLOR]
[COLOR=#444444]"vmid" : 118[/COLOR]
[COLOR=#444444]},[/COLOR]
[COLOR=#444444]{[/COLOR]
[COLOR=#444444]"id" : "openvz/206",[/COLOR]
[COLOR=#444444]"node" : "pve",[/COLOR]
[COLOR=#444444]"type" : "openvz",[/COLOR]
[COLOR=#444444]"vmid" : 206[/COLOR]
[COLOR=#444444]},[/COLOR]
[COLOR=#444444]...[/COLOR]
[COLOR=#444444]][/COLOR]
Then I went to a normal node and run the same command, I got this:
Code:
[COLOR=#444444]# pvesh get /cluster/resources[/COLOR]
[COLOR=#444444]200 OK[/COLOR]
[COLOR=#444444][[/COLOR]
[COLOR=#444444]{[/COLOR]
[COLOR=#444444]"cpu" : 0.000220895604811133,[/COLOR]
[COLOR=#444444]"disk" : 774914048,[/COLOR]
[COLOR=#444444]"diskread" : 0,[/COLOR]
[COLOR=#444444]"diskwrite" : 0,[/COLOR]
[COLOR=#444444]"id" : "openvz/124",[/COLOR]
[COLOR=#444444]"maxcpu" : 1,[/COLOR]
[COLOR=#444444]"maxdisk" : 5368709120,[/COLOR]
[COLOR=#444444]"maxmem" : 268435456,[/COLOR]
[COLOR=#444444]"mem" : 42786816,[/COLOR]
[COLOR=#444444]"name" : "hostname1",[/COLOR]
[COLOR=#444444]"netin" : 237953,[/COLOR]
[COLOR=#444444]"netout" : 153381,[/COLOR]
[COLOR=#444444]"node" : "fr000",[/COLOR]
[COLOR=#444444]"status" : "running",[/COLOR]
[COLOR=#444444]"template" : 0,[/COLOR]
[COLOR=#444444]"type" : "openvz",[/COLOR]
[COLOR=#444444]"uptime" : 3809,[/COLOR]
[COLOR=#444444]"vmid" : 124[/COLOR]
[COLOR=#444444]},[/COLOR]
[COLOR=#444444]{[/COLOR]
[COLOR=#444444]"cpu" : 0.000220895608544508,[/COLOR]
[COLOR=#444444]"disk" : 2063126528,[/COLOR]
[COLOR=#444444]"diskread" : 0,[/COLOR]
[COLOR=#444444]"diskwrite" : 0,[/COLOR]
[COLOR=#444444]"id" : "openvz/122",[/COLOR]
[COLOR=#444444]"maxcpu" : 2,[/COLOR]
[COLOR=#444444]"maxdisk" : 42949672960,[/COLOR]
[COLOR=#444444]"maxmem" : 2147483648,[/COLOR]
[COLOR=#444444]"mem" : 634228736,[/COLOR]
[COLOR=#444444]"name" : "hostname2",[/COLOR]
[COLOR=#444444]"netin" : 34106,[/COLOR]
[COLOR=#444444]"netout" : 33882,[/COLOR]
[COLOR=#444444]"node" : "fr000",[/COLOR]
[COLOR=#444444]"status" : "running",[/COLOR]
[COLOR=#444444]"template" : 0,[/COLOR]
[COLOR=#444444]"type" : "openvz",[/COLOR]
[COLOR=#444444]"uptime" : 3827,[/COLOR]
[COLOR=#444444]"vmid" : 122[/COLOR]
[COLOR=#444444]},[/COLOR]
[COLOR=#444444]...[/COLOR]
[COLOR=#444444]][/COLOR]
So apparently the node in question does not return enough information about OpenVZ containers.
Last edited: