[PVE-User] Proxmox VE 2.1 released!

Alain Péan alain.pean at lpp.polytechnique.fr
Fri Apr 27 17:39:09 CEST 2012


Le 27/04/2012 17:07, Alain Péan a écrit :
>> I tried to upgrade one node of my 2.0 cluster to 2.1, and got the 
>> error :
>> ...
>> update-initramfs: Generating /boot/initrd.img-2.6.35-2-pve
>> grep: /boot/config-2.6.35-2-pve: No such file or directory
>> WARNING: missing /lib/modules/2.6.35-2-pve
>> Device driver support needs thus be built-in linux image!
>> WARNING: Couldn't open directory /lib/modules/2.6.35-2-pve: No such 
>> file or directory
>> FATAL: Could not open /lib/modules/2.6.35-2-pve/modules.dep.temp for 
>> writing: No such file or directory
>> ...
>
> I must add that indeed, /lib/modules/2.6.35-2-pve directory is not 
> present, but there are initram images for this kernel in /boot: 

So, I finally easily get rid of this problem, following the advice in 
the first answer in this post :
http://ubuntugenius.wordpress.com/2010/05/24/fix-a-failed-initramfs-update-do-it-before-you-reboot/

I removed the 2.6.35 files that were present under 
/var/lib/initramfs-tools :
hertz:/var/lib/initramfs-tools# ls
2.6.32-11-pve  2.6.32-1-pve  2.6.32-2-pve  2.6.32-4-pve  2.6.32-6-pve  
2.6.32-7-pve  2.6.35-1-pve  2.6.35-2-pve

Then ran :
hertz:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-11-pve

Which only recreated the 2.6.32-11 initramfs image.

Then there was nothing more to upgrade :
hertz:~# aptitude full-upgrade
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.

And my PVE version is :
hertz:~# pveversion -v
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.0-66
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.24-7-pve: 2.6.24-11
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-15
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1

I hope it can helps someone else.

Alain




-- 
=============================================================
Alain Péan - LPP/CNRS
Attention !! :  Nouveau numéro de Telephone : 01-44-27-92-39
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
=============================================================




More information about the pve-user mailing list