Possible Bug

jburleson

Renowned Member
Apr 29, 2008
31
0
71
Jonesboro, AR
I just upgraded my proxmox cluster to the latest version in the repo using the instructions posted on the wiki. Everything went prefect. The one exception is this:

From the web interface display the list of all vms. Then click on one of the vms to display the details and I get '404 page not found'. It is trying to access this page "/openvz/1-101/index.htm". I assume this means node 1 container 101.

I check the openvz web directory and it does not contain any directories directly related to a specific vm.

I also have a development server that I use for creating and testing new templates. I had upgraded this to version 1.0 when you first released it. When I click on on vm to bring up the details it works just fine. The link my dev server uses is "openvz/index.htm?cid=0&veid=101".

I mention this, becuase if I use the link my dev server uses on my cluster (with some modifications) then it pulls up the vm details just fine. That is on my cluster after I click on the vm to get the details, I manually change the url to "openvz/index.htm?cid=1&veid=101" and it pulls up the vm details.

Has anyone else experience this problem? If so, what do I need to do to get this working again?

Thanks
 
"/openvz/1-101/index.htm" is the correct link (new versions use apache redirect feature). Maybe you just need to restart apache to make it work?
 
The pve-manager version I am using is the latest one. I just upgraded on Monday.

Here is the output of pveversion -v

pve-manager: 1.0-10 (pve-manager/1.0/3463)
qemu-server: 1.0-5
pve-kernel: 2.6.24-4
pve-kvm: 75-1
pve-firmware: 1
vncterm: 0.9-1
vzctl: 3.0.22-3pve3
vzdump: 1.1-1
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1


I have tried restarting apache and even restarting the server. No change.
 
This is what I see in the error log:

[Wed Dec 17 11:36:29 2008] [error] [client] File does not exist: /var/www/pve/openvz/1-101, referer: https://[my server ip]/vmlist/index.htm
[Wed Dec 17 11:39:36 2008] [error] [5234]ERR: 24: Error in Perl code: unable to determine cluster node '0' at /usr/share/perl5/PVE/ConfigServer.pm line 1613.
 
I turned on rewrite logging in the pve.conf file. Here is what appears in the log file when I click on a vm link:

ip address - - [17/Dec/2008:12:56:48 --0600] [my server/sid#6b1c80][rid#1dec618/initial] (2) init rewrite engine with r
equested uri /openvz/1-102/index.htm
ip address - - [17/Dec/2008:12:56:48 --0600] [my server/sid#6b1c80][rid#1dec618/initial] (3) applying pattern '.*' to u
ri '/openvz/1-102/index.htm'
ip address - - [17/Dec/2008:12:56:48 --0600] [my server/sid#6b1c80][rid#1dec618/initial] (4) RewriteCond: input='GET' p
attern='^(TRACE|TRACK)' => not-matched
ip address - - [17/Dec/2008:12:56:48 --0600] [my server/sid#6b1c80][rid#1dec618/initial] (1) pass through /openvz/1-102
/index.htm
 
Maybe you have a modified (old) "/etc/apache2/sites-available/pve.conf"

The file should have a line:

Code:
...
PerlTransHandler PVE::URLRewrite
...
 
Text-based version of "proxinstall" script

i had this problem once , too with an old pve.conf
 
Last edited:
Problem Solved

It was indeed an old pve.conf file.

Thank you for your help :)