On čtvrtek 17. září 2020 14:30:12 CEST Facundo Garat wrote:
Hi Vojtech,
find the log attached.
thanks. It fails as one of the image volumes
(6058a880-9ee6-4c57-9db0-5946c6dab676) is now available/present on the
storage. You can check manually if there's such LV, but it's not very likely.
Didn't you by accident remove the volume?
On Thu, Sep 17, 2020 at 4:27 AM Vojtech Juranek
<vjuranek(a)redhat.com> wrote:
> Hi,
> could you please send us also relevant part of vdsm log (/var/log/vdsm/
> vdsm.log)?
> Thanks
> Vojta
>
> > The VM has one snapshot which I can't delete because it shows a similar
> > error. That doesn't allow me to attach the disks to another VM. This VM
> > will boot ok if the disks are deactivated.
> >
> > Find the engine.log attached.
> >
> > The steps associated with the engine log:
> > - The VM is on booted from CD with all disks deactivated
> > - Try to attach all three disks (fail!)
> > - Power off the VM
> > - Activate all three disks
> > - Try to delete the snapshot.
> >
> > Thanks.
> >
> > On Wed, Sep 16, 2020 at 9:35 AM Ahmad Khiet <akhiet(a)redhat.com> wrote:
> > > Hi,
> > >
> > > can you please attach the engine log? what steps did you make before
> > > this error is shown? did you tried to create a snapshot and failed
>
> before
>
> > > On Wed, Sep 16, 2020 at 7:49 AM Strahil Nikolov via Users
> > > <users(a)ovirt.org>
> > >
> > > wrote:
> > >> What happens if you create another VM and attach the disks to it ?
> > >> Does it boot properly ?
> > >>
> > >> Best Regards,
> > >> Strahil Nikolov
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> В сряда, 16 септември 2020 г., 02:19:26 Гринуич+3, Facundo Garat <
> > >> fgarat(a)gmail.com> написа:
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> Hi all,
> > >>
> > >> I'm having some issues with one VM. The VM won't start and
it's
>
> showing
>
> > >> problems with the virtual disks so I started the VM without any disks
>
> and
>
> > >> trying to hot adding the disk and that's fail too.
> > >>
> > >> The servers are connected thru FC, all the other VMs are working
>
> fine.
>
> > >> Any ideas?.
> > >>
> > >> Thanks!!
> > >>
> > >> PS: The engine.log is showing this:
> > >> 2020-09-15 20:10:37,926-03 INFO
> > >>
> > >> [org.ovirt.engine.core.bll.storage.disk.HotPlugDiskToVmCommand]
>
> (default
>
> > >> task-168) [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Lock Acquired to
>
> object
>
>
'EngineLock:{exclusiveLocks='[f5bd2e15-a1ab-4724-883a-988b4dc7985b=DISK]'
>
> > >> ,
> > >> sharedLocks='[71db02c2-df29-4552-8a7e-cb8bb429a2ac=VM]'}'
> > >> 2020-09-15 20:10:38,082-03 INFO
> > >>
> > >> [org.ovirt.engine.core.bll.storage.disk.HotPlugDiskToVmCommand]
> > >>
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Running command:
> > >> HotPlugDiskToVmCommand internal: false. Entities affected : ID:
> > >> 71db02c2-df29-4552-8a7e-cb8bb429a2ac Type: VMAction group
> > >> CONFIGURE_VM_STORAGE with role type USER
> > >> 2020-09-15 20:10:38,117-03 INFO
> > >>
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >>
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] START,
> > >> HotPlugDiskVDSCommand(HostName = nodo2,
>
> HotPlugDiskVDSParameters:{hostId='1c24c269-76c3-468d-a7ce-d0332beb7aef',
>
> > >> vmId='71db02c2-df29-4552-8a7e-cb8bb429a2ac',
> > >> diskId='f5bd2e15-a1ab-4724-883a-988b4dc7985b',
addressMap='null'}),
>
> log
>
> > >> id:
> > >> f57ee9e
> > >> 2020-09-15 20:10:38,125-03 INFO
> > >>
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >>
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Disk hot-plug: <?xml
>
> version="1.0"
>
> > >> encoding="UTF-8"?><hotplug>
> > >>
> > >> <devices>
> > >>
> > >> <disk snapshot="no" type="block"
device="disk">
> > >>
> > >> <target dev="vda" bus="virtio"/>
> > >> <source
>
> dev="/rhev/data-center/mnt/blockSD/55327311-e47c-46b5-b168-258c5924757b/i
>
> mages/f5bd2e15-a1ab-4724-883a-988b4dc7985b/bd714f21-8eed-43ee-a2d4-3d2ef1
>
> > >> ee4c3f">>>
> > >>
> > >> <seclabel model="dac" type="none"
relabel="no"/>
> > >>
> > >> </source>
> > >> <driver name="qemu" io="native"
type="qcow2"
> > >> error_policy="stop"
> > >>
> > >> cache="none"/>
> > >>
> > >> <alias
name="ua-f5bd2e15-a1ab-4724-883a-988b4dc7985b"/>
> > >>
<serial>f5bd2e15-a1ab-4724-883a-988b4dc7985b</serial>
> > >>
> > >> </disk>
> > >>
> > >> </devices>
> > >> <metadata
xmlns:ovirt-vm="http://ovirt.org/vm/1.0">
> > >>
> > >> <ovirt-vm:vm>
> > >>
> > >> <ovirt-vm:device devtype="disk"
name="vda">
>
> <ovirt-vm:poolID>00000001-0001-0001-0001-000000000311</ovirt-vm:poolID>
>
>
> <ovirt-vm:volumeID>bd714f21-8eed-43ee-a2d4-3d2ef1ee4c3f</ovirt-vm:volumeI
>
> > >> D>
>
>
<ovirt-vm:imageID>f5bd2e15-a1ab-4724-883a-988b4dc7985b</ovirt-vm:imageID>
>
>
> <ovirt-vm:domainID>55327311-e47c-46b5-b168-258c5924757b</ovirt-vm:domainI
>
> > >> D>
> > >>
> > >> </ovirt-vm:device>
> > >>
> > >> </ovirt-vm:vm>
> > >>
> > >> </metadata>
> > >>
> > >> </hotplug>
> > >>
> > >> 2020-09-15 20:10:38,289-03 ERROR
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Failed in
'HotPlugDiskVDS'
>
> method
>
> > >> 2020-09-15 20:10:38,295-03 ERROR
> > >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector
> > >> ]
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] EVENT_ID:
> > >> VDS_BROKER_COMMAND_FAILURE(10,802), VDSM nodo2 command HotPlugDiskVDS
>
> > >> failed: General Exception: ("Bad volume specification
{'device':
> 'disk',
>
> > >> 'type': 'disk', 'diskType': 'block',
'specParams': {}, 'alias':
> > >> 'ua-f5bd2e15-a1ab-4724-883a-988b4dc7985b',
'domainID':
> > >> '55327311-e47c-46b5-b168-258c5924757b', 'imageID':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'poolID':
> > >> '00000001-0001-0001-0001-000000000311', 'volumeID':
>
> > >> 'bd714f21-8eed-43ee-a2d4-3d2ef1ee4c3f', 'path':
> '/rhev/data-center/mnt/blockSD/55327311-e47c-46b5-b168-258c5924757b/image
>
> s/f5bd2e15-a1ab-4724-883a-988b4dc7985b/bd714f21-8eed-43ee-a2d4-3d2ef1ee4c
>
> > >> 3f', 'discard': False, 'format': 'cow',
'propagateErrors': 'off',
> > >> 'cache': 'none', 'iface': 'virtio',
'name': 'vda', 'serial':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'index':
0}",)
> > >> 2020-09-15 20:10:38,295-03 INFO
> > >>
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >>
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Command
> > >>
'org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand'
>
> return
>
> > >> value 'StatusOnlyReturn [status=Status [code=100, message=General
>
> > >> Exception: ("Bad volume specification {'device':
'disk', 'type':
> 'disk',
>
> > >> 'diskType': 'block', 'specParams': {},
'alias':
> > >> 'ua-f5bd2e15-a1ab-4724-883a-988b4dc7985b',
'domainID':
> > >> '55327311-e47c-46b5-b168-258c5924757b', 'imageID':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'poolID':
> > >> '00000001-0001-0001-0001-000000000311', 'volumeID':
>
> > >> 'bd714f21-8eed-43ee-a2d4-3d2ef1ee4c3f', 'path':
> '/rhev/data-center/mnt/blockSD/55327311-e47c-46b5-b168-258c5924757b/image
>
> s/f5bd2e15-a1ab-4724-883a-988b4dc7985b/bd714f21-8eed-43ee-a2d4-3d2ef1ee4c
>
> > >> 3f', 'discard': False, 'format': 'cow',
'propagateErrors': 'off',
> > >> 'cache': 'none', 'iface': 'virtio',
'name': 'vda', 'serial':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'index':
0}",)]]'
> > >> 2020-09-15 20:10:38,295-03 INFO
> > >>
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >>
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] HostName = nodo2
> > >> 2020-09-15 20:10:38,295-03 ERROR
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Command
> > >> 'HotPlugDiskVDSCommand(HostName = nodo2,
>
> HotPlugDiskVDSParameters:{hostId='1c24c269-76c3-468d-a7ce-d0332beb7aef',
>
> > >> vmId='71db02c2-df29-4552-8a7e-cb8bb429a2ac',
> > >> diskId='f5bd2e15-a1ab-4724-883a-988b4dc7985b',
addressMap='null'})'
> > >> execution failed: VDSGenericException: VDSErrorException: Failed to
> > >> HotPlugDiskVDS, error = General Exception: ("Bad volume
specification
>
> > >> {'device': 'disk', 'type': 'disk',
'diskType': 'block', 'specParams':
> {},
>
> > >> 'alias': 'ua-f5bd2e15-a1ab-4724-883a-988b4dc7985b',
'domainID':
> > >> '55327311-e47c-46b5-b168-258c5924757b', 'imageID':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'poolID':
> > >> '00000001-0001-0001-0001-000000000311', 'volumeID':
>
> > >> 'bd714f21-8eed-43ee-a2d4-3d2ef1ee4c3f', 'path':
> '/rhev/data-center/mnt/blockSD/55327311-e47c-46b5-b168-258c5924757b/image
>
> s/f5bd2e15-a1ab-4724-883a-988b4dc7985b/bd714f21-8eed-43ee-a2d4-3d2ef1ee4c
>
> > >> 3f', 'discard': False, 'format': 'cow',
'propagateErrors': 'off',
> > >> 'cache': 'none', 'iface': 'virtio',
'name': 'vda', 'serial':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'index':
0}",), code = 100
> > >> 2020-09-15 20:10:38,296-03 INFO
> > >>
> > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand]
> > >>
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] FINISH, HotPlugDiskVDSCommand,
> > >> return: , log id: f57ee9e
> > >> 2020-09-15 20:10:38,296-03 ERROR
> > >> [org.ovirt.engine.core.bll.storage.disk.HotPlugDiskToVmCommand]
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] Command
> > >>
'org.ovirt.engine.core.bll.storage.disk.HotPlugDiskToVmCommand'
>
> failed:
> > >> EngineException:
> > >> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> > >> VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS,
>
> error =
>
> > >> General Exception: ("Bad volume specification {'device':
'disk',
>
> 'type':
> > >> 'disk', 'diskType': 'block',
'specParams': {}, 'alias':
> > >> 'ua-f5bd2e15-a1ab-4724-883a-988b4dc7985b',
'domainID':
> > >> '55327311-e47c-46b5-b168-258c5924757b', 'imageID':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'poolID':
> > >> '00000001-0001-0001-0001-000000000311', 'volumeID':
>
> > >> 'bd714f21-8eed-43ee-a2d4-3d2ef1ee4c3f', 'path':
> '/rhev/data-center/mnt/blockSD/55327311-e47c-46b5-b168-258c5924757b/image
>
> s/f5bd2e15-a1ab-4724-883a-988b4dc7985b/bd714f21-8eed-43ee-a2d4-3d2ef1ee4c
>
> > >> 3f', 'discard': False, 'format': 'cow',
'propagateErrors': 'off',
> > >> 'cache': 'none', 'iface': 'virtio',
'name': 'vda', 'serial':
> > >> 'f5bd2e15-a1ab-4724-883a-988b4dc7985b', 'index':
0}",), code = 100
> > >> (Failed
> > >> with error GeneralException and code 100)
> > >> 2020-09-15 20:10:38,307-03 ERROR
> > >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector
> > >> ]
> > >> (EE-ManagedThreadFactory-engine-Thread-36528)
> > >> [dd72c8e8-cdbe-470f-8e32-b3d14b96f37a] EVENT_ID:
> > >> USER_FAILED_HOTPLUG_DISK(2,001), Failed to plug disk owncloud_Disk0
>
> to VM
>
> > >> owncloud (User: admin@internal-authz).
> > >> _______________________________________________
> > >> Users mailing list -- users(a)ovirt.org
> > >> To unsubscribe send an email to users-leave(a)ovirt.org
> > >> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> > >> oVirt Code of Conduct:
> > >>
https://www.ovirt.org/community/about/community-guidelines/
>
> > >> List Archives:
>
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TA26UYTTRJB
>
> > >> MOKAL4KJKMTIQ6M6VB4RK/
> > >> _______________________________________________
> > >> Users mailing list -- users(a)ovirt.org
> > >> To unsubscribe send an email to users-leave(a)ovirt.org
> > >> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> > >> oVirt Code of Conduct:
> > >>
https://www.ovirt.org/community/about/community-guidelines/
>
> > >> List Archives:
>
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UQKTWNSNQAJ
>
> > >> 6UXPYHRZPR4IEFYNVQV7K/>
> > >
> > > --
> > >
> > > Ahmad Khiet
> > >
> > > Red Hat <
https://www.redhat.com/>
> > >
> > > akhiet(a)redhat.com
> > > M: +972-54-6225629
> > > <
https://red.ht/sig>