Tried it now with sudo to run the commands.
everything is ok.

I tried with vdsm again and here is what I see in vdsm.log
I did the cut after multiple call to lvcreate for outbox,leases,.. etc
last one is master, then there is a call to chown and mkfs.
from here mkfs did fail and kernel crashed.


--
Thread-154::DEBUG::2012-03-07
11:00:14,560::lvm::956::Storage.Misc.excCmd::(createLV) '/usr/bin/sudo -n
/bin/chown vdsm:qemu /dev/18706999-9fab-45ab-9d29-75f2eaa225aa/master' (cwd
None)
Thread-154::DEBUG::2012-03-07
11:00:14,577::lvm::956::Storage.Misc.excCmd::(createLV) SUCCESS: <err> =
''; <rc> = 0
Thread-154::DEBUG::2012-03-07
11:00:14,578::blockSD::1036::Storage.Misc.excCmd::(_createVMSfs)
'/usr/bin/sudo -n /sbin/mkfs -q -j -E nodiscard
/dev/18706999-9fab-45ab-9d29-75f2eaa225aa/master' (cwd None)
Thread-154::DEBUG::2012-03-07
11:00:15,112::blockSD::1036::Storage.Misc.excCmd::(_createVMSfs) FAILED:
<err> = ''; <rc> = 139
Thread-154::ERROR::2012-03-07
11:00:15,113::task::853::TaskManager.Task::(_setError)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 861, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 2072, in createStorageDomain
    domClass, typeSpecificArg, storageType, domVersion)
  File "/usr/share/vdsm/storage/blockSD.py", line 357, in create
    _createVMSfs(os.path.join("/dev", vgName, MASTERLV))
  File "/usr/share/vdsm/storage/blockSD.py", line 1038, in _createVMSfs
    raise se.MkfsError(dev)
MkfsError: Cannot create filesystem on device:
('/dev/18706999-9fab-45ab-9d29-75f2eaa225aa/master',)
Thread-154::DEBUG::2012-03-07
11:00:15,120::task::872::TaskManager.Task::(_run)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::Task._run:
349abfb0-1838-4a6f-9b95-6521ad880cb2 (3,
'18706999-9fab-45ab-9d29-75f2eaa225aa', 'xx',
'hkDKBq-XAjX-qE1A-WCi7-Sttt-Lmos-uzVqR7', 1, '2') {} failed - stopping task
Thread-154::DEBUG::2012-03-07
11:00:15,120::task::1199::TaskManager.Task::(stop)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::stopping in state preparing
(force False)
Thread-154::DEBUG::2012-03-07
11:00:15,120::task::978::TaskManager.Task::(_decref)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::ref 1 aborting True
Thread-154::INFO::2012-03-07
11:00:15,121::task::1157::TaskManager.Task::(prepare)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::aborting: Task is aborted:
'Cannot create filesystem on device' - code 608
Thread-154::DEBUG::2012-03-07
11:00:15,121::task::1162::TaskManager.Task::(prepare)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::Prepare: aborted: Cannot
create filesystem on device
Thread-154::DEBUG::2012-03-07
11:00:15,122::task::978::TaskManager.Task::(_decref)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::ref 0 aborting True
Thread-154::DEBUG::2012-03-07
11:00:15,122::task::913::TaskManager.Task::(_doAbort)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::Task._doAbort: force False
Thread-154::DEBUG::2012-03-07
11:00:15,123::resourceManager::844::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-154::DEBUG::2012-03-07
11:00:15,123::task::588::TaskManager.Task::(_updateState)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::moving from state preparing ->
state aborting
Thread-154::DEBUG::2012-03-07
11:00:15,123::task::537::TaskManager.Task::(__state_aborting)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::_aborting: recover policy none
Thread-154::DEBUG::2012-03-07
11:00:15,124::task::588::TaskManager.Task::(_updateState)
Task=`349abfb0-1838-4a6f-9b95-6521ad880cb2`::moving from state aborting ->
state failed
Thread-154::DEBUG::2012-03-07
11:00:15,124::resourceManager::809::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-154::DEBUG::2012-03-07
11:00:15,125::resourceManager::844::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-154::ERROR::2012-03-07
11:00:15,125::dispatcher::90::Storage.Dispatcher.Protect::(run) {'status':
{'message': "Cannot create filesystem on device:
('/dev/18706999-9fab-45ab-9d29-75f2eaa225aa/master',)", 'code': 608}}
Thread-157::DEBUG::2012-03-07
11:00:18,916::task::588::TaskManager.Task::(_updateState)
Task=`55a87a6e-6d63-4b40-94a5-1244cd7eb2aa`::moving from state init ->
state preparing
Thread-157::INFO::2012-03-07
11:00:18,917::logUtils::37::dispatcher::(wrapper) Run and protect:
repoStats(options=None)
Thread-157::INFO::2012-03-07
11:00:18,918::logUtils::39::dispatcher::(wrapper) Run and protect:
repoStats, Return response: {}
Thread-157::DEBUG::2012-03-07
11:00:18,918::task::1172::TaskManager.Task::(prepare)
Task=`55a87a6e-6d63-4b40-94a5-1244cd7eb2aa`::finished: {}
Thread-157::DEBUG::2012-03-07
11:00:18,919::task::588::TaskManager.Task::(_updateState)
Task=`55a87a6e-6d63-4b40-94a5-1244cd7eb2aa`::moving from state preparing ->
state finished
Thread-157::DEBUG::2012-03-07
11:00:18,919::resourceManager::809::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-157::DEBUG::2012-03-07
11:00:18,920::resourceManager::844::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-157::DEBUG::2012-03-07
11:00:18,920::task::978::TaskManager.Task::(_decref)
Task=`55a87a6e-6d63-4b40-94a5-1244cd7eb2aa`::ref 0 aborting False
--
_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to