--=-R80+Qdjq7nVqYpxwStql
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hello Moti,
many thanks! I did miss this step (since I always looked at the glance
integration part of the wiki and not at OpenStack as the whole).
Works as expected now.
Cheers,
On Fr, 2014-07-11 at 06:37 -0400, Moti Asayag wrote:
=20
----- Original Message -----
> From: "Daniel Helgenberger" <daniel.helgenberger(a)m-box.de>
> To: users(a)ovirt.org
> Sent: Friday, July 11, 2014 1:20:14 PM
> Subject: [ovirt-users] Add OpenStack-Glance
>=20
> Hello,
>=20
> following Itamar Heim's idea to use Glance for moving around images in
> Ovirt, I went ahead setting up a VM with Glance and Keystone. I have
> configured the following user in keystone in glace:
>=20
> [keystone_authtoken]
> auth_host =3D 127.0.0.1
> auth_port =3D 35357
> auth_protocol =3D http
> admin_tenant_name =3D service
> admin_user =3D glance
> admin_password =3D Secret
>=20
> Using the appropriate credentials in oVirt / Add external provider with
>
http://192.168.50.33:9292 I get:
> Failed to communicate with the external provider
>=20
> The TCP port is open.
>=20
> I fail to see anything in the glance api.log.
>=20
> Question: How can I debug this from ovirt?
>=20
=20
You're missing a step:
=20
http://www.ovirt.org/Features/Detailed_OSN_Integration#oVirt_Engine_requi=
red_configuration
=20
You need to configure the keystone url via the engine-config tool, follow=
ed by
the ovirt-engine
service restart.
=20
engine-config -s KeystoneAuthUrl=3Dhttp://192.168.50.33:35357/v2.0/
service ovirt-engine restart
=20
> Thanks!
>=20
> ------
>=20
> I used the official test [1] to add the cirros image to glance on my vm=
:
>=20
> # source keystonerc
> # glance image-create --name=3DCirrOS-Test --is-public=3Dtrue
> --container-format=3Dbare --disk-format=3Dqcow2 < cirros-0.3.0-x86_64-d=
isk.img
> +------------------+--------------------------------------+
> | Property | Value |
> +------------------+--------------------------------------+
> | checksum | 50bdc35edb03a38d91b1b071afb20a3c |
> | container_format | bare |
> | created_at | 2014-07-11T08:53:05.857978 |
> | deleted | False |
> | deleted_at | None |
> | disk_format | qcow2 |
> | id | 5132246d-8f63-4456-86ab-357fb241f3f9 |
> | is_public | True |
> | min_disk | 0 |
> | min_ram | 0 |
> | name | CirrOS-Test |
> | owner | 40654094d0684d238681bc0b1ab6617d |
> | protected | False |
> | size | 9761280 |
> | status | active |
> | updated_at | 2014-07-11T08:53:07.240096 |
> +------------------+--------------------------------------+
>=20
> Note, the keystonerc contains my credantials / AUTH_URL. Also, keystone=
is
> working, as far as I can tell:
>=20
> # keystone --os-username=3Dglance --os-password=3DSecret
> --os-auth-url=3Dhttp://127.0.0.1:35357/v2.0 token-get
> +----------+----------------------------------+
> | Property | Value |
> +----------+----------------------------------+
> | expires | 2014-07-12T09:03:46Z |
> | id | 20c5f2290aa145368f31a88db711351e |
> | user_id | 0a06c68d8adb4739b41628a0cb326f6a |
> +----------+----------------------------------+
>=20
> Telnet from Engine:
>=20
> telnet 192.168.50.33 9292
> Trying 192.168.50.33...
> Connected to 192.168.50.33.
> Escape character is '^]'.
> get
> HTTP/1.1 400 Bad request syntax ('get')
> Server: BaseHTTP/0.3 Python/2.6.6
> Date: Fri, 11 Jul 2014 09:04:14 GMT
> Content-Type: text/html
> Connection: close
>=20
> <head>
> <title>Error response</title>
> </head>
> <body>
> <h1>Error response</h1>
> <p>Error code 400.
> <p>Message: Bad request syntax ('get').
> <p>Error code explanation: 400 =3D Bad request syntax or unsupported me=
thod.
/verifying-identity-install.html
g-images.html
>=20
> --
>=20
> Daniel Helgenberger
> m box bewegtbild GmbH
>=20
> P: +49/30/2408781-22
> F: +49/30/2408781-10
>=20
> ACKERSTR. 19
> D-10115 BERLIN
>=20
>=20
>
www.m-box.de www.monkeymen.tv
>=20
> Gesch=C3=A4ftsf=C3=BChrer: Martin Retschitzegger / Michaela G=C3=B6llne=
r
> Handeslregister: Amtsgericht Charlottenburg / HRB 112767
>=20
>=20
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>=20
--=20
Daniel Helgenberger=20
m box bewegtbild GmbH=20
P: +49/30/2408781-22
F: +49/30/2408781-10
ACKERSTR. 19=20
D-10115 BERLIN=20
www.m-box.de www.monkeymen.tv=20
Gesch=C3=A4ftsf=C3=BChrer: Martin Retschitzegger / Michaela G=C3=B6llner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767=20
--=-R80+Qdjq7nVqYpxwStql
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINtjCCBBYw
ggL+oAMCAQICCwQAAAAAAS9O4S9SMA0GCSqGSIb3DQEBBQUAMFcxCzAJBgNVBAYTAkJFMRkwFwYD
VQQKExBHbG9iYWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT
aWduIFJvb3QgQ0EwHhcNMTEwNDEzMTAwMDAwWhcNMTkwNDEzMTAwMDAwWjBUMQswCQYDVQQGEwJC
RTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEqMCgGA1UEAxMhR2xvYmFsU2lnbiBQZXJzb25h
bFNpZ24gMiBDQSAtIEcyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwWtB+TXs+BJ9
3SJRaV+3uRNGJ3cUO+MTgW8+5HQXfgy19CzkDI1T1NwwICi/bo4R/mYR5FEWx91//eE0ElC/89iY
7GkL0tDasmVx4TOXnrqrsziUcxEPPqHRE8x4NhtBK7+8o0nsMIJMA1gyZ2FA5To2Ew1BBuvovvDJ
+Nua3qOCNBNu+8A+eNpJlVnlu/qB7+XWaPXtUMlsIikxD+gREFVUgYE4VzBuLa2kkg0VLd09XkE2
ceRDm6YgRATuDk6ogUyX4OLxCGIJF8yi6Z37M0wemDA6Uff0EuqdwDQd5HwG/rernUjt1grLdAxq
8BwywRRg0eFHmE+ShhpyO3Fi+wIDAQABo4HlMIHiMA4GA1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