Bug 1976047

Summary: Failed to sync custom repository on Satellite6.10
Product: Red Hat Satellite Reporter: qianzhan
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Cole Higgins <chiggins>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: bbuckingham, jsherril, yanpliu
Target Milestone: 6.10.0Keywords: 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: Environment:
Last Closed: 2021-11-16 14:12:09 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:

Description qianzhan 2021-06-25 04:05:15 UTC
Description of problem:
Failed to sync custom repository on Satellite7.10

Version-Release number of selected component (if applicable):
subscription-manager-1.29.12-2.el9.x86_64
package dnf-plugin-subscription-manager is not installed
subscription-manager-cockpit-1.29.12-2.el9.noarch
python3-subscription-manager-rhsm-1.29.12-2.el9.x86_64
subscription-manager-rhsm-certificates-1.29.12-2.el9.x86_64
tfm-rubygem-katello-4.1.0-0.9.rc2.2.el7sat.noarch
katello-4.1.0-0.6.rc2.el7sat.noarch
candlepin-4.0.4-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Check the organization:

rhsm-integrate: INFO: >>>Remote Run: hammer organization list
rhsm-integrate: INFO: <<<Return Code: 0
rhsm-integrate: INFO: <<<Output:
---|----------------------|----------------------|-------------|---------------------
ID | TITLE                | NAME                 | DESCRIPTION | LABEL               
---|----------------------|----------------------|-------------|---------------------
3  | custom_org           | custom_org           |             | custom_org          
1  | Default Organization | Default Organization |             | Default_Organization
4  | sca_org              | sca_org              |             | sca_org             
---|----------------------|----------------------|-------------|---------------------

rhsm-integrate: INFO: custom_org has already been created

2. Check custom product: 

rhsm-integrate: INFO: >>>Remote Run: hammer product list --organization-label=custom_org
rhsm-integrate: INFO: <<<Return Code: 0
rhsm-integrate: INFO: <<<Output:
---|----------------|------------------------------|--------------|--------------|-----------
ID | NAME           | DESCRIPTION                  | ORGANIZATION | REPOSITORIES | SYNC STATE
---|----------------|------------------------------|--------------|--------------|-----------
78 | custom_product | Content from My Repositories | custom_org   | 1            |           
---|----------------|------------------------------|--------------|--------------|-----------

rhsm-integrate: INFO: custom_product has already been created on this org

3. Create a custom repo: 

rhsm-integrate: INFO: >>>Remote Run: hammer repository create --name=custom_repo --content-type='yum' --publish-via-http=true --url='http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/'  --product=custom_product --organization-label=custom_org
rhsm-integrate: INFO: <<<Return Code: 65
rhsm-integrate: INFO: <<<Output:
Could not create the repository:
  Validation failed: Name has already been taken for this product., Label has already been taken for this product.

rhsm-integrate: INFO: It's successful to create custom repo on sat6.

4. Try to sync custom repo: 

rhsm-integrate: INFO: >>>Remote Run: hammer repository synchronize --name=custom_repo --product=custom_product --organization-label=custom_org
rhsm-integrate: INFO: <<<Return Code: 70
rhsm-integrate: INFO: <<<Output:
Total steps: 785/785
--------------------------------
Associating Content: 0/0
Downloading Artifacts: 18/18
Downloading Metadata Files: 4/4
Parsed Comps: 1/1
Parsed Packages: 762/762
Un-Associating Content: 0/0
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.03/1, 3%, elapsed: 00:00:00
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, elapsed: 00:00:02
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, elapsed: 00:00:04
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, elapsed: 00:00:07
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, elapsed: 00:00:09
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, elapsed: 00:00:12
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:14, ETA: 00:05:34
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:16
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:19
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:21
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:24
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:26
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:28
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:31
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:33
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:36
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:38
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:40
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:43
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:45
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:48
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:50
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:53
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:55
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:00:57
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:00
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:02
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:05
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:07
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:09
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:12
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:14
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:17
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:19
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:22
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:24
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:27
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:29
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:31
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:34
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:36
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:39
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:41
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:43
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:46
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:48
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:51
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.07/1, 7%, 0.0/s, elapsed: 00:01:53
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:01:55, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:01:58, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:00, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:03, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:05, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:08, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:10, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:12, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:15, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:17, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:20, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:22, ETA: 00:00:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:24
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:27
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:29
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:32
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:34
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:36
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:39
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:41
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:44
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:46
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:48
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:51
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:53
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:56
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:02:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:01
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:03
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:05
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:08
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:10
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:13
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:15
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:17
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:20
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:22
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:25
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:27
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:29
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:32
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:34
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:37
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:39
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:41
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:44
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:46
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:49
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:51
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:53
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:56
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:03:58
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:01
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:03
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:05
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:08
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:10
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:13
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:15
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:17
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:20
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:22
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:25
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:27
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:30
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:32
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:34
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:37
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:39
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:42
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:44
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:46
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:49
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:51
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:54
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:56
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:04:59
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:01
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:04
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:06
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:08
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:11
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:13
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:16
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:18
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:21
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:23
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:25
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:28
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:30
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:33
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:35
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:37
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:40
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:42
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:45
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:47
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:49
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:52
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.38/1, 38%, 0.0/s, elapsed: 00:05:54
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa running: 0.83/1, 83%, 0.0/s, elapsed: 00:05:57, ETA: 00:00:21
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa warning: 1.0/1, 100%, 0.0/s, elapsed: 00:05:59
Task bd1bde2b-04af-4f98-8009-e3b8f6383cfa warning: 1.0/1, 100%, 0.0/s, elapsed: 00:05:59
Error: Response payload is not completed

