[openstack-dev] [infra][devstack] CI failed The plugin token_endpoint could not be found

Wan, Sam Sam.Wan at emc.com
Fri Nov 14 05:34:14 UTC 2014


Hi,

  Seems we need to use python-keystoneclient and python-openstackclient from git.openstack.org  because those on pip don’t work.
  But in latest update of stack.sh, it’s to use pip by default

if use_library_from_git "python-openstackclient"; then
    git_clone_by_name "python-openstackclient"
    setup_dev_lib "python-openstackclient"
else
   pip_install python-openstackclient
fi


By looking at use_library_from_git in functions-common, you’ll see
function use_library_from_git {
    local name=$1
    local enabled=1
    [[ ,${LIBS_FROM_GIT}, =~ ,${name}, ]] && enabled=0
    return $enabled
}


LIBS_FROM_GIT which gets it value from DEVSTACK_PROJECT_FROM_GIT (devstack-gate/devstack-vm-gate.sh), by default, is empty.
I think we should set default value for DEVSTACK_PROJECT_FROM_GIT to fix this.

And by now, we can work around this issue by setting DEVSTACK_PROJECT_FROM_GIT in our CI.
export DEVSTACK_PROJECT_FROM_GIT=python-keystoneclient,python-openstackclient


This works for me. Hope it helps.

Thanks and regards
Sam

From: Patrick East [mailto:patrick.east at purestorage.com]
Sent: Friday, November 14, 2014 4:17 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [infra][devstack] CI failed The plugin token_endpoint could not be found

I'm running into this issue as well on my CI. Any ideas on how to fix this?

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.

Comparing  http://logs.openstack.org/70/124370/7/check/check-tempest-dsvm-full/d6a53b7/logs/devstacklog.txt.gz#_2014-11-13_18_48_32_860 and the same spot in http://ec2-54-69-246-234.us-west-2.compute.amazonaws.com/purestorageci/MANUALLY_TRIGGERED_272/devstacklog.txt they both fail "use_library_from_git" check for keystoneclient and openstackclient

Any suggestions would be much appreciated!

-Patrick


On Wed, Nov 12, 2014 at 10:22 PM, Itsuro ODA <oda at valinux.co.jp<mailto:oda at valinux.co.jp>> wrote:
Hi,

> I'm wondering why you are just hitting it now? Does your CI pull the
> latest python-keystoneclient and python-openstackclient from master?

Yes before it began to fail, but now it is No because of this change:
https://github.com/openstack-dev/devstack/commit/8f8e2d1fbfa4c51f6b68a6967e330cd478f979ee

Now python-*client are installed by pip install instead of git clone.

I think this change causes the problem. But I don't understand
why there are success CIs and failed CIs (include mine) and how to fix
the problem.

Thanks.
Itsuro Oda

On Thu, 13 Nov 2014 00:36:41 -0500
Steve Martinelli <stevemar at ca.ibm.com<mailto:stevemar at ca.ibm.com>> wrote:

> About a month ago, we made changes to python-openstackclient that seem
> related to the error message you posted. Change is
> https://review.openstack.org/#/c/127655/3/setup.cfg
> I'm wondering why you are just hitting it now? Does your CI pull the
> latest python-keystoneclient and python-openstackclient from master?
>
> Thanks,
>
> _____________________________________________
> Steve Martinelli
> OpenStack Development - Keystone Core Member
> Phone: (905) 413-2851<tel:%28905%29%20413-2851>
> E-Mail: stevemar at ca.ibm.com<mailto:stevemar at ca.ibm.com>
>
>
>
> From:   Itsuro ODA <oda at valinux.co.jp<mailto:oda at valinux.co.jp>>
> To:     openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>
> Date:   11/12/2014 11:27 PM
> Subject:        [openstack-dev] [infra][devstack] CI failed The plugin
> token_endpoint could not be found
>
>
>
> Hi,
>
> My third party CI becomes failed from about 21:00 12th UTC
> in execution of devstack.
>
> The error occurs at "openstack project create admin -f value -c id"
> ---
> ERROR: openstack The plugin token_endpoint could not be found
> ---
>
> I found some CIs have same problem.
>
> Does anyone give me a hint to solve this problem ?
>
> Thanks.
> --
> Itsuro ODA <oda at valinux.co.jp<mailto:oda at valinux.co.jp>>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>

--
Itsuro ODA <oda at valinux.co.jp<mailto:oda at valinux.co.jp>>


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



--
-Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141114/8b3e729c/attachment.html>


More information about the OpenStack-dev mailing list