I have a 4.2.7 setup hyperconverged, two deployed VM Engine images and i have 20-30 second network outage. After some pinging to start engine on host 1, then 2, then again 1 Engine image stuck at
"Probing EDD (edd=off to disable)... _"

as here: https://bugzilla.redhat.com/show_bug.cgi?id=1569827

I stop ha-agent, ha-broker on two hosts (to not trying to start Engine VM), Stop VM via
vdsm-client VM destroy vmID="4f169ca9-1854-4e3f-ad57-24445ec08c79"
on both hosts, but i have a lock (lease file) anyway
....
Oh, lease are disappeared while i wrote he message.... now xfs_repair output:

ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed.

guestmount :
ommandrvf: udevadm --debug settle -E /dev/sda3
calling: settle
......
command: mount '-o' 'ro' '/dev/sda3' '/sysroot//'
[    1.478858] SGI XFS with ACLs, security attributes, no debug enabled
[    1.481701] XFS (sda3): Mounting V5 Filesystem
[    1.514183] XFS (sda3): Starting recovery (logdev: internal)
[ 1.537299] XFS (sda3): Internal error XFS_WANT_CORRUPTED_GOTO at line 1664 of file fs/xfs/libxfs/xfs_alloc.c. Caller xfs_free_extent+0xaa/0x140 [xfs]

and "Structure needs cleaning"  .....

before it:

[root@ovirtnode6 aa6f3e9b-2eba-4fab-a8ee-a4a1aceddf5e]# ls -l
итого 7480047
-rw-rw----. 1 vdsm kvm 83751862272 дек 21 13:05 38ef3aac-6ecc-4940-9d2c-ffe4e2557482 -rw-rw----. 1 vdsm kvm 1048576 дек 21 13:27 38ef3aac-6ecc-4940-9d2c-ffe4e2557482.lease -rw-r--r--. 1 vdsm kvm 338 ноя 2 14:01 38ef3aac-6ecc-4940-9d2c-ffe4e2557482.meta

If i try to use guestfs
LIBGUESTFS_BACKEND=direct guestfish --rw -a 38ef3aac-6ecc-4940-9d2c-ffe4e2557482
and 'run'

It result to
<fs> run
.....
qemu-kvm: -device scsi-hd,drive=hd0: Failed to get "write" lock
Is another process using the image?

in vdsm-client Host getVMList I do not see engine VM (get id from vdsm-client Host getAllVmStats), because it stopeed?

And i want to remove lease by vdsm-client, i need an json file with UUIDs like
usage: vdsm-client Lease info [-h] [arg=value [arg=value ...]]
positional arguments:
  arg=value   lease: The lease to query
              JSON representation:
              {
                  "lease": {
                      "sd_id": "UUID",
                      "lease_id": "UUID"
                  }
              }

in all docs I not find any explains about sd_id and lease_id - where i can get it?
see, for example:
https://www.ovirt.org/develop/developer-guide/vdsm/vdsm-client.html


without it I get:
[root@ovirtnode6 aa6f3e9b-2eba-4fab-a8ee-a4a1aceddf5e]# vdsm-client Lease info lease=38ef3aac-6ecc-4940-9d2c-ffe4e2557482 vdsm-client: Command Lease.info with args {'lease': '38ef3aac-6ecc-4940-9d2c-ffe4e2557482'} failed:
(code=100, message='unicode' object has no attribute 'get')

[root@ovirtnode6 ~]# vdsm-client Lease status lease=38ef3aac-6ecc-4940-9d2c-ffe4e2557482 vdsm-client: Command Lease.status with args {'lease': '38ef3aac-6ecc-4940-9d2c-ffe4e2557482'} failed:
(code=100, message=)

Please, help me to fix that Engine VM image.


--
Mike
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YFXBYAL6SM45GGX7FWGYMS3APK6QXIDB/

Reply via email to