Project

Profile

Help

Issue #1620

Newly created errata does not get associated to repository

Added by pthomas@redhat.com almost 5 years ago. Updated over 1 year ago.

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

Description

When you create a errata on pulp, the newly created errata does not get associated to the repo.

1. Create a repo

2. Create an errata

pulp-admin rpm repo create --repo-id=repo

[root@sparks ~]# pulp-admin rpm repo uploads erratum --erratum-id=DEMO_ID_2   --title="1: pulp-test-package bit conservation"   --description="1: pulp-test-package now conserves your precious bits."   --version=1 --release="el6" --type="bugzilla" --status="final"   --updated="`date`" --issued="`date`"   --pkglist-csv=package_list.csv --from=pulp-list@redhat.com --repo-id=upload
+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing upload
... 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.

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@sparks ~]# pulp-admin orphan list
+----------------------------------------------------------------------+
                                Summary
+----------------------------------------------------------------------+

Distribution:            0
Docker Blob:             0
Docker Image:            0
Docker Manifest:         0
Docker Tag:              0
Drpm:                    0
Erratum:                 2
Iso:                     0
Package Category:        0
Package Environment:     0
Package Group:           0
Puppet Module:           0
Rpm:                     0
Srpm:                    0
Yum Repo Metadata File:  0
Total:                   2

Related issues

Copied to RPM Support - Issue #1623: Newly created package group does not get associated to repository CLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 69acefff View on GitHub
Added by Austin Macdonald almost 5 years ago

associate uploaded erratum after upload and save

closes #1620

History

#1 Updated by pthomas@redhat.com almost 5 years ago

  • Copied to Issue #1623: Newly created package group does not get associated to repository added

#2 Updated by jortel@redhat.com almost 5 years ago

  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes

#3 Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com

#4 Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by Anonymous almost 5 years ago

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

#6 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from MODIFIED to 5

#7 Updated by pthomas@redhat.com almost 5 years ago

verified
[root@mgmt3 ~]# rpm -qa pulp-server
pulp-server-2.8.0-0.6.beta.git.40.28675fb.el7.noarch

root@mgmt3 ~]# rpm -qa pulp-server
pulp-server-2.8.0-0.6.beta.git.40.28675fb.el7.noarch
[root@mgmt3 ~]# 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
Package Category:        0
Package Environment:     0
Package Group:           0
Puppet Module:           0
Rpm:                     0
Srpm:                    0
Yum Repo Metadata File:  0
Total:                   0

[root@mgmt3 ~]# pulp-admin rpm repo list 
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  rhel7-ks
Display Name:        Rhel7 Kickstart
Description:         Kickstart files for RHEL7
Content Unit Counts: 
  Distribution:           1
  Package Category:       9
  Package Environment:    6
  Package Group:          71
  Rpm:                    4620
  Yum Repo Metadata File: 1

Id:                  upload
Display Name:        None
Description:         None
Content Unit Counts: 
  Erratum: 1

#8 Updated by pthomas@redhat.com almost 5 years ago

  • Status changed from 5 to 6

#9 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#11 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF