Commit 6ee40bcb authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

snf-deploy: Support newer version of kamaki CLI

Command Line Interface of kamaki has changed the way it handles
pithos containers. A new command `container' has been created.

This commit changes the command snf-deploy is using the create
a new container from
  $ kamaki file create images
to
  $ kamaki container create images
parent 5e01cbb5
......@@ -60,11 +60,11 @@ ssh_keys = ~/.ssh/id_rsa.pub
[Burnin]
# Maybe add some burnin options
# (e.g. tests to run/ignore, timeouts etc)
cmd_options = --images "name:.*" --flavors "name:C1R1...D5.*"
cmd_options = --images "name:.*" --flavors "name:C1R512D2file" --no-ipv6
# Kamaki version to be used (leave empty for default)
# In some cases there is the need for a specific version
# of kamaki to be used.
kamaki_version = 0.11next-1811-197b413
kamaki_version = 0.11next-1858-1d7368b
[Unit Tests]
......
......@@ -60,11 +60,11 @@ ssh_keys = ~/.ssh/id_rsa.pub
[Burnin]
# Maybe add some burnin options
# (e.g. tests to run/ignore, timeouts etc)
cmd_options = --images "name:.*" --flavors "name:C1R1...D5.*"
cmd_options = --images "name:.*" --flavors "name:C1R512D2file" --no-ipv6
# Kamaki version to be used (leave empty for default)
# In some cases there is the need for a specific version
# of kamaki to be used.
kamaki_version = 0.11next-1811-197b413
kamaki_version = 0.11next-1858-1d7368b
[Unit Tests]
......
......@@ -1340,7 +1340,7 @@ def setup_kamaki():
kamaki config set cloud.default.token {1}
""".format(env.env.accounts.fqdn, user_auth_token)
try_run(cmd)
try_run("kamaki file create images")
try_run("kamaki container create images")
@roles("client")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment