Upgrade 3.0 to current fails

hpcraith

Renowned Member
Mar 8, 2013
84
0
71
Stuttgart Germany
www.hlrs.de
root@vwsrv2:/etc/apt/sources.list.d# cat pve-enterprise.list
deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
root@vwsrv2:/etc/apt/sources.list.d# apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://ftp.de.debian.org wheezy Release
Hit http://download.proxmox.com wheezy Release.gpg
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://download.proxmox.com wheezy Release
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Hit http://download.proxmox.com wheezy/pve amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://ftp.de.debian.org wheezy/main Translation-en
Ign http://download.proxmox.com wheezy/pve Translation-en_US
Ign http://download.proxmox.com wheezy/pve Translation-en
Ign https://enterprise.proxmox.com wheezy Release.gpg
Ign https://enterprise.proxmox.com wheezy Release
Err https://enterprise.proxmox.com wheezy/pve-enterprise amd64 Packages
The requested URL returned error: 401
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en_US
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/Packages The requested URL returned error: 401

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@vwsrv2:/etc/apt/sources.list.d#

We have bought Basic support!!

Type
Proxmox VE Community Subscription 2 CPUs/year
Subscription Key pve2c-xxxxxxxxxx
Status Active
Server ID B8A14902748BA03F4049686DC220983E
Sockets 2
Last checked 2015-01-26 19:10:37

Running system:
root@vwsrv2:/etc/apt/sources.list.d# pveversion -v
pve-manager: 3.0-23 (pve-manager/3.0/957f0862)
running kernel: 2.6.32-22-pve
proxmox-ve-2.6.32: 3.0-107
pve-kernel-2.6.32-17-pve: 2.6.32-83
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-93
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.0-20
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-13
ksm-control-daemon: 1.1-1
root@vwsrv2:/etc/apt/sources.list.d#
 
I did what You suggested. The result is: I now see Version 3.1 -21/93bf03d4
But all nodes have disappeared in the browser view. If I login to another server running Proxmox I can see them.
All conf's and vdisks are there.
root@vwsrv2:/etc/pve/qemu-server# ls 201.conf 203.conf 204.conf 205.conf 208.conf 212.conf
root@vwsrv2:/etc/pve/qemu-server#
root@vwsrv2:/var/lib/vz/images# ls 200 201 202 203 204 205 206 207 208 209 210 211 212
root@vwsrv2:/var/lib/vz/images#
I uncommented:
root@vwsrv2:/etc/apt/sources.list.d#
cat pve-enterprise.list deb
https://enterprise.proxmox.com/debian wheezy pve-enterprise
root@vwsrv2:/etc/apt/sources.list.d#
I still get the 401 error:
root@vwsrv2:/etc/apt/sources.list.d# apt-get update
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://ftp.de.debian.org wheezy Release
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://ftp.de.debian.org wheezy/main Translation-en
Get:3 http://security.debian.org wheezy/updates/main amd64 Packages [239 kB]
Get:4 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B]
Get:5 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:6 http://security.debian.org wheezy/updates/main Translation-en [136 kB]
Hit http://download.proxmox.com wheezy Release.gpg
Hit http://download.proxmox.com wheezy Release
Hit http://download.proxmox.com wheezy/pve amd64 Packages
Ign https://enterprise.proxmox.com wheezy Release.gpg
Ign http://download.proxmox.com wheezy/pve Translation-en_US
Ign http://download.proxmox.com wheezy/pve Translation-en
Ign https://enterprise.proxmox.com wheezy Release
Err https://enterprise.proxmox.com wheezy/pve-enterprise amd64 Packages
The requested URL returned error: 401
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en_US
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en Fetched 478 kB in 2s (191 kB/s) W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/Packages The requested URL returned error: 401 E: Some index files failed to download. They have been ignored, or old ones used instead.
[email]root@vwsrv2:/etc/apt/sources.list
[/EMAIL].d#
 
Last edited:
The fact, that the nodes are not displayed in the webinterface are browser related.
I use FirefoxESR 31.4.0.

Deperately I tried an old Opera Version 12.15 and it works in this environment.

So what is the reason? It works on Proxmox version 3.3-5 and 3.0-23 with the same Firefox browser but not with 3.1-21

In the Opera environment I can click updates and get what failed in the CLI enviromnent and the upgrade button.
In Opera I get POP-UP windows in Firefox not as they are disabled. This should be noted in the WIKI.
 
...
Err https://enterprise.proxmox.com wheezy/pve-enterprise amd64 Packages
The requested URL returned error: 401
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en_US
Ign https://enterprise.proxmox.com wheezy/pve-enterprise Translation-en Fetched 478 kB in 2s (191 kB/s) W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/Packages The requested URL returned error: 401 E: Some index files failed to download. They have been ignored, or old ones used instead.
[email]root@vwsrv2:/etc/apt/sources.list
[/EMAIL].d#
Hi,
this repro is the only one which uses https. Do you have any proxy-settings, which are not defined for https or which dont work with https?

Look if you can access the Website https://enterprise.proxmox.com with your credentials.

To see your credentials:
Code:
cat /etc/apt/auth.conf
If that work, you can try with wget like
Code:
wget  https://pve1c-aabbccddeef:AB1234567890ABCDEF0123456789ABCD@enterprise.proxmox.com/key.asc
Udo
 
Thank You for Your quick reply. Using Opera instead of Firefox I was able to trigger the update & upgrade from the webbrowser.
So everything worked. No idea what happened using Firefox. I have another node to be upgraded. I have 3 licences. I will make
detailed notes what I do and what happens. So there is hope to find the reasons.
Your advice was very helpfull. Proxmox is a good choice and support is excellent.
Dieter