<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=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.im
        {mso-style-name:im;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<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'>  Seems we need to use python-keystoneclient and python-openstackclient from git.openstack.org  because those on pip don’t work.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  But in latest update of stack.sh, it’s to use pip by default <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><table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none'><tr><td width=590 valign=top style='width:6.15in;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>if use_library_from_git "python-openstackclient"; then<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    git_clone_by_name "python-openstackclient"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    setup_dev_lib "python-openstackclient"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>else<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    pip_install python-openstackclient<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>fi<o:p></o:p></span></p></td></tr></table><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'> By looking at use_library_from_git in functions-common, you’ll see <o:p></o:p></span></p><table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none'><tr><td width=590 valign=top style='width:6.15in;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>function use_library_from_git {<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    local name=$1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    local enabled=1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    return $enabled<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></td></tr></table><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'>LIBS_FROM_GIT which gets it value from DEVSTACK_PROJECT_FROM_GIT (devstack-gate/devstack-vm-gate.sh), by default, is empty.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think we should set default value for DEVSTACK_PROJECT_FROM_GIT to fix this.<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'>And by now, we can work around this issue by setting DEVSTACK_PROJECT_FROM_GIT in our CI.<o:p></o:p></span></p><table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none'><tr><td width=590 valign=top style='width:6.15in;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>export DEVSTACK_PROJECT_FROM_GIT=python-keystoneclient,python-openstackclient<o:p></o:p></span></p></td></tr></table><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'>This works for me. Hope it helps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#00B0F0'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks and regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sam</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#00B0F0'><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><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Patrick East [mailto:patrick.east@purestorage.com] <br><b>Sent:</b> Friday, November 14, 2014 4:17 AM<br><b>To:</b> OpenStack Development Mailing List (not for usage questions)<br><b>Subject:</b> Re: [openstack-dev] [infra][devstack] CI failed The plugin token_endpoint could not be found<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I'm running into this issue as well on my CI. Any ideas on how to fix this?<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>My CI is behaving similar to the official jenkins in regards to using pip to install the clients, and pip freeze shows the same versions on each.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Comparing  <a href="http://logs.openstack.org/70/124370/7/check/check-tempest-dsvm-full/d6a53b7/logs/devstacklog.txt.gz#_2014-11-13_18_48_32_860">http://logs.openstack.org/70/124370/7/check/check-tempest-dsvm-full/d6a53b7/logs/devstacklog.txt.gz#_2014-11-13_18_48_32_860</a> and the same spot in <a href="http://ec2-54-69-246-234.us-west-2.compute.amazonaws.com/purestorageci/MANUALLY_TRIGGERED_272/devstacklog.txt">http://ec2-54-69-246-234.us-west-2.compute.amazonaws.com/purestorageci/MANUALLY_TRIGGERED_272/devstacklog.txt</a> they both fail "use_library_from_git" check for keystoneclient and openstackclient<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Any suggestions would be much appreciated!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>-Patrick<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Nov 12, 2014 at 10:22 PM, Itsuro ODA <<a href="mailto:oda@valinux.co.jp" target="_blank">oda@valinux.co.jp</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi,<br><br>> I'm wondering why you are just hitting it now? Does your CI pull the<br>> latest python-keystoneclient and python-openstackclient from master?<br><br>Yes before it began to fail, but now it is No because of this change:<br><a href="https://github.com/openstack-dev/devstack/commit/8f8e2d1fbfa4c51f6b68a6967e330cd478f979ee" target="_blank">https://github.com/openstack-dev/devstack/commit/8f8e2d1fbfa4c51f6b68a6967e330cd478f979ee</a><br><br>Now python-*client are installed by pip install instead of git clone.<br><br>I think this change causes the problem. But I don't understand<br>why there are success CIs and failed CIs (include mine) and how to fix<br>the problem.<br><br>Thanks.<br><span class=hoenzb><span style='color:#888888'>Itsuro Oda</span></span><span style='color:#888888'><br></span><br><span class=im>On Thu, 13 Nov 2014 00:36:41 -0500</span><br><span class=im>Steve Martinelli <<a href="mailto:stevemar@ca.ibm.com">stevemar@ca.ibm.com</a>> wrote:</span><br><br><span class=im>> About a month ago, we made changes to python-openstackclient that seem</span><br><span class=im>> related to the error message you posted. Change is</span><br><span class=im>> <a href="https://review.openstack.org/#/c/127655/3/setup.cfg" target="_blank">https://review.openstack.org/#/c/127655/3/setup.cfg</a></span><br><span class=im>> I'm wondering why you are just hitting it now? Does your CI pull the</span><br><span class=im>> latest python-keystoneclient and python-openstackclient from master?</span><br><span class=im>></span><br><span class=im>> Thanks,</span><br><span class=im>></span><br><span class=im>> _____________________________________________</span><br><span class=im>> Steve Martinelli</span><br><span class=im>> OpenStack Development - Keystone Core Member</span><br><span class=im>> Phone: <a href="tel:%28905%29%20413-2851">(905) 413-2851</a></span><br><span class=im>> E-Mail: <a href="mailto:stevemar@ca.ibm.com">stevemar@ca.ibm.com</a></span><br><span class=im>></span><br><span class=im>></span><br><span class=im>></span><br><span class=im>> From:   Itsuro ODA <<a href="mailto:oda@valinux.co.jp">oda@valinux.co.jp</a>></span><br><span class=im>> To:     <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a></span><br><span class=im>> Date:   11/12/2014 11:27 PM</span><br><span class=im>> Subject:        [openstack-dev] [infra][devstack] CI failed The plugin</span><br><span class=im>> token_endpoint could not be found</span><br><span class=im>></span><br><span class=im>></span><br><span class=im>></span><o:p></o:p></p><div><div><p class=MsoNormal>> Hi,<br>><br>> My third party CI becomes failed from about 21:00 12th UTC<br>> in execution of devstack.<br>><br>> The error occurs at "openstack project create admin -f value -c id"<br>> ---<br>> ERROR: openstack The plugin token_endpoint could not be found<br>> ---<br>><br>> I found some CIs have same problem.<br>><br>> Does anyone give me a hint to solve this problem ?<br>><br>> Thanks.<br>> --<br>> Itsuro ODA <<a href="mailto:oda@valinux.co.jp">oda@valinux.co.jp</a>><br>><br>><br>> _______________________________________________<br>> OpenStack-dev mailing list<br>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>><br>><br><br>--<br>Itsuro ODA <<a href="mailto:oda@valinux.co.jp">oda@valinux.co.jp</a>><br><br><br>_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p></div></div></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><p class=MsoNormal>-Patrick<o:p></o:p></p></div></div></div></div></body></html>