Red Hat Bugzilla – Bug 867335
engine: there is no event sent to event log for cancel migration
Last modified: 2012-11-19 07:01:46 EST
Created attachment 628664 [details]
Description of problem:
when we press cancel migration on a vm, there is no even shown in the event log.
only end action status is shown in event log.
this means that the user has no idea what is the status of the action until we get a return for command.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. in a two hosts cluster with NFS storage migrate a vm
2. cancel the migration
please note that if we block connectivity to storage from source vds we can see it more clearly since we see nothing for a long time and than get the error on the failure of cancel migration.
we get the end result of the migration but not the event on starting the migration
we should get even for start of action and end of action.
Additional info: screen shot attached.
here you can see that only the "success" of the cancel migration is reported:
2012-Oct-17, 12:07:09 Starting migration of VM RHEL-NFS-2 from Host gold-vdsc to Host gold-vdsd (User: admin@internal.).
2012-Oct-17, 12:07:08 Migration failed due to Error: Fatal error during migration (VM: RHEL-NFS-2, Source Host: gold-vdsc). Trying to migrate to another Host.
2012-Oct-17, 12:07:07 Migration cancelled for VM: RHEL-NFS-2
when my source vds was blocked to storage I could only see the failed cancel:
2012-Oct-17, 12:01:06 Failed to cancel migration for VM: RHEL-NFS-9
Created attachment 628665 [details]
There is no such event for synchronous actions by design, as the results for those actions should appear quickly.
If there is a scenario in which it takes a long time to get the result for such action, it should be declared as a different bug