Hello,
Thanks for your response. I have re-launch my tests today on the Berlin region and it went further.
Now the 'floating-ip-create' command works.
But after creating a new instance, i still fail to bind it to an external ip (ERROR: Error. Unable to associate floating ip (HTTP 400)).
I pasted the debug trace of the command at the end of this email.
Best regards
Geoffroy
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 'Berlin' show gg
+-----------------------------+---------------------------------------------------------------------------+
| Property | Value |
+-----------------------------+---------------------------------------------------------------------------+
| status | ACTIVE |
| updated | 2014-07-10T12:45:23Z |
| OS-EXT-STS:task_state | None |
| key_name | cle |
| image | Ubuntu 12.04 Server CloudImg amd64 (50b4d19a-fb7d-49f8-97e4-b96ce207a0c0) |
| hostId | ba8d1da5627233118ae738acb1e746854b4f759223d2f8b73b1f5a4f |
| OS-EXT-STS:vm_state | active |
| flavor | m1.small (2) |
| id | f31182a7-22a5-4eba-a1f1-70a3d2c4a5a8 |
| security_groups | [{u'name': u'default'}] |
| user_id | geoffroy |
| name | gg |
| created | 2014-07-10T12:44:44Z |
| tenant_id | 00000000000000000000000000003273 |
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-AZ:availability_zone | nova |
| n1 network | 172.17.41.100 |
| config_drive | |
+-----------------------------+---------------------------------------------------------------------------+
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 'Berlin' floating-ip-list
+----------------+-------------+----------+----------------+
| Ip | Instance Id | Fixed Ip | Pool |
+----------------+-------------+----------+----------------+
| 193.175.132.58 | None | None | ext-net-public |
+----------------+-------------+----------+----------------+
tai at tai-desktop:~$ nova --debug --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 'Berlin' add-floating-ip gg 193.175.132.58
REQ: curl -i http://cloud.lab.fi-ware.org:4731/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "00000000000000000000000000003273", "passwordCredentials": {"username": "geoffroy", "password": "foo"}}}'
RESP: [200] CaseInsensitiveDict({'date': 'Thu, 10 Jul 2014 12:51:15 GMT', 'content-length': '12323', 'content-type': 'application/json; charset=utf-8', 'connection': 'keep-alive', 'x-powered-by': 'Express'})
RESP BODY: {"access":{"token":{"expires":"2015-07-09T15:16:07Z","id":"4cddf72aae256cba7de85bc53d89062f","tenant":{"description":"Tenant from IDM","enabled":true,"id":"00000000000000000000000000003273","name":"geoffroy"}},"serviceCatalog":[{"endpoints":[{"adminURL":"http://cloud.lab.fi-ware.org:8774/v2/00000000000000000000000000003273","region":"Spain","internalURL":"http://cloud.lab.fi-ware.org:8774/v2/00000000000000000000000000003273","publicURL":"http://cloud.lab.fi-ware.org:8774/v2/00000000000000000000000000003273"},{"adminURL":"http://193.205.211.65:8774/v2/00000000000000000000000000003273","region":"Trento","internalURL":"http://193.205.211.65:8774/v2/00000000000000000000000000003273","publicURL":"http://193.205.211.65:8774/v2/00000000000000000000000000003273"},{"adminURL":"http://controller.xifi.imaginlab.fr:8774/v2/00000000000000000000000000003273","region":"Lannion","internalURL":"http://controller.xifi.imaginlab.fr:8774/v2/00000000000000000000000000003273","publicURL":"http://controller.xifi.imaginlab.fr:8774/v2/00000000000000000000000000003273"},{"adminURL":"http://193.1.202.144:8774/v2/00000000000000000000000000003273","region":"Waterford","internalURL":"http://193.1.202.144:8774/v2/00000000000000000000000000003273","publicURL":"http://193.1.202.144:8774/v2/00000000000000000000000000003273"},{"adminURL":"http://193.175.132.36:8774/v2/00000000000000000000000000003273","region":"Berlin","internalURL":"http://193.175.132.36:8774/v2/00000000000000000000000000003273","publicURL":"http://193.175.132.36:8774/v2/00000000000000000000000000003273"},{"adminURL":"http://195.113.161.130:8774/v2/00000000000000000000000000003273","region":"Prague","internalURL":"http://195.113.161.130:8774/v2/00000000000000000000000000003273","publicURL":"http://195.113.161.130:8774/v2/00000000000000000000000000003273"}],"endpoints_links":[],"type":"compute","name":"nova"},{"endpoints":[{"adminURL":"http://193.205.211.65:9292/v1","region":"Trento","internalURL":"http://193.205.211.65:92
92/v1","publicURL":"http://193.205.211.65:9292/v1"},{"adminURL":"http://172.30.1.204:9292/v1","region":"Spain","internalURL":"http://172.30.1.204:9292/v1","publicURL":"http://172.30.1.204:9292/v1"},{"adminURL":"http://controller.xifi.imaginlab.fr:9292/v1","region":"Lannion","internalURL":"http://controller.xifi.imaginlab.fr:9292/v1","publicURL":"http://controller.xifi.imaginlab.fr:9292/v1"},{"adminURL":"http://193.1.202.144:9292/v1","region":"Waterford","internalURL":"http://193.1.202.144:9292/v1","publicURL":"http://193.1.202.144:9292/v1"},{"adminURL":"http://193.175.132.36:9292/v1","region":"Berlin","internalURL":"http://193.175.132.36:9292/v1","publicURL":"http://193.175.132.36:9292/v1"},{"adminURL":"http://195.113.161.130:9292/v1","region":"Prague","internalURL":"http://195.113.161.130:9292/v1","publicURL":"http://195.113.161.130:9292/v1"}],"endpoints_links":[],"type":"image","name":"glance"},{"endpoints":[{"adminURL":"http://193.205.211.65:8776/v1/00000000000000000000000000003273","region":"Trento","internalURL":"http://193.205.211.65:8776/v1/00000000000000000000000000003273","publicURL":"http://193.205.211.65:8776/v1/00000000000000000000000000003273"},{"adminURL":"http://cloud.lab.fi-ware.org:8776/v1/00000000000000000000000000003273","region":"Spain","internalURL":"http://cloud.lab.fi-ware.org:8776/v1/00000000000000000000000000003273","publicURL":"http://cloud.lab.fi-ware.org:8776/v1/00000000000000000000000000003273"},{"adminURL":"http://controller.xifi.imaginlab.fr:8776/v1/00000000000000000000000000003273","region":"Lannion","internalURL":"http://controller.xifi.imaginlab.fr:8776/v1/00000000000000000000000000003273","publicURL":"http://controller.xifi.imaginlab.fr:8776/v1/00000000000000000000000000003273"},{"adminURL":"http://193.1.202.144:8776/v1/00000000000000000000000000003273","region":"Waterford","internalURL":"http://193.1.202.144:8776/v1/00000000000000000000000000003273","publicURL":"http://193.1.202.144:8776/v1/00000000000000000000000000003273"},{"adm
inURL":"http://193.175.132.36:8776/v1/00000000000000000000000000003273","region":"Berlin","internalURL":"http://193.175.132.36:8776/v1/00000000000000000000000000003273","publicURL":"http://193.175.132.36:8776/v1/00000000000000000000000000003273"},{"adminURL":"http://openstack.vesnicky.cesnet.cz:8776/v1/00000000000000000000000000003273","region":"Prague","internalURL":"http://openstack.vesnicky.cesnet.cz:8776/v1/00000000000000000000000000003273","publicURL":"http://openstack.vesnicky.cesnet.cz:8776/v1/00000000000000000000000000003273"}],"endpoints_links":[],"type":"volume","name":"cinder"},{"endpoints":[{"adminURL":"http://130.206.82.9:8080/v1","region":"Spain","internalURL":"http://130.206.82.9:8080/v1/AUTH_00000000000000000000000000003273","publicURL":"http://130.206.82.9:8080/v1/AUTH_00000000000000000000000000003273"},{"adminURL":"http://193.205.211.65:8080/v1","region":"Trento","internalURL":"http://193.205.211.65:8080/v1/AUTH_00000000000000000000000000003273","publicURL":"http://193.205.211.65:8080/v1/AUTH_00000000000000000000000000003273"},{"adminURL":"http://controller.xifi.imaginlab.fr:8080/v1","region":"Lannion","internalURL":"http://controller.xifi.imaginlab.fr:8080/v1/AUTH_00000000000000000000000000003273","publicURL":"http://controller.xifi.imaginlab.fr:8080/v1/AUTH_00000000000000000000000000003273"},{"adminURL":"http://193.1.202.143:8080/v1","region":"Waterford","internalURL":"http://193.1.202.143:8080/v1/AUTH_00000000000000000000000000003273","publicURL":"http://193.1.202.143:8080/v1/AUTH_00000000000000000000000000003273"},{"adminURL":"http://193.175.132.38:8090/v1","region":"Berlin","internalURL":"http://193.175.132.38:8090/v1/AUTH_00000000000000000000000000003273","publicURL":"http://193.175.132.38:8090/v1/AUTH_00000000000000000000000000003273"}],"endpoints_links":[],"type":"object-store","name":"swift"},{"endpoints":[{"adminURL":"http://cloud.lab.fi-ware.org:4731/v2.0","region":"Trento","internalURL":"http://cloud.lab.fi-ware.org:4730/v2.0","publicUR
L":"http://cloud.lab.fi-ware.org:4730/v2.0"},{"adminURL":"http://cloud.lab.fi-ware.org:4731/v2.0","region":"Spain","internalURL":"http://cloud.lab.fi-ware.org:4730/v2.0","publicURL":"http://cloud.lab.fi-ware.org:4730/v2.0"},{"adminURL":"http://cloud.lab.fi-ware.org:4731/v2.0","region":"Lannion","internalURL":"http://cloud.lab.fi-ware.org:4730/v2.0","publicURL":"http://cloud.lab.fi-ware.org:4730/v2.0"},{"adminURL":"http://cloud.lab.fi-ware.org:4731/v2.0","region":"Waterford","internalURL":"http://cloud.lab.fi-ware.org:4730/v2.0","publicURL":"http://cloud.lab.fi-ware.org:4730/v2.0"},{"adminURL":"http://cloud.lab.fi-ware.org:4731/v2.0","region":"Berlin","internalURL":"http://cloud.lab.fi-ware.org:4730/v2.0","publicURL":"http://cloud.lab.fi-ware.org:4730/v2.0"},{"adminURL":"http://cloud.lab.fi-ware.org:4731/v2.0","region":"Prague","internalURL":"http://cloud.lab.fi-ware.org:4730/v2.0","publicURL":"http://cloud.lab.fi-ware.org:4730/v2.0"}],"endpoints_links":[],"type":"identity","name":"keystone"},{"endpoints":[{"adminURL":"http://193.205.211.65:9696/","region":"Trento","internalURL":"http://193.205.211.65:9696/","publicURL":"http://193.205.211.65:9696/"},{"adminURL":"http://controller.xifi.imaginlab.fr:9696/","region":"Lannion","internalURL":"http://controller.xifi.imaginlab.fr:9696/","publicURL":"http://controller.xifi.imaginlab.fr:9696/"},{"adminURL":"http://193.1.202.144:9696/","region":"Waterford","internalURL":"http://193.1.202.144:9696/","publicURL":"http://193.1.202.144:9696/"},{"adminURL":"http://193.175.132.36:9696/","region":"Berlin","internalURL":"http://193.175.132.36:9696/","publicURL":"http://193.175.132.36:9696/"}],"endpoints_links":[],"type":"network","name":"quantum"},{"endpoints":[{"adminURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","region":"Trento","internalURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","publicURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest"},{"adminURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","region":"Spain","in
ternalURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","publicURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest"},{"adminURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","region":"Lannion","internalURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","publicURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest"},{"adminURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","region":"Waterford","internalURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","publicURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest"},{"adminURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","region":"Berlin","internalURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","publicURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest"},{"adminURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","region":"Prague","internalURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest","publicURL":"http://saggita.lab.fi-ware.org:8080/sdc/rest"}],"endpoints_links":[],"type":"sdc","name":"sdc"},{"endpoints":[{"adminURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","region":"Trento","internalURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","publicURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest"},{"adminURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","region":"Spain","internalURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","publicURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest"},{"adminURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","region":"Lannion","internalURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","publicURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest"},{"adminURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","region":"Waterford","internalURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","publicURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest"},{"adminURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","region":"Berlin","internalURL":"http://pegasus.lab.fi-ware.org:8
080/paasmanager/rest","publicURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest"},{"adminURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","region":"Prague","internalURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest","publicURL":"http://pegasus.lab.fi-ware.org:8080/paasmanager/rest"}],"endpoints_links":[],"type":"paas","name":"paasmanager"},{"endpoints":[{"adminURL":"http://193.205.211.69:1026/monitoring/regions/","region":"Trento","internalURL":"http://193.205.211.69:1026/monitoring/regions/","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://193.205.211.69:1026/monitoring/regions/"},{"adminURL":"http://193.205.211.69:1026/monitoring/regions/","region":"Spain","internalURL":"http://193.205.211.69:1026/monitoring/regions/","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://193.205.211.69:1026/monitoring/regions/"},{"adminURL":"http://193.205.211.69:1026/monitoring/regions/","region":"Lannion","internalURL":"http://193.205.211.69:1026/monitoring/regions/","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://193.205.211.69:1026/monitoring/regions/"},{"adminURL":"http://193.205.211.69:1026/monitoring/regions/","region":"Waterford","internalURL":"http://193.205.211.69:1026/monitoring/regions/","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://193.205.211.69:1026/monitoring/regions/"},{"adminURL":"http://193.205.211.69:1026/monitoring/regions/","region":"Berlin","internalURL":"http://193.205.211.69:1026/monitoring/regions/","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://193.205.211.69:1026/monitoring/regions/"},{"adminURL":"http://193.205.211.69:1026/monitoring/regions/","region":"Prague","internalURL":"http://193.205.211.69:1026/monitoring/regions/","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://193.205.211.69:1026/monitoring/regions/"}],"endpoints_links":[],"type":"monitoring","name":"monitoring"},{"endpoints":[{"adminURL":"http://195.113.161.130:8774/v3","region":"Prague","internal
URL":"http://195.113.161.130:8774/v3","id":"151703cd7c29472fba417487ebd523fb","publicURL":"http://195.113.161.130:8774/v3"}],"endpoints_links":[],"type":"computev3","name":"novav3"}],"user":{"username":"geoffroy","roles_links":[],"id":"geoffroy","roles":[{"id":"8db87ccbca3b4d1ba4814c3bb0d63aab","name":"Member"}],"name":"geoffroy"}}}
REQ: curl -i http://193.175.132.36:8774/v2/00000000000000000000000000003273/servers/detail -X GET -H "X-Auth-Project-Id: 00000000000000000000000000003273" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 4cddf72aae256cba7de85bc53d89062f"
RESP: [200] CaseInsensitiveDict({'date': 'Thu, 10 Jul 2014 12:51:07 GMT', 'x-compute-request-id': 'req-643b6c64-5272-423a-befe-5f7fc2b77fa2', 'content-type': 'application/json', 'content-length': '1334'})
RESP BODY: {"servers": [{"status": "ACTIVE", "updated": "2014-07-10T12:45:23Z", "hostId": "ba8d1da5627233118ae738acb1e746854b4f759223d2f8b73b1f5a4f", "addresses": {"n1": [{"version": 4, "addr": "172.17.41.100", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://193.175.132.36:8774/v2/00000000000000000000000000003273/servers/f31182a7-22a5-4eba-a1f1-70a3d2c4a5a8", "rel": "self"}, {"href": "http://193.175.132.36:8774/00000000000000000000000000003273/servers/f31182a7-22a5-4eba-a1f1-70a3d2c4a5a8", "rel": "bookmark"}], "key_name": "cle", "image": {"id": "50b4d19a-fb7d-49f8-97e4-b96ce207a0c0", "links": [{"href": "http://193.175.132.36:8774/00000000000000000000000000003273/images/50b4d19a-fb7d-49f8-97e4-b96ce207a0c0", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://193.175.132.36:8774/00000000000000000000000000003273/flavors/2", "rel": "bookmark"}]}, "id": "f31182a7-22a5-4eba-a1f1-70a3d2c4a5a8", "security_groups": [{"name": "default"}], "OS-EXT-AZ:availability_zone": "nova", "user_id": "geoffroy", "name": "gg", "created": "2014-07-10T12:44:44Z", "tenant_id": "00000000000000000000000000003273", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}]}
REQ: curl -i http://193.175.132.36:8774/v2/00000000000000000000000000003273/servers/f31182a7-22a5-4eba-a1f1-70a3d2c4a5a8/action -X POST -H "X-Auth-Project-Id: 00000000000000000000000000003273" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 4cddf72aae256cba7de85bc53d89062f" -d '{"addFloatingIp": {"address": "193.175.132.58"}}'
RESP: [400] CaseInsensitiveDict({'date': 'Thu, 10 Jul 2014 12:51:07 GMT', 'content-length': '82', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-145ba8f1-3af0-415b-b1db-545c3173650a'})
RESP BODY: {"badRequest": {"message": "Error. Unable to associate floating ip", "code": 400}}
DEBUG (shell:768) Error. Unable to associate floating ip (HTTP 400) (Request-ID: req-145ba8f1-3af0-415b-b1db-545c3173650a)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/shell.py", line 765, in main
OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/shell.py", line 701, in main
args.func(self.cs, args)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/v1_1/shell.py", line 1661, in do_add_floating_ip
server.add_floating_ip(args.address)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/v1_1/servers.py", line 106, in add_floating_ip
self.manager.add_floating_ip(self, address)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/v1_1/servers.py", line 404, in add_floating_ip
self._action('addFloatingIp', server, {'address': address})
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/v1_1/servers.py", line 872, in _action
return self.api.client.post(url, body=body)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/client.py", line 233, in post
return self._cs_request(url, 'POST', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/client.py", line 217, in _cs_request
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/client.py", line 199, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.13.0.29.gf5b8fe2-py2.7.egg/novaclient/client.py", line 193, in request
raise exceptions.from_response(resp, body, url, method)
BadRequest: Error. Unable to associate floating ip (HTTP 400) (Request-ID: req-145ba8f1-3af0-415b-b1db-545c3173650a)
ERROR: Error. Unable to associate floating ip (HTTP 400) (Request-ID: req-145ba8f1-3af0-415b-b1db-545c3173650a)
[@@ THALES GROUP INTERNAL @@]
From: Bochow, Bernd [mailto:bernd.bochow at fokus.fraunhofer.de]
Sent: mardi 8 juillet 2014 19:20
To: CHOLLON Geoffroy
Cc: fiware-lab-help at lists.fi-ware.org; DUMONT Nicolas
Subject: Re: [Fiware-lab-help] Fi-Ware platform unuseable from the outside
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/20140710/35ed268c/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy