[Engine-devel] disk quota broken in latest master

Dead Horse deadhorseconsulting at gmail.com
Fri Sep 20 19:15:55 UTC 2013


When attempting to add a disk from either the admin or power user portals
the according disk quota associated with the requested storage domain
cannot be assigned to the disk. The disk quota pull-down only will only
display whatever quota is first in the list alphabetically.
- DHC

engine and vdsm logs attached.

2013-09-20 13:56:36,810 INFO  [org.ovirt.engine.core.bll.
LoginUserCommand] (ajp--127.0.0.1-8702-4) Running command: LoginUserCommand
internal: false.
2013-09-20 13:56:36,833 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 at internal logged in.
2013-09-20 13:56:45,775 ERROR
[org.ovirt.engine.core.utils.servlet.ServletUtils] (ajp--127.0.0.1-8702-6)
Can't read file "/usr/share/doc/ovirt-engine/manual/DocumentationPath.csv"
for request "/docs/DocumentationPath.csv", will send a 404 error response.
2013-09-20 13:57:00,456 INFO
[org.ovirt.engine.core.bll.quota.QuotaManager]
(DefaultQuartzScheduler_Worker-72) Quota Cache updated. (26 msec)
2013-09-20 13:57:01,810 INFO  [org.ovirt.engine.core.bll.AddDiskCommand]
(ajp--127.0.0.1-8702-10) Lock Acquired to object EngineLock
[exclusiveLocks= key: ca3cecf1-090e-469a-aaad-e26ce47f89d8 value:
VM_DISK_BOOT
, sharedLocks= key: ca3cecf1-090e-469a-aaad-e26ce47f89d8 value: VM
]
2013-09-20 13:57:01,863 ERROR
[org.ovirt.engine.core.bll.quota.QuotaManager] (ajp--127.0.0.1-8702-10)
Quota storage parameters from command:
org.ovirt.engine.core.bll.AddDiskCommand. Storage domain does not match
quota
2013-09-20 13:57:01,901 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-10) Correlation ID: 5790e811, Job ID:
7abd0b95-4cd4-4cb5-864c-d51c4446a42d, Call Stack: null, Custom Event ID:
-1, Message: Missing Quota for Disk, proceeding since in Permissive (Audit)
mode.
2013-09-20 13:57:01,937 INFO  [org.ovirt.engine.core.bll.AddDiskCommand]
(ajp--127.0.0.1-8702-10) Running command: AddDiskCommand internal: false.
Entities affected :  ID: ca3cecf1-090e-469a-aaad-e26ce47f89d8 Type: VM,
ID: 26be0640-01a3-415d-82c9-0a92f2f84c3f Type: Storage
2013-09-20 13:57:02,325 INFO
[org.ovirt.engine.core.bll.AddImageFromScratchCommand]
(ajp--127.0.0.1-8702-10) Running command: AddImageFromScratchCommand
internal: true. Entities affected :  ID:
26be0640-01a3-415d-82c9-0a92f2f84c3f Type: Storage
2013-09-20 13:57:02,446 INFO
[org.ovirt.engine.core.bll.AddImageFromScratchCommand]
(ajp--127.0.0.1-8702-10) Lock freed to object EngineLock [exclusiveLocks=
key: ca3cecf1-090e-469a-aaad-e26ce47f89d8 value: VM_DISK_BOOT
, sharedLocks= key: ca3cecf1-090e-469a-aaad-e26ce47f89d8 value: VM
]
2013-09-20 13:57:02,451 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(ajp--127.0.0.1-8702-10) START, CreateImageVDSCommand( storagePoolId =
5849b030-626e-47cb-ad90-3ce782d831b3, ignoreFailoverLimit = false,
storageDomainId = 26be0640-01a3-415d-82c9-0a92f2f84c3f, imageGroupId =
bf6458bc-627a-4399-822d-f72751edf303, imageSizeInBytes = 1073741824,
volumeFormat = RAW, newImageId = 165089b7-4737-4900-9a7f-d2d888ec3514,
newImageDescription = ), log id: 1ef8212d
2013-09-20 13:57:02,454 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(ajp--127.0.0.1-8702-10) -- executeIrsBrokerCommand: calling 'createVolume'
with two new parameters: description and UUID
2013-09-20 13:57:02,456 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(ajp--127.0.0.1-8702-10) -- createVolume parameters:

                sdUUID=26be0640-01a3-415d-82c9-0a92f2f84c3f

                spUUID=5849b030-626e-47cb-ad90-3ce782d831b3

                imgGUID=bf6458bc-627a-4399-822d-f72751edf303

                size=1,073,741,824 bytes

                volFormat=RAW

                volType=Sparse

                volUUID=165089b7-4737-4900-9a7f-d2d888ec3514

                descr=

                srcImgGUID=00000000-0000-0000-0000-000000000000

                srcVolUUID=00000000-0000-0000-0000-000000000000


2013-09-20 13:57:02,489 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand]
(ajp--127.0.0.1-8702-10) FINISH, CreateImageVDSCommand, return:
165089b7-4737-4900-9a7f-d2d888ec3514, log id: 1ef8212d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130920/7ba205a8/attachment.html>


More information about the Engine-devel mailing list