openstack keystone token 超时时间扩展
2017-08-31 09:08
232 查看
由于测试时间长,本人keystone 1小时后token超期,本人ubuntu系统。
失败方法:
用openstack-cofig来扩展token,根本找不到openstack-config命令,有博客说centos下安装openstack-utils即可,但是在ubuntu下我没找到
成功方法:
参考 https://access.redhat.com/solutions/1527533
修改 /etc/keystone/keystone.conf 下
重启keystone服务,本人直接重启了机器
===================================以下是我个人想保存一下网页内容===================================================================
- Updated June 5 2017 at 10:46 AM -
English
No translations currently exist.
Red Hat Enterprise Linux OpenStack Platform 7.
Red Hat OpenStack Platform 8.
Red Hat OpenStack Platform 9.
Red Hat OpenStack Platform 10.
Keystone
Some operations are getting a Timeout from Keystone before it completes. Is it possible to increase the ticket validation?
keystone.conf file:
Inside the /etc/keystone/keystone.conf you have the following option:
Raw
You can safely change it to a new value in order to fit in your needs, for ins
97da
tance
7200 or another value:
Raw
Since openstack-keynote doesn't have a "reload" method in the systemctl openstack-keystone neither the
keystone-all command could be used to reload since this is only used to start the
keystone:
Raw
You should restart the service using the following command:
Raw
Note: If you have more than one controller and runs it behind an
HAProxy, you can safely change the parameter expiration in the
keystone.conf in each controller and then restart each one separately. HAProxy will take care to redirect the services to a active service.
失败方法:
用openstack-cofig来扩展token,根本找不到openstack-config命令,有博客说centos下安装openstack-utils即可,但是在ubuntu下我没找到
成功方法:
参考 https://access.redhat.com/solutions/1527533
修改 /etc/keystone/keystone.conf 下
# Amount of time a token should remain valid (in seconds). # (integer value) expiration=86400
重启keystone服务,本人直接重启了机器
===================================以下是我个人想保存一下网页内容===================================================================
How to increase OpenStack Keystone Ticket Timeout?
Solution Verified- Updated June 5 2017 at 10:46 AM -
English
No translations currently exist.
Environment
Red Hat Enterprise Linux OpenStack Platform 6.Red Hat Enterprise Linux OpenStack Platform 7.
Red Hat OpenStack Platform 8.
Red Hat OpenStack Platform 9.
Red Hat OpenStack Platform 10.
Keystone
Issue
How to increase the OpenStack Keystone Ticket Timeout?Some operations are getting a Timeout from Keystone before it completes. Is it possible to increase the ticket validation?
Resolution
If you are experiencing some kind of timeout or the Keystone Ticket is expiring during an operation, for instance when you upload a glance image and it takes more time than the ticket, you can increase the keystone ticket changing thekeystone.conf file:
Inside the /etc/keystone/keystone.conf you have the following option:
Raw
# Amount of time a token should remain valid (in seconds). # (integer value) expiration=3600
You can safely change it to a new value in order to fit in your needs, for ins
97da
tance
7200 or another value:
Raw
# Amount of time a token should remain valid (in seconds). # (integer value) expiration=7200
Since openstack-keynote doesn't have a "reload" method in the systemctl openstack-keystone neither the
keystone-all command could be used to reload since this is only used to start the
keystone:
Raw
NAME keystone-all - Keystone Startup Command ... DESCRIPTION keystone-all starts both the service and administrative APIs in a sin‐ gle process to provide catalog, authorization, and authentication ser‐ vices for OpenStack.
You should restart the service using the following command:
Raw
# systemctl restart openstack-keystone.service
Note: If you have more than one controller and runs it behind an
HAProxy, you can safely change the parameter expiration in the
keystone.conf in each controller and then restart each one separately. HAProxy will take care to redirect the services to a active service.
相关文章推荐
- openstack keystone token-get报错'NoneType' object has no attribute 'has_service_catalog'
- 如何使用python3调用openstack keystone identity REST api接口获取X-AUTH-TOKEN
- openstack keystone token创建,验证流程
- [原]openstack-kilo--issue(十五) WARNING keystonemiddleware.auth_token Authorization failed for token Could not find token
- openstack keystone的token id是如何生成的以及内容源码分析
- Openstack keystone 多级用户扩展
- Openstack keystone token to memcache
- openstack kilo keystone token问题及性能优化
- openstack keystone token flush
- [转]ASP.NET MVC HtmlHelper扩展之Calendar日期时间选择
- AFNetworking 3.0 设置超时时间不起作用的原因
- file_get_contents 增加超时的时间限制
- 怎么设置session无响应超时时间并且自动返回登陆页面
- feign超时时间设置
- 【OpenStack】OpenStack系列13之Nova源码解析与API扩展
- windows2008 设置会话超时时间
- C# 的tcp Socket设置自定义超时时间
- OpenStack Keystone安装部署流程
- 3-openstack之keystone上
- openstack keystone整体架构与功能