Comment 14 for bug 1846472

Revision history for this message
Noemi Aloisi (naloisi) wrote :

Hi James Page,

We have a proxy on top of Openstack.

I have executed curl from VM that Iwant use to create juju bootstrap and I receive:
           $curl https://computer2.cs1.cloudspc.it:8774/
{"versions": [{"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2/", "rel": "self"}], "min_version": "", "version": "", "id": "v2.0"}, {"status": "CURRENT", "updated": "2013-07-23T11:33:21Z", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/", "rel": "self"}], "min_version": "2.1", "version": "2.60", "id": "v2.1"}]}

I have also tried to call flavor list and I don't receive any error:

$ n_ep="`openstack endpoint list -f value -c URL -c 'Service Name' --interface public| grep nova| cut -f 2 -d ' '`"

$ echo $n_ep
https://computer2.cs1.cloudspc.it:8774/v2.1

$ token=`openstack token issue -c id -f value`

$ curl -H "X-Auth-Token: $token" $n_ep/flavors
{"flavors": [{"id": "0b1ab4ad-f4c6-4384-9a54-a6c82b0f5538", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/flavors/0b1ab4ad-f4c6-4384-9a54-a6c82b0f5538", "rel": "self"}, {"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/flavors/0b1ab4ad-f4c6-4384-9a54-a6c82b0f5538", "rel": "bookmark"}], "name": "Small"}, {"id": "1ce2c4f0-c026-497d-96ed-fe5f925778ac", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/flavors/1ce2c4f0-c026-497d-96ed-fe5f925778ac", "rel": "self"}, {"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/flavors/1ce2c4f0-c026-497d-96ed-fe5f925778ac", "rel": "bookmark"}], "name": "Large"}, {"id": "541f8b78-c4fe-4e21-ad92-b7a09fe53737", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/flavors/541f8b78-c4fe-4e21-ad92-b7a09fe53737", "rel": "self"}, {"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/flavors/541f8b78-c4fe-4e21-ad92-b7a09fe53737", "rel": "bookmark"}], "name": "X-Medium"}, {"id": "66f0d29b-e507-4dea-8447-eb85131a6c44", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/flavors/66f0d29b-e507-4dea-8447-eb85131a6c44", "rel": "self"}, {"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/flavors/66f0d29b-e507-4dea-8447-eb85131a6c44", "rel": "bookmark"}], "name": "X-Small"}, {"id": "6a29cd24-ca4c-40cf-8e57-8c83dc1844f0", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/flavors/6a29cd24-ca4c-40cf-8e57-8c83dc1844f0", "rel": "self"}, {"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/flavors/6a29cd24-ca4c-40cf-8e57-8c83dc1844f0", "rel": "bookmark"}], "name": "Medium"}, {"id": "ece65898-f63d-46e4-9ba0-62d61fce9d20", "links": [{"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/v2.1/flavors/ece65898-f63d-46e4-9ba0-62d61fce9d20", "rel": "self"}, {"href": "https://computer2.cs1.cloudspc.it:8774, computer2.cs1.cloudspc.it:8774/flavors/ece65898-f63d-46e4-9ba0-62d61fce9d20", "rel": "bookmark"}], "name": "X-Large"}]}