Created attachment 1196457 [details] agent and engine log Description of problem: Issue that I thought was resolved on 4.0.2 is actually still occurring. This a clone for bz#1340626 Failed to verify with rhevm-4.0.3-0.1.el7ev.noarch STEPS: 1. Installed ovirt-hosted-engine-setup and rhevm-appliance. 2. Deployed hosted-engine using appliance. 3. Upgraded the engine to latest build - rhevm-4.0.3-0.1.el7ev.noarch. 4. Added storage domain to the env - hosted engine vm appears in the system. 5. Set agent.log to DEBUG mode. 6. Set OvfUpdateIntervalInMinutes=1 and restart engine. 7. See in agent.log that the agent communicates with ovf store and fetches vm's configurations as it should. 8. Set OvfUpdateIntervalInMinutes=60 again in order for the update of the ovf occur not due to interval but due to the vm's update. 9. restart engine again. 10. wait a few moments then in the engine update the HE vm and add more memory (action shouldn't fail and DB should show the new value although in practice the action is blocked for HE, but configuration should change nonetheless). 11. In engine log I see 'ProcessOvfUpdateForStoragePoolCommand' being called immediately after change. 12. wait a few minutes and look for the change in the ovf in agent.log and vm.conf - nothing is changed. 13. Set again OvfUpdateIntervalInMinutes=1 and restart engine - after 1 minutes the ovf is updated as it should have been earlier with the new memory value. Will attach engine and agent logs.
The engine code properly triggers the update and generates the database copy of the OVF xml with up-to-date values. However this xml is then not transferred to the storage.
Please provide the docs text.
Verified on HE rhevm-4.0.6-0.1.el7ev.noarch. host: ovirt-hosted-engine-ha-2.0.4-1.el7ev.noarch ovirt-hosted-engine-setup-2.0.3-2.el7ev.noarch vdsm-4.18.16-1.el7ev.x86_64 Verified according to the steps in description, now the after a change in the vm memory you can see in few seconds in agent.log (DEBUG MODE) that the vm's ovf was updated according to the change, and therefore also vm.conf is updated as well.