<html><body><p>Thanks Hongbin for your info.<br><br>I really think it is not good way for new feature introduced. <br>As new feature introduced often break old work. it more often better with add-in feature is plus, old work still funciton.<br><br>Or at least, the error should say "swarm bay now requires trust to work, please use trust related access information before deploy a new swarm bay"<br><br><br><br>Thanks<br><br>--------------------------------------------------------------------------------<br>Kai Qiang Wu (Î⿪ǿ  Kennan£©<br>IBM China System and Technology Lab, Beijing<br><br>E-mail: wkqwu@cn.ibm.com<br>Tel: 86-10-82451647<br>Address: Building 28(Ring Building), ZhongGuanCun Software Park,  <br>         No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>--------------------------------------------------------------------------------<br>Follow your heart. You are miracle! <br><br><img width="16" height="16" src="cid:1__=8FBBF5F6DF9B6AE48f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Hongbin Lu ---26/02/2016 08:02:23 am---Hi team, FYI, you might encounter the following error if you p"><font color="#424282">Hongbin Lu ---26/02/2016 08:02:23 am---Hi team, FYI, you might encounter the following error if you pull from master recently:</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Hongbin Lu <hongbin.lu@huawei.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">26/02/2016 08:02 am</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">[openstack-dev] [magnum] Failed to create trustee %(username) in        domain $(domain_id)</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font color="#1F497D" face="Calibri">Hi team,</font><br><font color="#1F497D" face="Calibri"> </font><br><font color="#1F497D" face="Calibri">FYI, you might encounter the following error if you pull from master recently:</font><br><font color="#1F497D" face="Calibri"> </font><br><font face="Calibri">magnum bay-create --name swarmbay --baymodel swarmbaymodel --node-count 1</font><br><font face="Calibri">Create for bay swarmbay failed: Failed to create trustee %(username) in domain $(domain_id) (HTTP 500)"</font><br><font color="#1F497D" face="Calibri"> </font><br><font color="#1F497D" face="Calibri">This is due to a recent commit that added support for trust. In case you don¡¯t know, this error can be resolved by running the following steps:</font><br><font color="#1F497D" face="Calibri"> </font><br><font color="#1F497D" face="Calibri"># 1. create the necessary domain and user:</font><br><font color="#1F497D" face="Calibri">export OS_TOKEN=password</font><br><font color="#1F497D" face="Calibri">export OS_URL=http://127.0.0.1:5000/v3</font><br><font color="#1F497D" face="Calibri">export OS_IDENTITY_API_VERSION=3</font><br><font color="#1F497D" face="Calibri">openstack domain create magnum</font><br><font color="#1F497D" face="Calibri">openstack user create trustee_domain_admin --password=secret --domain=magnum</font><br><font color="#1F497D" face="Calibri">openstack role add --user=trustee_domain_admin --domain=magnum admin</font><br><font color="#1F497D" face="Calibri"> </font><br><font color="#1F497D" face="Calibri"># 2. populate configs</font><br><font color="#1F497D" face="Calibri">source /opt/stack/devstack/functions</font><br><font color="#1F497D" face="Calibri">export MAGNUM_CONF=/etc/magnum/magnum.conf</font><br><font color="#1F497D" face="Calibri">iniset $MAGNUM_CONF trust trustee_domain_id $(openstack domain show magnum | awk '/ id /{print $4}')</font><br><font color="#1F497D" face="Calibri">iniset $MAGNUM_CONF trust trustee_domain_admin_id $(openstack user show trustee_domain_admin | awk '/ id /{print $4}')</font><br><font color="#1F497D" face="Calibri">iniset $MAGNUM_CONF trust trustee_domain_admin_password secret</font><br><font color="#1F497D" face="Calibri"> </font><br><font color="#1F497D" face="Calibri"># 3. screen -r stack, and restart m-api and m-cond</font><br><font color="#1F497D" face="Calibri"> </font><tt>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br></tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt><br></tt><br><br><BR>
</body></html>