Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags are not deleted properly when image is deleted #25

Closed
vholer opened this issue Feb 9, 2017 · 1 comment
Closed

Tags are not deleted properly when image is deleted #25

vholer opened this issue Feb 9, 2017 · 1 comment

Comments

@vholer
Copy link
Contributor

vholer commented Feb 9, 2017

$ canga list
NAME                                                      SIZE DAYS_AGO
  default:ubuntu1610                                  325.4 Mb      0.1
^ default:ubuntu1610/one                               38.9 Mb      0.1
    OpenNebula Compatible Ubuntu 16.10                         
$ canga del ubuntu1610/one
$ canga list
NAME                                                      SIZE DAYS_AGO
  default:ubuntu1610                                  325.4 Mb      0.1
$ cat .cangallo/default/index.yaml 
---
version: 0
images:
  25dbea28c7d75a159c54ed424c5186fefff751fb7d61c75248c4250d893223bc:
    virtual-size: 2361393152
    format: qcow2
    ...
tags:
  ubuntu1610: 25dbea28c7d75a159c54ed424c5186fefff751fb7d61c75248c4250d893223bc
  ubuntu1610/one: d7d895caabef4d31d141d24eb2d357312f4491d8569bffcc5a1a85e3352a35c8

But the tag is still there and can't be deleted:

$ canga deltag ubuntu1610/one
Image "ubuntu1610/one" not found

And blocks future builds with same tag.

@jfontan
Copy link
Owner

jfontan commented Feb 12, 2017

Now all the tags with the image's SHA256 are deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants