Bug #3979

Incorrect warning messages when config file is misconfigured

Added by Stavros Sachtouris over 8 years ago. Updated over 8 years ago.

Status:Closed Start date:06/11/2013
Priority:Medium Due date:06/12/2013
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: 2.00 hours
Target version:v0.9 Estimated time:2.00 hours

Description

1. When default url or token is missing, the guiding message should look like this:

    Cannot find authentication URL in config file
    Please define a valid URL
        kamaki config set remote.default.url <URL>

2. For token,replace the "authentication URL" with "user token".

3. Fix typos and spelling errors in the existing messages

4. kamaki server list (with wrong url/token)
kamaki.cli.commands
Failed to read custom log settings:'server_list' object has no attribute 'client'
defaults for token and data logging are off
Failed while http-connecting to d/tokens (Unsupported scheme: )

Associated revisions

Revision c825ddc9
Added by Stavros Sachtouris over 8 years ago

Use the default_cloud global option

Refs: #3934 #3979

Revision 44101d8a
Added by Stavros Sachtouris over 8 years ago

Updagrade error message for multiple clouds

Refs: #3979

Revision 031ca67d
Added by Stavros Sachtouris over 8 years ago

Fix typos in error messages and helps

Refs: #3979

Revision ac5a74b3
Added by Stavros Sachtouris over 8 years ago

Use the default_cloud global option

Refs: #3934 #3979

Revision 72d7e64b
Added by Stavros Sachtouris over 8 years ago

Updagrade error message for multiple clouds

Refs: #3979

Revision 2063ef10
Added by Stavros Sachtouris over 8 years ago

Fix typos in error messages and helps

Refs: #3979

Revision 763e7b82
Added by Stavros Sachtouris over 8 years ago

Use the default_cloud global option

Refs: #3934 #3979

Conflicts:

kamaki/cli/__init__.py

Revision e1350019
Added by Stavros Sachtouris over 8 years ago

Updagrade error message for multiple clouds

Refs: #3979

History

#1 Updated by Stavros Sachtouris over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF