Compute CDM failed to be created under multiple cells environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Under Multiple Cells environment, Compute CDM failed to be created with NoUniqueMatch exception.
Decision-engine log is the following:
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
ync
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
in synchronize
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
n execute
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
8月 09 14:51:43 w001 watcher-
services table is the following:
mysql> use nova_cell1;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from services;
+------
| created_at | updated_at | deleted_at | id | host | binary | topic | report_count | disabled | deleted | disabled_reason | last_seen_up | forced_down | version | uuid |
+------
| 2017-08-09 05:16:25 | 2017-08-09 06:27:51 | NULL | 1 | w001 | nova-conductor | conductor | 429 | 0 | 0 | NULL | 2017-08-09 06:27:51 | 0 | 21 | 9f8ba5ba-
| 2017-08-09 05:19:46 | 2017-08-09 06:27:52 | NULL | 3 | w012 | nova-compute | compute | 409 | 0 | 0 | NULL | 2017-08-09 06:27:52 | 0 | 21 | d92ee6cd-
| 2017-08-09 05:32:19 | 2017-08-09 06:27:55 | NULL | 4 | w013 | nova-compute | compute | 334 | 0 | 0 | NULL | 2017-08-09 06:27:55 | 0 | 21 | 7a570d78-
+------
3 rows in set (0.00 sec)
mysql> use nova_cell0;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from services;
+------
| created_at | updated_at | deleted_at | id | host | binary | topic | report_count | disabled | deleted | disabled_reason | last_seen_up | forced_down | version | uuid |
+------
| 2017-08-09 05:14:56 | NULL | NULL | 1 | w001 | nova-osapi_compute | NULL | 0 | 0 | 0 | NULL | NULL | 0 | 21 | 63d1bb03-
| 2017-08-09 05:16:15 | 2017-08-09 06:28:32 | NULL | 3 | w001 | nova-scheduler | scheduler | 434 | 0 | 0 | NULL | 2017-08-09 06:28:32 | 0 | 21 | 11091b1b-
| 2017-08-09 05:16:22 | 2017-08-09 06:28:39 | NULL | 4 | w001 | nova-consoleauth | consoleauth | 434 | 0 | 0 | NULL | 2017-08-09 06:28:39 | 0 | 21 | a71d3e28-
| 2017-08-09 05:16:24 | NULL | NULL | 5 | w001 | nova-metadata | NULL | 0 | 0 | 0 | NULL | NULL | 0 | 21 | 14639e0e-
| 2017-08-09 05:16:25 | 2017-08-09 06:28:41 | NULL | 6 | w001 | nova-conductor | conductor | 434 | 0 | 0 | NULL | 2017-08-09 06:28:41 | 0 | 21 | d88b14b2-
+------
5 rows in set (0.00 sec)
summary: |
- Compute CDM failed to be created + Compute CDM failed to be created under multiple cells environment |
I found the fact that from Nova API 2.53, /os-services returns the id of the service as a uuid instead of id of the service. /developer. openstack. org/api- ref/compute/ #id365
reference: https:/