sshipway / rancher-catalogue

Catalogue for Rancher (test)
GNU General Public License v2.0
21 stars 6 forks source link

All repositories dissapear from interface if there is a private one #4

Closed sshipway closed 8 years ago

sshipway commented 8 years ago

This is an odd one caused by an auth bug in Portus.

If you have a repository marked private, then it is visible to the periodic synch job, but the tags are not. This causes portus to crash out of the retrieve function and synch with nothing, removing all entries.

A fix is in sshipway/portus:2.0.1 that just skips over tag-retrieve errors which works mostly; however the problem is down to Portus auth not correctly giving full admin rights to the portus API user (it can view all repositories, but not their tags). I can't work out how to fix this so hopefully the new release will do something. Issue in https://github.com/SUSE/Portus/issues/663

sshipway commented 8 years ago

This may only affect LDAP Auth (rather than local auth in Portus). Disabling LDAP might get around it.

sshipway commented 8 years ago

This has been fixed in the latest Portus.