[ovirt-users] Re: disk snapshot status is Illegal

2020-02-05 Thread Bernadette Pfau - NOAA Affiliate
What version of oVirt are you running?  We've had a variety of snapshot
issues (corrected in later releases) and snapshot problems similar to this
since (RHV) 4.2.x until some of the later minor releases of 4.3. Some of
the illegal states I overcame by powering the VM off and then attempting to
delete the snapshot.  Have you tried that?
-Bernadette

On Tue, Feb 4, 2020 at 8:09 AM Crazy Ayansh 
wrote:

> Hey Guys,
>
> Any help on it ?
>
> Thanks
>
> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
> wrote:
>
>>
>>   Hi Team,
>>
>> I am trying to delete a old snapshot of a virtual machine and getting
>> below error :-
>>
>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>> índ-co-ora-ee-02'
>>
>>
>>
>> [image: image.png]
>>
>> Thanks
>>
> ___
> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>


-- 
Bunny Pfau
Ace Info Solutions, Inc. (AceInfo) Supporting NOAA
ESRL / Global Systems Division / ITS
bernadette.p...@noaa.gov
(303) 497-4706  / DSRC 2B159
___
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/6PCMI5MUKMGXXQSKVDJP4DTYE33RXXJ5/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-05 Thread Benny Zlotnik
The vdsm logs are not the correct ones.
I assume this is the failure:
2020-02-04 22:04:53,631+05 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(EE-ManagedThreadFactory-commandCoordinator-Thread-9)
[1e9f5492-095c-48ed-9aa0-1a899eedeab7] Command 'MergeVDSCommand(HostName =
iondelsvr72.iontrading.com,
MergeVDSCommandParameters:{hostId='22502af7-f157-40dc-bd5c-6611951be729',
vmId='4957c5d4-ca5e-4db7-8c78-ae8f4b694646',
storagePoolId='c5e0f32e-0131-11ea-a48f-00163e0fe800',
storageDomainId='70edd0ef-e4ec-4bc5-af66-f7fb9c4eb419',
imageGroupId='737b5628-e9fe-42ec-9bce-38db80981107',
imageId='31c5e807-91f1-4f73-8a60-f97a83c6f471',
baseImageId='e4160ffe-2734-4305-8bf9-a7217f3049b6',
topImageId='31c5e807-91f1-4f73-8a60-f97a83c6f471', bandwidth='0'})'
execution failed: VDSGenericException: VDSErrorException: Failed to
MergeVDS, error = Drive image file could not be found, code = 13

please find the vdsm logs containing flow_id
1e9f5492-095c-48ed-9aa0-1a899eedeab7 and provide output for `vdsm-tool
dump-volume-chains 70edd0ef-e4ec-4bc5-af66-f7fb9c4eb419` so we can see the
status of the chain on vdsm
As well as `virsh -r dumpxml ind-co-ora-ee-02` (assuming ind-co-ora-ee-02
is the VM with the issue)

Changing the snapshot status with unlock_entity will likely work only if
the chain is fine on the storage



On Tue, Feb 4, 2020 at 7:40 PM Crazy Ayansh 
wrote:

> please find the attached the logs.
>
> On Tue, Feb 4, 2020 at 10:23 PM Benny Zlotnik  wrote:
>
>> back to my question then, can you check what made the snapshot illegal?
>> and attach the vdsm and engine logs from the occurrence so we can assess
>> the damage
>>
>> also run `dump-volume-chains ` where the image resides so we can
>> see what's the status of the image on vdsm
>>
>> On Tue, Feb 4, 2020 at 6:46 PM Crazy Ayansh 
>> wrote:
>>
>>> Hi,
>>>
>>> Yes VM is running but i scared if i shutdown the VM and it not came back.
>>> I have also upgraded engine from 4.3.6.6 to 4.3.8. but still the issue
>>> persists. I am also unable to take snapshot of the the same VM as the new
>>> snapshot failing. Please help.
>>>
>>> Thanks
>>> Shashank
>>>
>>>
>>>
>>> On Tue, Feb 4, 2020 at 8:54 PM Benny Zlotnik 
>>> wrote:
>>>
 Is the VM running? Can you remove it when the VM is down?
 Can you find the reason for illegal status in the logs?

 On Tue, Feb 4, 2020 at 5:06 PM Crazy Ayansh <
 shashank123rast...@gmail.com> wrote:

