Bug 1586336
Summary: | The checksum type configuration of yum distributor should always fallback to the scratchped if it is not explicitly set to use a particular checksum type by the user. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | ||||||
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.3.1 | CC: | afox, ajambhul, akarimi, avroy, bkearney, bmbouter, cmarinea, daviddavis, dcarmich, dkliban, ggainey, ipanova, janarula, kelly.brown1, mmccune, patalber, pcreech, rchan, rraghuwa, satellite6-bugs, shisingh, smajumda, smutkule, stefan.heijmans, ttereshc, vvasilev, wclark | ||||||
Target Milestone: | 6.5.0 | Keywords: | PrioBumpGSS, Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1661290 (view as bug list) | Environment: | |||||||
Last Closed: | 2019-05-14 12:37:23 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Hao Chang Yu
2018-06-06 02:28:55 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug. The Pulp upstream bug status is at POST. Updating the external tracker on this bug. The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug. The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. Anand, As the customer experienced this problem without having changed the checksum_type, then this is the same bug. I just went through this so here are the steps to reproduce. On your Satellite box: $ mkdir /myrepo $ chmod -R 777 /myrepo $ cd /myrepo # wget some packages $ createrepo -s sha1 /myrepo Now create a repo and set the feed url to "file:///myrepo/" and the download policy to "On Demand" and sync it. Now back on your Satellite box: $ cd /myrepo $ createrepo -s sha256 /myrepo And now sync again. If it doesn't error, you are good. Also, confirm the # of packages. I followed the steps outlined in #27. -bash-4.2# createrepo -s sha1 . Warning: It is more compatible to use sha instead of sha1 Spawning worker 0 with 418 pkgs Spawning worker 1 with 418 pkgs Spawning worker 2 with 417 pkgs Spawning worker 3 with 417 pkgs Spawning worker 4 with 417 pkgs Spawning worker 5 with 417 pkgs Spawning worker 6 with 417 pkgs Spawning worker 7 with 417 pkgs Spawning worker 8 with 417 pkgs Spawning worker 9 with 417 pkgs Spawning worker 10 with 417 pkgs Spawning worker 11 with 417 pkgs Workers Finished Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete -bash-4.2# podman run -d -p 1337:80 -v $(pwd):/usr/local/apache2/htdocs/:Z httpd 9dc85fdb641ef073f374bbf2c8f23d79896792443db64338b906b2c7f51edbc0 -bash-4.2# podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9dc85fdb641e docker.io/library/httpd:latest httpd-foreground 3 seconds ago Up 3 seconds ago 0.0.0.0:1337->80/tcp sleepy_northcutt *** Sync the repository *** -bash-4.2# createrepo -s sha256 . Spawning worker 0 with 418 pkgs Spawning worker 1 with 418 pkgs Spawning worker 2 with 417 pkgs Spawning worker 3 with 417 pkgs Spawning worker 4 with 417 pkgs Spawning worker 5 with 417 pkgs Spawning worker 6 with 417 pkgs Spawning worker 7 with 417 pkgs Spawning worker 8 with 417 pkgs Spawning worker 9 with 417 pkgs Spawning worker 10 with 417 pkgs Spawning worker 11 with 417 pkgs Workers Finished Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete *** ReSync the repository *** The repository synced successfully and all package counts matched. See attached screenshot for verification. Created attachment 1521377 [details]
sha1
Created attachment 1521378 [details]
sha256
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1222 |