| Summary: | Snapshot creation fails because image is not a leaf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Rami Vaknin <rvaknin> | ||||
| Component: | vdsm | Assignee: | Igor Lvovsky <ilvovsky> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Rami Vaknin <rvaknin> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.2 | CC: | abaron, bazulay, danken, ewarszaw, iheim, lpeer, mgoldboi, mkenneth, yeylon, ykaul | ||||
| Target Milestone: | beta | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-06 07:25:09 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
http://gerrit.usersys.redhat.com/#change,626 Command to check MD_ tag uniqueness on every stage is lvs -o +tags 'sdUUID' | sed -e 's/.*MD_\(.*\)/\1/g' | sed -e 's/,.*//g' | sed -e 's/^\ .*//g' | grep -v ^$ | sort | uniq -d Verified on vdsm-4.9-84.el6.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1782.html |
Created attachment 510040 [details] VDSM Logs Environment: RHEVM 3.0 on dev env, backend on RHEL6, last commit 47b2a33cbd4fa2baacace7eab126bac850a793d6, vdsm-4.9-75.el6.x86_64, libvirt-0.9.1-1.el6.x86_64 Scenario: 1. Create VM with two disks on iSCSI storage domain 2. Create template from that VM, create pool from that template 3. Add another disk to the VM that was created from the pool 4. Create snapshots to that VM, the third snapshot probably will fail From VDSM log: Traceback (most recent call last): File "/usr/share/vdsm/storage/resourceManager.py", line 498, in registerResource obj = namespaceObj.factory.createResource(name, lockType) File "/usr/share/vdsm/storage/resourceFactories.py", line 161, in createResource volResourcesList = self.__getResourceCandidatesList(resourceName, lockType) File "/usr/share/vdsm/storage/resourceFactories.py", line 109, in __getResourceCandidatesList chain = image.Image(repoPath).getChain(sdUUID=self.sdUUID, imgUUID=resourceName) File "/usr/share/vdsm/storage/image.py", line 323, in getChain raise se.ImageIsNotLegalChain("Image %s is not a leaf" % imgUUID) ImageIsNotLegalChain: Image is not a legal chain: ('Image d7f03964-06de-4fdf-b525-725720a2547d is not a leaf',)