Hi,<br><br>This works now with the latest nightly builds.<br><br><br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 11, 2012 at 6:34 AM, Cristian Falcas <span dir="ltr"><<a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">attached is the vdsm log after trying one time with cli and one time from gui<div class="HOEnZb"><div class="h5"><br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Nov 11, 2012 at 1:03 AM, Ayal Baron <span dir="ltr"><<a href="mailto:abaron@redhat.com" target="_blank">abaron@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<br>
----- Original Message -----<br>
><br>
> I install only the 3.1 version on all packages. I dropped the<br>
> firewall and selinux.<br>
><br>
> I tried to add a new storage with the gui and via cli:<br>
> [oVirt shell (connected)]# create storagedomain --host-name<br>
> local_host --storage-type localfs --storage-path<br>
> /media/ceva2/Ovirt/Storage --name test --type "data"<br>
><br>
> error:<br>
> status: 400<br>
> reason: Bad Request<br>
> detail: Cannot add Storage. Internal error, Storage Connection<br>
> doesn't exist.<br>
<br>
</div>Can you attach the full vdsm.log ?<br>
<div><div><br>
><br>
><br>
> And I have the same exception:<br>
><br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,989::BindingXMLRPC::161::vds::(wrapper) [79.112.99.231]<br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,990::task::568::TaskManager.Task::(_updateState)<br>
> Task=`f9dba1a1-365d-4e00-8a54-3dbc70604460`::moving from state init<br>
> -> state preparing<br>
> Thread-3280::INFO::2012-11-10<br>
> 17:14:27,991::logUtils::37::dispatcher::(wrapper) Run and protect:<br>
> validateStorageServerConnection(domType=4,<br>
> spUUID='00000000-0000-0000-0000-000000000000',<br>
> conList=[{'connection': '/media/ceva2/Ovirt/Storage/', 'iqn': '',<br>
> 'portal': '', 'user': '', 'password': '******', 'id':<br>
> '00000000-0000-0000-0000-000000000000', 'port': ''}], options=None)<br>
> Thread-3280::INFO::2012-11-10<br>
> 17:14:27,991::logUtils::39::dispatcher::(wrapper) Run and protect:<br>
> validateStorageServerConnection, Return response: {'statuslist':<br>
> [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}<br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,991::task::1151::TaskManager.Task::(prepare)<br>
> Task=`f9dba1a1-365d-4e00-8a54-3dbc70604460`::finished:<br>
> {'statuslist': [{'status': 0, 'id':<br>
> '00000000-0000-0000-0000-000000000000'}]}<br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,991::task::568::TaskManager.Task::(_updateState)<br>
> Task=`f9dba1a1-365d-4e00-8a54-3dbc70604460`::moving from state<br>
> preparing -> state finished<br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,991::resourceManager::809::ResourceManager.Owner::(releaseAll)<br>
> Owner.releaseAll requests {} resources {}<br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,991::resourceManager::844::ResourceManager.Owner::(cancelAll)<br>
> Owner.cancelAll requests {}<br>
> Thread-3280::DEBUG::2012-11-10<br>
> 17:14:27,991::task::957::TaskManager.Task::(_decref)<br>
> Task=`f9dba1a1-365d-4e00-8a54-3dbc70604460`::ref 0 aborting False<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,049::BindingXMLRPC::161::vds::(wrapper) [79.112.99.231]<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,049::task::568::TaskManager.Task::(_updateState)<br>
> Task=`430ededc-db77-43cb-a21e-c89cd70772f6`::moving from state init<br>
> -> state preparing<br>
> Thread-3281::INFO::2012-11-10<br>
> 17:14:28,049::logUtils::37::dispatcher::(wrapper) Run and protect:<br>
> connectStorageServer(domType=4,<br>
> spUUID='00000000-0000-0000-0000-000000000000',<br>
> conList=[{'connection': '/media/ceva2/Ovirt/Storage/', 'iqn': '',<br>
> 'portal': '', 'user': '', 'password': '******', 'id':<br>
> '00000000-0000-0000-0000-000000000000', 'port': ''}], options=None)<br>
> Thread-3281::ERROR::2012-11-10<br>
> 17:14:28,164::hsm::2057::Storage.HSM::(connectStorageServer) Could<br>
> not connect to storageServer<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/storage/hsm.py", line 2054, in<br>
> connectStorageServer<br>
> conObj.connect()<br>
> File "/usr/share/vdsm/storage/storageServer.py", line 462, in connect<br>
> if not self.checkTarget():<br>
> File "/usr/share/vdsm/storage/storageServer.py", line 449, in<br>
> checkTarget<br>
> fileSD.validateDirAccess(self._path))<br>
> File "/usr/share/vdsm/storage/fileSD.py", line 51, in<br>
> validateDirAccess<br>
> getProcPool().fileUtils.validateAccess(dirPath)<br>
> File "/usr/share/vdsm/storage/remoteFileHandler.py", line 277, in<br>
> callCrabRPCFunction<br>
> *args, **kwargs)<br>
> File "/usr/share/vdsm/storage/remoteFileHandler.py", line 180, in<br>
> callCrabRPCFunction<br>
> rawLength = self._recvAll(LENGTH_STRUCT_LENGTH, timeout)<br>
> File "/usr/share/vdsm/storage/remoteFileHandler.py", line 149, in<br>
> _recvAll<br>
> timeLeft):<br>
> File "/usr/lib64/python2.7/contextlib.py", line 84, in helper<br>
> return GeneratorContextManager(func(*args, **kwds))<br>
> File "/usr/share/vdsm/storage/remoteFileHandler.py", line 136, in<br>
> _poll<br>
> raise Timeout()<br>
> Timeout<br>
> Thread-3281::INFO::2012-11-10<br>
> 17:14:28,165::logUtils::39::dispatcher::(wrapper) Run and protect:<br>
> connectStorageServer, Return response: {'statuslist': [{'status':<br>
> 100, 'id': '00000000-0000-0000-0000-000000000000'}]}<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,165::task::1151::TaskManager.Task::(prepare)<br>
> Task=`430ededc-db77-43cb-a21e-c89cd70772f6`::finished:<br>
> {'statuslist': [{'status': 100, 'id':<br>
> '00000000-0000-0000-0000-000000000000'}]}<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,165::task::568::TaskManager.Task::(_updateState)<br>
> Task=`430ededc-db77-43cb-a21e-c89cd70772f6`::moving from state<br>
> preparing -> state finished<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,165::resourceManager::809::ResourceManager.Owner::(releaseAll)<br>
> Owner.releaseAll requests {} resources {}<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,166::resourceManager::844::ResourceManager.Owner::(cancelAll)<br>
> Owner.cancelAll requests {}<br>
> Thread-3281::DEBUG::2012-11-10<br>
> 17:14:28,166::task::957::TaskManager.Task::(_decref)<br>
> Task=`430ededc-db77-43cb-a21e-c89cd70772f6`::ref 0 aborting False<br>
><br>
><br>
> Packages installed:<br>
><br>
> [root@localhost vdsm]# rpm -qa | egrep vdsm\|ovirt-engine | sort<br>
> ovirt-engine-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-backend-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-cli-3.1.0.6-1.fc17.noarch<br>
> ovirt-engine-config-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-dbscripts-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-genericapi-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-notification-service-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-restapi-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-sdk-3.1.0.4-1.fc17.noarch<br>
> ovirt-engine-setup-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-setup-plugin-allinone-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-tools-common-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-userportal-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> ovirt-engine-webadmin-portal-3.1.0-3.20121109.git2dc9b51.fc17.noarch<br>
> vdsm-4.10.1-0.119.git60d7e63.fc17.x86_64<br>
> vdsm-bootstrap-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-cli-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-debuginfo-4.10.1-0.119.git60d7e63.fc17.x86_64<br>
> vdsm-debug-plugin-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-gluster-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-directlun-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-faqemu-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-fileinject-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-floppy-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-hostusb-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-hugepages-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-isolatedprivatevlan-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-numa-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-pincpu-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-promisc-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-qemucmdline-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-qos-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-scratchpad-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-smartcard-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-smbios-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-sriov-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-vhostmd-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-hook-vmdisk-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-python-4.10.1-0.119.git60d7e63.fc17.x86_64<br>
> vdsm-reg-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-rest-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-tests-4.10.1-0.119.git60d7e63.fc17.noarch<br>
> vdsm-xmlrpc-4.10.1-0.119.git60d7e63.fc17.noarch<br>
><br>
><br>
><br>
><br>
><br>
> On Fri, Nov 9, 2012 at 6:16 PM, Steve Gordon < <a href="mailto:sgordon@redhat.com" target="_blank">sgordon@redhat.com</a> ><br>
> wrote:<br>
><br>
><br>
><br>
><br>
><br>
> ----- Original Message -----<br>
> > From: "Steve Gordon" < <a href="mailto:sgordon@redhat.com" target="_blank">sgordon@redhat.com</a> ><br>
> > To: "Moran Goldboim" < <a href="mailto:mgoldboi@redhat.com" target="_blank">mgoldboi@redhat.com</a> ><br>
</div></div><div><div>> > Cc: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> , "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a> ><br>
> > Sent: Friday, November 9, 2012 11:11:23 AM<br>
> > Subject: Re: [Users] allinone setup can't add storage<br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Moran Goldboim" < <a href="mailto:mgoldboi@redhat.com" target="_blank">mgoldboi@redhat.com</a> ><br>
> > > To: "Cristian Falcas" < <a href="mailto:cristi.falcas@gmail.com" target="_blank">cristi.falcas@gmail.com</a> ><br>
> > > Cc: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
> > > Sent: Wednesday, November 7, 2012 8:47:08 AM<br>
> > > Subject: Re: [Users] allinone setup can't add storage<br>
> > ><br>
> > > you are using ovirt-sdk from stable repo and engine from nightly<br>
> > > repo,<br>
> > > those doesn't work together.<br>
> ><br>
> > Funnily enough, you will find it is actually in Fedora's stable<br>
> > updates repository and you can tell from the dist tag that is where<br>
> > this user (and many others) picked it up from. Refer to:<br>
> ><br>
> > <a href="https://bugzilla.redhat.com/show_bug.cgi?id=851893" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=851893</a><br>
> Correction, this is the BZ:<br>
> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=869457" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=869457</a><br>
><br>
><br>
><br>
> > <a href="https://admin.fedoraproject.org/updates/FEDORA-2012-14464/ovirt-engine-sdk-3.2.0.2-1.fc17?_csrf_token=13cb5ad1a0d3d9177fa143d1724754d8b65fb99e" target="_blank">https://admin.fedoraproject.org/updates/FEDORA-2012-14464/ovirt-engine-sdk-3.2.0.2-1.fc17?_csrf_token=13cb5ad1a0d3d9177fa143d1724754d8b65fb99e</a><br>
> ><br>
> > This has been causing a variety of issues for users since it was<br>
> > pushed in early October. Here are some others from my logs:<br>
> ><br>
> > Oct 16 06:13:04 <gestahlt> AIO: Error: could not create ovirtsdk<br>
> > API<br>
> > object<br>
> > Oct 23 19:58:03 <Rudde> okey here is my Error "Exception: Error:<br>
> > could not create ovirtsdk API object<br>
> > Oct 27 08:13:32 <yaro014> after yum update i'm getting error "ovirt<br>
> > Error: could not create ovirtsdk API object" while engine-setup,<br>
> > could anyone advice ? cannot find anything in google<br>
> ><br>
> > It breaks installation of oVirt 3.1 AIO on F17 and also I believe<br>
> > some of the tools for "normal" installs. In future it would be<br>
> > better if we did not push incompatible versions to stable Fedora<br>
> > releases, it directly convenes Fedora's updates policy.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Steve<br>
> ><br>
> > > On 11/07/2012 01:40 PM, Cristian Falcas wrote:<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>
> > > > 2012-11-07 13:34:44::DEBUG::all_in_one_100::220::root::<br>
> > > > Initiating<br>
> > > > the<br>
> > > > API object<br>
> > > > 2012-11-07 13:34:44::ERROR::all_in_one_100::231::root::<br>
> > > > Traceback<br>
> > > > (most recent call last):<br>
> > > > File<br>
> > > > "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",<br>
> > > > line 228, in initAPI<br>
> > > > ca_file=basedefs.FILE_CA_CRT_SRC,<br>
> > > > TypeError: __init__() got an unexpected keyword argument<br>
> > > > 'ca_file'<br>
> > > ><br>
> > > > 2012-11-07 13:34:44::DEBUG::setup_sequences::62::root::<br>
> > > > Traceback<br>
> > > > (most recent call last):<br>
> > > > File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line<br>
> > > > 60,<br>
> > > > in run<br>
> > > > function()<br>
> > > > File<br>
> > > > "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py",<br>
> > > > line 232, in initAPI<br>
> > > > raise Exception(ERROR_CREATE_API_OBJECT)<br>
> > > > Exception: Error: could not create ovirtsdk API object<br>
> > > ><br>
> > > ><br>
> > > > Versions installed:<br>
> > > ><br>
> > > > ovirt-engine-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-backend-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-cli-3.1.0.6-1.fc17.noarch<br>
> > > > ovirt-engine-config-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-dbscripts-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-genericapi-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-notification-service-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-restapi-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-sdk-3.1.0.4-1.fc17.noarch<br>
> > > > ovirt-engine-setup-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-setup-plugin-allinone-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-tools-common-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-userportal-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > > ovirt-engine-webadmin-portal-3.1.0-3.20121106.git6891171.fc17.noarch<br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<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/mailman/listinfo/users</a><br>
> > ><br>
> > > _______________________________________________<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/mailman/listinfo/users</a><br>
> > ><br>
> ><br>
><br>
><br>
> _______________________________________________<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/mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>