<div class=""><div class=""><div class="">This is what I got:<br><br>Error in GUI: Cannot add Storage. Internal error, Storage Connection doesn&#39;t exist.<br><br>Permissions:<br>ls -la /media/ceva2/Ovirt/Storage/<br>total 8<br>

drwxrwxr-x. 2 vdsm kvm 4096 Nov  6 09:04 .<br>drwxr-xr-x. 5 vdsm kvm 4096 Nov  2 10:55 ..<br><br>df | grep /media/ceva2<br>/dev/mapper/1ATA_WDC_WD2500BB-00GUA0_WD-WCAL73625324p2 144237688 124962468  11948376  92% /media/ceva2<br>

<br><br>This is with the latest nightly on ovirt and vdsm.<br><br>This is the error from vdsm:<br><br><br>Thread-366::DEBUG::2012-11-08 08:31:41,244::BindingXMLRPC::161::vds::(wrapper) [79.112.94.67]<br>Thread-366::DEBUG::2012-11-08 08:31:41,244::task::568::TaskManager.Task::(_updateState) Task=`2b324a0a-96ef-4ecd-8ad3-b8588ed93fd5`::moving from state init -&gt; state preparing<br>

Thread-366::INFO::2012-11-08 08:31:41,245::logUtils::37::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=4, spUUID=&#39;00000000-0000-0000-0000-000000000000&#39;, conList=[{&#39;connection&#39;: &#39;/media/ceva2/Ovirt/Storage&#39;, &#39;iqn&#39;: &#39;&#39;, &#39;portal&#39;: &#39;&#39;, &#39;user&#39;: &#39;&#39;, &#39;password&#39;: &#39;******&#39;, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;, &#39;port&#39;: &#39;&#39;}], options=None)<br>

Thread-366::INFO::2012-11-08 08:31:41,245::logUtils::39::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>

