summaryrefslogtreecommitdiff
path: root/cinderclient/v2/volumes.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/v2/volumes.py')
-rw-r--r--cinderclient/v2/volumes.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/cinderclient/v2/volumes.py b/cinderclient/v2/volumes.py
index 53229ab..d8365df 100644
--- a/cinderclient/v2/volumes.py
+++ b/cinderclient/v2/volumes.py
@@ -251,8 +251,8 @@ class VolumeManager(base.ManagerWithFind):
:param name: Name of the volume
:param description: Description of the volume
:param volume_type: Type of volume
- :param user_id: User id derived from context
- :param project_id: Project id derived from context
+ :param user_id: User id derived from context (IGNORED)
+ :param project_id: Project id derived from context (IGNORED)
:param availability_zone: Availability Zone to use
:param metadata: Optional metadata to set on volume creation
:param imageRef: reference to an image stored in glance
@@ -282,15 +282,10 @@ class VolumeManager(base.ManagerWithFind):
'name': name,
'description': description,
'volume_type': volume_type,
- 'user_id': user_id,
- 'project_id': project_id,
'availability_zone': availability_zone,
- 'status': "creating",
- 'attach_status': "detached",
'metadata': volume_metadata,
'imageRef': imageRef,
'source_volid': source_volid,
- 'source_replica': source_replica,
'multiattach': multiattach,
}}