Bug 772567

Summary: Missing values when switching host in UP to UP. [TEXT]
Product: [Retired] oVirt Reporter: Jaroslav Henner <jhenner>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, ecohen, iheim, mpastern, Rhev-m-bugs, ykaul
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 08:13:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaroslav Henner 2012-01-09 09:32:29 UTC
Description of problem:
There are not-substituted values in error message template:

2012-01-07 12:50:44,210 - JobsSet - hosts - DEBUG - Action request content is --  url:http://localhost:8080/api/hosts/84025150-3916-11e1-8f66-8fb9aa346f84/activate body:<action><async>false</async><grace_period><expiry>10</expiry><absolute>false</absolute></grace_period></action> 
2012-01-07 12:50:44,774 - JobsSet - hosts - DEBUG - Response body for action request is: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action>
    <async>false</async>
    <grace_period>
        <expiry>10</expiry>
    </grace_period>
    <status>
        <state>failed</state>
    </status>
    <fault>
        <reason>Operation Failed</reason>
        <detail>[Cannot ${action} ${type}. Host in Up status.]</detail>
    </fault>
</action>
 

Version-Release number of selected component (if applicable):
ic153.3
 
How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
2012-01-07 12:50:40,471 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (pool-12-thread-31) START, HSMClearTaskVDSCommand(vdsId = 84025150-3916-11e1-8f66-8fb9aa346f84, taskId=bf31864f-79af-4255-9378-7b8be619d4b3), log id: 7da56b20
2012-01-07 12:50:40,471 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (pool-12-thread-36) BaseAsyncTask::RemoveTaskFromDB: Removing task 96942b78-c8a5-4e4c-a027-20daa52c14af from DataBase
2012-01-07 12:50:40,474 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-12-thread-36) EntityAsyncTask::HandleEndActionResult [within thread]: Removing EntityMultiAsyncTasks object for entity 6549571f-141b-4d9b-ba4d-8fcda8643ad6
2012-01-07 12:50:40,483 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (pool-12-thread-31) FINISH, HSMClearTaskVDSCommand, log id: 7da56b20
2012-01-07 12:50:40,483 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.SPMClearTaskVDSCommand] (pool-12-thread-31) FINISH, SPMClearTaskVDSCommand, log id: 3ffddf1
2012-01-07 12:50:40,485 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (pool-12-thread-31) BaseAsyncTask::RemoveTaskFromDB: Removing task bf31864f-79af-4255-9378-7b8be619d4b3 from DataBase
2012-01-07 12:50:40,487 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-12-thread-31) EntityAsyncTask::HandleEndActionResult [within thread]: Removing EntityMultiAsyncTasks object for entity 5cc986a9-dfe0-476f-aee3-4e3308a32647
2012-01-07 12:50:40,966 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:41,019 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:41,756 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:41,793 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:42,297 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:42,360 WARN  [org.ovirt.engine.core.bll.MaintananceNumberOfVdssCommand] (http-0.0.0.0-8080-10) CanDoAction of action MaintananceNumberOfVdss failed. Reasons:VDS_CANNOT_MAINTENANCE_SPM_WITH_RUNNING_TASKS
2012-01-07 12:50:42,361 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (http-0.0.0.0-8080-10) Operation Failed: [Cannot switch Host to Maintenance mode. Host has asynchronous running tasks,]
2012-01-07 12:50:42,364 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:42,876 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:42,906 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:43,423 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:43,436 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:44,161 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:44,197 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:44,733 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:44,763 WARN  [org.ovirt.engine.core.bll.ActivateVdsCommand] (http-0.0.0.0-8080-10) CanDoAction of action ActivateVds failed. Reasons:VDS_CANNOT_ACTIVATE_VDS_ALREADY_UP
2012-01-07 12:50:44,763 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (http-0.0.0.0-8080-10) Operation Failed: [Cannot ${action} ${type}. Host in Up status.]
2012-01-07 12:50:44,765 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:45,327 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:45,364 INFO  [org.ovirt.engine.core.bll.LogoutUserCommand] (http-0.0.0.0-8080-10) Running command: LogoutUserCommand internal: false.
2012-01-07 12:50:45,878 INFO  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http-0.0.0.0-8080-10) Running command: LoginAdminUserCommand internal: false.
2012-01-07 12:50:45,944 WARN  [org.ovirt.engine.core.bll.MaintananceNumberOfVdssCommand] (http-0.0.0.0-8080-10) CanDoAction of action MaintananceNumberOfVdss failed. Reasons:VDS_CANNOT_MAINTENANCE_VDS_IS_IN_MAINTENANCE

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