[Users] after upgrade of vz7: Failed to get VM config: The virtual machine could not be found.

Arjit Chaudhary arjit.c at gmail.com
Wed Jun 5 18:42:52 MSK 2019


I have the same problem here, but in my case,
1. prlctl list -a has the VM listed in shutdown state while vzlist has it
in running state
2. I cannot boot, shutdown, migrate or do anything via prlctl

Everything was working fine in the previous release. Currently my vzmigrate
is broken too for some reason so I just wrote a bash script wrapper for
migrations,

#!/bin/bash
VMID=$1
NEW_HOST=$2
SSH_PORT=$3
vzctl stop $VMID --fast && rsync -a -e "ssh -p $SSH_PORT" /vz/private/$VMID
root@$NEW_HOST:/vz/private/ && rsync -a -e ssh /etc/vz/conf/$VMID.conf root@
$NEW_HOST:/etc/vz/conf/

Not the best looking script but it does the job for now :P

On Wed, Jun 5, 2019 at 8:48 PM <justin at albstmeijer.nl> wrote:

> Hi OpenVZ mailinglist,
>
> After the last upgrade batch (see below) and reboot to the latest
> kernel, prlctl seems to have lost access to my containers.
>
> Any suggestion?
>
> The legacy vzctl cli still works. (I can start and work with the
> containers)
>
> # vzlist -o ctid
> CTID
> 1ab0f712-3bc4-45d6-b215-49247fb93934
> 1b82e66d-5861-4b90-93d7-8364d57dd9d9
> a83748a6-3366-47b5-8f1a-44a4e5d38f33
>
> # prlctl list -a
> UUID                                    STATUS IP_ADDR         T  NAME
>
> # prlctl list 1ab0f712-3bc4-45d6-b215-49247fb93934
> UUID                                    STATUS IP_ADDR         T  NAME
> Failed to get VM config: The virtual machine could not be found. The
> virtual machine is not registered in the virtual machine directory on
> this server. Contact your Virtuozzo administrator for assistance.
>
> upgrade batch:
>
> May 28 14:24:49 Updated: libgcc-4.8.5-36.vl7.2.x86_64
> May 28 14:24:59 Updated: glibc-common-2.17-260.vl7.5.x86_64
> May 28 14:25:04 Updated: glibc-2.17-260.vl7.5.x86_64
> May 28 14:25:05 Updated: systemd-libs-219-63.vl7.7.x86_64
> May 28 14:25:06 Updated: libstdc++-4.8.5-36.vl7.2.x86_64
> May 28 14:25:08 Updated: libsss_certmap-1.16.2-13.vl7.8.x86_64
> May 28 14:25:10 Updated: libsss_idmap-1.16.2-13.vl7.8.x86_64
> May 28 14:25:11 Updated: 10:qemu-img-vz-2.12.0-18.6.3.vz7.21.6.x86_64
> May 28 14:25:12 Updated: ploop-lib-7.0.140.2-1.vz7.x86_64
> May 28 14:25:12 Updated: zstd-1.4.0-1.vl7.x86_64
> May 28 14:25:13 Updated: 3:vzlinux-release-7-1.vl7.81.x86_64
> May 28 14:25:18 Updated: systemd-219-63.vl7.7.x86_64
> May 28 14:25:19 Updated: 7:device-mapper-1.02.149-10.vl7.7.x86_64
> May 28 14:25:19 Updated: 7:device-mapper-libs-1.02.149-10.vl7.7.x86_64
> May 28 14:25:22 Updated: libvirt-libs-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:23 Updated:
> 7:device-mapper-event-libs-1.02.149-10.vl7.7.x86_64
> May 28 14:25:24 Updated: 7:device-mapper-event-1.02.149-10.vl7.7.x86_64
> May 28 14:25:25 Updated: 7:lvm2-libs-2.02.180-10.vl7.7.x86_64
> May 28 14:25:25 Updated: systemd-sysv-219-63.vl7.7.x86_64
> May 28 14:25:26 Updated: libvirt-daemon-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:27 Updated:
> libvirt-daemon-driver-network-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:27 Updated:
> libvirt-daemon-driver-nwfilter-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:28 Updated:
> libvirt-daemon-driver-nodedev-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:28 Updated:
> libvirt-daemon-driver-storage-core-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:29 Updated:
> libvirt-daemon-driver-storage-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:29 Updated:
> libvirt-daemon-driver-qemu-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:30 Updated:
> libvirt-daemon-driver-interface-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:31 Updated:
> libvirt-daemon-config-nwfilter-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:32 Updated:
> 10:qemu-kvm-common-vz-2.12.0-18.6.3.vz7.21.6.x86_64
> May 28 14:25:34 Updated: 10:qemu-kvm-vz-2.12.0-18.6.3.vz7.21.6.x86_64
> May 28 14:25:34 Updated: httpd-tools-2.4.6-89.vl7.x86_64
> May 28 14:25:35 Updated: libipa_hbac-1.16.2-13.vl7.8.x86_64
> May 28 14:25:36 Updated: kernel-tools-libs-3.10.0-957.12.2.vz7.86.2.x86_64
> May 28 14:25:37 Updated: libsss_sudo-1.16.2-13.vl7.8.x86_64
> May 28 14:25:37 Updated: libsss_autofs-1.16.2-13.vl7.8.x86_64
> May 28 14:25:38 Updated: libsss_nss_idmap-1.16.2-13.vl7.8.x86_64
> May 28 14:25:39 Updated: sssd-client-1.16.2-13.vl7.8.x86_64
> May 28 14:25:40 Updated: sssd-common-1.16.2-13.vl7.8.x86_64
> May 28 14:25:41 Updated: sssd-krb5-common-1.16.2-13.vl7.8.x86_64
> May 28 14:25:41 Updated: sssd-common-pac-1.16.2-13.vl7.8.x86_64
> May 28 14:25:42 Updated: sssd-ad-1.16.2-13.vl7.8.x86_64
> May 28 14:25:43 Updated: sssd-ipa-1.16.2-13.vl7.8.x86_64
> May 28 14:25:43 Updated: sssd-ldap-1.16.2-13.vl7.8.x86_64
> May 28 14:25:44 Updated: sssd-krb5-1.16.2-13.vl7.8.x86_64
> May 28 14:25:44 Updated: sssd-proxy-1.16.2-13.vl7.8.x86_64
> May 28 14:25:45 Updated: libgomp-4.8.5-36.vl7.2.x86_64
> May 28 14:25:47 Updated: cpp-4.8.5-36.vl7.2.x86_64
> May 28 14:25:47 Updated: selinux-policy-3.13.1-229.vl7.12.noarch
> May 28 14:25:48 Updated: libvirt-bash-completion-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:48 Updated: libvirt-client-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:49 Updated: libvirt-4.5.0-10.vz7.10.1.x86_64
> May 28 14:25:53 Updated: vzkernel-headers-3.10.0-957.12.2.vz7.86.2.x86_64
> May 28 14:25:55 Updated: glibc-headers-2.17-260.vl7.5.x86_64
> May 28 14:25:56 Updated: glibc-devel-2.17-260.vl7.5.x86_64
> May 28 14:25:56 Updated: python-sssdconfig-1.16.2-13.vl7.8.noarch
> May 28 14:25:56 Updated: sssd-1.16.2-13.vl7.8.x86_64
> May 28 14:25:59 Updated: gcc-4.8.5-36.vl7.2.x86_64
> May 28 14:26:01 Updated: prl-disp-service-7.0.942.2-1.vz7.x86_64
> May 28 14:26:20 Updated: selinux-policy-targeted-3.13.1-229.vl7.12.noarch
> May 28 14:26:22 Updated: kernel-tools-3.10.0-957.12.2.vz7.86.2.x86_64
> May 28 14:26:24 Updated: httpd-2.4.6-89.vl7.x86_64
> May 28 14:26:24 Updated: libvirt-daemon-kvm-4.5.0-10.vz7.10.1.x86_64
> May 28 14:26:24 Updated: libvirt-daemon-driver-vz-4.5.0-10.vz7.10.1.x86_64
> May 28 14:26:26 Updated: 7:lvm2-2.02.180-10.vl7.7.x86_64
> May 28 14:26:28 Updated: systemd-python-219-63.vl7.7.x86_64
> May 28 14:26:37 Updated: 2:microcode_ctl-2.1-47.2.vl7.x86_64
> May 28 14:26:49 Installed: vzkernel-3.10.0-957.12.2.vz7.86.2.x86_64
> May 28 14:26:49 Updated: ploop-7.0.140.2-1.vz7.x86_64
> May 28 14:26:50 Updated: python-ploop-7.0.140.2-1.vz7.x86_64
> May 28 14:26:50 Updated: prlctl-7.0.173.2-1.vz7.x86_64
> May 28 14:26:51 Updated: prl-disp-legacy-7.0.942.2-1.vz7.x86_64
> May 28 14:26:51 Updated: libgudev1-219-63.vl7.7.x86_64
> May 28 14:26:52 Updated: pango-1.42.4-2.vl7.x86_64
> May 28 14:26:53 Updated: virt-what-1.18-5.vl7.x86_64
> May 28 14:26:53 Updated: wget-1.14-18.vl7.1.x86_64
> May 28 14:26:54 Updated: python2-psutil-2.2.1-6.vl7.x86_64
> May 28 14:26:56 Updated: python-perf-3.10.0-957.12.2.vz7.86.2.x86_64
> May 28 14:26:58 Updated: ghostscript-9.07-31.vl7.11.x86_64
> May 28 14:26:58 Updated: libzstd-1.4.0-1.vl7.x86_64
> May 28 14:26:59 Updated: 10:qemu-kvm-tools-vz-2.12.0-18.6.3.vz7.21.6.x86_64
> May 28 14:27:01 Updated: python-urllib3-1.19.1-3.vl7.noarch
> May 28 14:27:02 Updated: prl-disp-service-tests-7.0.942.2-1.vz7.x86_64
> May 28 14:27:03 Updated: glibc-2.17-260.vl7.5.i686
> May 28 14:27:04 Updated: libgcc-4.8.5-36.vl7.2.i686
> May 28 14:27:04 Updated: libstdc++-4.8.5-36.vl7.2.i68634321706
>
> Gr, J
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


-- 
Thanks,
Arjit Chaudhary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190605/e3f3204d/attachment-0001.html>


More information about the Users mailing list