[Users] Glance with oVirt

Itamar Heim iheim at redhat.com
Wed Oct 2 15:18:57 EDT 2013


On 09/25/2013 05:03 PM, Riccardo Brunetti wrote:
> On 09/24/2013 08:24 PM, Itamar Heim wrote:
>> On 09/24/2013 06:06 PM, Jason Brooks wrote:
>>> 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
>>
>> maybe open a bug on missing a warning keystone is not configured when
>> trying to use glance/neutron with authentication?
>>
>>>
>>> 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
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
> Dear all.
> Unfortunately I did manage to work out only the first step of the
> procedure.
> I can successfully define the glance external provider and from the
> storage tab I can list the images available in glance, but when I try to
> import an image (ie. a Fedora19 qcow2 image which is working inside
> OpenStack) the disk is stuck in "Illegal" state and in the logs
> (ovirt-engine) I see messages like:
>
> 2013-09-25 16:01:37,740 INFO
> [org.ovirt.engine.core.bll.AsyncTaskManager]
> (DefaultQuartzScheduler_Worker-71) Polling and updating Async Tasks: 2
> tasks, 2 tasks to poll now
> 2013-09-25 16:01:37,775 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask]
> (DefaultQuartzScheduler_Worker-71) BaseAsyncTask::OnTaskEndSuccess: Task
> 32982d1d-543c-4015-8b02-4b0f3f7ac45a (Parent Command ImportRepoImage,
> Parameters Type
> org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
> successfully.
> 2013-09-25 16:01:37,776 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask]
> (DefaultQuartzScheduler_Worker-71)
> CommandAsyncTask::EndActionIfNecessary: All tasks of command
> 3a9eb626-2ea8-445f-8286-fb0e7c464b3d has ended -> executing EndAction
> 2013-09-25 16:01:37,777 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask]
> (DefaultQuartzScheduler_Worker-71) CommandAsyncTask::EndAction: Ending
> action for 1 tasks (command ID: 3a9eb626-2ea8-445f-8286-fb0e7c464b3d):
> calling EndAction .
> 2013-09-25 16:01:37,778 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask]
> (DefaultQuartzScheduler_Worker-71) BaseAsyncTask::OnTaskEndSuccess: Task
> e8057bc2-e99f-4db8-ba1d-97b84a1f3db0 (Parent Command ImportRepoImage,
> Parameters Type
> org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
> successfully.
> 2013-09-25 16:01:37,778 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-49)
> CommandAsyncTask::EndCommandAction [within thread] context: Attempting
> to EndAction ImportRepoImage, executionIndex: -1
> 2013-09-25 16:01:37,778 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask]
> (DefaultQuartzScheduler_Worker-71)
> CommandAsyncTask::EndActionIfNecessary: All tasks of command
> 8ec670ce-0873-4b98-a1f2-ff2a10829992 has ended -> executing EndAction
> 2013-09-25 16:01:37,779 ERROR
> [org.ovirt.engine.core.bll.ImportRepoImageCommand] (pool-6-thread-49)
> Ending command with failure:
> org.ovirt.engine.core.bll.ImportRepoImageCommand
> 2013-09-25 16:01:37,779 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask]
> (DefaultQuartzScheduler_Worker-71) CommandAsyncTask::EndAction: Ending
> action for 1 tasks (command ID: 8ec670ce-0873-4b98-a1f2-ff2a10829992):
> calling EndAction .
> 2013-09-25 16:01:37,780 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-49)
> CommandAsyncTask::HandleEndActionResult [within thread]: EndAction for
> action type ImportRepoImage completed, handling the result.
> 2013-09-25 16:01:37,780 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-50)
> CommandAsyncTask::EndCommandAction [within thread] context: Attempting
> to EndAction ImportRepoImage, executionIndex: -1
> 2013-09-25 16:01:37,781 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-49)
> CommandAsyncTask::HandleEndActionResult [within thread]: EndAction for
> action type ImportRepoImage hasnt succeeded, not clearing tasks, will
> attempt again next polling.
> 2013-09-25 16:01:37,781 ERROR
> [org.ovirt.engine.core.bll.ImportRepoImageCommand] (pool-6-thread-50)
> Ending command with failure:
> org.ovirt.engine.core.bll.ImportRepoImageCommand
> 2013-09-25 16:01:37,782 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-50)
> CommandAsyncTask::HandleEndActionResult [within thread]: EndAction for
> action type ImportRepoImage completed, handling the result.
> 2013-09-25 16:01:37,783 INFO
> [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-6-thread-50)
> CommandAsyncTask::HandleEndActionResult [within thread]: EndAction for
> action type ImportRepoImage hasnt succeeded, not clearing tasks, will
> attempt again next polling.
>
> Can you help me?
>
> Thanks a lot
> Riccardo
>

was this resolved?


More information about the Users mailing list