--=-8zpulgv34xSkFLeOYSnY
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hello,
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:
[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
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
The TCP port is open.
I fail to see anything in the glance api.log.
Question: How can I debug this from ovirt?
Thanks!
------
I used the official test [1] to add the cirros image to glance on my vm:
# source keystonerc=20
# glance image-create --name=3DCirrOS-Test --is-public=3Dtrue --container-f=
ormat=3Dbare --disk-format=3Dqcow2 < cirros-0.3.0-x86_64-disk.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 |
+------------------+--------------------------------------+
Note, the keystonerc contains my credantials / AUTH_URL. Also, keystone is =
working, as far as I can tell:
# keystone --os-username=3Dglance --os-password=3DSecret --os-auth-url=3Dht=
tp://127.0.0.1:35357/v2.0 token-get
+----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| expires | 2014-07-12T09:03:46Z |
| id | 20c5f2290aa145368f31a88db711351e |
| user_id | 0a06c68d8adb4739b41628a0cb326f6a |
+----------+----------------------------------+
Telnet from Engine:
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
<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 method=
.
</body>
Connection closed by foreign host.
[1]
http://docs.openstack.org/grizzly/openstack-compute/install/yum/content/ver=
ifying-identity-install.html
http://docs.openstack.org/grizzly/openstack-compute/admin/content/adding-im=
ages.html
--=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
--=-8zpulgv34xSkFLeOYSnY
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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