rhsm-integrate: ERROR: Test Failed - ERROR Message:Test Failed - Failed to sync custom repo on sat6.


Actual results:
As step 4, custom repo can not be synced.

Expected results:
Custom repo should be synced.


Additional info:
This happened when I test RHEL-9.0.0-20210623.3 RHSM Integration testing against Satellite6.10.0-snap-5.0

Comment 1 Justin Sherrill 2021-07-06 13:59:36 UTC
This will be resolved once we upgrade to pulp 3.14

Comment 2 Brad Buckingham 2021-07-16 19:05:38 UTC
Justin,

Can we go ahead and move this to ON_DEV for handoff with the next snap? 

Pulp 3.14 is in the SNAP released Wed July 14th.

Comment 3 Justin Sherrill 2021-07-17 13:17:43 UTC
Can't it be moved to ON_QA since its already delivered?

Comment 4 Brad Buckingham 2021-07-19 07:46:46 UTC
The delivery team has asked that we not move bugzillas directly to ON_QA and instead use ON_DEV. This allows them to be communicated through the weekly SNAP process. Since you've confirmed that it is delivered, I'll move there now.  Thanks!

Comment 5 qianzhan 2021-07-23 06:41:13 UTC
Verification:

tfm-rubygem-katello-4.1.1-1.el7sat.noarch
candlepin-4.0.5-1.el7sat.noarch

tfm-rubygem-pulp_deb_client-2.13.0-1.el7sat.noarch
tfm-rubygem-smart_proxy_pulp-3.0.0-1.el7sat.noarch
python3-pulp-certguard-1.4.0-1.el7pc.noarch
tfm-rubygem-pulp_certguard_client-1.4.0-1.el7sat.noarch
tfm-rubygem-pulp_container_client-2.7.0-1.el7sat.noarch
python3-pulp-file-1.8.1-1.el7pc.noarch
pulp-client-1.0-1.noarch
tfm-rubygem-pulpcore_client-3.14.1-1.el7sat.noarch
tfm-rubygem-pulp_ansible_client-0.8.0-1.el7sat.noarch
tfm-rubygem-pulp_rpm_client-3.13.3-1.el7sat.noarch
python3-pulp-container-2.7.0-1.el7pc.noarch
python3-pulp-rpm-3.13.2-1.el7pc.noarch
python3-pulp-ansible-0.8.0-1.el7pc.noarch
python3-pulpcore-3.14.0-1.el7pc.noarch
tfm-rubygem-pulp_file_client-1.8.1-1.el7sat.noarch
pulpcore-selinux-1.2.4-1.el7pc.x86_64


1. Create custom repository on Satellite6.10:

[root@ent-01-vm-01 ~]# hammer product create --organization-label=custom_org --name=custom_product
Product created.
[root@ent-01-vm-01 ~]# hammer product list --organization-label=custom_org
--|--------------|-----------|------------|------------|----------
ID | NAME | DESCRIPTION | ORGANIZATION | REPOSITORIES | SYNC STATE
--|--------------|-----------|------------|------------|----------
78 | custom_product | | custom_org | 0 |
--|--------------|-----------|------------|------------|----------
[root@ent-01-vm-01 ~]# hammer repository create --name=custom_repo --content-type='yum' --publish-via-http=true --url='http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/' --product=custom_product --organization-label=custom_org
Repository created.

2. Sync this repository:
[root@ent-01-vm-01 ~]# hammer repository synchronize --name=custom_repo --product=custom_product --organization-label=custom_org
[..........................................................................................................................................................................................................] [100%]
Total steps: 2297/2297
--------------------------------
Associating Content: 763/763
Downloading Artifacts: 762/762
Downloading Metadata Files: 9/9
Parsed Comps: 1/1
Parsed Packages: 762/762
Un-Associating Content: 0/0
[root@ent-01-vm-01 ~]# echo $?
0

3. Check the sync status of this repository:
[root@ent-01-vm-01 ~]# hammer repository info --name=custom_repo --product=custom_product --organization-label=custom_org | grep Sync: -A5
Mirror on Sync: yes
Url: http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/
Publish Via HTTP: yes
Published At: https://ent-01-vm-01.lab.eng.nay.redhat.com/pulp/content/custom_org/Library/custom/custom_product/custom_repo/
Relative Path: custom_org/Library/custom/custom_product/custom_repo
Download Policy: immediate
–
Sync:
Status: Success
Last Sync Date: 2 minutes
Created: 2021/07/23 06:22:44
Updated: 2021/07/23 06:22:50
Content Counts:


So the custom repository can be synced successfully, move this bug from ON_QA to VERIFIED.

Comment 6 yanpliu 2021-07-26 10:56:10 UTC
Verification on Satellite6.10.0 Beta, this issue has been fixed.
foreman-installer-katello-2.5.2-3.el7sat.noarch
katello-debug-4.1.1-1.el7sat.noarch
tfm-rubygem-katello-4.1.1-1.el7sat.noarch
katello-client-bootstrap-1.7.5-1.el7sat.noarch
katello-default-ca-1.0-1.noarch
katello-selinux-4.0.0-1.el7sat.noarch
katello-common-4.1.1-1.el7sat.noarch
katello-4.1.1-1.el7sat.noarch
katello-certs-tools-2.7.3-1.el7sat.noarch
katello-server-ca-1.0-1.noarch
tfm-rubygem-hammer_cli_katello-1.1.2-1.el7sat.noarch

Comment 9 errata-xmlrpc 2021-11-16 14:12:09 UTC
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 (Moderate: Satellite 6.10 Release), 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-2021:4702