[Users] Glance with oVirt

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. 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@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

On Tue, Sep 24, 2013 at 4:15 PM, 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.
Could you give more details regarding how you configured glance service in your openstack environment? Does it relay on swift as its store? Gianluca

On 09/24/2013 04:56 PM, Gianluca Cecchi wrote:
On Tue, Sep 24, 2013 at 4:15 PM, 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. Could you give more details regarding how you configured glance service in your openstack environment? Does it relay on swift as its store?
Gianluca Hi Gianluca. Thank you for the prompt reply.
This is the output of the command: keystone endpoint-list (for what concerns the glance service) | 78bf9c3381604e1ba1aa837c7a768173 | regionOne | http://10.0.54.7:9292 | http://10.0.54.7:9292 | http://10.0.54.7:9292 | acb2d31657c5421aaddb1522e2e2340b | All the public/internal/admin URLs are the same, and are reachable from the ovirt engine host: # telnet 10.0.54.7 9292 Trying 10.0.54.7... Connected to 10.0.54.7. Escape character is '^]'. Glance is using a local storage and not swift to store images. Note that I can use them from the OpenStack testbed that I previously prepared. Riccardo

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 09/24/2013 05: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
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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Ok, now it works. Thank you all very much for your help. Riccardo

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@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

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@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?

----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Riccardo Brunetti" <riccardo.brunetti@dnshosting.it> Cc: "Jason Brooks" <jbrooks@redhat.com>, users@ovirt.org, "Federico Simoncelli" <fsimonce@redhat.com> Sent: Wednesday, October 2, 2013 9:18:57 PM Subject: Re: [Users] Glance with oVirt
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:
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:
...
Can you help me?
Thanks a lot Riccardo
was this resolved?
Several improvements have been introduced lately (both in engine and in vdsm). We might have two issues involved here (qcow2 case): https://bugzilla.redhat.com/show_bug.cgi?id=1013643 http://gerrit.ovirt.org/#/c/19222/ as far as I know the ovirt-engine-3.3 branch is in a good state now with regard to the glance integration (bz1013643 is still pending but it will be merged soon) and I expect to have a much more stable import for qcow2 in the upcoming 3.3.1. -- Federico

I raised this bug, as I hit this issue. https://bugzilla.redhat.com/show_bug.cgi?id=1017538 Tim Hildred, RHCE, RHCVA Content Author II - Engineering Content Services, Red Hat, Inc. Brisbane, Australia Email: thildred@redhat.com Internal: 8588287 Mobile: +61 4 666 25242 IRC: thildred ----- Original Message -----
From: "Federico Simoncelli" <fsimonce@redhat.com> To: "Itamar Heim" <iheim@redhat.com> Cc: users@ovirt.org Sent: Thursday, October 3, 2013 8:34:54 AM Subject: Re: [Users] Glance with oVirt
----- Original Message -----
From: "Itamar Heim" <iheim@redhat.com> To: "Riccardo Brunetti" <riccardo.brunetti@dnshosting.it> Cc: "Jason Brooks" <jbrooks@redhat.com>, users@ovirt.org, "Federico Simoncelli" <fsimonce@redhat.com> Sent: Wednesday, October 2, 2013 9:18:57 PM Subject: Re: [Users] Glance with oVirt
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:
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:
...
Can you help me?
Thanks a lot Riccardo
was this resolved?
Several improvements have been introduced lately (both in engine and in vdsm). We might have two issues involved here (qcow2 case):
https://bugzilla.redhat.com/show_bug.cgi?id=1013643 http://gerrit.ovirt.org/#/c/19222/
as far as I know the ovirt-engine-3.3 branch is in a good state now with regard to the glance integration (bz1013643 is still pending but it will be merged soon) and I expect to have a much more stable import for qcow2 in the upcoming 3.3.1.
-- Federico _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (6)
-
Federico Simoncelli
-
Gianluca Cecchi
-
Itamar Heim
-
Jason Brooks
-
Riccardo Brunetti
-
Tim Hildred