[Users] Glance with oVirt

Jason Brooks jbrooks at redhat.com
Tue Sep 24 15:06:08 UTC 2013


On Tue, 2013-09-24 at 16:15 +0200, Riccardo Brunetti wrote:
> Dear ovirt users.
> I'm trying to setup an oVirt 3.3 installation using an already existing
> OpenStack glance service as an external provider.
> When I define the external provider, I put:
> 
> Openstack Image as "Type"
> the glance service endpoint as "URL" (ie. http://xx.xx.xx.xx:9292) I
> used the openstack public url.
> check "Requires Authentication"
> put the administrator user/password/tenant in the following fields.
> 
> Unfortunately the connection test always fails and the glance provider
> doesn't work in ovirt.

You also need to run this from the command line (of your engine):

engine-config --set KeystoneAuthUrl=http://<host.fqdn>:35357

And then restart the ovirt-engine service.

Jason

> 
> In the engine.log I can see:
> 
> 2013-09-24 15:57:30,665 INFO 
> [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
> (ajp--127.0.0.1-8702-3) Running command: TestProviderConnectivityCommand
> internal: false. Entities affected :  ID:
> aaa00000-0000-0000-0000-123456789aaa Type: System
> 2013-09-24 15:57:30,671 ERROR
> [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
> (ajp--127.0.0.1-8702-3) Command
> org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand throw
> Vdc Bll exception. With error message VdcBLLException: (Failed with VDSM
> error PROVIDER_FAILURE and code 5050)
> 2013-09-24 15:57:30,674 ERROR
> [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
> (ajp--127.0.0.1-8702-3) Transaction rolled-back for command:
> org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand.
> 
> The glance URL is reachable from the oVirt engine host, but looking with
> tcpdump on the glance service I noticed that
> no connections come up --- when I use "requires authentication" ---
> a connection happens if --- I do not use "requires authentication" ---
> (even if the test fails ultimately)
> 
> My OS is CentOS-6.4 and my packages are the following:
> 
> [root at rhvmgr03 ovirt-engine]# rpm -qa | grep ovi
> ovirt-host-deploy-1.1.1-1.el6.noarch
> ovirt-log-collector-3.3.0-1.el6.noarch
> ovirt-engine-cli-3.3.0.4-1.el6.noarch
> ovirt-engine-webadmin-portal-3.3.0-4.el6.noarch
> ovirt-engine-tools-3.3.0-4.el6.noarch
> ovirt-release-el6-8-1.noarch
> ovirt-engine-sdk-python-3.3.0.6-1.el6.noarch
> ovirt-iso-uploader-3.3.0-1.el6.noarch
> ovirt-host-deploy-java-1.1.1-1.el6.noarch
> ovirt-engine-userportal-3.3.0-4.el6.noarch
> ovirt-engine-backend-3.3.0-4.el6.noarch
> ovirt-engine-setup-3.3.0-4.el6.noarch
> ovirt-engine-3.3.0-4.el6.noarch
> ovirt-image-uploader-3.3.0-1.el6.noarch
> ovirt-engine-lib-3.3.0-4.el6.noarch
> ovirt-engine-restapi-3.3.0-4.el6.noarch
> ovirt-engine-dbscripts-3.3.0-4.el6.noarch
> 
> Do you have some suggestion to debug or solve this issue?
> 
> Thanks a lot.
> Best Regards
> R. Brunetti
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users





More information about the Users mailing list