> Hey Guys,
>
> Any help on it ?
>
> Thanks
>
> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh <
> shashank123rast...@gmail.com> wrote:
>
>>
>>   Hi Team,
>>
>> I am trying to delete a old snapshot of a virtual machine and getting
>> below error :-
>>
>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>> índ-co-ora-ee-02'
>>
>>
>>
>> [image: image.png]
>>
>> Thanks
>>
> ___
> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>

___
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/YF3J3K66N5HORUYZP3HZEJWOU64IDNAS/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Crazy Ayansh
Hi, Do you think it will resolve the issue. I am scared if i shutdown the
VM and it dost't came up ?
ovirt engine :- 4.3.8

Any help please ?

On Tue, Feb 4, 2020 at 8:46 PM Bernadette Pfau - NOAA Affiliate <
bernadette.p...@noaa.gov> wrote:

> What version of oVirt are you running?  We've had a variety of snapshot
> issues (corrected in later releases) and snapshot problems similar to this
> since (RHV) 4.2.x until some of the later minor releases of 4.3. Some of
> the illegal states I overcame by powering the VM off and then attempting to
> delete the snapshot.  Have you tried that?
> -Bernadette
>
> On Tue, Feb 4, 2020 at 8:09 AM Crazy Ayansh 
> wrote:
>
>> Hey Guys,
>>
>> Any help on it ?
>>
>> Thanks
>>
>> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
>> wrote:
>>
>>>
>>>   Hi Team,
>>>
>>> I am trying to delete a old snapshot of a virtual machine and getting
>>> below error :-
>>>
>>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>>> índ-co-ora-ee-02'
>>>
>>>
>>>
>>> [image: image.png]
>>>
>>> Thanks
>>>
>> ___
>> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>>
>
>
> --
> Bunny Pfau
> Ace Info Solutions, Inc. (AceInfo) Supporting NOAA
> ESRL / Global Systems Division / ITS
> bernadette.p...@noaa.gov
> (303) 497-4706  / DSRC 2B159
>
___
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/UPTFJTGU3VV6TVWICICLK5G3RBTCLLOD/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Crazy Ayansh
Unfortunately it is on production. Can't we get any safe fix for it.


On Wed, Feb 5, 2020, 12:15 AM Strahil Nikolov  wrote:

> Last time I had such issue - I had to poke in the Postgres DB of the
> engine. I wouldn't recommend that for prod.
>
> Try to find any of the previous topics about illegal snapshot and try the
> steps yourself. I think that there is a script for that purpose :
> /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>
> For details, check HelperUtilities
> 
>
> HelperUtilities
>
> oVirt is a free open-source virtualization solution for your entire
> enterprise
>
> 
>
>
>
> Best Regards,
> Strahil Nikolov
>
> В вторник, 4 февруари 2020 г., 17:07:22 ч. Гринуич+2, Crazy Ayansh <
> shashank123rast...@gmail.com> написа:
>
>
> Hey Guys,
>
> Any help on it ?
>
> Thanks
>
> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
> wrote:
>
>
>   Hi Team,
>
> I am trying to delete a old snapshot of a virtual machine and getting
> below error :-
>
> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM índ-co-ora-ee-02'
>
>
>
> [image: image.png]
>
> Thanks
>
> ___
> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>
___
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/WQPNYJW3BNGZUPJAJFPA5E35NGPF6RGM/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Strahil Nikolov
 Last time I had such issue - I had to poke in the Postgres DB of the engine. I 
wouldn't recommend that for prod.
Try to find any of the previous topics about illegal snapshot and try the steps 
yourself. I think that there is a script for that purpose 
:/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh

For details, check HelperUtilities

| 
| 
|  | 
HelperUtilities

oVirt is a free open-source virtualization solution for your entire enterprise
 |

 |

 |




Best Regards,Strahil Nikolov
В вторник, 4 февруари 2020 г., 17:07:22 ч. Гринуич+2, Crazy Ayansh 
 написа:  
 
 Hey Guys,

Any help on it ?
Thanks
On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh  
wrote:


  Hi Team,
I am trying to delete a old snapshot of a virtual machine and getting below 
error :-
failed to delete snapshot 'snapshot-ind-co-ora-02' for VM índ-co-ora-ee-02'




Thanks
___
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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
  ___
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/UWU74ZLDMPYDFOUC34MKP4Z32EU4TEGE/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Benny Zlotnik
back to my question then, can you check what made the snapshot illegal? and
attach the vdsm and engine logs from the occurrence so we can assess the
damage

also run `dump-volume-chains ` where the image resides so we can see
what's the status of the image on vdsm

