Description of problem: After upgrading packages from 2.5.0 to 2.5.1, pulp-manage-db is failing with the error: Halting migrations due to a migration failure. See log for details. 'sum' I've attempted to run pulp-manage-db a number of times just to be sure it wasn't just a transient issue. Version-Release number of selected component (if applicable): 2.5.1 How reproducible: Always Steps to Reproduce: 1. yum update pulp packages from 2.5.0 to 2.5.1 2. remove published repos as instructed in upgrade instructions: sudo rm -rf /var/lib/pulp/published/yum/* 3. run pulp-manage-db: sudo -u apache pulp-manage-db Actual results: $ sudo -u apache pulp-manage-db Loading content types. /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:144: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead. return method(*args, **kwargs) Content types loaded. Ensuring the admin role and user are in place. Admin role and user are in place. Beginning database migrations. Migration package pulp.server.db.migrations is up to date at version 10 Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 17 Applying migration pulp_rpm.plugins.migrations.0017_merge_sha_sha1 failed. Halting migrations due to a migration failure. See log for details. 'sum' Here's the trace from /var/log/messages: Dec 18 09:57:59 dvpuap02 pulp: pulp.server.db.manage:INFO: Loading content types. Dec 18 09:57:59 dvpuap02 pulp: db:INFO: Loading type descriptors [rpm_support.json, puppet.json, iso_support.json] Dec 18 09:57:59 dvpuap02 pulp: db:INFO: Parsing type descriptors Dec 18 09:57:59 dvpuap02 pulp: db:INFO: Validating type descriptor syntactic integrity Dec 18 09:57:59 dvpuap02 pulp: db:INFO: Validating type descriptor semantic integrity Dec 18 09:57:59 dvpuap02 pulp: db:INFO: Updating the database with types [distribution, drpm, erratum, package_group, package_category, package_environment, rpm, srpm, yum_repo_metadata_file, puppet_module, iso] Dec 18 10:00:55 dvpuap02 pulp: pulp.server.db.manage:INFO: Content types loaded. Dec 18 10:00:55 dvpuap02 pulp: pulp.server.db.manage:INFO: Ensuring the admin role and user are in place. Dec 18 10:00:56 dvpuap02 pulp: pulp.server.db.connection:INFO: Database connection established with: seeds = localhost:27017, name = pulp_database Dec 18 10:00:57 dvpuap02 pulp: pulp.server.db.manage:INFO: Admin role and user are in place. Dec 18 10:00:57 dvpuap02 pulp: pulp.server.db.manage:INFO: Beginning database migrations. Dec 18 10:00:59 dvpuap02 pulp: pulp.server.db.manage:INFO: Migration package pulp.server.db.migrations is up to date at version 10 Dec 18 10:00:59 dvpuap02 pulp: pulp.server.db.manage:INFO: Migration package pulp_puppet.plugins.migrations is up to date at version 2 Dec 18 10:00:59 dvpuap02 pulp: pulp.server.db.manage:INFO: Applying pulp_rpm.plugins.migrations version 17 Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: Applying migration pulp_rpm.plugins.migrations.0017_merge_sha_sha1 failed. Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: Halting migrations due to a migration failure. Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: 'sum' Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: Traceback (most recent call last): Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: File "/usr/lib/python2.6/site-packages/pulp/server/db/manage.py", line 111, in main Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: _auto_manage_db(options) Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: File "/usr/lib/python2.6/site-packages/pulp/server/db/manage.py", line 157, in _auto_manage_db Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: migrate_database(options) Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: File "/usr/lib/python2.6/site-packages/pulp/server/db/manage.py", line 86, in migrate_database Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: update_current_version=not options.test) Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/models.py", line 161, in apply_migration Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: migration.migrate() Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/migrations/0017_merge_sha_sha1.py", line 38, in migrate Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: _migrate_errata() Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/migrations/0017_merge_sha_sha1.py", line 54, in _migrate_errata Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: if package['sum']: Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: KeyError: 'sum' Dec 18 10:09:26 dvpuap02 pulp: pulp.server.db.manage:CRITICAL: Expected results: Database successfully migrated to new version. Additional info: Installed package versions: # yum list installed |grep pulp grinder.noarch 0.1.16-1.el6 @pulp-v2-stable m2crypto.x86_64 0.21.1.pulp-8.el6 @pulp-v2-stable mod_wsgi.x86_64 3.4-2.pulp.el6 @pulp-v2-stable pulp-admin-client.noarch 2.5.1-1.el6 @pulp-v2-stable pulp-puppet-admin-extensions.noarch 2.5.1-1.el6 @pulp-v2-stable pulp-puppet-plugins.noarch 2.5.1-1.el6 @pulp-v2-stable pulp-rpm-admin-extensions.noarch 2.5.1-1.el6 @pulp-v2-stable pulp-rpm-plugins.noarch 2.5.1-1.el6 @pulp-v2-stable pulp-selinux.noarch 2.5.1-1.el6 @pulp-v2-stable pulp-server.noarch 2.5.1-1.el6 @pulp-v2-stable python-amqp.noarch 1.4.5-1.el6 @pulp-v2-stable python-anyjson.noarch 0.3.3-4.el6 @pulp-v2-stable python-billiard.x86_64 1:3.3.0.17-1.el6 @pulp-v2-stable python-celery.noarch 3.1.11-1.el6 @pulp-v2-stable python-gofer.noarch 1.3.1-1.el6 @pulp-v2-stable python-gofer-qpid.noarch 1.3.1-1.el6 @pulp-v2-stable python-isodate.noarch 0.5.0-4.pulp.el6 @pulp-v2-stable python-kombu.noarch 1:3.0.15-12.pulp.el6 @pulp-v2-stable python-nectar.noarch 1.3.1-1.el6 @pulp-v2-stable python-pulp-bindings.noarch 2.5.1-1.el6 @pulp-v2-stable python-pulp-client-lib.noarch 2.5.1-1.el6 @pulp-v2-stable python-pulp-common.noarch 2.5.1-1.el6 @pulp-v2-stable python-pulp-puppet-common.noarch 2.5.1-1.el6 @pulp-v2-stable python-pulp-rpm-common.noarch 2.5.1-1.el6 @pulp-v2-stable python-qpid.noarch 0.26-2.el6 @pulp-v2-stable python-qpid-common.noarch 0.26-2.el6 @pulp-v2-stable python-qpid-qmf.x86_64 0.26-2.el6 @pulp-v2-stable python-requests.noarch 2.2.1-1.el6 @pulp-v2-stable python-semantic-version.noarch 2.2.0-3.el6 @pulp-v2-stable qpid-cpp-client.x86_64 0.26-8.el6 @pulp-v2-stable qpid-cpp-server.x86_64 0.26-8.el6 @pulp-v2-stable qpid-cpp-server-store.x86_64 0.26-8.el6 @pulp-v2-stable qpid-qmf.x86_64 0.26-2.el6 @pulp-v2-stable
Hello Bryce! Thank you for the high quality bug report, and apologies for the trouble. Are you able to share with me which repositories you are using that have errata? It seems that you have an erratum that doesn't have a "sum" field in one of its package references, and we had never seen any such erratum when we were performing our tests for this migration. It would be helpful for our testing if you could let us know which repositories you are using. If you are comfortable in the Mongo shell, you can use this query to identify an erratum that would cause this issue: > db.units_erratum.find({"pkglist.packages.sum": {$exists: 0}})[0] This will print one erratum. Look for its _id, it might look similar to this: "_id" : "2e56d875-ff44-45ee-84ff-7840e957872d" Then, we can query to find out which repository this erratum is part of by using that unit _id in this query: > db.repo_content_units.find({unit_id: "2e56d875-ff44-45ee-84ff-7840e957872d"})[0] { "_id" : ObjectId("53d40270a0cfd105ad800330"), "updated" : "2014-07-26T19:33:04Z", "repo_id" : "zoo", "created" : "2014-07-26T19:33:04Z", "_ns" : "repo_content_units", "unit_id" : "2e56d875-ff44-45ee-84ff-7840e957872d", "unit_type_id" : "erratum", "owner_type" : "importer", "id" : "53d40270a0cfd105ad800330", "owner_id" : "yum_importer" } Note that in my case, the repo_id was zoo - this means that my zoo repo had that unit in it. Once you've identified the repository that has this unit, would you mind telling me where the unit came from? Was it synced from a feed URL, or was it uploaded? Thanks, and we hope to have a fix out for this quickly.
Hi Randy, I have many repos (17 I think). RHEL5,6,7 EPEL5,6,7 OracleLinux5,6, etc. I've recently created some upload repos for packages we compile ourselves but everything else is from a feed URL. (Unfortunately, I'm not able to get the upload repos to publish but that's another bug I need to file after I get the migration to 2.5.1 to work.) After running the mongo queries, it appears an erratum causing the issue is from EPEL5 and the package is "clide" > use pulp_database switched to db pulp_database > db.units_erratum.find({"pkglist.packages.sum": {$exists: 0}})[0] { "_id" : "0fd5a6ac-8394-4239-8bee-950d698dd493", "issued" : "2010-07-21 19:22:09", "references" : [ { "href" : "https://bugzilla.redhat.com/show_bug.cgi?id=593851", "type" : "bugzilla", "id" : "593851", "title" : "Review Request: clide - Color and style highlighting program for text" } ], "_content_type_id" : "erratum", "id" : "FEDORA-EPEL-2010-3067", "from" : "updates", "severity" : "", "title" : "clide-0.9-3.el5", "_ns" : "units_erratum", "version" : "1.4", "reboot_suggested" : false, "type" : "newpackage", "pkglist" : [ { "packages" : [ { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/SRPMS/clide-0.9-3.el5.src.rpm", "name" : "clide", "filename" : "clide-0.9-3.el5.src.rpm", "epoch" : "0", "version" : "0.9", "release" : "3.el5", "arch" : "src" }, { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/i386/clide-0.9-3.el5.noarch.rpm", "name" : "clide", "filename" : "clide-0.9-3.el5.noarch.rpm", "epoch" : "0", "version" : "0.9", "release" : "3.el5", "arch" : "noarch" } ], "name" : "Fedora EPEL 5", "short" : "EL-5" } ], "status" : "stable", "updated" : "", "description" : "clide is a program that will colorize ASCII text on the command line using ANSI escape sequences and user defined and predefined expressions. Searches can include Perl Compatible Regular Expressions.", "_last_updated" : 0, "pushcount" : 1, "_storage_path" : null, "rights" : "", "solution" : "", "summary" : "", "release" : "Fedora EPEL 5" } > db.repo_content_units.find({unit_id: "0fd5a6ac-8394-4239-8bee-950d698dd493"})[0] { "_id" : ObjectId("50fece2ec387e602ed006958"), "updated" : "2013-01-22T23:36:46Z", "repo_id" : "epel5", "created" : "2013-01-22T23:36:46Z", "_ns" : "repo_content_units", "unit_id" : "0fd5a6ac-8394-4239-8bee-950d698dd493", "unit_type_id" : "erratum", "owner_type" : "importer", "id" : "50fece2ec387e602ed006958", "owner_id" : "yum_importer" }
https://github.com/pulp/pulp_rpm/pull/616
For verification, it sounds like we should test with the EPEL 5 repository. Another way to cause this scenario to happen is to remove the "sum" attribute from a package in an Erratum's pkglist, as described above. The migration should be fixed by the above pull request to handle this scenario gracefully.
Hi Bryce! I've just built 2.5.2-0.0.beta that includes the fix to this BZ. If you like, it would be helpful to us if you could try out the beta and let us know how it goes. I would recommend trying it on a clone of your system, since it is an untested beta. In the meantime, we will put it through our QE process. Thanks again for the report and additional information.
Tested with updating mongodb for an errata On my 2.5.1 synced the epel5 repo Now updated to remove the sum attribute. Updated to 2.5.2 And ran pulp-manage-db [root@mgmt4 ~]# sudo -u apache pulp-manage-db Loading content types. /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:144: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead. return method(*args, **kwargs) Content types loaded. Ensuring the admin role and user are in place. Admin role and user are in place. Beginning database migrations. Migration package pulp.server.db.migrations is up to date at version 10 Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 18 Migration to pulp_rpm.plugins.migrations version 18 complete. Database migrations complete. [root@mgmt4 ~]# > use pulp_database switched to db pulp_database > > > db.units_erratum.find({"id" : "FEDORA-EPEL-2010-3067"})[0] { "_id" : "3d528552-edb6-4468-9565-818d150d9900", "status" : "stable", "updated" : "", "description" : "clide is a program that will colorize ASCII text on the command line using ANSI escape sequences and user defined and predefined expressions. Searches can include Perl Compatible Regular Expressions.", "issued" : "2010-07-21 19:22:09", "_last_updated" : 1419012998, "pushcount" : "", "references" : [ { "href" : "https://bugzilla.redhat.com/show_bug.cgi?id=593851", "type" : "bugzilla", "id" : "593851", "title" : null } ], "_content_type_id" : "erratum", "id" : "FEDORA-EPEL-2010-3067", "_storage_path" : null, "reboot_suggested" : false, "from" : "updates", "severity" : "", "rights" : "", "_ns" : "units_erratum", "title" : "clide-0.9-3.el5", "solution" : "", "summary" : "", "version" : "1.4", "release" : "Fedora EPEL 5", "type" : "newpackage", "pkglist" : [ { "packages" : [ { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/SRPMS/clide-0.9-3.el5.src.rpm", "epoch" : "0", "version" : "0.9", "name" : "clide", "release" : "3.el5", "arch" : "src", "filename" : "clide-0.9-3.el5.src.rpm" }, { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/i386/clide-0.9-3.el5.noarch.rpm", "epoch" : "0", "version" : "0.9", "name" : "clide", "release" : "3.el5", "arch" : "noarch", "filename" : "clide-0.9-3.el5.noarch.rpm" } ], "name" : "Fedora EPEL 5", "short" : "EL-5" } ] } > > > > > db.units_erratum.update({"id" : "FEDORA-EPEL-2010-3067"},{ "_id" : "3d528552-edb6-4468-9565-818d150d9900", "status" : "stable", "updated" : "", "description" : "clide is a program that will colorize ASCII text on the command line using ANSI escape sequences and user defined and predefined expressions. Searches can include Perl Compatible Regular Expressions.", "issued" : "2010-07-21 19:22:09", "_last_updated" : 1419012998, "pushcount" : "", "references" : [ { "href" : "https://bugzilla.redhat.com/show_bug.cgi?id=593851", "type" : "bugzilla", "id" : "593851", "title" : null } ], "_content_type_id" : "erratum", "id" : "FEDORA-EPEL-2010-3067", "_storage_path" : null, "reboot_suggested" : false, "from" : "updates", "severity" : "", "rights" : "", "_ns" : "units_erratum", "title" : "clide-0.9-3.el5", "solution" : "", "summary" : "", "version" : "1.4", "release" : "Fedora EPEL 5", "type" : "newpackage", "pkglist" : [ { "packages" : [ { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/SRPMS/clide-0.9-3.el5.src.rpm", "epoch" : "0", "version" : "0.9", "name" : "clide", "release" : "3.el5", "arch" : "src", "filename" : "clide-0.9-3.el5.src.rpm" }, { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/i386/clide-0.9-3.el5.noarch.rpm", "epoch" : "0", "version" : "0.9", "name" : "clide", "release" : "3.el5", "arch" : "noarch", "filename" : "clide-0.9-3.el5.noarch.rpm" } ], "name" : "Fedora EPEL 5", "short" : "EL-5" } ] }) > > > > db.units_erratum.find({"pkglist.packages.sum": {$exists: 0}})[0] { "_id" : "3d528552-edb6-4468-9565-818d150d9900", "status" : "stable", "updated" : "", "description" : "clide is a program that will colorize ASCII text on the command line using ANSI escape sequences and user defined and predefined expressions. Searches can include Perl Compatible Regular Expressions.", "issued" : "2010-07-21 19:22:09", "_last_updated" : 1419012998, "pushcount" : "", "references" : [ { "href" : "https://bugzilla.redhat.com/show_bug.cgi?id=593851", "type" : "bugzilla", "id" : "593851", "title" : null } ], "_content_type_id" : "erratum", "id" : "FEDORA-EPEL-2010-3067", "_storage_path" : null, "reboot_suggested" : false, "from" : "updates", "severity" : "", "rights" : "", "_ns" : "units_erratum", "title" : "clide-0.9-3.el5", "solution" : "", "summary" : "", "version" : "1.4", "release" : "Fedora EPEL 5", "type" : "newpackage", "pkglist" : [ { "packages" : [ { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/SRPMS/clide-0.9-3.el5.src.rpm", "epoch" : "0", "version" : "0.9", "name" : "clide", "release" : "3.el5", "arch" : "src", "filename" : "clide-0.9-3.el5.src.rpm" }, { "src" : "http://download.fedoraproject.org/pub/fedora/linux/updates/5/i386/clide-0.9-3.el5.noarch.rpm", "epoch" : "0", "version" : "0.9", "name" : "clide", "release" : "3.el5", "arch" : "noarch", "filename" : "clide-0.9-3.el5.noarch.rpm" } ], "name" : "Fedora EPEL 5", "short" : "EL-5" } ] } >
verified Did an upgrade path from 2.4-> 2.5.1 ->2.5.2 Reproduced the issue with 2.5.1 and then verified that upgrade to 2.5.2 fixed the issue. [root@mgmt5 ~]# sudo -u apache pulp-manage-db Loading content types. /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:144: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead. return method(*args, **kwargs) Content types loaded. Ensuring the admin role and user are in place. Admin role and user are in place. Beginning database migrations. Applying pulp.server.db.migrations version 10 Migration to pulp.server.db.migrations version 10 complete. Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 17 Applying migration pulp_rpm.plugins.migrations.0017_merge_sha_sha1 failed. Halting migrations due to a migration failure. See log for details. 'sum' [root@mgmt5 ~]# yum update Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Update Process pulp-2.5-beta | 3.6 kB 00:00 pulp-2.5-beta/primary_db | 35 kB 00:00 Resolving Dependencies --> Running transaction check ---> Package pulp-admin-client.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-admin-client.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package pulp-puppet-admin-extensions.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-puppet-admin-extensions.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package pulp-puppet-plugins.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-puppet-plugins.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package pulp-rpm-admin-extensions.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-rpm-admin-extensions.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package pulp-rpm-plugins.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-rpm-plugins.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package pulp-selinux.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-selinux.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package pulp-server.noarch 0:2.5.1-1.el6 will be updated ---> Package pulp-server.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package python-pulp-bindings.noarch 0:2.5.1-1.el6 will be updated ---> Package python-pulp-bindings.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package python-pulp-client-lib.noarch 0:2.5.1-1.el6 will be updated ---> Package python-pulp-client-lib.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package python-pulp-common.noarch 0:2.5.1-1.el6 will be updated ---> Package python-pulp-common.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package python-pulp-puppet-common.noarch 0:2.5.1-1.el6 will be updated ---> Package python-pulp-puppet-common.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package python-pulp-rpm-common.noarch 0:2.5.1-1.el6 will be updated ---> Package python-pulp-rpm-common.noarch 0:2.5.2-0.0.beta.el6 will be an update ---> Package qpid-cpp-client.x86_64 0:0.26-8.el6 will be updated ---> Package qpid-cpp-client.x86_64 0:0.26-9.el6 will be an update ---> Package qpid-cpp-server.x86_64 0:0.26-8.el6 will be updated ---> Package qpid-cpp-server.x86_64 0:0.26-9.el6 will be an update ---> Package qpid-cpp-server-store.x86_64 0:0.26-8.el6 will be updated ---> Package qpid-cpp-server-store.x86_64 0:0.26-9.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: pulp-admin-client noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 91 k pulp-puppet-admin-extensions noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 49 k pulp-puppet-plugins noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 87 k pulp-rpm-admin-extensions noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 138 k pulp-rpm-plugins noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 294 k pulp-selinux noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 69 k pulp-server noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 701 k python-pulp-bindings noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 100 k python-pulp-client-lib noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 190 k python-pulp-common noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 112 k python-pulp-puppet-common noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 34 k python-pulp-rpm-common noarch 2.5.2-0.0.beta.el6 pulp-2.5-beta 60 k qpid-cpp-client x86_64 0.26-9.el6 pulp-2.5-beta 1.1 M qpid-cpp-server x86_64 0.26-9.el6 pulp-2.5-beta 1.4 M qpid-cpp-server-store x86_64 0.26-9.el6 pulp-2.5-beta 261 k Transaction Summary ================================================================================ Upgrade 15 Package(s) Total download size: 4.6 M Is this ok [y/N]: y Downloading Packages: (1/15): pulp-admin-client-2.5.2-0.0.beta.el6.noarch.rpm | 91 kB 00:00 (2/15): pulp-puppet-admin-extensions-2.5.2-0.0.beta.el6. | 49 kB 00:00 (3/15): pulp-puppet-plugins-2.5.2-0.0.beta.el6.noarch.rp | 87 kB 00:00 (4/15): pulp-rpm-admin-extensions-2.5.2-0.0.beta.el6.noa | 138 kB 00:00 (5/15): pulp-rpm-plugins-2.5.2-0.0.beta.el6.noarch.rpm | 294 kB 00:00 (6/15): pulp-selinux-2.5.2-0.0.beta.el6.noarch.rpm | 69 kB 00:00 (7/15): pulp-server-2.5.2-0.0.beta.el6.noarch.rpm | 701 kB 00:00 (8/15): python-pulp-bindings-2.5.2-0.0.beta.el6.noarch.r | 100 kB 00:00 (9/15): python-pulp-client-lib-2.5.2-0.0.beta.el6.noarch | 190 kB 00:00 (10/15): python-pulp-common-2.5.2-0.0.beta.el6.noarch.rp | 112 kB 00:00 (11/15): python-pulp-puppet-common-2.5.2-0.0.beta.el6.no | 34 kB 00:00 (12/15): python-pulp-rpm-common-2.5.2-0.0.beta.el6.noarc | 60 kB 00:00 (13/15): qpid-cpp-client-0.26-9.el6.x86_64.rpm | 1.1 MB 00:00 (14/15): qpid-cpp-server-0.26-9.el6.x86_64.rpm | 1.4 MB 00:03 (15/15): qpid-cpp-server-store-0.26-9.el6.x86_64.rpm | 261 kB 00:00 -------------------------------------------------------------------------------- Total 324 kB/s | 4.6 MB 00:14 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : python-pulp-common-2.5.2-0.0.beta.el6.noarch 1/30 Updating : python-pulp-rpm-common-2.5.2-0.0.beta.el6.noarch 2/30 Updating : pulp-server-2.5.2-0.0.beta.el6.noarch 3/30 Updating : python-pulp-puppet-common-2.5.2-0.0.beta.el6.noarch 4/30 Updating : qpid-cpp-client-0.26-9.el6.x86_64 5/30 Updating : qpid-cpp-server-0.26-9.el6.x86_64 6/30 Updating : python-pulp-client-lib-2.5.2-0.0.beta.el6.noarch 7/30 Updating : python-pulp-bindings-2.5.2-0.0.beta.el6.noarch 8/30 Updating : pulp-admin-client-2.5.2-0.0.beta.el6.noarch 9/30 Updating : pulp-rpm-admin-extensions-2.5.2-0.0.beta.el6.noarch 10/30 Updating : pulp-puppet-admin-extensions-2.5.2-0.0.beta.el6.noarch 11/30 Updating : qpid-cpp-server-store-0.26-9.el6.x86_64 12/30 Updating : pulp-puppet-plugins-2.5.2-0.0.beta.el6.noarch 13/30 Updating : pulp-rpm-plugins-2.5.2-0.0.beta.el6.noarch 14/30 Updating : pulp-selinux-2.5.2-0.0.beta.el6.noarch 15/30 Cleanup : pulp-puppet-admin-extensions-2.5.1-1.el6.noarch 16/30 Cleanup : pulp-puppet-plugins-2.5.1-1.el6.noarch 17/30 Cleanup : qpid-cpp-server-store-0.26-8.el6.x86_64 18/30 Cleanup : pulp-rpm-plugins-2.5.1-1.el6.noarch 19/30 Cleanup : pulp-rpm-admin-extensions-2.5.1-1.el6.noarch 20/30 Cleanup : pulp-admin-client-2.5.1-1.el6.noarch 21/30 Cleanup : python-pulp-bindings-2.5.1-1.el6.noarch 22/30 Cleanup : python-pulp-client-lib-2.5.1-1.el6.noarch 23/30 Cleanup : python-pulp-rpm-common-2.5.1-1.el6.noarch 24/30 Cleanup : pulp-server-2.5.1-1.el6.noarch 25/30 Cleanup : python-pulp-puppet-common-2.5.1-1.el6.noarch 26/30 Cleanup : python-pulp-common-2.5.1-1.el6.noarch 27/30 Cleanup : pulp-selinux-2.5.1-1.el6.noarch 28/30 Cleanup : qpid-cpp-server-0.26-8.el6.x86_64 29/30 Cleanup : qpid-cpp-client-0.26-8.el6.x86_64 30/30 Verifying : qpid-cpp-server-store-0.26-9.el6.x86_64 1/30 Verifying : qpid-cpp-server-0.26-9.el6.x86_64 2/30 Verifying : pulp-rpm-admin-extensions-2.5.2-0.0.beta.el6.noarch 3/30 Verifying : qpid-cpp-client-0.26-9.el6.x86_64 4/30 Verifying : python-pulp-rpm-common-2.5.2-0.0.beta.el6.noarch 5/30 Verifying : pulp-puppet-plugins-2.5.2-0.0.beta.el6.noarch 6/30 Verifying : pulp-server-2.5.2-0.0.beta.el6.noarch 7/30 Verifying : pulp-admin-client-2.5.2-0.0.beta.el6.noarch 8/30 Verifying : pulp-rpm-plugins-2.5.2-0.0.beta.el6.noarch 9/30 Verifying : python-pulp-common-2.5.2-0.0.beta.el6.noarch 10/30 Verifying : pulp-selinux-2.5.2-0.0.beta.el6.noarch 11/30 Verifying : python-pulp-client-lib-2.5.2-0.0.beta.el6.noarch 12/30 Verifying : python-pulp-puppet-common-2.5.2-0.0.beta.el6.noarch 13/30 Verifying : pulp-puppet-admin-extensions-2.5.2-0.0.beta.el6.noarch 14/30 Verifying : python-pulp-bindings-2.5.2-0.0.beta.el6.noarch 15/30 Verifying : qpid-cpp-client-0.26-8.el6.x86_64 16/30 Verifying : pulp-puppet-admin-extensions-2.5.1-1.el6.noarch 17/30 Verifying : pulp-admin-client-2.5.1-1.el6.noarch 18/30 Verifying : python-pulp-common-2.5.1-1.el6.noarch 19/30 Verifying : python-pulp-puppet-common-2.5.1-1.el6.noarch 20/30 Verifying : pulp-selinux-2.5.1-1.el6.noarch 21/30 Verifying : pulp-rpm-admin-extensions-2.5.1-1.el6.noarch 22/30 Verifying : qpid-cpp-server-0.26-8.el6.x86_64 23/30 Verifying : qpid-cpp-server-store-0.26-8.el6.x86_64 24/30 Verifying : python-pulp-bindings-2.5.1-1.el6.noarch 25/30 Verifying : python-pulp-rpm-common-2.5.1-1.el6.noarch 26/30 Verifying : pulp-server-2.5.1-1.el6.noarch 27/30 Verifying : pulp-puppet-plugins-2.5.1-1.el6.noarch 28/30 Verifying : pulp-rpm-plugins-2.5.1-1.el6.noarch 29/30 Verifying : python-pulp-client-lib-2.5.1-1.el6.noarch 30/30 Updated: pulp-admin-client.noarch 0:2.5.2-0.0.beta.el6 pulp-puppet-admin-extensions.noarch 0:2.5.2-0.0.beta.el6 pulp-puppet-plugins.noarch 0:2.5.2-0.0.beta.el6 pulp-rpm-admin-extensions.noarch 0:2.5.2-0.0.beta.el6 pulp-rpm-plugins.noarch 0:2.5.2-0.0.beta.el6 pulp-selinux.noarch 0:2.5.2-0.0.beta.el6 pulp-server.noarch 0:2.5.2-0.0.beta.el6 python-pulp-bindings.noarch 0:2.5.2-0.0.beta.el6 python-pulp-client-lib.noarch 0:2.5.2-0.0.beta.el6 python-pulp-common.noarch 0:2.5.2-0.0.beta.el6 python-pulp-puppet-common.noarch 0:2.5.2-0.0.beta.el6 python-pulp-rpm-common.noarch 0:2.5.2-0.0.beta.el6 qpid-cpp-client.x86_64 0:0.26-9.el6 qpid-cpp-server.x86_64 0:0.26-9.el6 qpid-cpp-server-store.x86_64 0:0.26-9.el6 Complete! [root@mgmt5 ~]# sudo -u apache pulp-manage-db Loading content types. /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:144: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead. return method(*args, **kwargs) Content types loaded. Ensuring the admin role and user are in place. Admin role and user are in place. Beginning database migrations. Migration package pulp.server.db.migrations is up to date at version 10 Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 17 Migration to pulp_rpm.plugins.migrations version 17 complete. Applying pulp_rpm.plugins.migrations version 18 Migration to pulp_rpm.plugins.migrations version 18 complete. Database migrations complete. [root@mgmt5 ~]#
I updated to the beta packages on a clone of my VM and the pulp-manage-db successfully ran to completion. Thanks for the quick fix! I'll continue running on the beta.
Pulp 2.5.2 has been released.