Bug 1062615
Summary: | utc_diff not updated according to a change in VM settings | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Markus Stockhausen <mst> |
Component: | ovirt-engine-webadmin | Assignee: | Martin Betak <mbetak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | acathrow, bazulay, bzrh.bobd, danken, dossow, ecohen, fromani, fw, gklein, iheim, mbetak, mgoldboi, michal.skrivanek, sbonazzo, yeylon |
Target Milestone: | --- | ||
Target Release: | 3.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | virt | ||
Fixed In Version: | ovirt-3.4.0-rc | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-31 12:28:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 956741, 1024889 |
Description
Markus Stockhausen
2014-02-07 13:44:26 UTC
Memo for myself: VDSM correctly reports timeOffset after machine shutdown through vdsm/vm.py: if self.lastStatus == 'Down': stats = {} stats['exitCode'] = self.conf['exitCode'] stats['status'] = self.lastStatus stats['exitMessage'] = self.conf['exitMessage'] if 'timeOffset' in self.conf: stats['timeOffset'] = self.conf['timeOffset'] return stats log shows: return vmGetStats with {'status': {'message': 'Done', 'code': 0}, 'statsList': [{'status': 'Down', 'hash': '653642269994103461', 'exitMessage': 'User shut down', 'vmId': 'ce64f528-9981-4ec6-a172-9d70a00a34cd', 'timeOffset': '3501', 'exitCode': 0}]} engine does not evaluate the field...? the bug was introduced during osinfo implementation. The updates from VDSM are not reflected in the VmDynamic field, but that's actually not important for the bug behavior. The field is supposed to be overwritten/generated from the timezone selection(offset) in General tab in Edit VM dialog. On each run the right offset should be calculated…the updates from VDSM are not relevant for the start, only to observe(and eventually display) while the VM is running and the time is changed(or drifted away) inside the guest. But this information is not exposed ATM, it's just an internal db field workaround is to clean up the field in the db while the VM is down Maybe there is some kind of misunderstanding. The page where I can set the timezone calls itself "inital run". So to say settings that are applied when the machine starts the first time. Subsequent starts will not get them. The desired behaviour from your description is something like "startup". parameters that are set with each boot. Maybe because of this I anticipated it should go the other way round. Should i file an aditional bug/rfe to rename that page? Nevertheless I hope to see a bugfix. Until then I will modify the database when required. (In reply to Markus Stockhausen from comment #4) regardless the bugfix which is on the way - there are 2 timezone fields: one in System tab in the New VM dialog - this is for each run, should be changeable for Windows guests and UTC for Linux another under Initial Run, in vminit(sysprep/cloud-init) section, which is for initialization of the VM for the first time. Supposed to be used only once and then not changeable This bug is blocking 3.4.0 final release. ETA for fixing it? does it deserve a 3.3.z backport, is it broken in 3.3 as well (since osinfo has been introduced there) Merged u/s as 89830d623e7d27b43306495c1c0d1a61d6afcf1f. Backport to 3.4 on the way. This BZ should be fixed in oVirt 3.4.0 RC verified in av3 this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released |