Bug #4864

Image register failure when used with upload but no metafile

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

Status:Closed Start date:01/09/2014
Priority:High Due date:01/09/2014
Assignee:Stavros Sachtouris % Done:

100%

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

Description

Fails when:

$ kamaki image register --upload-image-file debian_base.diskdump --location /images/debian_base_diskdump --no-metafile-upload --name=Debian
...
  File "/usr/lib/python2.7/dist-packages/kamaki/cli/commands/image.py", line 532, in _run
    pithos.upload_object(
AttributeError: 'NoneType' object has no attribute 'upload_object'
'NoneType' object has no attribute 'upload_object'
...

Associated revisions

Revision 2973f6b0
Added by Stavros Sachtouris over 9 years ago

Fix big: Register image w. upload but no metafile

Refs: #4864

Also, -f/--force now refers to every file to be uploaded during
registration (was only for metafiles)

Revision 8fa5b527
Added by Stavros Sachtouris over 9 years ago

Update Changelog for image register bugfix

Refs: #4864

Revision 3f36ba1d
Added by Stavros Sachtouris over 9 years ago

Fix big: Register image w. upload but no metafile

Refs: #4864

Also, -f/--force now refers to every file to be uploaded during
registration (was only for metafiles)

History

#1 Updated by Stavros Sachtouris over 9 years ago

  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris over 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF