[Pulp-list] missing rpm pkg in repo

Gregory Komissarov gregory.komissarov at gmail.com
Fri Dec 5 09:17:04 UTC 2014


Hi all, I just install pulp 2.5.0-1 for erhel6 on Centos6.6 x64 using this
documentation
https://pulp-user-guide.readthedocs.org/en/2.5-release/installation.html

Only change I made mysel, move apache from 8080/443 to 8080/8090 and
changing pulp-admin.conf respectively.

All work file, but from time to time I get a strange behavior: after
uploading a new rpm pkg and publishing a repo - new pkg not seen by yum on
other box but rpm file reachable over HTTP.

## Example:
# Pulp see 4 pkgs.
 $ pulp-admin rpm repo list
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  nova_common_rhel6
Display Name:        nova_common_rhel6
Description:         None
Content Unit Counts:
  Rpm: 4

# HTTP client see 4 pkgs.
$ curl http://pkg.nova:8080/pulp/repos/rhel/6/x86_64/nova_common/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /pulp/repos/rhel/6/x86_64/nova_common</title>
 </head>
 <body>
<h1>Index of /pulp/repos/rhel/6/x86_64/nova_common</h1>
<table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a
href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last
modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a
href="?C=D;O=A">Description</a></th></tr><tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[DIR]"></td><td><a
href="/pulp/repos/rhel/6/x86_64/">Parent
Directory</a></td><td> </td><td align="right">  -
</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a
href="jdk-1.7.0_72-fcs.x86_64.rpm">jdk-1.7.0_72-fcs.x86_64.rpm</a></td><td
align="right">05-Dec-2014 11:59  </td><td
align="right">121M</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a
href="jdk-nova-1.7.0-5.el6.x86_64.rpm">jdk-nova-1.7.0-5.el6.x86_64.rpm</a></td><td
align="right">05-Dec-2014 11:58  </td><td
align="right">499K</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a
href="libmaxminddb-1.0.2-4.el6.x86_64.rpm">libmaxminddb-1.0.2-4.el6.x86_64.rpm</a></td><td
align="right">05-Dec-2014 11:56  </td><td align="right">
13M</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a
href="libmaxminddb-debuginfo-1.0.2-4.el6.x86_64.rpm">libmaxminddb-debuginfo-1.0.2-4.el6.x86_64.rpm</a></td><td
align="right">05-Dec-2014 11:56  </td><td align="right">
42K</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
href="repodata/">repodata/</a></td><td align="right">05-Dec-2014 12:01
 </td><td align="right">  - </td><td> </td></tr>
<tr><th colspan="5"><hr></th></tr>
</table>
<address>Apache/2.2.15 (CentOS) Server at pkg.nova Port 8080</address>
</body></html>

# YUM see only 2 pkgs
$ yum clean all; yum makecache; yum --disablerepo="*"
--enablerepo="nova_common" list available
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, security
Cleaning repos: base epel extras nova_common nova_posuda_qa updates
Cleaning up Everything
Cleaning up list of fastest mirrors
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink

                   |  23 kB     00:00
 * base: mirror.makonix.com
 * epel: mirror.datacenter.by
 * extras: mirror.makonix.com
 * updates: mirror.makonix.com
base

                    | 3.7 kB     00:00
base/group_gz

                   | 216 kB     00:00
base/filelists_db

                   | 6.1 MB     00:00
base/primary_db

                   | 4.6 MB     00:00
base/other_db

                   | 2.8 MB     00:00
epel

                    | 4.4 kB     00:00
epel/group_gz

                   | 237 kB     00:00
epel/filelists_db

                   | 9.0 MB     00:00
epel/primary_db

                   | 6.4 MB     00:00
epel/other_db

                   | 3.8 MB     00:00
epel/updateinfo

                   | 904 kB     00:00
extras

                    | 3.4 kB     00:00
extras/filelists_db

                   |  31 kB     00:00
extras/prestodelta

                    |  492 B     00:00
extras/primary_db

                   |  29 kB     00:00
extras/other_db

                   |  35 kB     00:00
nova_common

                   | 2.1 kB     00:00
nova_common/group

                   |  130 B     00:00
nova_common/filelists

                   |  230 B     00:00
nova_common/updateinfo

                    |  177 B     00:00
nova_common/primary

                   | 1.2 kB     00:00
nova_common/other

                   |  659 B     00:00
updates

                   | 3.4 kB     00:00
updates/filelists_db

                    | 814 kB     00:00
updates/prestodelta

                   | 102 kB     00:00
updates/primary_db

                    | 929 kB     00:00
updates/other_db

                    | 7.0 MB     00:00

Metadata Cache Created
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Available Packages
libmaxminddb.x86_64
                        1.0.2-4.el6
                               nova_common
libmaxminddb-debuginfo.x86_64
                        1.0.2-4.el6
                               nova_common

# $ yum repolist | fgrep "nova_common"
Failed to set locale, defaulting to C
nova_common          Novardis none project specific repo
   2


May be I'm doing something wrong? What can be the reason of such behavior?
Uploading file  and publish repo with such way:
$ pulp-admin rpm repo uploads rpm --repo-id=nova_common_rhel6 -f
~/jdk-7u72-linux-x64.rpm
$ pulp-admin rpm repo publish run --repo-id=nova_common_rhel6

Thank in advance!
-- 
With great regards
Gregory Komissarov
Mob +7 905 288 4181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20141205/50ad72b1/attachment.htm>


More information about the Pulp-list mailing list