Bug 1420401

Summary: Cold merge: update job message to show host name
Product: [oVirt] ovirt-engine Reporter: Ala Hino <ahino>
Component: BLL.StorageAssignee: Ala Hino <ahino>
Status: CLOSED CURRENTRELEASE QA Contact: Carlos Mestre González <cmestreg>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: ahino, amureini, bugs, gwatson, lveyde, tnisan
Target Milestone: ovirt-4.1.2Flags: rule-engine: ovirt-4.1+
rule-engine: exception+
Target Release: 4.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Improvement
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 08:21:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1425219    

Description Ala Hino 2017-02-08 14:59:51 UTC
Description of problem:

As HSM jobs can be executed by any host, we have to show the host name running the job in the audit log message

Steps to Reproduce:
1. Run HSM jobs (copy volume or cold merge)

Actual results:
Audit message doesn't show the host running the HSM job

Expected results:
Audit message to show the host name running the HSM job

Comment 4 Ala Hino 2017-04-12 13:43:58 UTC
Updating this BZ to indicate that the merged patch fixes only cold merge.

Comment 5 Carlos Mestre González 2017-04-28 17:11:30 UTC
Command, return: org.ovirt.engine.core.common.businessentities.storage.DiskImage@74d93a4d, log id: 60643341
2017-04-28 20:06:31,650+03 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ColdMergeVDSCommand] (DefaultQuartzScheduler7) [33f81a71-237d-4d5b-9455-da18b7b99c1f] START, ColdMergeVDSCommand(HostName = host_mixed_3, ColdMergeVDSCommandParameters:{runAsync='true', hostId='967a1548-b3bc-454c-8f95-286e62eb1809', storageDomainId='null', jobId='a9ba0762-df91-40b3-838e-c78059f660ed'}), log id: 1f0b85a4


is this the type of message expected?

tested on rhevm-4.1.2-0.1.el7.noarch

Comment 6 Ala Hino 2017-04-28 17:30:40 UTC
This BZ is about presenting the host name in the job message in the UI.
After running cold merge, please watch the tasks panel and in the merge step, you should see "Merging snapshot ... on <hostname>"

Comment 7 Carlos Mestre González 2017-04-28 18:36:08 UTC
rhevm: 4.1.2-0.1.el7

Merging snapshots (3 into 2) of disk golden_mixed_virtio_template on host host_mixed_2