* FSFreeze on Windows VM
@ 2022-03-29 14:26 Shelly Kagan
2022-04-06 11:29 ` Konstantin Kostiuk
0 siblings, 1 reply; 6+ messages in thread
From: Shelly Kagan @ 2022-03-29 14:26 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
Hi all,
I'm having some weird behavior with fsfreeze in windows VM.
I run the fsfreeze and it returns:
`error: Guest agent is not responding: Guest agent not available for now`
but checking the status returned frozen, rerunning it again returns that
the command is not enabled (expected since the freeze occurs)
I checked the fsstatus and it keeps returning `frozen` even after 10
seconds (from my understanding the freeze in windows vm is limited to 10
seconds by default by the VSS. No way to change this default from my
understanding, is it true?) Shouldn't the status return thawed if the VSS
no longer keeps the freeze state?
After a minute I did the thaw and it returned error:
`error: internal error: unable to execute QEMU agent command
'guest-fsfreeze-thaw': couldn't hold writes: fsfreeze is limited up to 10
seconds:`
but the fsstatus changed to thawed after that call.
My questions are:
1. Why would the fsfreeze return error about the guest agent but still
freeze the fs?
2. Why would the guest agent not respond, is there a way to make sure it is
available before the freeze command? (running the fsstatus command before
it returned without issues..)
3. Is it expected that the fsstatus will return frozen even if possibly VSS
has already thawed? and that the thaw fails but the status do change after
to thawed?
Thanks for taking the time to respond and help,
--
Shelly Kagan
Senior Software Engineer
Red Hat <https://www.redhat.com>
<https://www.redhat.com>
[-- Attachment #2: Type: text/html, Size: 2943 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FSFreeze on Windows VM
2022-03-29 14:26 FSFreeze on Windows VM Shelly Kagan
@ 2022-04-06 11:29 ` Konstantin Kostiuk
2022-04-13 7:03 ` Shelly Kagan
0 siblings, 1 reply; 6+ messages in thread
From: Konstantin Kostiuk @ 2022-04-06 11:29 UTC (permalink / raw)
To: Shelly Kagan; +Cc: Yan Vugenfirer, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1857 bytes --]
Hi Shelly,
Can you provide your version of Guest Agent? Is it built from upstream or
some VirtIO-Win release?
Previously we had some issues related to wrong error messages from Guest
Agent.
Best Regards,
Konstantin Kostiuk.
On Tue, Mar 29, 2022 at 6:24 PM Shelly Kagan <skagan@redhat.com> wrote:
> Hi all,
> I'm having some weird behavior with fsfreeze in windows VM.
> I run the fsfreeze and it returns:
> `error: Guest agent is not responding: Guest agent not available for now`
>
> but checking the status returned frozen, rerunning it again returns that
> the command is not enabled (expected since the freeze occurs)
>
> I checked the fsstatus and it keeps returning `frozen` even after 10
> seconds (from my understanding the freeze in windows vm is limited to 10
> seconds by default by the VSS. No way to change this default from my
> understanding, is it true?) Shouldn't the status return thawed if the VSS
> no longer keeps the freeze state?
>
> After a minute I did the thaw and it returned error:
> `error: internal error: unable to execute QEMU agent command
> 'guest-fsfreeze-thaw': couldn't hold writes: fsfreeze is limited up to 10
> seconds:`
>
> but the fsstatus changed to thawed after that call.
>
> My questions are:
> 1. Why would the fsfreeze return error about the guest agent but still
> freeze the fs?
> 2. Why would the guest agent not respond, is there a way to make sure it
> is available before the freeze command? (running the fsstatus command
> before it returned without issues..)
> 3. Is it expected that the fsstatus will return frozen even if possibly
> VSS has already thawed? and that the thaw fails but the status do change
> after to thawed?
>
> Thanks for taking the time to respond and help,
> --
>
> Shelly Kagan
>
> Senior Software Engineer
>
> Red Hat <https://www.redhat.com>
> <https://www.redhat.com>
>
[-- Attachment #2: Type: text/html, Size: 3703 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FSFreeze on Windows VM
2022-04-06 11:29 ` Konstantin Kostiuk
@ 2022-04-13 7:03 ` Shelly Kagan
2022-04-13 13:51 ` Konstantin Kostiuk
0 siblings, 1 reply; 6+ messages in thread
From: Shelly Kagan @ 2022-04-13 7:03 UTC (permalink / raw)
To: Konstantin Kostiuk; +Cc: Yan Vugenfirer, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 3032 bytes --]
Hi Konstantin,
The Guest Agent version
"guestAgentVersion": "100.0.0",
I'm running with a 2019 windows image which I understand the GA is part of
the virtio drivers.
Don't know if the following info also helps but:
"hostname": "WIN-CUCKQ65DH6K",
"os": {
"name": "Microsoft Windows",
"kernelRelease": "17763",
"version": "Microsoft Windows Server 2019",
"prettyName": "Windows Server 2019 Standard",
"versionId": "2019",
"kernelVersion": "10.0",
"machine": "x86_64",
"id": "mswindows"
},
I think what is more important to me is the GA being not responsive for the
freeze call. I'm using the fsfreeze in a feature I'm implementing, and
since in windows there is a 10sec timeout because of the VSS the fact that
the freeze call returns error that the GA is not available plus that when
its not available it takes much longer for the freeze call to return is
really time sensitive.
Thanks
On Wed, Apr 6, 2022 at 2:29 PM Konstantin Kostiuk <kkostiuk@redhat.com>
wrote:
> Hi Shelly,
>
> Can you provide your version of Guest Agent? Is it built from upstream or
> some VirtIO-Win release?
> Previously we had some issues related to wrong error messages from Guest
> Agent.
>
> Best Regards,
> Konstantin Kostiuk.
>
>
> On Tue, Mar 29, 2022 at 6:24 PM Shelly Kagan <skagan@redhat.com> wrote:
>
>> Hi all,
>> I'm having some weird behavior with fsfreeze in windows VM.
>> I run the fsfreeze and it returns:
>> `error: Guest agent is not responding: Guest agent not available for now`
>>
>> but checking the status returned frozen, rerunning it again returns that
>> the command is not enabled (expected since the freeze occurs)
>>
>> I checked the fsstatus and it keeps returning `frozen` even after 10
>> seconds (from my understanding the freeze in windows vm is limited to 10
>> seconds by default by the VSS. No way to change this default from my
>> understanding, is it true?) Shouldn't the status return thawed if the VSS
>> no longer keeps the freeze state?
>>
>> After a minute I did the thaw and it returned error:
>> `error: internal error: unable to execute QEMU agent command
>> 'guest-fsfreeze-thaw': couldn't hold writes: fsfreeze is limited up to 10
>> seconds:`
>>
>> but the fsstatus changed to thawed after that call.
>>
>> My questions are:
>> 1. Why would the fsfreeze return error about the guest agent but still
>> freeze the fs?
>> 2. Why would the guest agent not respond, is there a way to make sure it
>> is available before the freeze command? (running the fsstatus command
>> before it returned without issues..)
>> 3. Is it expected that the fsstatus will return frozen even if possibly
>> VSS has already thawed? and that the thaw fails but the status do change
>> after to thawed?
>>
>> Thanks for taking the time to respond and help,
>> --
>>
>> Shelly Kagan
>>
>> Senior Software Engineer
>>
>> Red Hat <https://www.redhat.com>
>> <https://www.redhat.com>
>>
>
--
Shelly Kagan
Senior Software Engineer
Red Hat <https://www.redhat.com>
<https://www.redhat.com>
[-- Attachment #2: Type: text/html, Size: 6564 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FSFreeze on Windows VM
2022-04-13 7:03 ` Shelly Kagan
@ 2022-04-13 13:51 ` Konstantin Kostiuk
2022-04-13 14:20 ` Shelly Kagan
0 siblings, 1 reply; 6+ messages in thread
From: Konstantin Kostiuk @ 2022-04-13 13:51 UTC (permalink / raw)
To: Shelly Kagan; +Cc: Yan Vugenfirer, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 3644 bytes --]
Hi Shelly,
Thanks for your answer. Your version of GuestAgent is too old. The latest
version is 103.0.0.
Version 100.0.0 has a bug related to wrong error messages. When you try to
freeze FS, GA can return an error that the GA is not available.
Please try again with the latest version. I think it should work fine. If
you still will have problems, will try to debug them.
Best Regards,
Konstantin Kostiuk.
On Wed, Apr 13, 2022 at 10:03 AM Shelly Kagan <skagan@redhat.com> wrote:
> Hi Konstantin,
>
> The Guest Agent version
> "guestAgentVersion": "100.0.0",
> I'm running with a 2019 windows image which I understand the GA is part of
> the virtio drivers.
> Don't know if the following info also helps but:
> "hostname": "WIN-CUCKQ65DH6K",
> "os": {
> "name": "Microsoft Windows",
> "kernelRelease": "17763",
> "version": "Microsoft Windows Server 2019",
> "prettyName": "Windows Server 2019 Standard",
> "versionId": "2019",
> "kernelVersion": "10.0",
> "machine": "x86_64",
> "id": "mswindows"
> },
>
> I think what is more important to me is the GA being not responsive for
> the freeze call. I'm using the fsfreeze in a feature I'm implementing, and
> since in windows there is a 10sec timeout because of the VSS the fact that
> the freeze call returns error that the GA is not available plus that when
> its not available it takes much longer for the freeze call to return is
> really time sensitive.
>
> Thanks
>
> On Wed, Apr 6, 2022 at 2:29 PM Konstantin Kostiuk <kkostiuk@redhat.com>
> wrote:
>
>> Hi Shelly,
>>
>> Can you provide your version of Guest Agent? Is it built from upstream or
>> some VirtIO-Win release?
>> Previously we had some issues related to wrong error messages from Guest
>> Agent.
>>
>> Best Regards,
>> Konstantin Kostiuk.
>>
>>
>> On Tue, Mar 29, 2022 at 6:24 PM Shelly Kagan <skagan@redhat.com> wrote:
>>
>>> Hi all,
>>> I'm having some weird behavior with fsfreeze in windows VM.
>>> I run the fsfreeze and it returns:
>>> `error: Guest agent is not responding: Guest agent not available for now`
>>>
>>> but checking the status returned frozen, rerunning it again returns that
>>> the command is not enabled (expected since the freeze occurs)
>>>
>>> I checked the fsstatus and it keeps returning `frozen` even after 10
>>> seconds (from my understanding the freeze in windows vm is limited to 10
>>> seconds by default by the VSS. No way to change this default from my
>>> understanding, is it true?) Shouldn't the status return thawed if the VSS
>>> no longer keeps the freeze state?
>>>
>>> After a minute I did the thaw and it returned error:
>>> `error: internal error: unable to execute QEMU agent command
>>> 'guest-fsfreeze-thaw': couldn't hold writes: fsfreeze is limited up to 10
>>> seconds:`
>>>
>>> but the fsstatus changed to thawed after that call.
>>>
>>> My questions are:
>>> 1. Why would the fsfreeze return error about the guest agent but still
>>> freeze the fs?
>>> 2. Why would the guest agent not respond, is there a way to make sure it
>>> is available before the freeze command? (running the fsstatus command
>>> before it returned without issues..)
>>> 3. Is it expected that the fsstatus will return frozen even if possibly
>>> VSS has already thawed? and that the thaw fails but the status do change
>>> after to thawed?
>>>
>>> Thanks for taking the time to respond and help,
>>> --
>>>
>>> Shelly Kagan
>>>
>>> Senior Software Engineer
>>>
>>> Red Hat <https://www.redhat.com>
>>> <https://www.redhat.com>
>>>
>>
>
> --
>
> Shelly Kagan
>
> Senior Software Engineer
>
> Red Hat <https://www.redhat.com>
> <https://www.redhat.com>
>
[-- Attachment #2: Type: text/html, Size: 7563 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FSFreeze on Windows VM
2022-04-13 13:51 ` Konstantin Kostiuk
@ 2022-04-13 14:20 ` Shelly Kagan
2022-04-13 14:27 ` Konstantin Kostiuk
0 siblings, 1 reply; 6+ messages in thread
From: Shelly Kagan @ 2022-04-13 14:20 UTC (permalink / raw)
To: Konstantin Kostiuk; +Cc: Yan Vugenfirer, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 4320 bytes --]
Hi Konstantin,
Thanks for the quick response.
I will look into getting a newer GA version.
Regarding the GA not available, is it relevant to the newer versions? Is
there a way to make sure the GA is available when running the freeze? when
it is not available it takes a lot of time to get a response back and it
causes the freeze to delay.
Best Regards,
Shelly
On Wed, Apr 13, 2022 at 4:51 PM Konstantin Kostiuk <kkostiuk@redhat.com>
wrote:
> Hi Shelly,
>
> Thanks for your answer. Your version of GuestAgent is too old. The latest
> version is 103.0.0.
> Version 100.0.0 has a bug related to wrong error messages. When you try to
> freeze FS, GA can return an error that the GA is not available.
>
> Please try again with the latest version. I think it should work fine. If
> you still will have problems, will try to debug them.
>
> Best Regards,
> Konstantin Kostiuk.
>
>
> On Wed, Apr 13, 2022 at 10:03 AM Shelly Kagan <skagan@redhat.com> wrote:
>
>> Hi Konstantin,
>>
>> The Guest Agent version
>> "guestAgentVersion": "100.0.0",
>> I'm running with a 2019 windows image which I understand the GA is part
>> of the virtio drivers.
>> Don't know if the following info also helps but:
>> "hostname": "WIN-CUCKQ65DH6K",
>> "os": {
>> "name": "Microsoft Windows",
>> "kernelRelease": "17763",
>> "version": "Microsoft Windows Server 2019",
>> "prettyName": "Windows Server 2019 Standard",
>> "versionId": "2019",
>> "kernelVersion": "10.0",
>> "machine": "x86_64",
>> "id": "mswindows"
>> },
>>
>> I think what is more important to me is the GA being not responsive for
>> the freeze call. I'm using the fsfreeze in a feature I'm implementing, and
>> since in windows there is a 10sec timeout because of the VSS the fact that
>> the freeze call returns error that the GA is not available plus that when
>> its not available it takes much longer for the freeze call to return is
>> really time sensitive.
>>
>> Thanks
>>
>> On Wed, Apr 6, 2022 at 2:29 PM Konstantin Kostiuk <kkostiuk@redhat.com>
>> wrote:
>>
>>> Hi Shelly,
>>>
>>> Can you provide your version of Guest Agent? Is it built from upstream
>>> or some VirtIO-Win release?
>>> Previously we had some issues related to wrong error messages from Guest
>>> Agent.
>>>
>>> Best Regards,
>>> Konstantin Kostiuk.
>>>
>>>
>>> On Tue, Mar 29, 2022 at 6:24 PM Shelly Kagan <skagan@redhat.com> wrote:
>>>
>>>> Hi all,
>>>> I'm having some weird behavior with fsfreeze in windows VM.
>>>> I run the fsfreeze and it returns:
>>>> `error: Guest agent is not responding: Guest agent not available for
>>>> now`
>>>>
>>>> but checking the status returned frozen, rerunning it again returns
>>>> that the command is not enabled (expected since the freeze occurs)
>>>>
>>>> I checked the fsstatus and it keeps returning `frozen` even after 10
>>>> seconds (from my understanding the freeze in windows vm is limited to 10
>>>> seconds by default by the VSS. No way to change this default from my
>>>> understanding, is it true?) Shouldn't the status return thawed if the VSS
>>>> no longer keeps the freeze state?
>>>>
>>>> After a minute I did the thaw and it returned error:
>>>> `error: internal error: unable to execute QEMU agent command
>>>> 'guest-fsfreeze-thaw': couldn't hold writes: fsfreeze is limited up to 10
>>>> seconds:`
>>>>
>>>> but the fsstatus changed to thawed after that call.
>>>>
>>>> My questions are:
>>>> 1. Why would the fsfreeze return error about the guest agent but still
>>>> freeze the fs?
>>>> 2. Why would the guest agent not respond, is there a way to make sure
>>>> it is available before the freeze command? (running the fsstatus command
>>>> before it returned without issues..)
>>>> 3. Is it expected that the fsstatus will return frozen even if possibly
>>>> VSS has already thawed? and that the thaw fails but the status do change
>>>> after to thawed?
>>>>
>>>> Thanks for taking the time to respond and help,
>>>> --
>>>>
>>>> Shelly Kagan
>>>>
>>>> Senior Software Engineer
>>>>
>>>> Red Hat <https://www.redhat.com>
>>>> <https://www.redhat.com>
>>>>
>>>
>>
>> --
>>
>> Shelly Kagan
>>
>> Senior Software Engineer
>>
>> Red Hat <https://www.redhat.com>
>> <https://www.redhat.com>
>>
>
--
Shelly Kagan
Senior Software Engineer
Red Hat <https://www.redhat.com>
<https://www.redhat.com>
[-- Attachment #2: Type: text/html, Size: 9571 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: FSFreeze on Windows VM
2022-04-13 14:20 ` Shelly Kagan
@ 2022-04-13 14:27 ` Konstantin Kostiuk
0 siblings, 0 replies; 6+ messages in thread
From: Konstantin Kostiuk @ 2022-04-13 14:27 UTC (permalink / raw)
To: Shelly Kagan; +Cc: Yan Vugenfirer, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 4686 bytes --]
Hi Shelly,
You can use guest-ping commend to check that GA is alive. This command
should work always.
Best Regards,
Konstantin Kostiuk.
On Wed, Apr 13, 2022 at 5:21 PM Shelly Kagan <skagan@redhat.com> wrote:
> Hi Konstantin,
> Thanks for the quick response.
> I will look into getting a newer GA version.
> Regarding the GA not available, is it relevant to the newer versions? Is
> there a way to make sure the GA is available when running the freeze? when
> it is not available it takes a lot of time to get a response back and it
> causes the freeze to delay.
> Best Regards,
> Shelly
>
> On Wed, Apr 13, 2022 at 4:51 PM Konstantin Kostiuk <kkostiuk@redhat.com>
> wrote:
>
>> Hi Shelly,
>>
>> Thanks for your answer. Your version of GuestAgent is too old. The latest
>> version is 103.0.0.
>> Version 100.0.0 has a bug related to wrong error messages. When you try
>> to freeze FS, GA can return an error that the GA is not available.
>>
>> Please try again with the latest version. I think it should work fine. If
>> you still will have problems, will try to debug them.
>>
>> Best Regards,
>> Konstantin Kostiuk.
>>
>>
>> On Wed, Apr 13, 2022 at 10:03 AM Shelly Kagan <skagan@redhat.com> wrote:
>>
>>> Hi Konstantin,
>>>
>>> The Guest Agent version
>>> "guestAgentVersion": "100.0.0",
>>> I'm running with a 2019 windows image which I understand the GA is part
>>> of the virtio drivers.
>>> Don't know if the following info also helps but:
>>> "hostname": "WIN-CUCKQ65DH6K",
>>> "os": {
>>> "name": "Microsoft Windows",
>>> "kernelRelease": "17763",
>>> "version": "Microsoft Windows Server 2019",
>>> "prettyName": "Windows Server 2019 Standard",
>>> "versionId": "2019",
>>> "kernelVersion": "10.0",
>>> "machine": "x86_64",
>>> "id": "mswindows"
>>> },
>>>
>>> I think what is more important to me is the GA being not responsive for
>>> the freeze call. I'm using the fsfreeze in a feature I'm implementing, and
>>> since in windows there is a 10sec timeout because of the VSS the fact that
>>> the freeze call returns error that the GA is not available plus that when
>>> its not available it takes much longer for the freeze call to return is
>>> really time sensitive.
>>>
>>> Thanks
>>>
>>> On Wed, Apr 6, 2022 at 2:29 PM Konstantin Kostiuk <kkostiuk@redhat.com>
>>> wrote:
>>>
>>>> Hi Shelly,
>>>>
>>>> Can you provide your version of Guest Agent? Is it built from upstream
>>>> or some VirtIO-Win release?
>>>> Previously we had some issues related to wrong error messages from
>>>> Guest Agent.
>>>>
>>>> Best Regards,
>>>> Konstantin Kostiuk.
>>>>
>>>>
>>>> On Tue, Mar 29, 2022 at 6:24 PM Shelly Kagan <skagan@redhat.com> wrote:
>>>>
>>>>> Hi all,
>>>>> I'm having some weird behavior with fsfreeze in windows VM.
>>>>> I run the fsfreeze and it returns:
>>>>> `error: Guest agent is not responding: Guest agent not available for
>>>>> now`
>>>>>
>>>>> but checking the status returned frozen, rerunning it again returns
>>>>> that the command is not enabled (expected since the freeze occurs)
>>>>>
>>>>> I checked the fsstatus and it keeps returning `frozen` even after 10
>>>>> seconds (from my understanding the freeze in windows vm is limited to 10
>>>>> seconds by default by the VSS. No way to change this default from my
>>>>> understanding, is it true?) Shouldn't the status return thawed if the VSS
>>>>> no longer keeps the freeze state?
>>>>>
>>>>> After a minute I did the thaw and it returned error:
>>>>> `error: internal error: unable to execute QEMU agent command
>>>>> 'guest-fsfreeze-thaw': couldn't hold writes: fsfreeze is limited up to 10
>>>>> seconds:`
>>>>>
>>>>> but the fsstatus changed to thawed after that call.
>>>>>
>>>>> My questions are:
>>>>> 1. Why would the fsfreeze return error about the guest agent but still
>>>>> freeze the fs?
>>>>> 2. Why would the guest agent not respond, is there a way to make sure
>>>>> it is available before the freeze command? (running the fsstatus command
>>>>> before it returned without issues..)
>>>>> 3. Is it expected that the fsstatus will return frozen even if
>>>>> possibly VSS has already thawed? and that the thaw fails but the status do
>>>>> change after to thawed?
>>>>>
>>>>> Thanks for taking the time to respond and help,
>>>>> --
>>>>>
>>>>> Shelly Kagan
>>>>>
>>>>> Senior Software Engineer
>>>>>
>>>>> Red Hat <https://www.redhat.com>
>>>>> <https://www.redhat.com>
>>>>>
>>>>
>>>
>>> --
>>>
>>> Shelly Kagan
>>>
>>> Senior Software Engineer
>>>
>>> Red Hat <https://www.redhat.com>
>>> <https://www.redhat.com>
>>>
>>
>
> --
>
> Shelly Kagan
>
> Senior Software Engineer
>
> Red Hat <https://www.redhat.com>
> <https://www.redhat.com>
>
[-- Attachment #2: Type: text/html, Size: 10294 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-13 14:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 14:26 FSFreeze on Windows VM Shelly Kagan
2022-04-06 11:29 ` Konstantin Kostiuk
2022-04-13 7:03 ` Shelly Kagan
2022-04-13 13:51 ` Konstantin Kostiuk
2022-04-13 14:20 ` Shelly Kagan
2022-04-13 14:27 ` Konstantin Kostiuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).