Proxmox VE 4.0 released!

Discussion in 'Proxmox VE: Installation and configuration' started by martin, Oct 6, 2015.

  1. churnd

    churnd Member
    Proxmox Subscriber

    Joined:
    Aug 11, 2013
    Messages:
    42
    Likes Received:
    1
    I see the instructions for upgrading from 3.x to 4.0. What about from 4.0 Beta2 to 4.0 stable? Just change the repos from pvetest to stable?
     
  2. vkhera

    vkhera Member
    Proxmox Subscriber

    Joined:
    Feb 24, 2015
    Messages:
    192
    Likes Received:
    11
    This seems to happen automatically. The apt sources are correct after the upgrade.
     
  3. churnd

    churnd Member
    Proxmox Subscriber

    Joined:
    Aug 11, 2013
    Messages:
    42
    Likes Received:
    1
    Ah yeah, saw that on my test box. Cool.
     
  4. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,445
    Likes Received:
    304
    I suggest to use KVM if you really care about isolation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. morph027

    morph027 Active Member

    Joined:
    Mar 22, 2013
    Messages:
    409
    Likes Received:
    49
    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? ;)
     
  6. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,460
    Likes Received:
    395
    just run:

    > pct exec 100 apt-get install mc
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. morph027

    morph027 Active Member

    Joined:
    Mar 22, 2013
    Messages:
    409
    Likes Received:
    49
    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.
     
  8. sigxcpu

    sigxcpu Member

    Joined:
    May 4, 2012
    Messages:
    433
    Likes Received:
    9
    The suggestion was to not use quotes, not remove the arguments.
     
  9. morph027

    morph027 Active Member

    Joined:
    Mar 22, 2013
    Messages:
    409
    Likes Received:
    49
    Jip, please have a look, this was my first try ;)

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

    sigxcpu Member

    Joined:
    May 4, 2012
    Messages:
    433
    Likes Received:
    9
    Heheee :)

    pct exec 100 apt-get install mc -- -y
     
  11. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,445
    Likes Received:
    304
    Pleas use '--' to pass additional parameter, for example:

    # pct exec 100 apt-get -- install mc -y
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. morph027

    morph027 Active Member

    Joined:
    Mar 22, 2013
    Messages:
    409
    Likes Received:
    49
    Nice, works like charm. Would have been the next thing to play around with...but this way it's documented for other people having similiar problems as well.

    Thank you!
     
  13. valshare

    valshare Member

    Joined:
    Jun 2, 2009
    Messages:
    248
    Likes Received:
    2
    upgraded from 3.x to 4.0, restored all Openvz to LXC. Configured VLAN and IPv6.
    Works like a charm!

    Thanx!
     
    #33 valshare, Oct 7, 2015
    Last edited: Oct 8, 2015
  14. ScOut3R

    ScOut3R Member

    Joined:
    Oct 2, 2013
    Messages:
    55
    Likes Received:
    3
    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
     
  15. spirit

    spirit Well-Known Member

    Joined:
    Apr 2, 2010
    Messages:
    3,312
    Likes Received:
    131
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. ScOut3R

    ScOut3R Member

    Joined:
    Oct 2, 2013
    Messages:
    55
    Likes Received:
    3
    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! :)
     
  17. rezzo

    rezzo New Member

    Joined:
    Oct 9, 2015
    Messages:
    2
    Likes Received:
    0
    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
    
     
  18. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,460
    Likes Received:
    395
    thanks for reporting, already fixed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. informant

    informant Member

    Joined:
    Jan 31, 2012
    Messages:
    673
    Likes Received:
    6
    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
     
    #39 informant, Oct 9, 2015
    Last edited: Oct 9, 2015
  20. jphermans

    jphermans New Member

    Joined:
    Oct 4, 2015
    Messages:
    13
    Likes Received:
    0
    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'
     
    #40 jphermans, Oct 9, 2015
    Last edited: Oct 9, 2015
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice