Project

General

Custom queries

Profile

Actions

Bug #21683

closed

Resyncing a Docker Repository does not update the tag information

Added by Partha Aji over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

  1. Create a docker hub account. (https://cloud.docker.com/)
  2. Install docker on a machine
  3. Run the following commands
    docker login -u <username> docker.io
    docker pull alpine
    docker tag docker.io/alpine:latest docker.io/<username>/alpine:latest
    docker tag docker.io/alpine:latest docker.io/<username>/alpine:greatest
    docker push docker.io/<username>/alpine
    
  4. On your katello ui create a docker repo with the following data -> name: repo1, feed: https://registry-1.docker.io , upstream: <username>/alpine
  5. Sync repo1. Make sure you see a repo with 2 tags
  6. Now go to https://cloud.docker.com/swarm/&lt;username&gt;/repository/docker/&lt;username&gt;/alpine/tags and delete the "latest" tag
  7. Sync repo1.

Expected:
Successful synced repo with 1 tag

Actual:
Successful sync but wrong tag information. You still see 2 tags

#1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7067 added
#2

Updated by Partha Aji over 7 years ago

  • Bugzilla link set to 1513854
#4

Updated by Partha Aji over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
#5

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 284
#6

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release changed from 284 to 329
#7

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release changed from 329 to 284
Actions

Also available in: Atom PDF