volume migration failed because EndpointNotFound
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
Migration an in-use volume to another volume backend host failed:
2016-03-22 09:46:57.783 3812 ERROR oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
2016-03-22 09:46:57.783 3812 TRACE oslo_messaging.
After analyzing code, I found the reason was the default value of 'nova_catalog_
The default value of 'nova_catalog_info' is 'compute:Compute Service:publicURL' in /cinder/
In keystone, the compute service's name is 'nova' , not 'Compute Service'.
I think the default value of 'nova_catalog_info' should be 'compute:
See the following code:
'nova_catalog_
nova_opts = [
cfg.
cfg.
...]
See keystone cli info:
[root@2C5_19_CG1 cinder(
+------
| id | name | type | description |
+------
| 69ef68182b82410
| 7f86b30b810f41a
And another config 'nova_catalog_
Changed in cinder: | |
assignee: | nobody → weiweigu@zte (gu-weiwei) |
Changed in cinder: | |
assignee: | weiweigu (gu-weiwei) → nobody |
That would be a backward incompatible change that could break existing systems on upgrade...