From 818fc979764ed1e68489cdd5b48240b1bed3a817 Mon Sep 17 00:00:00 2001 From: adrian-turjak Date: Wed, 31 May 2017 01:34:48 +1200 Subject: [PATCH] Add note to devstack guide about USERNAME_IS_EMAIL Change-Id: I23776049864cf4b23c188607cd92eb2a32fbabcf --- DEVSTACK_GUIDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DEVSTACK_GUIDE.md b/DEVSTACK_GUIDE.md index 87d416d..db27f21 100644 --- a/DEVSTACK_GUIDE.md +++ b/DEVSTACK_GUIDE.md @@ -63,6 +63,12 @@ openstack network show public ``` And then grab the id value and put that into the Adjutant conf. +### Username is email + +The example conf for Adjutant is setup with `USERNAME_IS_EMAIL = TRUE` which works on the assumption that usernames are emails. This is easy to change in the conf, but a fairly useful way of avoiding username clashes. If you set this to `False` then usernames will be required as well as emails for most tasks that deal with user creation. + +Migrating between the two states hasn't yet been handled entirely, so once you pick a valuve for `USERNAME_IS_EMAIL` stick with it, or clear the database inbetween. + ## Running Adjutant