0
votes

I'm creating docker container containing openstack keystone. Need to create initial data (projects, domains, users). Is it possible to do that without running keystone daemon?

1
I'm not aware of any mysqldump (or equivalent) that will allow you to import raw data into the DB and bypass the daemon. The only thing I'm aware of is this bootstrap script which creates a few users/tenants using the daemon itself. - hohner
Yes, I'm also aware of that script, though it requires daemon to be running. Thank you. - aisbaa

1 Answers

0
votes

You could portentially try to take a mysql dump of the keystone database, and then import it back into the mysql that the docker will point to. We will obviously have to replace the IP's or hostnames for the other services.