summaryrefslogtreecommitdiff
path: root/trove/common/strategies/cluster/experimental/vertica/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'trove/common/strategies/cluster/experimental/vertica/api.py')
-rw-r--r--trove/common/strategies/cluster/experimental/vertica/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trove/common/strategies/cluster/experimental/vertica/api.py b/trove/common/strategies/cluster/experimental/vertica/api.py
index 6117d407..9bc34571 100644
--- a/trove/common/strategies/cluster/experimental/vertica/api.py
+++ b/trove/common/strategies/cluster/experimental/vertica/api.py
@@ -96,7 +96,7 @@ class VerticaCluster(models.Cluster):
deltas = {'instances': num_instances, 'volumes': req_volume_size}
- check_quotas(context.tenant, deltas)
+ check_quotas(context.project_id, deltas)
flavor_id = instances[0]['flavor_id']
volume_size = instances[0].get('volume_size', None)
@@ -149,7 +149,7 @@ class VerticaCluster(models.Cluster):
num_instances=vertica_conf.cluster_member_count)
db_info = models.DBCluster.create(
- name=name, tenant_id=context.tenant,
+ name=name, tenant_id=context.project_id,
datastore_version_id=datastore_version.id,
task_status=ClusterTasks.BUILDING_INITIAL)