Nova cannot find cinder v3 endpoint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Scott DAngelo |
Bug Description
We are unable to use cinder v3 endpoint.
To Reproduce put the following in nova.conf:
[cinder]
catalog_info = volumev3:
When nova first uses the cinderclient for a volume-attach, an exception will be thrown:
2017-01-05 19:30:30.353 7049 ERROR nova.compute.
2017-01-05 19:30:30.353 7049 ERROR nova.compute.
This fix is required:
diff --git a/nova/context.py b/nova/context.py
index 68dcdad..02549f3 100644
--- a/nova/context.py
+++ b/nova/context.py
@@ -102,8 +102,8 @@ class RequestContext(
if service_catalog:
# Only include required parts of service_catalog
- if s.get('type') in ('volume', 'volumev2', 'key-manager',
- 'placement')]
+ if s.get('type') in ('volume', 'volumev2', 'volumev3',
+ 'key-manager', 'placement')]
else:
# if list is empty or none
Changed in nova: | |
assignee: | nobody → Scott DAngelo (scott-dangelo) |
Fix proposed to branch: master /review. openstack. org/422078
Review: https:/