Ask Your Question
1

How to solve "FloatingIpPoolNotFound" error when creating a Trove db

asked 2014-07-17 10:25:25 -0500

sudarshan gravatar image

updated 2014-07-18 17:56:49 -0500

smaffulli gravatar image

Hi,

I am receiving errors while creating trove instances.

other trove commands work fine

    root@heos-ctrls:~# trove datastore-list
+--------------------------------------+----------------+
| ID                                   | Name           |
+--------------------------------------+----------------+
| 10000000-0000-0000-0000-000000000001 | Legacy MySQL   |
| 9336b587-e414-46d8-b372-725939a1b66d | mysql          |
| df138ec8-4a13-470a-93c5-8e0d0b71d6cd | testdatastore1 |
+--------------------------------------+----------------+
root@heos-ctrls:~# trove datastore-show 9336b587-e414-46d8-b372-725939a1b66d
+-----------------+--------------------------------------+
| Property        | Value                                |
+-----------------+--------------------------------------+
| default_version | eced5fc6-f2b6-47e1-aa51-9c6ad93fb496 |
| id              | 9336b587-e414-46d8-b372-725939a1b66d |
| name            | mysql                                |
+-----------------+--------------------------------------+
root@heos-ctrls:~# trove datastore-version-show 9336b587-e414-46d8-b372-725939a1b66d
ERROR: Datastore version '9336b587-e414-46d8-b372-725939a1b66d' cannot be found. (HTTP 400)
root@heos-ctrls:~# trove datastore-version-show eced5fc6-f2b6-47e1-aa51-9c6ad93fb496
+-----------+--------------------------------------+
| Property  | Value                                |
+-----------+--------------------------------------+
| active    | True                                 |
| datastore | 9336b587-e414-46d8-b372-725939a1b66d |
| id        | eced5fc6-f2b6-47e1-aa51-9c6ad93fb496 |
| image     | af94d4aa-32ca-46f7-88ce-ca2944fc19a6 |
| name      | 5.5                                  |
| packages  | mysql-server-5.5                     |
+-----------+--------------------------------------+

Used below command to create instance

trove create mysql1 3 --size 2 --databases myd --users trove:Heosadm1n --datastore mysql --datastore_version 5.5 --availability_zone=nova:heos-cmpt2 --nic net-id=2160b8de-2f28-4332-bad5-1a2a5bbba6f8

I get instance status with errors

root@heos-ctrls:~# trove list
+--------------------------------------+--------+-----------+-------------------+--------+-----------+------+
| ID                                   | Name   | Datastore | Datastore Version | Status | Flavor ID | Size |
+--------------------------------------+--------+-----------+-------------------+--------+-----------+------+
| 2f1c7e4e-2680-458b-9198-562e84366df6 | mysql1 | mysql     | 5.5               | ERROR  | 3         |    2 |
| 6716fed1-5bf7-4c44-96d4-fc03890a5d68 | mysql  | mysql     | 5.5               | ERROR  | 2         |    2 |
+--------------------------------------+--------+-----------+-------------------+--------+-----------+------+

trove-api error log

X-Tenant: service^M
X-Tenant-Id: 32885dc41a7e48318dc0a6f91d658d85^M
X-Tenant-Name: service^M
X-User: trove^M
X-User-Domain-Id: default^M
X-User-Domain-Name: Default^M
X-User-Id: 115e0cc9ec614e9288cb481575107496^M
X-User-Name: trove'


2014-07-17 20:52:18.389 27420 INFO trove.instance.service [req-0e69958b-a6ec-4df6-90f5-c5bca6b0eda8 c5f420d6cdff49d3b124637db7bd1f12 d3edc65c204b41879939106ba3d095cb - - -] Showing a database instance for tenant '32885dc41a7e48318dc0a6f91d658d85'
2014-07-17 20:52:18.389 27420 INFO trove.instance.service [req-0e69958b-a6ec-4df6-90f5-c5bca6b0eda8 c5f420d6cdff49d3b124637db7bd1f12 d3edc65c204b41879939106ba3d095cb - - -] id : '645622d8-2d9e-4e66-ba48-13ac96d44b9a'


2014-07-17 20:52:18.394 27420 INFO trove.instance.models [req-0e69958b-a6ec-4df6-90f5-c5bca6b0eda8 c5f420d6cdff49d3b124637db7bd1f12 d3edc65c204b41879939106ba3d095cb - - -] datastore status=new
2014-07-17 20:52:18.398 27420 DEBUG trove.instance.views [req-0e69958b-a6ec-4df6-90f5-c5bca6b0eda8 c5f420d6cdff49d3b124637db7bd1f12 d3edc65c204b41879939106ba3d095cb - - -] {'status': 'BUILD', 'name': u'mysql2', 'links': [{'href': u'https://heos-ctrls:8779/v1.0/32885dc41a7e48318dc0a6f91d658d85/instances/645622d8-2d9e-4e66-ba48-13ac96d44b9a', 'rel': 'self'}, {'href': u'https://heos-ctrls:8779/instances/645622d8-2d9e-4e66-ba48-13ac96d44b9a', 'rel': 'bookmark'}], 'id': u'645622d8-2d9e-4e66-ba48-13ac96d44b9a', 'volume': {'size': 2L}, 'flavor': {'id': '3', 'links': [{'href': u'https://heos-ctrls:8779/v1.0/32885dc41a7e48318dc0a6f91d658d85/flavors/3', 'rel': 'self'}, {'href': 'https://heos-ctrls:8779/flavors/3', 'rel': 'bookmark'}]}, 'datastore': {'version': u'5.5', 'type': u'mysql'}} data /opt/trove/trove/instance/views.py:45
2014-07-17 20:52:18.399 27420 INFO eventlet.wsgi [req-0e69958b-a6ec-4df6-90f5-c5bca6b0eda8 c5f420d6cdff49d3b124637db7bd1f12 d3edc65c204b41879939106ba3d095cb - - -] 10.126.58.16 - - [17/Jul/2014 20:52:18] "GET /v1.0/32885dc41a7e48318dc0a6f91d658d85/instances/645622d8-2d9e-4e66-ba48-13ac96d44b9a HTTP/1.1" 200 798 0.045674


2014-07-18 12:53:29.215 26639 ERROR nova.api.openstack [req-0e8a53ec-fa00-4ea3-8281-e7001ba7357a 115e0cc9ec614e9288cb481575107496 32885dc41a7e48318dc0a6f91d658d85] Caught error: Floating ip pool not found.
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack Traceback (most recent call last):
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack     return req.get_response(self.application)
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack     application, catch_exc_info=False)
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack   File "/usr/lib/python2.7 ...
(more)
edit retag flag offensive close merge delete

Comments

I don't see any error message in the logs. Keep searching for the error message and edit your question.

smaffulli gravatar imagesmaffulli ( 2014-07-17 15:26:31 -0500 )edit

error is at the end

2014-07-18 12:53:29.215 26639 TRACE nova.api.openstack FloatingIpPoolNotFound: Floating ip pool not found.

sudarshan gravatar imagesudarshan ( 2014-07-21 09:02:22 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-19 18:24:31 -0500

amrith gravatar image

Trove was not able to access your Neutron network that you specified with "--nic net-id=2160b8de-2f28-4332-bad5-1a2a5bbba6f8"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-07-17 10:25:25 -0500

Seen: 349 times

Last updated: Jun 19 '16