Project

Profile

Help

Issue #1812

Comps.xml upload succeeds but units are not associated to the repo.

Added by ipanova@redhat.com over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.0
Platform Release:
2.8.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

$ pulp-admin rpm repo uploads comps --repo-id pk --file /home/ipanova/pulp_development/pulp_rpm/sample-comps.xml

+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: sample-comps.xml
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: sample-comps.xml
... completed

Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
canceled entirely using the cancel command.

Uploading: sample-comps.xml
[==================================================] 100%
8407/8407 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Succeeded

Deleting the upload request...
... completed

[ipanova@ina pulp_rpm]$ pulp-admin rpm repo list

+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  pk
Display Name:        None
Description:         None
Content Unit Counts: 

$ pulp-admin orphan list

+----------------------------------------------------------------------+
                                Summary
+----------------------------------------------------------------------+

Distribution:            0
Docker Blob:             0
Docker Image:            0
Docker Manifest:         0
Docker Tag:              0
Drpm:                    0
Erratum:                 0
Iso:                     0
Node:                    0
Ostree:                  0
Package Category:        2
Package Environment:     1
Package Group:           3
Puppet Module:           0
Python Package:          0
Repository:              0
Rpm:                     0
Srpm:                    0
Yum Repo Metadata File:  0
Total:                   6

Associated revisions

Revision 19cf521d View on GitHub
Added by ipanova@redhat.com over 4 years ago

Comps.xml upload succeeds but units are not associated to the repo.

closes #1812 https://pulp.plan.io/issues/1812

History

#1 Updated by ipanova@redhat.com over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com
  • Platform Release set to 2.8.2

#2 Updated by ipanova@redhat.com over 4 years ago

  • Status changed from ASSIGNED to POST
  • Version set to Master

#3 Updated by bmbouter over 4 years ago

  • Version changed from Master to 2.8.0

This regression was introduced in Pulp 2.8.0 by this commit: https://github.com/pulp/pulp_rpm/commit/17082bfc12abaff033485b57b3c0a591a015bcaa

#4 Updated by ipanova@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#5 Updated by semyers over 4 years ago

  • Platform Release changed from 2.8.2 to 2.8.3

#6 Updated by mhrivnak over 4 years ago

  • Triaged changed from No to Yes

#7 Updated by pthomas@redhat.com over 4 years ago

Verified

[root@qe-blade-03 ~]# rpm -qa pulp-server
pulp-server-2.8.3-0.1.beta.git.44.70215c3.el7.noarch
[root@qe-blade-03 ~]# 

[root@qe-blade-03 ~]# pulp-admin rpm repo uploads comps --repo-id upload --file comps.xml 
+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: comps.xml
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: comps.xml
... completed

Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
canceled entirely using the cancel command.

Uploading: comps.xml
[==================================================] 100%
3157/3157 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Succeeded

Deleting the upload request...
... completed

[root@qe-blade-03 ~]# pulp-admin rpm repo list
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  upload
Display Name:        None
Description:         None
Content Unit Counts: 
  Package Category: 2
  Package Group:    3

[root@qe-blade-03 ~]# 

#8 Updated by semyers over 4 years ago

  • Status changed from MODIFIED to 5

#9 Updated by semyers over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF