[Fiware-lab-help] Fi-Ware platform unuseable from the outside

Bochow, Bernd bernd.bochow at fokus.fraunhofer.de
Tue Jul 8 19:20:21 CEST 2014


Dear Geoffrey,


Some of your examples dont specify the the --os-region <region>.
In that case you are attempting the default node.

You might consider the --debug parameter to get more verbose error messages


Otherwise, for me it works

>more .novarc_XIFI

export OS_TENANT_NAME="00000000000000000000000000003015"
export OS_USERNAME=user
export OS_PASSWORD=password
export OS_AUTH_URL=http://cloud.lab.fi-ware.org:4730/v2.0
export NOVACLIENT_DEBUG=1
export NOVA_VERSION=2

>OpenStack boc$ nova  --os-region 'Berlin' floating-ip-pool-list
+--------------------+
| name               |
+--------------------+
| ext-net-federation |
| ext-net-public     |
+--------------------+

>nova  --os-region 'Berlin' floating-ip-list
+----------------+-----------+----------------+--------------------+
| Ip             | Server Id | Fixed Ip       | Pool               |
+----------------+-----------+----------------+--------------------+
| 193.175.132.44 |           | 192.168.120.4  | ext-net-public     |
| 10.0.16.133    |           | -              | ext-net-federation |
| 193.175.132.46 |           | 192.168.120.12 | ext-net-public     |
| 10.0.16.158    |           | -              | ext-net-federation |
| 10.0.16.132    |           | -              | ext-net-federation |
| 10.0.16.152    |           | -              | ext-net-federation |
| 193.175.132.45 |           | 192.168.120.10 | ext-net-public     |
| 193.175.132.47 |           | -              | ext-net-public     |
| 10.0.16.131    |           | -              | ext-net-federation |
+----------------+-----------+----------------+--------------------+


>nova  --os-region 'Berlin' floating-ip-create ext-net-public
+----------------+-----------+----------+----------------+
| Ip             | Server Id | Fixed Ip | Pool           |
+----------------+-----------+----------+----------------+
| 193.175.132.53 |           | -        | ext-net-public |
+----------------+-----------+----------+----------------+

>nova --os-region 'Berlin' floating-ip-associaate <server> 193.175.132.53


Best Regards, Bernd

============
Bernd Bochow
Next Generation Network Infrastructures
Fraunhofer Institute for Open Communication Systems (FOKUS)
Kaiserin-Augusta-Allee 31, D-10589 Berlin
e-mail: bernd.bochow at fokus.fraunhofer.de<mailto:bernd.bochow at fokus.fraunhofer.de>, bernd.bochow at ieee.org<mailto:bernd.bochow at ieee.org>
phone:  +49 30 3463-7238
fax:    +49 30 3463-997238

On 8 Jul 2014, at 18:12, CHOLLON Geoffroy wrote:

Hello,

Sorry to bother you again, but we are currently having difficulties with the Fi-Ware platform for our current project.
Compared to my previous email, the situation has a little degraded as there is no way today to obtain an external public IP. Which implies that we cannot access a deployed node. Next to that, we have errors with glance and keystone too.

I made different tries on every regions. I pasted the commands outputs at the end of this email.

Is there any way to help you to resolve this problems ?.


Best regards.
Geoffroy  CHOLLON




Keystone, no cmd apart for ‘token-get’ seems to work:
  tai at tai-desktop:~$ keystone   --os-username 'geoffroy' --os-password 'foo' --os-tenant-name'00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' user-role-list
  HTTPConnectionPool(host='cloud.lab.fi-ware.org', port=4731): Max retries exceeded with url:   /v2.0/tenants/00000000000000000000000000003273/users/geoffroy/roles (Caused by <class 'httplib.BadStatusLine'>: '')

  tai at tai-desktop:~$ keystone   --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' token-get
  +-----------+----------------------------------+
  |  Property |              Value               |
  +-----------+----------------------------------+
  |  expires  |       2015-07-09T15:16:07Z       |
  |     id    | e2f5a723466e85a5d007c85cd9f2de14 |
  | tenant_id | 00000000000000000000000000003273 |
  |  user_id  |             geoffroy             |
  +-----------+----------------------------------+




Spain, can't upload image with glance:
  tai at tai-desktop:~$ glance  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Spain' image-create --disk-format=iso --container-format=bare --name Core-current --is-public=True --file /tmp/Core-current.iso
  Error communicating with http://172.30.1.204:9292 [Errno 113] No route to host




Trento, no public floating ip:
  tai at tai-desktop:~$ nova  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Trento' floating-ip-create 'ext-net'
  ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f99793b2-7f44-4714-88ad-9f38d1a1e53c)

Trento, can't upload image with glance:
  tai at tai-desktop:~$ glance  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Trento' image-create --disk-format=iso --container-format=bare --name Core-current --file /tmp/Core-current.iso
  Request returned failure status.
  500 Internal Server Error
  The server has either erred or is incapable of performing the requested operation.
      (HTTP 500)




Lannion, can't upload image with glance:
  tai at tai-desktop:~$ glance  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Lannion' image-create --disk-format=iso --container-format=bare --name Core-current --is-public=True --file /tmp/Core-current.iso
  Error communicating with http://controller.xifi.imaginlab.fr:9292 [Errno 110] Connection timed out

Lannion, can't create a floating ip because the pool are unreadable
  tai at tai-desktop:~$ nova  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Lannion' floating-ip-pool-list
  ERROR: HTTPConnectionPool(host='controller.xifi.imaginlab.fr', port=8774): Max retries exceeded with url: /v2/00000000000000000000000000003273/os-floating-ip-pools (Caused by <class 'socket.error'>: [Errno 110] Connection timed out)




Waterford, can't upload image with glance:
  tai at tai-desktop:~$ glance  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Waterford' image-create --disk-format=iso --container-format=bare --name Core-current --is-public=True --file /tmp/Core-current.iso
  Request returned failure status.
  Invalid OpenStack Identity credentials.

Waterford, credentials don't work:
  tai at tai-desktop:~$ nova  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Waterford' floating-ip-pool-list
  ERROR: Unauthorized (HTTP 401)
  tai at tai-desktop:~$ keystone   --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Waterford' token-get
  +-----------+----------------------------------+
  |  Property |              Value               |
  +-----------+----------------------------------+
  |  expires  |       2015-07-09T15:16:07Z       |
  |     id    | 7d01b848016cecda2df21d537108c8c7 |
  | tenant_id | 00000000000000000000000000003273 |
  |  user_id  |             geoffroy             |
  +-----------+----------------------------------+




Berlin, can't create floating ip
  tai at tai-desktop:~$ nova  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Waterford' floating-ip-create ext-net-public
  ERROR: Unauthorized (HTTP 401)
  tai at tai-desktop:~$ nova  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Waterford' floating-ip-create ext-net-federation
  ERROR: Unauthorized (HTTP 401)




Prague: no floating pool list available
  tai at tai-desktop:~$ nova  --os-username 'geoffroy' --os-password 'foo' --os-tenant-name '00000000000000000000000000003273' --os-auth-url 'http://cloud.lab.fi-ware.org:4731/v2.0' --os-region-name 'Prague' floating-ip-pool-list
  +------+
  | name |
  +------+
  +------+




[@@ THALES GROUP INTERNAL @@]

_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help at lists.fi-ware.org<mailto:Fiware-lab-help at lists.fi-ware.org>
https://lists.fi-ware.org/listinfo/fiware-lab-help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140708/9539bf6f/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy