[Pulp-list] unable to remove rpms
Ashby, Jason (IMS)
AshbyJ at imsweb.com
Thu Jun 5 20:14:17 UTC 2014
Hi,
I'm scratching my head on this one. I'm running pulp 2.3.1 on CentOS 6.5, and I'm trying to remove an rpm from a repository, but it's just not happening.
me at pulpserver:~> pulp-admin rpm repo remove rpm --repo-id Dev-FOO-Custom --match 'filename=php-foo-5.5.13-1.x86_64.rpm'
This command may be exited via ctrl+c without affecting the request.
[-]
Waiting to begin...
[-]
Running...
Units:
php-foo-5.5.13-1-x86_64
me at pulpserver:~> pulp-admin repo tasks list --repo-id Dev-FOO-Custom
+----------------------------------------------------------------------+
Tasks
+----------------------------------------------------------------------+
Operations: unassociate
Resources: Dev-FOO-Custom (repository)
State: Successful
Start Time: 2014-06-05T19:56:10Z
Finish Time: 2014-06-05T19:56:10Z
Result:
Type Id: rpm
Unit Key:
Arch: x86_64
Checksum: c2ab8901adb1db8ad5d0798d1c65544151fe1133e1da918d830df95247b662
21
Checksumtype: sha256
Epoch: 0
Name: php-foo
Release: 1
Version: 5.5.13
Task Id: 03aa6208-2efd-4355-9eeb-ac87fc6473e2
Looks successful, now let's republish:
me at pulpserver:~> pulp-admin rpm repo publish run --repo-id Dev-FOO-Custom
+----------------------------------------------------------------------+
Publishing Repository [Dev-FOO-Custom]
+----------------------------------------------------------------------+
This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.
Publishing packages...
[= ] 3%
Packages: 4/106 items
Publishing distributions...
[==================================================] 100%
Distributions: 0/0 items
[==================================================] 100%
Packages: 106/106 items
... completed
Generating metadata
[-]
... completed
Publishing repository over HTTPS
[-]
... completed
But it's still present in the repository
me at pulpserver:~> pulp-admin rpm repo content rpm --repo-id Dev-FOO-Custom --match 'filename=php-foo-5.5.13-1.x86_64.rpm'
Arch: x86_64
Buildhost: fig
Checksum: c2ab8901adb1db8ad5d0798d1c65544151fe1133e1da918d830df95247b66221
Checksumtype: sha256
Description: no description given
Epoch: 0
Filename: php-foo-5.5.13-1.x86_64.rpm
License: unknown
Name: php-foo
Provides: php-foo = 5.5.13-1-0, php-foo(x86-64) = 5.5.13-1-0
Release: 1
Requires:
Vendor: root at fig
Version: 5.5.13
and "yum list php-foo" on any host shows that specific package and version is available for install. I see no errors or clues in the logs in /var/log/pulp, ~/.pulp, or /var/log/gofer. I do see these coming up frequently in /etc/httpd/logs/error_log, but not sure if it's helpful:
[Thu Jun 05 15:58:55 2014] [error] Generating sqlite DBs
[Thu Jun 05 15:58:55 2014] [error] Starting other db creation: Thu Jun 5 15:58:55 2014
[Thu Jun 05 15:58:55 2014] [error] Ending other db creation: Thu Jun 5 15:58:55 2014
[Thu Jun 05 15:58:56 2014] [error] Starting filelists db creation: Thu Jun 5 15:58:56 2014
[Thu Jun 05 15:58:57 2014] [error] Ending filelists db creation: Thu Jun 5 15:58:57 2014
[Thu Jun 05 15:58:57 2014] [error] Starting primary db creation: Thu Jun 5 15:58:57 2014
[Thu Jun 05 15:58:57 2014] [error] Ending primary db creation: Thu Jun 5 15:58:57 2014
[Thu Jun 05 15:58:57 2014] [error] Sqlite DBs complete
I tried rebooting the pulp server, but no luck. I get the same result with trying to delete other rpms in this repository. I have not tried removing any from other repos. I do have a secondary pulp node that I sync content to, in case that is relevant.
Any help would be greatly appreciated!
________________________________
Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140605/c9133914/attachment.htm>
More information about the Pulp-list
mailing list