Bug 1005544
Summary: | engine.log doesn't include log on custom properties. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | awinter <awinter> | ||||
Component: | ovirt-engine | Assignee: | Mike Kolesnik <mkolesni> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | yeylon <yeylon> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 3.3.0 | CC: | acathrow, iheim, lpeer, masayag, mkolesni, myakove, Rhev-m-bugs, srevivo, yeylon | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.3.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | network | ||||||
Fixed In Version: | is18 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
awinter
2013-09-08 08:23:43 UTC
The information can't be printed in the call to XX since it's not available at this point, instead added a logging of profile data more generally to where it's available when starting a VM or hot plugging a NIC. The log will look like this: 2013-09-08 15:32:54,086 DEBUG [org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilderBase] (pool-6-thread-50) [2f70459c] VNIC nic2 is using profile ovirtmgmt {id=ecff23f3-25b2-46e4-927b-3a034c7e53e3, networkId=5c8fd919-5bf7-4f4a-8395-8c2504da3655, networkQosId=null, portMirroring=false, customProperties={test=this is a test, aaa=bbb}, description=null} on network ovirtmgmt Created attachment 799314 [details]
engine.log
Not fixed.
Steps I did:
-----------
1. Created a new custom property "amiProp" via engine (with restart)
2. Created a new network in DC with amiProp = 4567
3. Added the network to eth1 on the host.
4. Created a new VM with the network as nic1.
5. Added a new nic to the VM (Hot Plug Nic) with the same network.
-----------------------------------------------------------
engine.log does not present "amiProp" or "4567" at any step.
See attached engine.log file
Not fixed. Steps I did: ----------- 1. Created a new custom property "amiProp" via engine (with restart) 2. Created a new network in DC with amiProp = 4567 3. Added the network to eth1 on the host. 4. Created a new VM with the network as nic1. 5. Added a new nic to the VM (Hot Plug Nic) with the same network - VM was DOWN. ----------------------------------------------------------- engine.log does not present "amiProp" or "4567" at any step. See attached engine.log file (In reply to awinter from comment #3) > Not fixed. > > Steps I did: > ----------- > 1. Created a new custom property "amiProp" via engine (with restart) > 2. Created a new network in DC with amiProp = 4567 > 3. Added the network to eth1 on the host. > 4. Created a new VM with the network as nic1. > 5. Added a new nic to the VM (Hot Plug Nic) with the same network - VM was > DOWN. > > ----------------------------------------------------------- > > engine.log does not present "amiProp" or "4567" at any step. > > See attached engine.log file Correct, the patch was acked but haven't got merged. Moving it back to MODIFIED. Note that the expected output will appear only in DEBUG level like this one: 2013-09-18 14:29:49,203 DEBUG [org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilderBase] (pool-6-thread-48) [e99f2e8] VNIC nic2 is using profile poor {id=28d35593-3e23-4f82-a320-11defad86547, networkId=ee41f3bd-857b-4d1e-bf3b-29b120bd80ab, networkQosId=357fa4de-71ce-4c93-b641-63700949010c, portMirroring=false, customProperties={speed=200, duplex=full}, description=null} on network qos_test Bug fixed. My steps: 1. Created a new custom property "amiProp" via engine (with restart) 2. Created a new network in DC with amiProp = 4567 3. Added the network to eth1 on the host. 4. Created a new VM with the networks: nic1 = rhevm nic2 = amiProp nic3 = amiProp 5. Installing the VM with RHEL 6.5 6. Executing hot unplug nic for nic3 7. Executing hot plug nic for nic3 8. Removing nic3 -------- Results: 4. On the creation of the nics, I can see in the log: - VNIC nic3 is using profile amiProp {id=31466fcb-1e18-4057- ae19-bf2cebd9a74c, networkId=73ebcce1-e1b6-44b5-b920-06d76a357b79, networkQosId=null, portMirroring=false, customProperties={amiProp=4567}, description=null} on network amiProp - VNIC nic2 is using profile amiProp {id=31466fcb-1e18-4057- ae19-bf2cebd9a74c, networkId=73ebcce1-e1b6-44b5-b920-06d76a357b79, networkQosId=null, portMirroring=false, customProperties={amiProp=4567}, description=null} on network amiProp 6. On Hot unPlug Nic I get: - VNIC nic3 is using profile amiProp {id=31466fcb-1e18-4057- ae19-bf2cebd9a74c,networkId=73ebcce1-e1b6-44b5-b920-06d76a357b79, networkQosId=null, portMirroring=false, customProperties={amiProp=4567}, description=null} on network amiProp 7. On Hot Plug Nic I get: - VNIC nic3 is using profile amiProp {id=31466fcb-1e18-4057- ae19-bf2cebd9a74c, networkId=73ebcce1-e1b6-44b5-b920-06d76a357b79, networkQosId=null, portMirroring=false, customProperties={amiProp=4567}, description=null} on network amiProp Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |