Bug #4276

kamaki image register does not guide user in case of an old-style argument

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

Status:Closed Start date:09/05/2013
Priority:Medium Due date:09/05/2013
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: 1.00 hour
Target version:v0.10 Estimated time:1.00 hour

Description

How to reproduce the problem, in kamaki 0.10 or better:

$ kamaki image register 'Image Name' pithos://<user-id>/<container>/<image-remote-path>
(404) NOT FOUND itemNotFound ()
$

Solution: guide the user to use the <container>:<image-remote-path> with a helpful message.
This can be the "syntax error" help, that can appear also in the case of a 404 error.


Related issues

related to ./kamaki - Feature #3778: Introduce easy-to-set image location arguments for image ... Closed 05/21/2013 05/23/2013

Associated revisions

Revision 7bbfeb1a
Added by Stavros Sachtouris about 8 years ago

Add help on kamaki register when old-style args

Refs: #4276

Revision b98ad4ba
Added by Stavros Sachtouris about 8 years ago

Update image register examples to new behavior

Refs: #4276

Revision a78fe02e
Added by Stavros Sachtouris about 8 years ago

Add help on kamaki register when old-style args

Refs: #4276

Revision 10ea6089
Added by Stavros Sachtouris about 8 years ago

Update image register examples to new behavior

Refs: #4276

History

#1 Updated by Stavros Sachtouris about 8 years ago

  • Due date set to 09/05/2013
  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris about 8 years ago

  • Status changed from New to Resolved

#3 Updated by Stavros Sachtouris about 8 years ago

  • Status changed from Resolved to Closed
  • Target version changed from v0.9 to v0.10

Also available in: Atom PDF