Can not migrate after installing the latest updates released today

e100

Renowned Member
Nov 6, 2010
1,268
47
88
Columbus, Ohio
ulbuilder.wordpress.com
Whenever I try to migrate after installing the latest updates I get an error:
Code:
# qm migrate 100 vm5 --online
storage 'vm5-vm6' is not available on node 'test'

The bug is caused by a bad commit in API2/Qemu.pm:
https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=47152e2ee31d14c3fdc5f386c9d14fd308a5652b

The VM name seems to be hard coded!
Code:
+       PVE::QemuServer::check_storage_availability($storecfg, $conf, [B]"test"[/B]);

Looking forward to updating once this bug is fixed.

If you can not wait for the Proxmox devs to fix this you can workaround the issue using these directions:
Edit /usr/share/perl5/PVE/API2/Qemu.pm
Go to line 1641 it look like this:
Code:
        PVE::QemuServer::check_storage_availability($storecfg, $conf, "test");
Change it to this:
Code:
        PVE::QemuServer::check_storage_availability($storecfg, $conf, $target);
 
Last edited:
Hello,

I am new to Proxmox, but IMHO the latest version must have a bug.
I installed the previous release (proxmox-ve_2.0-4b59ea39-23) with no problem about 2 weeks ago.
When I installed this version (proxmox-ve_2.0-ff6cd700-24) I got an error when running aptitude update
that proxmox-manager cannot be configured.
I eventually decided to install the previous version (proxmox-ve_2.0-4b59ea39-23) and it worked without this error.

Regards.
 
What error do you get exactly?

Hi,

I thought I did not have it but luckily it was saved on my SSH session.
This is of course after the initial update and after it failed once. I tried to do it again.
Here it is.

Thanks,

Oren

Code:
The following partially installed packages will be configured:
  proxmox-ve-2.6.32 pve-manager 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up pve-manager (2.0-59) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing pve-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
 proxmox-ve-2.6.32 depends on pve-manager; however:
  Package pve-manager is not configured yet.
dpkg: error processing proxmox-ve-2.6.32 (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      Errors were encountered while processing:
 pve-manager
 proxmox-ve-2.6.32
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pve-manager (2.0-59) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
 failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing pve-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
 proxmox-ve-2.6.32 depends on pve-manager; however:
  Package pve-manager is not configured yet.
dpkg: error processing proxmox-ve-2.6.32 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-manager
 proxmox-ve-2.6.32
root@proxmox:~#