Re: [Users] Glance with oVirt

2013-10-10 Thread Tim Hildred
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: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -
 From: Federico Simoncelli fsimo...@redhat.com
 To: Itamar Heim ih...@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 ih...@redhat.com
  To: Riccardo Brunetti riccardo.brune...@dnshosting.it
  Cc: Jason Brooks jbro...@redhat.com, users@ovirt.org, Federico
  Simoncelli fsimo...@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
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Glance with oVirt

2013-10-02 Thread Itamar Heim

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:
aaa0----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

Re: [Users] Glance with oVirt

2013-09-25 Thread Riccardo Brunetti
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:
 aaa0----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 

[Users] Glance with oVirt

2013-09-24 Thread Riccardo Brunetti
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:
aaa0----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


Re: [Users] Glance with oVirt

2013-09-24 Thread Gianluca Cecchi
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Glance with oVirt

2013-09-24 Thread Jason Brooks
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:
 aaa0----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


Re: [Users] Glance with oVirt

2013-09-24 Thread Riccardo Brunetti
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Glance with oVirt

2013-09-24 Thread Riccardo Brunetti
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:
 aaa0----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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Glance with oVirt

2013-09-24 Thread Itamar Heim

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:
aaa0----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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users