Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1399610

Summary: pinning VM to host setting doesn't persist
Product: [oVirt] ovirt-engine Reporter: Shira Maximov <mshira>
Component: BLL.VirtAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: high Docs Contact:
Priority: high    
Version: 4.1.0CC: bugs, mburman, mgoldboi, oourfali, tjelinek
Target Milestone: ovirt-4.1.0-betaKeywords: Regression
Target Release: 4.1.0.2Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
mgoldboi: planning_ack+
michal.skrivanek: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:51:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine log none

Description Shira Maximov 2016-11-29 12:16:56 UTC
Created attachment 1225795 [details]
engine log

Description of problem:
when setting "specific host\s" in the edit VM dialog interface, it doesn't saved.

in the engine log, it looks like the configuration was updated:

2016-11-29 14:12:47,611 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-2) [4c67548] Pinned host changed for VM: golden_env_mixed_virtio_0. Dropping configured host devices.
2016-11-29 14:12:47,637 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-2) [4c67548] Correlation ID: df2e2d7a-15eb-4927-b3bc-9df1ac9a36b2, Job ID: 8dafdc4f-9274-4ee6-8cbf-69880e80d340, Call Stack: null, Custom Event ID: -1, Message: VM golden_env_mixed_virtio_0 configuration was updated by admin@internal-authz.


Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.0.master.20161120231325.gitba51756.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. edit VM - > host -> Start Running On -> Specific Host(s) -> choose host and save 
2. edit VM again and see that the settings didn't saved.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2016-11-30 07:00:53 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Tomas Jelinek 2016-12-01 11:23:26 UTC
After all it happens only on 4.1, changing targets accordingly.

Comment 3 Martin Betak 2016-12-01 15:53:57 UTC
After some investigation it seems that patch 104dec689d5708da8cefc00fce898aa342ed863c that converted all listboxes to use patternfly inadvertently broke "multi select list boxes" namely the VM affinity labels and preferred host picker.

Since this is a UX infra issue that affects all clients of this component (ListModelMultipleSelectListBox) moving to UX.

Comment 4 Tomas Jelinek 2016-12-09 12:10:02 UTC
*** Bug 1402764 has been marked as a duplicate of this bug. ***

Comment 5 Shira Maximov 2016-12-26 09:33:34 UTC
verified on : 
oVirt Engine Version: 4.2.0-0.0.master.20161219225535.git893d571.el7.centos


verification steps : 
1. edit VM - > host -> Start Running On -> Specific Host(s) -> choose host and save 
2. edit VM again and see that the settings didn't saved.