Proxmox VE 4.0 released!

morph027

Active Member
Mar 22, 2013
426
52
28
Leipzig
morph027.gitlab.io
With OpenVZ, i was used to do batch of things on all containers with a thing like this:
Code:
vzctl exec $ID "apt-get update somepackage -y"
With LXC, it somehow does not pass the whole command inside.

Code:
pct exec 100 apt-get install mc -y
Unknown option: y
400 unable to parse option
pct exec <vmid> [<extra-args>]

pct exec 100 "apt-get install mc -y"
lxc-attach: attach.c: lxc_attach_run_command: 1195 No such file or directory - failed to exec 'apt-get install mc -y'
Any idea? ;)
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
13,688
435
83
With OpenVZ, i was used to do batch of things on all containers with a thing like this:
Code:
vzctl exec $ID "apt-get update somepackage -y"
With LXC, it somehow does not pass the whole command inside.

Code:
pct exec 100 apt-get install mc -y
Unknown option: y
400 unable to parse option
pct exec <vmid> [<extra-args>]

pct exec 100 "apt-get install mc -y"
lxc-attach: attach.c: lxc_attach_run_command: 1195 No such file or directory - failed to exec 'apt-get install mc -y'
Any idea? ;)
just run:

> pct exec 100 apt-get install mc
 

morph027

Active Member
Mar 22, 2013
426
52
28
Leipzig
morph027.gitlab.io
Yeah, sure, i do ;) But then i need to answer things. This is not cool when running something on 200+ containers. Ok, it doesnt matter that much as Puppet etc. take care of almost all things, but sometimes (when everybody needs a package the day before) this is kind of handy.
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,503
320
83
Austria
www.proxmox.com
Pleas use '--' to pass additional parameter, for example:

# pct exec 100 apt-get -- install mc -y
 

valshare

Member
Jun 2, 2009
252
2
18
Germany
upgraded from 3.x to 4.0, restored all Openvz to LXC. Configured VLAN and IPv6.
Works like a charm!

Thanx!
 
Last edited:

ScOut3R

Member
Oct 2, 2013
55
3
6
First of all thank you for the amazing work! This update is huge, but the ones before this are not a tiny bit inferior! :)

I would like to clarify my planned upgrade method from 3.4 to 4.0 with you, if you don't mind. I am running a 5 node cluster, running all KVM based VMs with Ceph backend. (Ceph is installed separately, outside of Proxmox.) My concern is that I have to stop all VMs and recreate the cluster during the upgrade. I don't have spare bare metal so I came up with the following idea. I migrate away all VMs from a node, upgrade it to 4.0, create a new cluster on it, then stop some VMs on the old cluster and restart them on the new node and start the process over until all of the nodes are upgraded. Of course on the second and so on upgraded nodes I don't create a new cluster but join the new one. What do you think, will it work?

Kinds regards,
Mate
 

spirit

Well-Known Member
Apr 2, 2010
3,522
156
63
www.odiso.com
First of all thank you for the amazing, ork! This update is huge, but the ones before this are not a tiny bit inferior! :)

I would like to clarify my planned upgrade method from 3.4 to 4.0 with you, if you don't mind. I am running a 5 node cluster, running all KVM based VMs with Ceph backend. (Ceph is installed separately, outside of Proxmox.) My concern is that I have to stop all VMs and recreate the cluster during the upgrade. I don't have spare bare metal so I came up with the following idea. I migrate away all VMs from a node, upgrade it to 4.0, create a new cluster on it, then stop some VMs on the old cluster and restart them on the new node and start the process over until all of the nodes are upgraded. Of course on the second and so on upgraded nodes I don't create a new cluster but join the new one. What do you think, will it work?

Kinds regards,
Mate
Hi,

I have done it online without vm interruption

The tricky part is to upgrade to jessie and proxmox 4 online , sxtich to cororync2 on all nodes at the same time

Then you ll be able to do live migration and reboot empty hosts

Im on holiday this week but i ll try to post an howto next week
 

ScOut3R

Member
Oct 2, 2013
55
3
6
Hi,

I have done it online without vm interruption

The tricky part is to upgrade to jessie and proxmox 4 online , sxtich to cororync2 on all nodes at the same time

Then you ll be able to do live migration and reboot empty hosts

Im on holiday this week but i ll try to post an howto next week
Thank you very much for making this reply on your holiday! I would be very interested in that howto if you would have time to make it sometime. Enjoy your holiday! :)
 

rezzo

New Member
Oct 9, 2015
2
0
1
Thanks and congrats for the 4.0 release. I'm a new user and I've enjoyed using it so far.

I just wanted to report a small omission in the wiki.
If you navigate to the "Update a running Proxmox Virtual Environment 4.x to latest 4.0" paragraph of the Downloads wiki page (sorry I'm not authorized to post links on the forum yet), a "deb" is missing:
Code:
deb <link> jessie main contrib

# security updates
[B][COLOR=#ff0000]deb [/COLOR][/B]<link> jessie/updates main contrib
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
13,688
435
83
Thanks and congrats for the 4.0 release. I'm a new user and I've enjoyed using it so far.

I just wanted to report a small omission in the wiki.
If you navigate to the "Update a running Proxmox Virtual Environment 4.x to latest 4.0" paragraph of the Downloads wiki page (sorry I'm not authorized to post links on the forum yet), a "deb" is missing:
Code:
deb <link> jessie main contrib

# security updates
[B][COLOR=#ff0000]deb [/COLOR][/B]<link> jessie/updates main contrib
thanks for reporting, already fixed.
 

informant

Member
Jan 31, 2012
674
6
18
Hi, we have following error on apt-get update:

Code:
W: Fehlschlag beim Holen von http://download.proxmox.com/debian/dists/jessie/Release  Erwarteter Eintrag »pve/binary-amd64/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei).
What can we do here? I mean, you have no pve entry in your source-list on http://download.proxmox.com/debian/dists/jessie/Release only pvetest and no-subscription...

sourcelist.conf:
Code:
deb http://ftp.de.debian.org/debian jessie main contrib non-free
deb-src http://ftp.de.debian.org/debian jessie main contrib non-free

deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian jessie pve

# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian jessie pve-no-subscription
Best regards
 
Last edited:

jphermans

New Member
Oct 4, 2015
13
0
1
Get following error when trying installing kernel.
Code:
E: Unable to locate package pve-kernel-4.2.2-1-pve
E: Couldn't find any package by regex 'pve-kernel-4.2.2-1-pve'
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!