Import existing volume failed due to missing 'optional_args' arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Jeegn Chen |
Bug Description
Import existing volume failed with below ERROR:
2014-06-24 13:04:54.407 110362 ERROR oslo.messaging.
Commit 971a63bd9cf675a
This commit has changed volume create task flow as below to provide the new parameter. We need the samiliar change to get_flow method in cinder\
diff --git a/cinder/
index 2fd65bf..8e4201c 100644
--- a/cinder/
+++ b/cinder/
@@ -174,6 +174,7 @@ class API(base.Base):
+ 'optional_args': {'is_quota_
}
Commit comment of b5c17cac for reference:
Made provision for providing optional arguments
The 'quota_committed' attribute of 'RequestContext' object is
a transient property, so it will not be saved in the taskflow
persistent storage. The updated value of 'quota_committed'
attribute will not be available while resuming/reverting the
flow, if cinder api-service is down/stopped after committing
the quota.
Since this 'quota_committed' attribute is not used anywhere
in cinder project other than in create-volume taskflow api, so
removed 'quota_committed' from RequestContext and made
provision to pass it as an optional argument which will be
passed to api-flow via create_what dictionary, in order to
make it persistent and use it as and when needed.
Changed in cinder: | |
assignee: | nobody → Jeegn Chen (jeegn-chen) |
Changed in cinder: | |
importance: | Undecided → High |
tags: | added: icehouse-backport-potential |
Changed in cinder: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/103710
Review: https:/