[Pulp-list] v2.4 Upgrade issues

Trey Dockendorf treydock at gmail.com
Thu Sep 25 17:51:59 UTC 2014


I just updated from 2.3 to 2.4.1 and ran into a few issues.

First issue I hit was the pulp-manage-db command fails.  Below is the
output.  I am unsure how to debug this.

----
# 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 11
Applying migration pulp_rpm.plugins.migrations.0011_new_importer failed.

Halting migrations due to a migration failure.  See log for details.
'NoneType' object has no attribute 'text'
----

Second issue is it seems the paths to my repos has changed so now I'm
unable to browse them via HTTP.

# ls -la /var/www/pub/
total 24
drwxr-xr-x. 6 apache apache 4096 Sep 25 09:42 .
drwxr-xr-x. 9 apache apache 4096 Sep 25 09:42 ..
drwxr-xr-x. 3 apache apache 4096 Apr 28 18:40 http
drwxr-xr-x. 3 apache apache 4096 Apr 10 22:29 https
drwxr-xr-x  4 apache apache 4096 Sep 25 09:42 puppet
drwxr-xr-x  4 apache apache 4096 Sep 25 09:42 yum

/var/www/pub/http/repos/ contains all the repositories I setup for use
with HTTP, and /var/www/pub/https/repos/ for HTTPS but it seems that
the apache configs now want to use /var/www/pub/yum for those paths.
Is it safe to just move the http and https folders into the "yum"
directory?  I see no mention of this in the release notes so not sure
what's expected.

Thanks,
- Trey




More information about the Pulp-list mailing list