Bug 996625
Summary: | Groups and categories are not updated at sync time if they changed upstream | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | user-experience | Assignee: | Michael Hrivnak <mhrivnak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 2.2 Beta | CC: | skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-18 16:06:20 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
Preethi Thomas
2013-08-13 14:39:10 UTC
https://github.com/pulp/pulp_rpm/pull/305 This fix is for a related but possibly different issue, where groups and categories were not being updated at sync time if they changed upstream. If this bug report is asking for the ability to modify groups and categories that have been "uploaded" into pulp, that should be a separate request that is likely a new feature request. Did pulp ever support this idea? Pulp did support adding packages/categories to the groups & caterogies that were created in v1. https://www.pulpproject.org/ug/UGPackageGroups.html#add_package Looks like the PR was merged and this should be moved to modified. Moving this to modified, updating bug summary and opening a new bug / RFE to add support of adding packages/categories to the groups & caterogies that were uploaded into pulp. Created https://bugzilla.redhat.com/show_bug.cgi?id=1009706 to track RFE as per Comment 1. build: 2.2.1-1 build: 2.2.0-2. verified [root@qe-blade-04 ~]# rpm -qa |grep pulp-server pulp-server-2.2.0-2.el6.noarch [root@qe-blade-04 ~]# create zoo repo & sync [root@qe-blade-04 ~]# pulp-admin rpm repo create --repo-id zoo --feed http://pulp-v2-server.usersys.redhat.com/pulp/repos/zoo-copy/ Successfully created repository [zoo] [root@qe-blade-04 ~]# [root@qe-blade-04 ~]# [root@qe-blade-04 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [-] ... completed Downloading repository content... [==================================================] 100% RPMs: 32/32 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 32/32 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [\] ... completed Publishing repository over HTTPS [-] ... completed [root@qe-blade-04 ~]# [root@qe-blade-04 ~]# [root@qe-blade-04 ~]# [root@qe-blade-04 ~]# pulp-admin rpm repo content group --repo-id zoo Conditional Package Names: Default: True Default Package Names: Description: None Display Order: 1024 Id: birds Langonly: None Mandatory Package Names: cockateel, duck, penguin, stork Name: birds Optional Package Names: Repo Id: zoo Translated Description: Translated Name: User Visible: True Conditional Package Names: Default: True Default Package Names: Description: None Display Order: 1024 Id: mammals Langonly: None Mandatory Package Names: bear, camel, cat, cheetah, chimpanzee, cow, dog, dolphin, elephant, fox, giraffe, gorilla, horse, kangaroo, lion, mouse, squirrel, tiger, walrus, whale, wolf, zebra Name: mammals Optional Package Names: Repo Id: zoo Translated Description: Translated Name: User Visible: True Update the zoo repo package group mammal and remove some packages from required. Sync again. [root@qe-blade-04 ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [-] ... completed Downloading repository content... [==================================================] 100% RPMs: 0/0 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [\] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 32/32 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [\] ... completed Publishing repository over HTTPS [-] ... completed [root@qe-blade-04 ~]# pulp-admin rpm repo content group --repo-id zoo Conditional Package Names: Default: True Default Package Names: Description: None Display Order: 1024 Id: birds Langonly: None Mandatory Package Names: cockateel, duck, penguin, stork Name: birds Optional Package Names: Repo Id: zoo Translated Description: Translated Name: User Visible: True Conditional Package Names: Default: True Default Package Names: Description: None Display Order: 1024 Id: mammals Langonly: None Mandatory Package Names: cheetah, chimpanzee, cow, dog, dolphin, elephant, fox, giraffe, gorilla, horse, kangaroo, lion, mouse, squirrel, tiger, walrus, whale, wolf, zebra Name: mammals Optional Package Names: Repo Id: zoo Translated Description: Translated Name: User Visible: True [root@qe-blade-04 ~]# These were already verified in the corresponding releases that they were fixed in. Moving them to closed current release. |