summaryrefslogtreecommitdiffstats
path: root/cns-libs
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2018-10-04 19:01:52 +0530
committerValerii Ponomarov <vponomar@redhat.com>2018-10-18 18:13:50 +0530
commit2efe6caab6e6ca4aa79a9fad12acd113e6c082b0 (patch)
tree02d024920c1d802a8e280bd309643ee45ea53bfb /cns-libs
parent56dd5f8b6b9396bb5f4f8d0d5a0914a5c60469b8 (diff)
[CNS-550] Try to create block volume exceeding free space
Validate behaviour of the system when we try to create block volume of size bigger than we have available free space. Change-Id: I754e09f7fc27ce9b7ac2b01dda163ce20573e963
Diffstat (limited to 'cns-libs')
-rw-r--r--cns-libs/cnslibs/common/heketi_ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cns-libs/cnslibs/common/heketi_ops.py b/cns-libs/cnslibs/common/heketi_ops.py
index 3c3646ed..2eceb34a 100644
--- a/cns-libs/cnslibs/common/heketi_ops.py
+++ b/cns-libs/cnslibs/common/heketi_ops.py
@@ -2000,9 +2000,9 @@ def heketi_blockvolume_create(heketi_client_node, heketi_server_url, size,
if mode == 'cli':
cmd = ("heketi-cli -s %s blockvolume create --size=%s %s %s %s %s "
- "%s %s %s" % (heketi_server_url, str(size), auth_arg,
+ "%s %s %s %s" % (heketi_server_url, str(size), auth_arg,
clusters_arg, ha_arg, name_arg, name_arg,
- admin_key, user))
+ admin_key, user, json_arg))
ret, out, _ = g.run(heketi_client_node, cmd)
if ret != 0: