Bug 883380
| Summary: | webadmin: when we copy a template disks from template tab -> disks sub tab, although the template is locked its shown in UI as unlocked | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dafna Ron <dron> | ||||
| Component: | ovirt-engine-webadmin-portal | Assignee: | Daniel Erez <derez> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.1.0 | CC: | abaron, amureini, dyasny, ecohen, iheim, mkenneth, Rhev-m-bugs, sgrinber, ykaul | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | 3.2.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | sf3 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-06-11 09:19:29 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Will be solved when we have readlocks for templates. *** This bug has been marked as a duplicate of bug 815642 *** Allon, this is not s duplicate of 81562. this bug is not about changing the lock behaviour so that we can create a vm while the template is being used. we currently do lock the template but when we copy the template to a different domain from the templates tab and not from the disks tab the template does not appear as locked in UI even though its locked in db. patch sent: http://gerrit.ovirt.org/#/c/10411/ Change-Id: Icc9657350160aff2bc7bc5626b486b139c1832cf verified on sf3, when the disk is locked and we select the template we see a message in the new vm dialogue that the disk is locked. The following disks are in status Locked: NFS-RHEL6_iSCSI_Disk1 3.2 has been released 3.2 has been released |
Created attachment 657497 [details] log Description of problem: create several storage domains under the pool. create/import a template template tab -> disks sub tab -> select the disk -> copy the template does not appear as locked in UI. if we try to use it (create a vm from the template) we will get a CanDoAction that its used. Version-Release number of selected component (if applicable): si24.5 How reproducible: 100% Steps to Reproduce: 1. create several domains under a pool and create/import a template 2. go to templates tab -> disks sub tab -> select disk -> copy 3. go to vm's tab -> new desktop -> select template -> create vm Actual results: although the template appears as unlocked in UI its actually locked Expected results: template should also appear as locked in UI Additional info: engine log