Bug 893689
Summary: | [engine-backend] unable to create floating disk - engine fails to clear task | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Haim <hateya> | ||||||
Component: | ovirt-engine | Assignee: | Liron Aravot <laravot> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Haim <hateya> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 3.2.0 | CC: | amureini, dyasny, iheim, lnatapov, lpeer, mlipchuk, Rhev-m-bugs, sgrinber, yeylon, ykaul | ||||||
Target Milestone: | --- | Keywords: | Regression, TestBlocker | ||||||
Target Release: | 3.2.0 | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | storage | ||||||||
Fixed In Version: | SF4 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 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: |
|
Description
Haim
2013-01-09 17:45:54 UTC
Created attachment 675747 [details]
engine log.
Created attachment 675748 [details]
vdsm.log
Haim, there are no reproduction steps here. In addition, the log contains the getTaskStatus that shows that the task failed, but the task flow itself is not in the log: Thread-55321::DEBUG::2013-01-09 17:30:45,530::taskManager::93::TaskManager::(getTaskStatus) Entry. taskID: fb7244f5-bb52-4ed3-b1d4-2750437fc2a0 Thread-55321::DEBUG::2013-01-09 17:30:45,530::taskManager::96::TaskManager::(getTaskStatus) Return. Response: {'code': 205, 'message': 'Error creating a new volume', 'taskState': 'finished', 'taskResult': 'cleanSuccess', 'taskID': 'fb7244f5-bb52-4ed3-b1d4-2750437fc2a0'} The vdsm task to create the disk failed (not sure whether before or after lvcreate because I don't have the relevant log). The task we're missing info on is: fb7244f5-bb52-4ed3-b1d4-2750437fc2a0 Note that there are many problems with the domain (checksum problems, missing directories in master fs, etc). From the log I suspect the NPE was caused since the storage pool related to the task is missing or does not exists in the setup. Haim, is it possible to check that through the DB: SELECT action_parameters FROM async_Tasks where task_id = 'fb7244f5-bb52-4ed3-b1d4-2750437fc2a0' see what is the storage pool id in the task and then SELECT id FROM storage_pool; to check if this storage pool exists. (In reply to comment #5) > From the log I suspect the NPE was caused since the storage pool related to > the task is missing or does not exists in the setup. > Haim, is it possible to check that through the DB: > SELECT action_parameters FROM async_Tasks where task_id = > 'fb7244f5-bb52-4ed3-b1d4-2750437fc2a0' > see what is the storage pool id in the task > and then SELECT id FROM storage_pool; > to check if this storage pool exists. happens consistently on 3.2 setup, pool does exists, the problem only occurs with floating disk, you are more then welcome to login and take a look. devel-ack - correct sp id should be passed, and we should be able to create the disk. relevant log to the issue (add disk) 3-01-09 19:48:14,640 INFO [org.ovirt.engine.core.utils.transaction.TransactionSupport] (pool-3-thread-47) transaction rolled back 2013-01-09 19:48:14,656 ERROR [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-47) EntityAsyncTask::EndCommandAction [within thread]: EndAction for action type Add Disk threw an exception: java.lang.NullPointerException at org.ovirt.engine.core.bll.VmCommand.endVmCommand(VmCommand.java:185) [engine-bll.jar:] at org.ovirt.engine.core.bll.VmCommand.endSuccessfully(VmCommand.java:222) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandBase.internalEndSuccessfully(CommandBase.java:523) [engine-bll.jar:] already pushed and merged: http://gerrit.ovirt.org/#/c/10623/ haim- the log you pasted is related to another issue, there seems to be tasks for storage pool that has been deleted - moving this to modify, adding needinfo for Haim to let you know about this issue if its not a known bug already (you might have opened one for that already). sf6. fixed. can create floating system disk. 3.2 has been released 3.2 has been released |