[Pulp-list] mongodb migration failed trying to update from 2.3 to 2.4.1

Philip Gardner, Jr. phil.gardnerjr at gmail.com
Thu Sep 25 12:59:21 UTC 2014


On Wed, Sep 24, 2014 at 4:42 PM, Philip Gardner, Jr.
<phil.gardnerjr at gmail.com> wrote:
> Hi all -
>
> Seeing the following message when trying to run pulp-manage-db as the
> apache user:
>
> # sudo -u apache pulp-manage-db
> Loading content types.
> /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:133:
> 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 9
> Migration package pulp_puppet.plugins.migrations is up to date at version 2
> Applying pulp_rpm.plugins.migrations version 16
> /usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py:268:
> DeprecationWarning: BaseException.message has been deprecated as of
> Python 2.6
>   error_details['error'] = str(e.message) or str(e)
> Applying migration pulp_rpm.plugins.migrations.0016_new_yum_distributor failed.
>
> Halting migrations due to a migration failure.  See log for details.
> Will not create a symlink to a non-existent source
> [/var/lib/pulp/content/distribution/ks-CentOS--6.4-x86_64/../../isos/x86_64/CentOS-6.4-x86_64-netinstall.iso]
>
> Any suggestions? I found this bug report, but no suggestions on what
> to do: https://bugzilla.redhat.com/show_bug.cgi?id=1131251
>
> Any help appreciated.
>
> --
> GPG keyID: 0xFECC890C
> Phil Gardner

Well, I manually created the folders that were missing above and
pulled down that netinstall ISO, reran the migrations...and it
finished. So for now, probably solved, just with an ugly hack.


-- 
GPG keyID: 0xFECC890C
Phil Gardner




More information about the Pulp-list mailing list