Issue #1623
closedNewly created package group does not get associated to repository
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 a package group
[root@sparks ~]# pulp-admin rpm repo create --repo-id=repo_1 --feed=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/pulp_unittest/
Successfully created repository [repo_1]
[root@sparks ~]#
[root@sparks ~]#
[root@sparks ~]# pulp-admin rpm repo sync run --repo-id=repo_1
+----------------------------------------------------------------------+
Synchronizing Repository [repo_1]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 0/0 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 3/3 items
... completed
Importing errata...
[/]
... completed
Importing package groups/categories...
[-]
... completed
Task Succeeded
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
3 of 3 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
52 of 52 items
... completed
Publishing Comps file
[==================================================] 100%
5 of 5 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[-]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
[root@sparks ~]# pulp-admin rpm repo uploads group --repo-id=repo_1 --group-id=pulp_test \
> --name="Pulp Test" --description="A package group of Pulp test files." \
> --mand-name=pulp-dot-2.0-test --mand-name=pulp-test-package
+----------------------------------------------------------------------+
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 rpm repo content group --repo-id=repo_1 --match id=pulp_test
[root@sparks ~]#
Related issues
Updated by pthomas@redhat.com about 8 years ago
- Copied from Issue #1620: Newly created errata does not get associated to repository added
Updated by jortel@redhat.com about 8 years ago
- Severity changed from 2. Medium to 3. High
- Platform Release set to 2.8.0
- Triaged changed from No to Yes
Check to see if category has the same issue.
Updated by jortel@redhat.com about 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
Updated by jortel@redhat.com about 8 years ago
- Status changed from ASSIGNED to POST
Added by jortel@redhat.com about 8 years ago
Updated by jortel@redhat.com about 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset c90658c7ef21f4860410aa8ae341e1c1993f51b2.
Updated by dkliban@redhat.com about 8 years ago
- Status changed from MODIFIED to 5
Updated by pthomas@redhat.com about 8 years ago
- Status changed from 5 to ASSIGNED
Looks like this is still not getting associated
[root@mgmt5 ~]# pulp-admin rpm repo create --repo-id=repo_1 --feed=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/pulp_unittest/
Successfully created repository [repo_1]
[root@mgmt5 ~]# pulp-admin rpm repo sync run --repo-id=repo_1
--------------------------------------------------------------------
Synchronizing Repository [repo_1]
--------------------------------------------------------------------
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[/]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 2/2 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 3/3 items
... completed
Importing errata...
[\]
... completed
Importing package groups/categories...
[-]
... completed
Cleaning duplicate packages...
[-]
... completed
Task Succeeded
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
3 of 3 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
52 of 52 items
... completed
Publishing Comps file
[==================================================] 100%
5 of 5 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[\]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
[root@mgmt5 ~]# pulp-admin rpm repo uploads group --repo-id=repo_1 --group-id=pulp_test \
--name="Pulp Test" --description="A package group of Pulp test files." \
--mand-name=pulp-dot-2.0-test --mand-name=pulp-test-package
[root@mgmt5 ~]#
[root@mgmt5 ~]#
[root@mgmt5 ~]# pulp-admin rpm repo content group --repo-id=repo_1 --match id=pulp_test
[root@mgmt5 ~]#
Updated by jortel@redhat.com about 8 years ago
Interesting. This worked for me on f23 using latest master. Digging further.
[jortel@f23d pulp_puppet]$ pulp-admin rpm repo create --repo-id=repo_1 --feed=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/pulp_unittest/
Successfully created repository [repo_1]
[jortel@f23d pulp_puppet]$ pulp-admin rpm repo sync run --repo-id=repo_1
+----------------------------------------------------------------------+
Synchronizing Repository [repo_1]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 3/3 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 3/3 items
... completed
Importing errata...
[-]
... completed
Importing package groups/categories...
[-]
... completed
Cleaning duplicate packages...
[-]
... completed
Task Succeeded
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
3 of 3 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
52 of 52 items
... completed
Publishing Comps file
[==================================================] 100%
5 of 5 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[-]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
[jortel@f23d pulp_puppet]$ pulp-admin rpm repo uploads group --repo-id=repo_1 --group-id=pulp_test --name="Pulp Test" --description="A package group of Pulp test files." --mand-name=pulp-dot-2.0-test --mand-name=pulp-test-package
+----------------------------------------------------------------------+
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
[jortel@f23d pulp_puppet]$ pulp-admin rpm repo content group --repo-id=repo_1 --match id=pulp_test
Conditional Package Names:
Default Package Names:
Description: A package group of Pulp test files.
Id: pulp_test
Mandatory Package Names: pulp-dot-2.0-test, pulp-test-package
Name: Pulp Test
Optional Package Names:
User Visible: False
Updated by jortel@redhat.com about 8 years ago
- Status changed from ASSIGNED to 5
Updated by pthomas@redhat.com about 8 years ago
- Status changed from 5 to 6
verified
[root@mgmt5 ~]# rpm -qa pulp-server
pulp-server-2.8.0-0.9.rc.el7.noarch
[root@mgmt5 ~]#
[root@mgmt5 ~]# pulp-admin rpm repo uploads group --repo-id=repo_2 --group-id=pulp_test --name="Pulp Test" --description="A package group of Pulp test files." --mand-name=pulp-dot-2.0-test --mand-name=pulp-test-package
--------------------------------------------------------------------
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@mgmt5 ~]# pulp-admin rpm repo content group --repo-id=repo_2 --match id=pulp_test
Conditional Package Names:
Default Package Names:
Description: A package group of Pulp test files.
Id: pulp_test
Mandatory Package Names: pulp-dot-2.0-test, pulp-test-package
Name: Pulp Test
Optional Package Names:
User Visible: False
[root@mgmt5 ~]#
Updated by dkliban@redhat.com about 8 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Fix package group/catagory upload. closes #1623