[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Yum - Error: database disk image is malformed when pulp repo is bound to host



Whenever a yum search is performed on a consumer that is bound to this repo, yum errors with "Error: database disk image is malformed".  I have deleted the repo, recreated it, and executed the following on the host:  yum clean all, rm /var/lib/rpm/__db.00*, rpm --rebuilddb, and still get the error.  Oddly enough, yum list and install work.
 
It seems to be isolated to RHEL 6 clients as I do not get this error on a RHEL 5 client running the same consumer version.
 
Pulp server:
root uxspulpplv1 ~ # pulp-migrate
removing persisted tasks
data model in use matches the current version
database migration to version 41 complete
root uxspulpplv1 ~ # rpm -qa |grep pulp
pulp-client-lib-1.1.14-1.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
pulp-common-1.1.14-1.el6.noarch
pulp-admin-1.1.14-1.el6.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
pulp-consumer-1.1.14-1.el6.noarch
pulp-selinux-server-1.1.14-1.el6.noarch
python-isodate-0.4.4-4.pulp.el6.noarch
pulp-1.1.14-1.el6.noarch
 
repo info:
Id                      rh6-epel-live-x86_64    
Name                    rh6-epel-live-x86_64    
Repo URL                https://uxspulpplv1/pulp/repos/pub/epel/6/x86_64/
Feed URL                http://dl.fedoraproject.org/pub/epel/6/x86_64/
Feed Type               remote                  
Content Type            yum                     
Feed Certs              CA:No   Cert:No
Consumer Certs          CA:No   Cert:No
Architecture            x86_64                  
Sync Schedule           None                    
Packages                8312                    
Files                   0                       
Distributions           None                    
Publish                 True                    
Clones                  []                      
Groups                  None                    
Filters                 []                      
Notes                   {}                      
Preserve Metadata       False                   
Checksum Type           sha256
 
RHEL 6 client:
root cctplv31 ~ # rpm -qa |grep pulp
pulp-common-1.1.14-1.el6.noarch
pulp-consumer-1.1.14-1.el6.noarch
python-isodate-0.4.4-4.pulp.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
pulp-client-lib-1.1.14-1.el6.noarch
 
 
root cctplv31 ~ # yum search mcrypt
Not loading "rhnplugin" plugin, as it is disabled
Loaded plugins: product-id, pulp-profile-update, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
 
This machine has not been registered and therefore has
no access to security and other critical updates. Please
register using subscription-manager.
 
Config time: 0.080
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.060
rpmdb time: 0.000
tags time: 0.001
Error: database disk image is malformed
root cctplv31 ~ # yum list mcrypt
Not loading "rhnplugin" plugin, as it is disabled
Loaded plugins: product-id, pulp-profile-update, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
 
This machine has not been registered and therefore has
no access to security and other critical updates. Please
register using subscription-manager.
 
Config time: 0.080
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.061
rpmdb time: 0.000
Available Packages
mcrypt.x86_64                                  2.6.8-10.el6                                  rh6-epel-live-x86_64
 
RHEL 5 client:
root uxskickplp1 ~ # rpm -qa |grep pulp
python-oauth2-1.5.170-2.pulp
pulp-client-lib-1.1.14-1
pulp-consumer-1.1.14-1
pulp-admin-1.1.14-1
pulp-common-1.1.14-1
python-isodate-0.4.4-4.pulp
root uxskickplp1 ~ # yum search mcrypt
Not loading "rhnplugin" plugin, as it is disabled
Loaded plugins: fastestmirror, pulp-profile-update, security
Config time: 0.055
Yum Version: 3.2.22
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * repos-pulp-pulp-5Server-x86_64: uxspulpplv1
Finished
pkgsack time: 0.068
rpmdb time: 0.000
================================================ Matched: mcrypt ================================================
horde-enhanced.noarch : Adds extra functionality to the horde framework
libmcrypt.i386 : Encryption algorithms library
libmcrypt.x86_64 : Encryption algorithms library
libmcrypt.i686 : Encryption algorithms library
libmcrypt-devel.i686 : Development libraries and headers for libmcrypt
libmcrypt-devel.x86_64 : Development libraries and headers for libmcrypt
libmcrypto.i686 : A C++ library providing various cryptography related utilities
libmcrypto.x86_64 : A C++ library providing various cryptography related utilities
libmcrypto-devel.i686 : Development files for the libmcrypto library
libmcrypto-devel.x86_64 : Development files for the libmcrypto library
mcrypt.x86_64 : Replacement for crypt()
php-mcrypt.x86_64 : Standard PHP module provides mcrypt library support
php-pear-Auth-RADIUS.noarch : Wrapper Classes for the RADIUS PECL
php-pear-Crypt-Blowfish.noarch : Quick two-way blowfish encryption
 
root uxskickplp1 ~ # yum list mcrypt
Not loading "rhnplugin" plugin, as it is disabled
Loaded plugins: fastestmirror, pulp-profile-update, security
Config time: 0.055
Yum Version: 3.2.22
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * repos-pulp-pulp-5Server-x86_64: uxspulpplv1
Finished
pkgsack time: 0.068
rpmdb time: 0.000
Available Packages
mcrypt.x86_64                                  2.6.8-10.el6                                  rh6-epel-live-x86_64

 
 
Best Regards,

Joel Golden, RHCE
TW Telecom
Unix Support / Senior Systems Administrator
v. 303.542.6617

 

  

-------------

    

The content contained in this electronic message is not intended to constitute formation of a contract binding tw telecom. tw telecom will be contractually bound only upon execution, by an authorized officer, of a contract including agreed terms and conditions or by express application of its tariffs. This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail or by telephone.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]