Bug 748886 - Wrong PM status of host with no configured PM
Summary: Wrong PM status of host with no configured PM
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-25 14:17 UTC by Jan Vorcak
Modified: 2012-12-13 08:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-13 08:12:58 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Jan Vorcak 2011-10-25 14:17:09 UTC
Description of problem:
According to docs and /capabilities, you should be able to get status for the host using 
POST /host/xxx/fence
<action>
    <fence_type>status</fence_type>
</action>

It works on the host with configured PM, and it even works if I change status for "stop/start/restart" (I get correct error message)

Version-Release number of selected component (if applicable):
IC145

How reproducible:
Always

Steps to Reproduce:
1. Add host to your setup
2.
POST /host/xxx/fence
<action>
    <fence_type>status</fence_type>
</action>
3.
  
Actual results:
<fault>
    <reason>Operation Failed</reason>
    <detail>Entity not found: 3e7adf54-ff09-11e0-8bf9-001a4a013f0d</detail>
</fault>


Expected results:


Additional info:

rhevm log
2011-10-25 16:14:06,992 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8443-11) Running command: LogoutUserCommand internal: false.
2011-10-25 16:14:14,197 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8443-11) Running command: LoginAdminUserCommand internal: false.
2011-10-25 16:14:14,208 ERROR [org.ovirt.engine.core.bll.GetVdsFenceStatusQuery] (http-0.0.0.0-8443-11) Query GetVdsFenceStatusQuery failed. Exception message is null
2011-10-25 16:14:14,208 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (http-0.0.0.0-8443-11) Operation Failed: Entity not found: 3e7adf54-ff09-11e0-8bf9-001a4a013f0d
2011-10-25 16:14:14,210 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8443-11) Running command: LogoutUserCommand internal: false.
2011-10-25 16:16:02,548 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8443-11) Running command: LoginAdminUserCommand internal: false.
2011-10-25 16:16:02,563 ERROR [org.ovirt.engine.core.bll.GetVdsFenceStatusQuery] (http-0.0.0.0-8443-11) Query GetVdsFenceStatusQuery failed. Exception message is null
2011-10-25 16:16:02,563 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (http-0.0.0.0-8443-11) Operation Failed: Entity not found: 3e7adf54-ff09-11e0-8bf9-001a4a013f0d
2011-10-25 16:16:02,565 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8443-11) Running command: LogoutUserCommand internal: false.
2011-10-25 16:16:24,323 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8443-11) Running command: LoginAdminUserCommand internal: false.
2011-10-25 16:16:24,338 ERROR [org.ovirt.engine.core.bll.GetVdsFenceStatusQuery] (http-0.0.0.0-8443-11) Query GetVdsFenceStatusQuery failed. Exception message is null
2011-10-25 16:16:24,338 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (http-0.0.0.0-8443-11) Operation Failed: Entity not found: 3e7adf54-ff09-11e0-8bf9-001a4a013f0d
2011-10-25 16:16:24,346 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8443-11) Running command: LogoutUserCommand internal: false.

Comment 2 Itamar Heim 2012-12-13 08:12:58 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.