Can not migrate after installing the latest updates released today

e100

Renowned Member
Nov 6, 2010
1,268
45
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:~#
 
No, I got these errors immediately after install when I did update and upgrade.

OK, please run

# pvecm updatecerts

Then verify the the ssl file is there:

# ls -l /etc/pve/local/pve-ssl.pem

Then try to update again
 

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!