Thread-366::DEBUG::2012-11-08 08:31:41,245::task::1151::TaskManager.Task::(prepare) Task=`2b324a0a-96ef-4ecd-8ad3-b8588ed93fd5`::finished: {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>

Thread-366::DEBUG::2012-11-08 08:31:41,245::task::568::TaskManager.Task::(_updateState) Task=`2b324a0a-96ef-4ecd-8ad3-b8588ed93fd5`::moving from state preparing -&gt; state finished<br>Thread-366::DEBUG::2012-11-08 08:31:41,245::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>

Thread-366::DEBUG::2012-11-08 08:31:41,245::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>Thread-366::DEBUG::2012-11-08 08:31:41,246::task::957::TaskManager.Task::(_decref) Task=`2b324a0a-96ef-4ecd-8ad3-b8588ed93fd5`::ref 0 aborting False<br>

Thread-367::DEBUG::2012-11-08 08:31:41,304::BindingXMLRPC::161::vds::(wrapper) [79.112.94.67]<br>Thread-367::DEBUG::2012-11-08 08:31:41,305::task::568::TaskManager.Task::(_updateState) Task=`2844a5a4-7148-4d44-858c-fc75abab1a5f`::moving from state init -&gt; state preparing<br>

Thread-367::INFO::2012-11-08 08:31:41,305::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=4, spUUID=&#39;00000000-0000-0000-0000-000000000000&#39;, conList=[{&#39;connection&#39;: &#39;/media/ceva2/Ovirt/Storage&#39;, &#39;iqn&#39;: &#39;&#39;, &#39;portal&#39;: &#39;&#39;, &#39;user&#39;: &#39;&#39;, &#39;password&#39;: &#39;******&#39;, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;, &#39;port&#39;: &#39;&#39;}], options=None)<br>

Thread-367::ERROR::2012-11-08 08:31:41,430::hsm::2057::Storage.HSM::(connectStorageServer) Could not connect to storageServer<br>Traceback (most recent call last):<br>  File &quot;/usr/share/vdsm/storage/hsm.py&quot;, line 2054, in connectStorageServer<br>

    conObj.connect()<br>  File &quot;/usr/share/vdsm/storage/storageServer.py&quot;, line 462, in connect<br>    if not self.checkTarget():<br>  File &quot;/usr/share/vdsm/storage/storageServer.py&quot;, line 449, in checkTarget<br>

    fileSD.validateDirAccess(self._path))<br>  File &quot;/usr/share/vdsm/storage/fileSD.py&quot;, line 51, in validateDirAccess<br>    getProcPool().fileUtils.validateAccess(dirPath)<br>  File &quot;/usr/share/vdsm/storage/remoteFileHandler.py&quot;, line 277, in callCrabRPCFunction<br>

    *args, **kwargs)<br>  File &quot;/usr/share/vdsm/storage/remoteFileHandler.py&quot;, line 180, in callCrabRPCFunction<br>    rawLength = self._recvAll(LENGTH_STRUCT_LENGTH, timeout)<br>  File &quot;/usr/share/vdsm/storage/remoteFileHandler.py&quot;, line 149, in _recvAll<br>

    timeLeft):<br>  File &quot;/usr/lib64/python2.7/contextlib.py&quot;, line 84, in helper<br>    return GeneratorContextManager(func(*args, **kwds))<br>  File &quot;/usr/share/vdsm/storage/remoteFileHandler.py&quot;, line 136, in _poll<br>

    raise Timeout()<br>Timeout<br>Thread-367::INFO::2012-11-08 08:31:41,432::logUtils::39::dispatcher::(wrapper) Run and protect: connectStorageServer, Return response: {&#39;statuslist&#39;: [{&#39;status&#39;: 100, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>

Thread-367::DEBUG::2012-11-08 08:31:41,433::task::1151::TaskManager.Task::(prepare) Task=`2844a5a4-7148-4d44-858c-fc75abab1a5f`::finished: {&#39;statuslist&#39;: [{&#39;status&#39;: 100, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>

Thread-367::DEBUG::2012-11-08 08:31:41,433::task::568::TaskManager.Task::(_updateState) Task=`2844a5a4-7148-4d44-858c-fc75abab1a5f`::moving from state preparing -&gt; state finished<br>Thread-367::DEBUG::2012-11-08 08:31:41,434::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>

Thread-367::DEBUG::2012-11-08 08:31:41,434::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>Thread-367::DEBUG::2012-11-08 08:31:41,435::task::957::TaskManager.Task::(_decref) Task=`2844a5a4-7148-4d44-858c-fc75abab1a5f`::ref 0 aborting False<br>

Thread-370::DEBUG::2012-11-08 08:31:41,784::BindingXMLRPC::161::vds::(wrapper) [79.112.94.67]<br>Thread-370::DEBUG::2012-11-08 08:31:41,784::task::568::TaskManager.Task::(_updateState) Task=`aa8526b6-0772-4909-bad3-b2cd7ad589cc`::moving from state init -&gt; state preparing<br>

Thread-370::INFO::2012-11-08 08:31:41,784::logUtils::37::dispatcher::(wrapper) Run and protect: disconnectStorageServer(domType=4, spUUID=&#39;00000000-0000-0000-0000-000000000000&#39;, conList=[{&#39;connection&#39;: &#39;/media/ceva2/Ovirt/Storage&#39;, &#39;iqn&#39;: &#39;&#39;, &#39;portal&#39;: &#39;&#39;, &#39;user&#39;: &#39;&#39;, &#39;password&#39;: &#39;******&#39;, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;, &#39;port&#39;: &#39;&#39;}], options=None)<br>

Thread-370::DEBUG::2012-11-08 08:31:41,785::misc::1026::SamplingMethod::(__call__) Trying to enter sampling method (storage.sdc.refreshStorage)<br>Thread-370::DEBUG::2012-11-08 08:31:41,785::misc::1028::SamplingMethod::(__call__) Got in to sampling method<br>

Thread-370::DEBUG::2012-11-08 08:31:41,785::misc::1026::SamplingMethod::(__call__) Trying to enter sampling method (storage.iscsi.rescan)<br>Thread-370::DEBUG::2012-11-08 08:31:41,785::misc::1028::SamplingMethod::(__call__) Got in to sampling method<br>

Thread-370::DEBUG::2012-11-08 08:31:41,785::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/sudo -n /sbin/iscsiadm -m session -R&#39; (cwd None)<br>Thread-370::DEBUG::2012-11-08 08:31:41,810::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) FAILED: &lt;err&gt; = &#39;iscsiadm: No session found.\n&#39;; &lt;rc&gt; = 21<br>

Thread-370::DEBUG::2012-11-08 08:31:41,811::misc::1036::SamplingMethod::(__call__) Returning last result<br>MainProcess|Thread-370::DEBUG::2012-11-08 08:31:41,814::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/dd of=/sys/class/scsi_host/host0/scan&#39; (cwd None)<br>

MainProcess|Thread-370::DEBUG::2012-11-08 08:31:41,817::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/dd of=/sys/class/scsi_host/host1/scan&#39; (cwd None)<br>MainProcess|Thread-370::DEBUG::2012-11-08 08:31:41,820::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/dd of=/sys/class/scsi_host/host2/scan&#39; (cwd None)<br>

MainProcess|Thread-370::DEBUG::2012-11-08 08:31:41,822::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/dd of=/sys/class/scsi_host/host3/scan&#39; (cwd None)<br>MainProcess|Thread-370::DEBUG::2012-11-08 08:31:42,827::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/dd of=/sys/class/scsi_host/host4/scan&#39; (cwd None)<br>

MainProcess|Thread-370::DEBUG::2012-11-08 08:31:42,835::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/dd of=/sys/class/scsi_host/host5/scan&#39; (cwd None)<br>MainProcess|Thread-370::DEBUG::2012-11-08 08:31:42,842::iscsi::388::Storage.ISCSI::(forceIScsiScan) Performing SCSI scan, this will take up to 30 seconds<br>

Thread-370::DEBUG::2012-11-08 08:31:44,846::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) &#39;/bin/sudo -n /sbin/multipath&#39; (cwd None)<br>Thread-370::DEBUG::2012-11-08 08:31:44,902::misc::84::Storage.Misc.excCmd::(&lt;lambda&gt;) SUCCESS: &lt;err&gt; = &#39;&#39;; &lt;rc&gt; = 0<br>

Thread-370::DEBUG::2012-11-08 08:31:44,903::lvm::477::OperationMutex::(_invalidateAllPvs) Operation &#39;lvm invalidate operation&#39; got the operation mutex<br>Thread-370::DEBUG::2012-11-08 08:31:44,904::lvm::479::OperationMutex::(_invalidateAllPvs) Operation &#39;lvm invalidate operation&#39; released the operation mutex<br>

Thread-370::DEBUG::2012-11-08 08:31:44,905::lvm::488::OperationMutex::(_invalidateAllVgs) Operation &#39;lvm invalidate operation&#39; got the operation mutex<br>Thread-370::DEBUG::2012-11-08 08:31:44,905::lvm::490::OperationMutex::(_invalidateAllVgs) Operation &#39;lvm invalidate operation&#39; released the operation mutex<br>

Thread-370::DEBUG::2012-11-08 08:31:44,906::lvm::508::OperationMutex::(_invalidateAllLvs) Operation &#39;lvm invalidate operation&#39; got the operation mutex<br>Thread-370::DEBUG::2012-11-08 08:31:44,906::lvm::510::OperationMutex::(_invalidateAllLvs) Operation &#39;lvm invalidate operation&#39; released the operation mutex<br>

Thread-370::DEBUG::2012-11-08 08:31:44,907::misc::1036::SamplingMethod::(__call__) Returning last result<br>Thread-370::INFO::2012-11-08 08:31:44,907::logUtils::39::dispatcher::(wrapper) Run and protect: disconnectStorageServer, Return response: {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>

Thread-370::DEBUG::2012-11-08 08:31:44,908::task::1151::TaskManager.Task::(prepare) Task=`aa8526b6-0772-4909-bad3-b2cd7ad589cc`::finished: {&#39;statuslist&#39;: [{&#39;status&#39;: 0, &#39;id&#39;: &#39;00000000-0000-0000-0000-000000000000&#39;}]}<br>

Thread-370::DEBUG::2012-11-08 08:31:44,908::task::568::TaskManager.Task::(_updateState) Task=`aa8526b6-0772-4909-bad3-b2cd7ad589cc`::moving from state preparing -&gt; state finished<br>Thread-370::DEBUG::2012-11-08 08:31:44,909::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}<br>

Thread-370::DEBUG::2012-11-08 08:31:44,909::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}<br>Thread-370::DEBUG::2012-11-08 08:31:44,910::task::957::TaskManager.Task::(_decref) Task=`aa8526b6-0772-4909-bad3-b2cd7ad589cc`::ref 0 aborting False<br>

<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 7, 2012 at 10:00 PM, Itamar Heim <span dir="ltr">&lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 11/07/2012 02:59 PM, Cristian Falcas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Bummer.<br>
<br>
And the sdk from nightly is not working because it&#39;s too new, from what<br>
I sow on the mailing list?<br>
<br>
I have errors even when I&#39;m trying to add the storage manually, from the<br>
engine.Should I give up on nightly and use the beta ones, or there is an<br>
other solution for this?<br>
</blockquote>
<br></div>
shouldn&#39;t fail from admin. which vdsm version, logs?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
On Wed, Nov 7, 2012 at 3:47 PM, Moran Goldboim &lt;<a href="mailto:mgoldboi@redhat.com" target="_blank">mgoldboi@redhat.com</a><br></div><div class="im">
&lt;mailto:<a href="mailto:mgoldboi@redhat.com" target="_blank">mgoldboi@redhat.com</a>&gt;&gt; wrote:<br>
<br>
    you are using ovirt-sdk from stable repo and engine from nightly<br>
    repo, those doesn&#39;t work together.<br>
<br>
<br>
<br>
    On 11/07/2012 01:40 PM, Cristian Falcas wrote:<br>
<br>
        Hi all,<br>
<br>
        Can someone help me with this error:<br>
<br>
        AIO: Adding Local Datacenter and cluster...<br>
        [ ERROR ]<br>
        Error: could not create ovirtsdk API object<br>
<br>
<br>
        trace from the log file<br>
<br></div>
        2012-11-07 13:34:44::DEBUG::all_in_one___<u></u>100::220::root::<br>
        Initiating the API object<br>
        2012-11-07 13:34:44::ERROR::all_in_one___<u></u>100::231::root::<div class="im"><br>
        Traceback (most recent call last):<br>
           File<br></div>
        &quot;/usr/share/ovirt-engine/__<u></u>scripts/plugins/all_in_one___<u></u>100.py&quot;,<br>
        line 228, in initAPI<br>
             ca_file=basedefs.FILE_CA_CRT__<u></u>_SRC,<div class="im"><br>
        TypeError: __init__() got an unexpected keyword argument &#39;ca_file&#39;<br>
<br></div>
        2012-11-07 13:34:44::DEBUG::setup___<u></u>sequences::62::root::<div class="im"><br>
        Traceback (most recent call last):<br></div>
           File &quot;/usr/share/ovirt-engine/__<u></u>scripts/setup_sequences.py&quot;,<div class="im"><br>
        line 60, in run<br>
             function()<br>
           File<br></div>
        &quot;/usr/share/ovirt-engine/__<u></u>scripts/plugins/all_in_one___<u></u>100.py&quot;,<br>
        line 232, in initAPI<br>
             raise Exception(ERROR_CREATE_API___<u></u>OBJECT)<div class="im"><br>
        Exception: Error: could not create ovirtsdk API object<br>
<br>
<br>
        Versions installed:<br>
<br></div>
        ovirt-engine-3.1.0-3.20121106.<u></u>__git6891171.fc17.noarch<br>
        ovirt-engine-backend-3.1.0-3._<u></u>_20121106.git6891171.fc17.__<u></u>noarch<br>
        ovirt-engine-cli-3.1.0.6-1.__<u></u>fc17.noarch<br>
        ovirt-engine-config-3.1.0-3.__<u></u>20121106.git6891171.fc17.__<u></u>noarch<br>
        ovirt-engine-dbscripts-3.1.0-_<u></u>_3.20121106.git6891171.fc17.__<u></u>noarch<br>
        ovirt-engine-genericapi-3.1.0-<u></u>__3.20121106.git6891171.fc17._<u></u>_noarch<br>
        ovirt-engine-notification-__<u></u>service-3.1.0-3.20121106.__<u></u>git6891171.fc17.noarch<br>
        ovirt-engine-restapi-3.1.0-3._<u></u>_20121106.git6891171.fc17.__<u></u>noarch<br>
        ovirt-engine-sdk-3.1.0.4-1.__<u></u>fc17.noarch<br>
        ovirt-engine-setup-3.1.0-3.__<u></u>20121106.git6891171.fc17.__<u></u>noarch<br>
        ovirt-engine-setup-plugin-__<u></u>allinone-3.1.0-3.20121106.__<u></u>git6891171.fc17.noarch<br>
        ovirt-engine-tools-common-3.1.<u></u>__0-3.20121106.git6891171.<u></u>fc17.__noarch<br>
        ovirt-engine-userportal-3.1.0-<u></u>__3.20121106.git6891171.fc17._<u></u>_noarch<br>
        ovirt-engine-webadmin-portal-_<u></u>_3.1.0-3.20121106.git6891171._<u></u>_fc17.noarch<br>
<br>
<br>
        ______________________________<u></u>___________________<br>
        Users mailing list<br>
        <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
        <a href="http://lists.ovirt.org/__mailman/listinfo/users" target="_blank">http://lists.ovirt.org/__<u></u>mailman/listinfo/users</a><br>
        &lt;<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a>&gt;<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br></div>