Bug 1328093
Summary: | [REST API] Vm doesn't inherit bios->boot_menu->enabled->true from template when created via API | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | sefi litmanovich <slitmano> |
Component: | RestAPI | Assignee: | Shahar Havivi <shavivi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | sefi litmanovich <slitmano> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.6.5.1 | CC: | bugs, gklein, michal.skrivanek, shavivi, slitmano |
Target Milestone: | ovirt-4.1.0-beta | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ rule-engine: devel_ack+ gklein: testing_ack+ |
Target Release: | 4.1.0.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-15 14:48:34 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
sefi litmanovich
2016-04-18 12:35:02 UTC
- Logs? - Severity? Logs - There isn't really much to see in any log, This is on the static vm level, no vdsm. In engine log there's no informative message, vm is created successfully, see relevant lines below. If I start the vm, the vm's xml contains: u'bootMenuEnable': u'false'. In DB you can also see the template ('testweest') is set to 't' and the vm created from it ('test-boot-menu') to 'f': engine=# select vm_name, is_boot_menu_enabled from vm_static; vm_name | is_boot_menu_enabled ------------------------------+---------------------- Blank | f Small | f Medium | f XLarge | f Tiny | f Large | f testweest | t test-boot-menu | f golden_mixed_virtio_template | f from engine.log the relevant lines: 2016-04-19 10:53:03,641 INFO [org.ovirt.engine.core.bll.aaa.LoginUserCommand] (ajp-/127.0.0.1:8702-4) [] Running command: LoginUserCommand internal: false. 2016-04-19 10:53:03,645 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-4) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal logged in. 2016-04-19 10:53:03,798 INFO [org.ovirt.engine.core.bll.AddVmCommand] (ajp-/127.0.0.1:8702-4) [18ac35dd] Lock Acquired to object 'EngineLock:{exclusiveLocks='[test-boot-menu=<VM_NAME, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='[93d359e0-a0c5-4637-bfa8-e3cacac20164=<TEMPLATE, ACTION_TYPE_FAILED_TEMPLATE_IS_USED_FOR_CREATE_VM$VmName test-boot-menu>]'}' 2016-04-19 10:53:03,976 INFO [org.ovirt.engine.core.bll.AddVmCommand] (ajp-/127.0.0.1:8702-4) [] Running command: AddVmCommand internal: false. Entities affected : ID: 0065d105-d6ca-4112-94fc-b94f288a4ee1 Type: VdsGroupsAction group CREATE_VM with role type USER, ID: 93d359e0-a0c5-4637-bfa8-e3cacac20164 Type: VmTemplateAction group CREATE_VM with role type USER 2016-04-19 10:53:04,070 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-4) [] Correlation ID: 18ac35dd, Job ID: d0146392-3568-4226-b67a-a30ef6a67fc6, Call Stack: null, Custom Event ID: -1, Message: VM test-boot-menu was created by admin@internal. 2016-04-19 10:53:04,075 INFO [org.ovirt.engine.core.bll.AddVmCommand] (ajp-/127.0.0.1:8702-4) [] Lock freed to object 'EngineLock:{exclusiveLocks='[test-boot-menu=<VM_NAME, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='[93d359e0-a0c5-4637-bfa8-e3cacac20164=<TEMPLATE, ACTION_TYPE_FAILED_TEMPLATE_IS_USED_FOR_CREATE_VM$VmName test-boot-menu>]'}' 2016-04-19 10:53:04,144 INFO [org.ovirt.engine.core.bll.aaa.LogoutSessionCommand] (ajp-/127.0.0.1:8702-4) [79205dd5] Running command: LogoutSessionCommand internal: false. 2016-04-19 10:53:04,154 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-4) [79205dd5] Correlation ID: 79205dd5, Call Stack: null, Custom Event ID: -1, Message: User admin@internal logged out. Verified with rhevm-4.1.0.3-0.1.el7 according to steps in description. |