<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 02/08/2011 08:49 PM, Jason L Connor wrote:
<blockquote cite="mid:1297216145.23899.77.camel@precision"
type="cite">
<pre wrap="">All,
If you not are using the developer deployment, you can ignore this.
A lot changed today. Jeff and Pradeep both had large pushes and here two
more:
1. The default database name has changed. I have renamed it to:
pulp_database. The old name, _database, is a relic from our prototyping
days and not really suitable for a serious deployment. The name is
changed in both the default config and the config file: pulp.conf. If
you want to continue using the old database, just change it back in
pulp.conf.
2. More importantly: the new authorization is pushed. This will very
likely break your existing database as the users and roles needed for
authorization have changed.
I have tried to incorporate the changes into the latest version of
pulp-migrate, so if you run into trouble, run pulp-migrate again, with
the --force flag if necessary and restart pulp. Or you could just use
the new database created by the name change and not worry about it, your
choice.
Possible trouble includes: no administrative users, admin user without
proper permissions, consumers that do not have permissions.
Good luck!
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pulp-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a>
</pre>
</blockquote>
<br>
<br>
If you wish to export your existing content in _database, try this:<br>
<br>
$ mongo<br>
> use _database<br>
> db.copyDatabase("_database", "pulp_database",
<your-hostname>)<br>
<br>
then run pulp-migrate. This worked for me.<br>
<br>
<br>
</body>
</html>