Bug 1609953
Summary: | vdsm-client tasks that are started manually and they finish successfully, the tasks should be cleared. | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Bimal Chollera <bcholler> |
Component: | vdsm | Assignee: | Marcin Sobczyk <msobczyk> |
Status: | CLOSED WONTFIX | QA Contact: | Elad <ebenahar> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.2.6 | CC: | bcholler, gveitmic, lsurette, mgoldboi, mike.hodgkinson, mkalinin, mperina, msobczyk, rnori, srevivo, tnisan, usurse, vpagar, ycui |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-29 09:13:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bimal Chollera
2018-07-30 21:41:22 UTC
vdsm-client is maintained by the infra team, if the Engine doesn't correctly clears ended tasks then it is indeed a bug vdsm-client is not intended to be used directly by end user. From engine point of view the tasks on vdsm side should not be cleaned up automatically, the engine execute the tasks and then gets the status of the tasks before executing the cleanup. If the tasks are cleaned up automatically on the vdsm side, engine won't be able to get the status of the tasks on the next polling. Ravi, please read comment 1. Maybe we can add a flag to vdsm-client to run Task Clear command after the task is done (that will require vdsm-client to monitor the task, too)? If this is too much work and outside of scope of vdsm-client, probably we need to add this to our workflow and do the manual task cleaning. Which can be challenging, since customer may abandon the case, once the main issue is resolved. Bimal, any other suggestions here? There is no difference between task started on engine or using vdsm-client. If task started from engine fisnishes successfully, engine sends VDSM verb to remove that finished task from VDSM. So tasks created from vdsm-client should behave the same, administrator which created them needs to manually remove them using vdsm-client Marcin, could you please sync with Ravi and provide examples using vdsm-client how to find out if task is finished and how to remove finished task? The examples are already provided by Bimal. The proper way of clearing tasks is to manually call 'vdsm-client Task clear ...'. Closing this as "wont fix". The flow for engine <-> VDSM communication is described above: 1. engine creates a task on VDSM 2. engine monitors execution status of each task it executed 3. Once task is reported as finished, engine sends command to VDSM to clear this finished task vdsm-client is developer only tool and it only uses the API which VDSM provides. We are not going to developer any special flow for vdsm-client <-> vdsm communication, vdsm-client needs to use the same flow as engine, so anyone who create a task using vdsm-client is responsible to clear this task once it's finished. Moran, do you agree with closing that bug? Bimal, please add this step to a KCS and we can close this BZ. Thanks! Closing as BZ1631587 is included in RHV 4.3 GA, so clearing task can be easily done using vdsm-client |