trove database instance creation fails with volume creation error

asked 2018-04-10 00:37:15 -0500

2018-04-09 22:13:59.258 20871 DEBUG trove.taskmanager.models [-] Begin _create_server_volume_individually for id: 14c34012-6b76-4a93-80a3-ff962db48e90 _create_server_volume_individually /usr/lib/python2.7/site-packages/trove/taskmanager/models.py:794 2018-04-09 22:13:59.259 20871 DEBUG trove.taskmanager.models [-] trove volume support = True _build_volume_info /usr/lib/python2.7/site-packages/trove/taskmanager/models.py:824 2018-04-09 22:13:59.259 20871 DEBUG trove.taskmanager.models [-] Begin _create_volume for id: 14c34012-6b76-4a93-80a3-ff962db48e90 _create_volume /usr/lib/python2.7/site-packages/trove/taskmanager/models.py:865 2018-04-09 22:13:59.267 20871 ERROR trove.taskmanager.models [-] Failed to create volume for instance 14c34012-6b76-4a93-80a3-ff962db48e90 The resource could not be found.

(HTTP 404) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 828, in _build_volume_info volume_size, volume_type, datastore_manager) File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 871, in _create_volume volume_type=volume_type) File "/usr/lib/python2.7/site-packages/cinderclient/v2/volumes.py", line 300, in create return self._create('/volumes', body, 'volume') File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line 330, in _create resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 457, in post return self._cs_request(url, 'POST', *kwargs) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 410, in _cs_request resp, body = self.request(url, method, *kwargs) File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 392, in request raise exceptions.from_response(resp, body) NotFound: The resource could not be found.

(HTTP 404) : NotFound: The resource could not be found.

2018-04-09 22:13:59.277 20871 DEBUG trove.db.models [-] Saving DBInstance: {u'region_id': u'RegionOne', u'cluster_id': None, u'shard_id': None, u'deleted_at': None, u'id': u'14c34012-6b76-4a93-80a3-ff962db48e90', u'datastore_version_id': u'd8234733-8e89-40c4-9880-afe1cd7b79b1', 'errors': {}, u'hostname': None, u'server_status': None, u'task_description': u'Build error: Volume.', u'volume_size': 5, u'type': None, u'updated': datetime.datetime(2018, 4, 10, 5, 13, 59, 276604), '_sa_instance_state': <sqlalchemy.orm.state.instancestate object="" at="" 0x679ff90="">, u'task_start_time': None, u'deleted': 0, u'configuration_id': None, u'volume_id': None, u'slave_of_id': None, u'encrypted_key': '*', u'name': u'db14', u'task_id': 82, u'created': datetime.datetime(2018, 4, 10, 5, 13, 57), u'tenant_id': u'941c81f068b8447b9c0ea76ae2405e93', u'compute_instance_id': None, u'flavor_id': u'1'} save /usr/lib/python2.7/site-packages/trove/db/models.py:65 2018-04-09 22:13:59.328 20871 DEBUG trove.common.notification [-] Sending event: dbaas.instance_create.error, {'client_ip': u'192.168.1.80', 'server_type': u'taskmanager', 'tenant_id': u'941c81f068b8447b9c0ea76ae2405e93', 'exception': ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/trove/taskmanager/manager.py", line 395, in create_instance\n locality)\n', ' File "/usr/lib/python2.7/site-packages/trove/taskmanager/manager.py", line 375, in _create_instance\n scheduler_hints)\n', ' File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 508, in create_instance\n scheduler_hints)\n', ' File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 798, in _create_server_volume_individually\n volume_type=volume_type)\n', ' File "/usr/lib/python2.7/site-packages/trove/taskmanager/models.py", line 833, in _build_volume_info\n ... (more)

edit retag flag offensive close merge delete