Use explicitely set services urls if no auth_url
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 3 Jun 2013 11:22:58 +0000 (14:22 +0300)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 3 Jun 2013 11:26:07 +0000 (14:26 +0300)
commit54b6be76541ab82f7a6af46fc6b05bbaa916f04e
treefee8d9aa3477a44a8e67443878ae75c1d905d3bf
parent57ad91dfc56fb18e4e10275098fa5cbbc21d0032
Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file.

Service urls: astakos.url, pithos.url, cyclades.url, plankton.url
kamaki/cli/__init__.py
kamaki/cli/command_shell.py
kamaki/cli/commands/astakos.py
kamaki/cli/commands/cyclades.py
kamaki/cli/commands/image.py
kamaki/cli/commands/pithos.py
kamaki/cli/errors.py
kamaki/clients/astakos/__init__.py