Re: [openstack-dev] [kolla][keystone] is there chance the keystone cached the catalog and can not get the latest endpoints?

2016-06-29 Thread Jeffrey Zhang
Yes it is the Bug.
Thanks Kairat.

On Wed, Jun 29, 2016 at 8:53 PM, Kairat Kushaev 
wrote:

> Hi,
> Looks like this bug is duplicate of
> https://bugs.launchpad.net/oslo.cache/+bug/1590779
> HTH
>
> Best regards,
> Kairat Kushaev
>
> On Wed, Jun 29, 2016 at 3:32 PM, Jeffrey Zhang 
> wrote:
>
>> In Kolla CI, we see[1]
>>
>> publicURL endpoint for compute service not found
>>
>> this error for many times. The bug is here[0]
>>
>>
>> After some debug, I found the endpoint is exist in the DB. But when
>> running `nova service-list`
>> It says `publicURL endpoint for compute service not found
>> ​`​. After a few seconds, when you run
>> the `nova service-list` again. it works as expected.
>>
>> I think the root cause it the keystone. seem that the keystone cached the
>> catalog, and return
>> the cached version without query it from the DB. So anyone can explain
>> why it happen? and how to
>> avoid this( any workaround?)
>>
>> The env:
>> OS/Docker image: no matter, this happen on both CentOS and Ubuntu
>> OpenStack: master branch
>>
>> [0] https://bugs.launchpad.net/kolla/+bug/1587226
>> [1]
>> http://logs.openstack.org/91/328891/5/check/gate-kolla-dsvm-deploy-oraclelinux-source/3af433c/console.html#_2016-06-29_10_10_33_298298
>>
>> --
>> Regards,
>> Jeffrey Zhang
>> Blog: http://xcodest.me
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Regards,
Jeffrey Zhang
Blog: http://xcodest.me
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kolla][keystone] is there chance the keystone cached the catalog and can not get the latest endpoints?

2016-06-29 Thread Boris Bobrov
On Wednesday 29 June 2016 15:53:15 Kairat Kushaev wrote:
> Hi,
> Looks like this bug is duplicate of
> https://bugs.launchpad.net/oslo.cache/+bug/1590779

Looks like it.

> HTH
> 
> Best regards,
> Kairat Kushaev
> 
> On Wed, Jun 29, 2016 at 3:32 PM, Jeffrey Zhang
> 
> wrote:
> > In Kolla CI, we see[1]
> > 
> > publicURL endpoint for compute service not found
> > 
> > this error for many times. The bug is here[0]
> > 
> > 
> > After some debug, I found the endpoint is exist in the DB. But
> > when
> > running `nova service-list`
> > It says `publicURL endpoint for compute service not found
> > ​`​. After a few seconds, when you run
> > the `nova service-list` again. it works as expected.
> > 
> > I think the root cause it the keystone. seem that the keystone
> > cached the catalog, and return
> > the cached version without query it from the DB. So anyone can
> > explain why it happen? and how to
> > avoid this( any workaround?)
> > 
> > The env:
> > OS/Docker image: no matter, this happen on both CentOS and Ubuntu
> > OpenStack: master branch
> > 
> > [0] https://bugs.launchpad.net/kolla/+bug/1587226
> > [1]
> > http://logs.openstack.org/91/328891/5/check/gate-kolla-dsvm-deploy
> > -oraclelinux-source/3af433c/console.html#_2016-06-29_10_10_33_2982
> > 98
> > 
> > --
> > Regards,
> > Jeffrey Zhang
> > Blog: http://xcodest.me
> > 
> > __
> >  OpenStack Development Mailing List (not for usage
> > questions) Unsubscribe:
> > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kolla][keystone] is there chance the keystone cached the catalog and can not get the latest endpoints?

2016-06-29 Thread Kairat Kushaev
Hi,
Looks like this bug is duplicate of
https://bugs.launchpad.net/oslo.cache/+bug/1590779
HTH

Best regards,
Kairat Kushaev

On Wed, Jun 29, 2016 at 3:32 PM, Jeffrey Zhang 
wrote:

> In Kolla CI, we see[1]
>
> publicURL endpoint for compute service not found
>
> this error for many times. The bug is here[0]
>
>
> After some debug, I found the endpoint is exist in the DB. But when
> running `nova service-list`
> It says `publicURL endpoint for compute service not found
> ​`​. After a few seconds, when you run
> the `nova service-list` again. it works as expected.
>
> I think the root cause it the keystone. seem that the keystone cached the
> catalog, and return
> the cached version without query it from the DB. So anyone can explain why
> it happen? and how to
> avoid this( any workaround?)
>
> The env:
> OS/Docker image: no matter, this happen on both CentOS and Ubuntu
> OpenStack: master branch
>
> [0] https://bugs.launchpad.net/kolla/+bug/1587226
> [1]
> http://logs.openstack.org/91/328891/5/check/gate-kolla-dsvm-deploy-oraclelinux-source/3af433c/console.html#_2016-06-29_10_10_33_298298
>
> --
> Regards,
> Jeffrey Zhang
> Blog: http://xcodest.me
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev