Bug 854964
| Summary: | [Storage] There is a scenario when VM might have several bootable disks which is wrong. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Leonid Natapov <lnatapov> |
| Component: | ovirt-engine | Assignee: | Allon Mureinik <amureini> |
| Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.1.0 | CC: | abaron, amureini, bazulay, dornelas, dron, dyasny, hateya, iheim, jbiddle, lpeer, mkalinin, Rhev-m-bugs, scohen, sputhenp, yeylon, ykaul |
| Target Milestone: | --- | Flags: | scohen:
Triaged+
|
| Target Release: | 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | storage | ||
| Fixed In Version: | sf11 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, it was possible to accidentally attach more than one bootable disk to a virtual machine, by having a shared disk and changing its state to bootable after attaching it to a machine with an existing bootable disk. This prevented the virtual machine from running.
Now, when attempting to make a disk bootable, a check is in place to ensure it is not attached to a virtual machine with an existing bootable disk. If there is no existing bootable disk, the operation succeeds. Otherwise, editing the disk will fail with the following error message: "Cannot ${action} ${type}. Disk ${DiskName} in VM ${VmName} is already marked as boot."
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-10 21:10:06 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 948448 | ||
|
Description
Leonid Natapov
2012-09-06 12:02:01 UTC
Solving this requires moving the bootable property from disk to VM-disk relationship. (In reply to comment #1) > Solving this requires moving the bootable property from disk to VM-disk > relationship. Moving the bootable property to the device instead of the disk is generally the correct way to go, but in the meanwhile, we can have a CDA that checks updating the bootable property of a (shared) disk. (In reply to comment #3) > (In reply to comment #1) > > Solving this requires moving the bootable property from disk to VM-disk > > relationship. > > Moving the bootable property to the device instead of the disk is generally > the correct way to go, but in the meanwhile, we can have a CDA that checks > updating the bootable property of a (shared) disk. Ayal, we can solve this, relatively easily, for disks only. Please devel ack/nack this direction. (In reply to comment #8) > (In reply to comment #3) > > (In reply to comment #1) > > > Solving this requires moving the bootable property from disk to VM-disk > > > relationship. > > > > Moving the bootable property to the device instead of the disk is generally > > the correct way to go, but in the meanwhile, we can have a CDA that checks > > updating the bootable property of a (shared) disk. > > Ayal, we can solve this, relatively easily, for disks only. > Please devel ack/nack this direction. Does this mean that setting bootable on a shareable disk would check to see if it's attached to other VMs and prevent it or does it mean that we would not support bootable shareable disks? (the former is fine, the latter is not). (In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #3) > > > (In reply to comment #1) > > > > Solving this requires moving the bootable property from disk to VM-disk > > > > relationship. > > > > > > Moving the bootable property to the device instead of the disk is generally > > > the correct way to go, but in the meanwhile, we can have a CDA that checks > > > updating the bootable property of a (shared) disk. > > > > Ayal, we can solve this, relatively easily, for disks only. > > Please devel ack/nack this direction. > > Does this mean that setting bootable on a shareable disk would check to see > if it's attached to other VMs and prevent it or does it mean that we would > not support bootable shareable disks? (the former is fine, the latter is > not). The former. When we edit a disk's properties in a VM context, it's bootable flag is checked only vs. the contextual VM - this should be changed to all of the VMs. verified on sf13 - we cannot edit the boot tab if the disk is shared on multiple vm's with already existing shared disks verified on sf13 - we cannot edit the boot tab if the disk is shared on multiple vm's with already existing shared disks 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/RHSA-2013-0888.html |