Project

General

Profile

Actions

Bug #35159

open

hammer content-view version republish-repositories on deb repo from older version doesn't seem to fully fix directory structure

Added by Rossen G almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

My original issue was that content views created in previous version of katello had repositories that were missing folder structure found on new repositories. All repositories are of type deb.

https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/all/ (exits)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/default/all/binary-all/ (exist)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/default/all/binary-amd64/ (404)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/focal/ (404)

I was looking for the regenerate metadata button on the web ui, but that no longer exist. However, I found `hammer content-view version republish-repositories --id 5 --force true --async`. I run it on the affected content view version. It appears to have create some of the missing directory structure but not all of it.

Directory structure after republish:

https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/all/ (exits)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/default/all/binary-all/ (exist)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/default/all/binary-amd64/ (404)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/focal/ (exist)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/focal/all/binary-all/ (exist)
https://foreman.example.com/pulp/content/Org/Library/MyCV/custom/Saltstack/ubuntu_20_04_salt_3002/dists/focal/all/binary-amd64/ (exist)

1. There is difference between default and focal. binary-amd64 is missing from default. However, amd64 contains no packages, and the Package file in focal is empty
2. The Release file is now missing Version and Label, which causes existing system complain that release information has changed

Actions #1

Updated by Lucy Fu almost 2 years ago

  • Target version set to Katello Backlog
  • Triaged changed from No to Yes

Please bring the issue to the community support forum for a broader audience: https://community.theforeman.org/c/support/10.

Actions

Also available in: Atom PDF