<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;}
tt
        {mso-style-priority:99;
        font-family:SimSun;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Agreed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Every new features should be introduced in a backward-compatible way if possible. If new change will break existing version, it should be properly versioned
 and/or follow the corresponding deprecation process. Please feel free to ask for clarification if the procedure is unclear.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hongbin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Kai Qiang Wu [mailto:wkqwu@cn.ibm.com]
<br>
<b>Sent:</b> February-25-16 8:43 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [magnum] Failed to create trustee %(username) in domain $(domain_id)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<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 (<span lang="ZH-CN">Î⿪ǿ</span> Kennan<span lang="ZH-CN">£©</span><br>
IBM China System and Technology Lab, Beijing<br>
<br>
E-mail: <a href="mailto:wkqwu@cn.ibm.com">wkqwu@cn.ibm.com</a><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 border="0" width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01D1707E.1FE4BED0" 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"><span style="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:</span><br>
<br>
<span style="font-size:10.0pt;color:#5F5F5F">From: </span><span style="font-size:10.0pt">Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com">hongbin.lu@huawei.com</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">To: </span><span style="font-size:10.0pt">"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Date: </span><span style="font-size:10.0pt">26/02/2016 08:02 am</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Subject: </span><span style="font-size:10.0pt">[openstack-dev] [magnum] Failed to create trustee %(username) in domain $(domain_id)</span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">Hi team,</span><br>
<br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">FYI, you might encounter the following error if you pull from master recently:</span><br>
<br>
<span style="font-family:"Calibri","sans-serif"">magnum bay-create --name swarmbay --baymodel swarmbaymodel --node-count 1</span><br>
<span style="font-family:"Calibri","sans-serif"">Create for bay swarmbay failed: Failed to create trustee %(username) in domain $(domain_id) (HTTP 500)"</span><br>
<br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">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:</span><br>
<br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D"># 1. create the necessary domain and user:</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">export OS_TOKEN=password</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">export OS_URL=http://127.0.0.1:5000/v3</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">export OS_IDENTITY_API_VERSION=3</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">openstack domain create magnum</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">openstack user create trustee_domain_admin --password=secret --domain=magnum</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">openstack role add --user=trustee_domain_admin --domain=magnum admin</span><br>
<br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D"># 2. populate configs</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">source /opt/stack/devstack/functions</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">export MAGNUM_CONF=/etc/magnum/magnum.conf</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">iniset $MAGNUM_CONF trust trustee_domain_id $(openstack domain show magnum | awk '/ id /{print $4}')</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">iniset $MAGNUM_CONF trust trustee_domain_admin_id $(openstack user show trustee_domain_admin | awk '/ id /{print $4}')</span><br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D">iniset $MAGNUM_CONF trust trustee_domain_admin_password secret</span><br>
<br>
<span style="font-family:"Calibri","sans-serif";color:#1F497D"># 3. screen -r stack, and restart m-api and m-cond</span><br>
<tt>__________________________________________________________________________</tt><br>
<tt>OpenStack Development Mailing List (not for usage questions)</tt><br>
<tt>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a></tt><br>
<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><br>
<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>