restart pve-manager - restart containers

Discussion in 'Proxmox VE: Installation and configuration' started by Alibek, Dec 19, 2017.

Tags:
  1. Alibek

    Alibek Member

    Joined:
    Jan 13, 2017
    Messages:
    66
    Likes Received:
    5
    #1 Alibek, Dec 19, 2017
    Last edited: Dec 19, 2017
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    3,637
    Likes Received:
    331
    pve-manager is not a 'real' service but a systemd-target which is used to start and stop the guests, so restarting it will restart the guests

    what are you trying to achieve? the api daemons are 'pveproxy' and 'pvedaemon'
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Alibek

    Alibek Member

    Joined:
    Jan 13, 2017
    Messages:
    66
    Likes Received:
    5
    I want to update all servers, when I try update I see next list for update:
    Code:
    The following NEW packages will be installed:
      pve-kernel-4.4.95-1-pve
    The following packages will be upgraded:
      base-files bind9-host debconf debconf-i18n dns-root-data dnsmasq dnsmasq-base dnsutils git git-man gnupg gpgv host krb5-locales libbind9-90 libcups2 libcurl3-gnutls libdb5.3 libdbi1 libdns-export100 libdns100 libgdk-pixbuf2.0-0
      libgdk-pixbuf2.0-common libgnutls-deb0-28 libgnutls-openssl27 libgnutlsxx28 libgssapi-krb5-2 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libicu52 libio-socket-ssl-perl libirs-export91 libisc-export95 libisc95 libisccc90
      libisccfg-export90 libisccfg90 libk5crypto3 libkrb5-3 libkrb5support0 liblwres90 libncurses5 libncursesw5 libnss3 libpam-modules libpam-modules-bin libpam0g libpve-common-perl libssl1.0.0 libtinfo5 libx11-6 libx11-data
      libx11-xcb1 libxcursor1 libxfixes3 libxi6 libxml-libxml-perl libxml2 libxrandr2 libxtst6 linux-image-3.16.0-4-amd64 linux-libc-dev linux-tools-4.4 ncurses-base ncurses-bin ncurses-term openssh-client openssh-server
      openssh-sftp-server openssl perl perl-base perl-modules procmail proxmox-ve pve-cluster pve-container pve-manager pve-qemu-kvm qemu-server rsync ssh sudo tcpdump tzdata w3m wget
    88 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 136 MB of archives.
    After this operation, 4 606 kB of additional disk space will be used.
    Do you want to continue? [Y/n] q^C
    
    Before continue I check on other server different situations, and I found this behavior - when restart pve-manager, restart containers.
    I would prefer that the update does not automatically reload the working containers.
     
    #3 Alibek, Dec 19, 2017
    Last edited: Dec 19, 2017
  4. Jarek

    Jarek Member

    Joined:
    Dec 16, 2016
    Messages:
    61
    Likes Received:
    8
    To update pve-kernel you need to restart a node.
     
  5. fabian

    fabian Proxmox Staff Member
    Staff Member

    Joined:
    Jan 7, 2016
    Messages:
    3,299
    Likes Received:
    508
    the update does not restart containers, since pve-manager (the systemd service) is not restarted on upgrades, only pvedaemon and pveproxy (the two services providing the API) are. exactly because of this confusion, pve-manager (again, the service ;)) was renamed to pve-guests (pve-manager is still an alias for now, but might be removed in 6.x)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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