| Summary: | libvirt shows guest state 'running', if guest in process of booting(might never boot) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | pagupta |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | jdenemar, mkletzan, rbalakri |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-14 06:44:30 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: | |
|
Description
pagupta
2016-04-14 04:59:30 UTC
First, the reproducer steps rely on a bug, once that is fixed this issue will no longer be reproducible. Even if it was, there is no generic way of checking whether a guest is already running or not without detailed knowledge about the guest itself (which libvirt doesn't have). If a management wants to list domains as running only when the guest OS is up and running, it needs to incorporate its own technics to check that. From libvirt's point of view a domain is perfectly running even if it's just showing a boot menu, for example. I agree here that the problem is with the pinning configuration. Also, libvirt cannot provide universal heartbeat mechanism that would effectively be able to say whether the guest booted or not. That's one of the reasons for not differentiating 'running' from 'booting'. Hi Martin, Jiri, I am not worried about the cause of this issue. What I am more worried about is Guest is not booting and for our Customer how he will know what guest is doing? If we are showing Guest is 'running', first impression of any person would be Guest running fine. Unless some expert looks at it or try to solve. I understand this scenario is specific to some configurations. But I am looking at bigger picture if we could think about designing a better solution to provide better Guest stats. That will definitely boost Customer experience. Best regards, Pankaj |