Bug 1411075
Summary: | Host name is <UNKNOWN> when VM started in stateless | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Michael Burman <mburman> |
Component: | BLL.Virt | Assignee: | Shmuel Melamud <smelamud> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | meital avital <mavital> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | bugs, michal.skrivanek, smelamud, stirabos, tjelinek |
Target Milestone: | ovirt-4.1.3 | Flags: | rule-engine:
ovirt-4.1+
ykaul: exception+ |
Target Release: | 4.1.3.2 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-06 13:13:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Burman
2017-01-08 07:19:38 UTC
oVirt 4.1.0 GA has been released, re-targeting to 4.1.1. Please check if this issue is correctly targeted or already included in 4.1.0. When VM is run as stateless, RunVmCommand is executed twice. The first run of the command creates the stateless snapshot. When it is finished, RunVmCommand is run for the second time, to actually run the VM. The audit log message displayed at the first run of the command cannot contain host name, because the host where the VM will be run is unknown at this stage. So we need to change the message that is displayed at the first run to something like "Creating a stateless snapshot for VM ...". And we need to add a second message that will be displayed at the second run, what will say "VM ... was started by ... (Host: ...)". The fix is a bit more complicated as it looked like, in order to reduce risk, moving to 4.1.3. Verified on version: 4.1.3.2-0.1.el7 |