So far we have been using external mysql command
to insert project/user to bootstrap the process.
This caused much frustration since operators needed
to insert records in the db. This patch adds commands
to dbsync to allow creating project/users. This method
also takes care of association_id.
To initiate a bootstrap:
craton-dbsync --config-file=craton.conf bootstrap
which will create a project with a root user.
Users using Dockerfile can look at docker logs
after creating the container to find this info.
Reviewed: https:/ /review. openstack. org/443170 /git.openstack. org/cgit/ openstack/ craton/ commit/ ?id=109b4b6dd2f f3b66548f65b68d e8d9535b426d49
Committed: https:/
Submitter: Jenkins
Branch: master
commit 109b4b6dd2ff3b6 6548f65b68de8d9 535b426d49
Author: Sulochan Acharya <email address hidden>
Date: Wed Mar 8 15:18:14 2017 +0000
Adds project/user bootstrap command to dbsync
So far we have been using external mysql command
to insert project/user to bootstrap the process.
This caused much frustration since operators needed
to insert records in the db. This patch adds commands
to dbsync to allow creating project/users. This method
also takes care of association_id.
To initiate a bootstrap: file=craton. conf bootstrap
craton-dbsync --config-
which will create a project with a root user.
Users using Dockerfile can look at docker logs
after creating the container to find this info.
Closes Bug: 1670561
Change-Id: I9372961ca6623d 530d7844b9f38aa de544d961e8