Bug 1470468
| Summary: | [virtio-win][qemu-ga-win][upstream] if guest is auto-released after 10s, the following "guest-fsfreeze-freeze" and "guest-fsfreeze-thaw" should not prompt error. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | xiagao |
| Component: | virtio-win | Assignee: | Sameeh Jubran <sjubran> |
| virtio-win sub component: | qemu-ga-win | QA Contact: | Virtualization Bugs <virt-bugs> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | low | ||
| Priority: | medium | CC: | ailan, lijin, lmiksik, michen, phou, sjubran, virt-bugs, wyu, xiagao, yvugenfi |
| Version: | 7.4 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1406271 | Environment: | |
| Last Closed: | 2017-08-16 09:48:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1406271 | ||
| Bug Blocks: | 1473046 | ||
|
Comment 2
Sameeh Jubran
2017-07-23 13:24:10 UTC
Can you please reply to my comment above? can we close this? (In reply to Sameeh Jubran from comment #2) > I have already sent a patch upstream which attempts to fix the issue but the > patch was rejected. Either way now I don't believe that we should change > this behaviour as the implementation of the Freeze command is limited to 10 > seconds due to limitations from Windows, I think that in case that more than > 10 seconds has passed since execution of the Freeze command a suitable > message should be displayed. The message informs the user that the freeze > operation was only to a period of 10 seconds and that the freeze command > have passed this time slice of 10 seconds. > > This approach gives the user the information needed to decide what needs to > do as the freeze/thaw commands usually executed in order to backup the disks > of the guest, if the freeze wasn't held, the backed up data may not be > accurate and therefore the user should be informed. I think it's better to prompt a suitable message to inform user that file systems are released after 10s. 1)Freeze guest filesystem. {"execute":"guest-fsfreeze-freeze"} {"return": 2} {"execute":"guest-fsfreeze-status"} {"return": "frozen"} 2)after >10s, thaw guest {"execute":"guest-fsfreeze-thaw"} {"error": {"desc": "couldn't hold writes: fsfreeze is limited up to 10 seconds: (error: 8004230f)"}} -----> I think this error info is not friendly, could you modify it with a suitable message ? Thanks. (In reply to xiagao from comment #4) > (In reply to Sameeh Jubran from comment #2) > > I have already sent a patch upstream which attempts to fix the issue but the > > patch was rejected. Either way now I don't believe that we should change > > this behaviour as the implementation of the Freeze command is limited to 10 > > seconds due to limitations from Windows, I think that in case that more than > > 10 seconds has passed since execution of the Freeze command a suitable > > message should be displayed. The message informs the user that the freeze > > operation was only to a period of 10 seconds and that the freeze command > > have passed this time slice of 10 seconds. > > > > This approach gives the user the information needed to decide what needs to > > do as the freeze/thaw commands usually executed in order to backup the disks > > of the guest, if the freeze wasn't held, the backed up data may not be > > accurate and therefore the user should be informed. > > I think it's better to prompt a suitable message to inform user that file > systems are released after 10s. > > 1)Freeze guest filesystem. > {"execute":"guest-fsfreeze-freeze"} > {"return": 2} > {"execute":"guest-fsfreeze-status"} > {"return": "frozen"} > > 2)after >10s, thaw guest > {"execute":"guest-fsfreeze-thaw"} > {"error": {"desc": "couldn't hold writes: fsfreeze is limited up to 10 > seconds: (error: 8004230f)"}} -----> I think this error info is not > friendly, could you modify it with a suitable message ? This is the message that is currently displayed in upstream and I want to keep this repository identical to upstream, so I really prefer not to change this at all unless it was changed on upstream. Thanks :) > > Thanks. (In reply to Sameeh Jubran from comment #5) > (In reply to xiagao from comment #4) > > (In reply to Sameeh Jubran from comment #2) > > > I have already sent a patch upstream which attempts to fix the issue but the > > > patch was rejected. Either way now I don't believe that we should change > > > this behaviour as the implementation of the Freeze command is limited to 10 > > > seconds due to limitations from Windows, I think that in case that more than > > > 10 seconds has passed since execution of the Freeze command a suitable > > > message should be displayed. The message informs the user that the freeze > > > operation was only to a period of 10 seconds and that the freeze command > > > have passed this time slice of 10 seconds. > > > > > > This approach gives the user the information needed to decide what needs to > > > do as the freeze/thaw commands usually executed in order to backup the disks > > > of the guest, if the freeze wasn't held, the backed up data may not be > > > accurate and therefore the user should be informed. > > > > I think it's better to prompt a suitable message to inform user that file > > systems are released after 10s. > > > > 1)Freeze guest filesystem. > > {"execute":"guest-fsfreeze-freeze"} > > {"return": 2} > > {"execute":"guest-fsfreeze-status"} > > {"return": "frozen"} > > > > 2)after >10s, thaw guest > > {"execute":"guest-fsfreeze-thaw"} > > {"error": {"desc": "couldn't hold writes: fsfreeze is limited up to 10 > > seconds: (error: 8004230f)"}} -----> I think this error info is not > > friendly, could you modify it with a suitable message ? > This is the message that is currently displayed in upstream and I want to > keep this repository identical to upstream, so I really prefer not to change > this at all unless it was changed on upstream. > > Thanks :) > > > > Thanks. Get it, thanks for explaination. Further confirm with you, in comment 2 you mean you sent a patch upstream which is aboout *displaying a suitable message about this issue*, but it's rejecked, yes ? (In reply to xiagao from comment #6) > (In reply to Sameeh Jubran from comment #5) > > (In reply to xiagao from comment #4) > > > (In reply to Sameeh Jubran from comment #2) > > > > I have already sent a patch upstream which attempts to fix the issue but the > > > > patch was rejected. Either way now I don't believe that we should change > > > > this behaviour as the implementation of the Freeze command is limited to 10 > > > > seconds due to limitations from Windows, I think that in case that more than > > > > 10 seconds has passed since execution of the Freeze command a suitable > > > > message should be displayed. The message informs the user that the freeze > > > > operation was only to a period of 10 seconds and that the freeze command > > > > have passed this time slice of 10 seconds. > > > > > > > > This approach gives the user the information needed to decide what needs to > > > > do as the freeze/thaw commands usually executed in order to backup the disks > > > > of the guest, if the freeze wasn't held, the backed up data may not be > > > > accurate and therefore the user should be informed. > > > > > > I think it's better to prompt a suitable message to inform user that file > > > systems are released after 10s. > > > > > > 1)Freeze guest filesystem. > > > {"execute":"guest-fsfreeze-freeze"} > > > {"return": 2} > > > {"execute":"guest-fsfreeze-status"} > > > {"return": "frozen"} > > > > > > 2)after >10s, thaw guest > > > {"execute":"guest-fsfreeze-thaw"} > > > {"error": {"desc": "couldn't hold writes: fsfreeze is limited up to 10 > > > seconds: (error: 8004230f)"}} -----> I think this error info is not > > > friendly, could you modify it with a suitable message ? > > This is the message that is currently displayed in upstream and I want to > > keep this repository identical to upstream, so I really prefer not to change > > this at all unless it was changed on upstream. > > > > Thanks :) > > > > > > Thanks. > > > Get it, thanks for explaination. Further confirm with you, in comment 2 you > mean you sent a patch upstream which is aboout *displaying a suitable > message about this issue*, but it's rejecked, yes ? Not exactly, the patch that I have sent would eliminate the message at all, however I think I can try and send a patch upstream which attempts to make the message more user friendly, but I don't think that this BZ is severe at all or even that it is needed. Please refer to the following BZ, it discusses the same issue: https://bugzilla.redhat.com/show_bug.cgi?id=1021913 I am closing this issue. |