On Tue, Feb 4, 2020 at 6:46 PM Crazy Ayansh 
wrote:

> Hi,
>
> Yes VM is running but i scared if i shutdown the VM and it not came back.
> I have also upgraded engine from 4.3.6.6 to 4.3.8. but still the issue
> persists. I am also unable to take snapshot of the the same VM as the new
> snapshot failing. Please help.
>
> Thanks
> Shashank
>
>
>
> On Tue, Feb 4, 2020 at 8:54 PM Benny Zlotnik  wrote:
>
>> Is the VM running? Can you remove it when the VM is down?
>> Can you find the reason for illegal status in the logs?
>>
>> On Tue, Feb 4, 2020 at 5:06 PM Crazy Ayansh 
>> wrote:
>>
>>> Hey Guys,
>>>
>>> Any help on it ?
>>>
>>> Thanks
>>>
>>> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh <
>>> shashank123rast...@gmail.com> wrote:
>>>

   Hi Team,

 I am trying to delete a old snapshot of a virtual machine and getting
 below error :-

 failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
 índ-co-ora-ee-02'



 [image: image.png]

 Thanks

>>> ___
>>> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>>>
>>
___
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/34YWQHVGTXSZZR6DKGE477AS7GDRHJ2Y/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Crazy Ayansh
Hi,

Yes VM is running but i scared if i shutdown the VM and it not came back.
I have also upgraded engine from 4.3.6.6 to 4.3.8. but still the issue
persists. I am also unable to take snapshot of the the same VM as the new
snapshot failing. Please help.

Thanks
Shashank



On Tue, Feb 4, 2020 at 8:54 PM Benny Zlotnik  wrote:

> Is the VM running? Can you remove it when the VM is down?
> Can you find the reason for illegal status in the logs?
>
> On Tue, Feb 4, 2020 at 5:06 PM Crazy Ayansh 
> wrote:
>
>> Hey Guys,
>>
>> Any help on it ?
>>
>> Thanks
>>
>> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
>> wrote:
>>
>>>
>>>   Hi Team,
>>>
>>> I am trying to delete a old snapshot of a virtual machine and getting
>>> below error :-
>>>
>>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>>> índ-co-ora-ee-02'
>>>
>>>
>>>
>>> [image: image.png]
>>>
>>> Thanks
>>>
>> ___
>> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>>
>
___
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/Q2PJGKJP7RSP62K3QCPMMW65MABJGS3D/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Benny Zlotnik
Is the VM running? Can you remove it when the VM is down?
Can you find the reason for illegal status in the logs?

On Tue, Feb 4, 2020 at 5:06 PM Crazy Ayansh 
wrote:

> Hey Guys,
>
> Any help on it ?
>
> Thanks
>
> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
> wrote:
>
>>
>>   Hi Team,
>>
>> I am trying to delete a old snapshot of a virtual machine and getting
>> below error :-
>>
>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>> índ-co-ora-ee-02'
>>
>>
>>
>> [image: image.png]
>>
>> Thanks
>>
> ___
> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>
___
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/V4IWIYIHGD3FEQ52Z4P5KHDDA424MIWK/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Jayme
Hello,

I believe you should be able to fix this issue using the "unlock_entity.sh"
tool on the hosted engine VM in "/usr/share/ovirt-engine/setup/dbutils" --
unfortunately there is not much documentation on it but I IIRC I've used it
to fix this very issue in the past.  Someone else may be able to chime in
on its proper use.

On Tue, Feb 4, 2020 at 11:07 AM Crazy Ayansh 
wrote:

> Hey Guys,
>
> Any help on it ?
>
> Thanks
>
> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
> wrote:
>
>>
>>   Hi Team,
>>
>> I am trying to delete a old snapshot of a virtual machine and getting
>> below error :-
>>
>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>> índ-co-ora-ee-02'
>>
>>
>>
>> [image: image.png]
>>
>> Thanks
>>
> ___
> 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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/
>
___
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/4J3ZF3N52GHYP2QOW7IWA5LPNJMIXPMJ/


[ovirt-users] Re: disk snapshot status is Illegal

2020-02-04 Thread Crazy Ayansh
Hey Guys,

Any help on it ?

Thanks

On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh 
wrote:

>
>   Hi Team,
>
> I am trying to delete a old snapshot of a virtual machine and getting
> below error :-
>
> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM índ-co-ora-ee-02'
>
>
>
> [image: image.png]
>
> Thanks
>
___
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/C7OR4HQEKNJURWYCWURCOHAUUFCMYUW6/