165
I Use This!
Activity Not Available

News

Posted about 6 years ago by Superuser
Hear from experts at AT&T, Verizon, Intel, NTT and more. The post Inside telecom and NFV: Must-see sessions at the Vancouver Summit appeared first on Superuser.
Posted about 6 years ago by jpena
Unit tests are used to verify that individual units of source code work according to a defined specification (spec). While this may sound complicated to understand, in short it means that we try to verify that each part of our source code works as expected, without having to run the full program they belong to.
Posted about 6 years ago by Lingxian Kong
Lingxian Kong, senior developer at Catalyst Cloud, offers this guide. The post Get started with the Octavia Ingress Controller for Kubernetes appeared first on Superuser.
Posted about 6 years ago by Stephane Lefrere
Market trends show that due to long application life-cycles and the high cost of change, enterprises will be dealing with a mix of bare-metal, virtualized, and containerized applications for many years to come. This is true even as greenfield ... [More] investment moves to a more container-focused approach. Red Hat® OpenStack® Platform provides a solution to the […] [Less]
Posted about 6 years ago by Thierry Carrez
Cloud infrastructure is quickly becoming an integral business component for nearly every company.
Posted about 6 years ago by mikal
You’ve decided that using sudo to run command lines as root is lame and that it is time to step up and do things properly. How do you do that? Well, here’s a simple guide to adding oslo privsep to your project! In a previous post I showed you how to ... [More] add a new method … Continue reading Adding oslo privsep to a new project, a worked example The post Adding oslo privsep to a new project, a worked example appeared first on Made by Mikal. [Less]
Posted about 6 years ago by Superuser
Community leaders share tips and need-to-knows for the Summit-curious. The post What to expect from your first OpenStack Summit appeared first on Superuser.
Posted about 6 years ago by Sumit Jamgade
In Part 1, I introduced the problem of metrics aggregations for Ceilometer in OpenStack and how Gnocchi (a time-series database) tries to solve it in a different way. I argued about possibility of offloading work to (Nvida Quadro K620) GPU. This part ... [More] summarizes the iterations applied to the kernel (piece of CUDA code, that executes […] The post An Experiment with Gnocchi – (the Database) – Part 2 appeared first on SUSE Communities. [Less]
Posted about 6 years ago by Jian Li
在N版本以前,keystone的api服务可以使用httpd方式进行部署,也可以使用python eventlet方式部署,从N版本开始,eventlet这种方式已经从keystone中移除。keystone使用PasteDeploy来实现WSGI服务,关于wsgi,可以参考理解 WSGI 框架,关于Paste+PasteDeploy+Routes+WebOb,可以参考通过demo学习OpenStack开发–API服务(2) 如下,是keystone v3 ... [More] api初始化流程的时序图,v3版本中,已经不区分admin api和public api 简单解释下pipline, 如下paste文件,对于v3版本的api请求,根据[composite:admin], 请求被map到api_v3这个pipeline处理, 在api_v3这个pipeline中([pipeline:api_v3]),前面cors sizelimit ... s3_extension都是keystone实现的各种中间件,用于对client请求进行过滤封装等处理,根据名字你可以大致猜出来这些中间件都做了什么,最后service_v3一个是app,即为keystone真正处理client请求的api服务。也就是说,client发出的http的请求会穿过前面一系列的中间件,最后才会到达keystone代码真正处理请求 #/etc/keystone/keystone-paste.ini [pipeline:api_v3] pipeline = cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension_v3 s3_extension service_v3 [composite:admin] ... /v3 = api_v3 ... 时序图中有一处关键代码,如下 #pipeline[-1]即为上面的app service_v3 context.app_context = self.get_context(APP, pipeline[-1], global_conf) #pipeline[:-1]为所有的中间件list context.filter_contexts = [self.get_context(FILTER, name, global_conf) for name in pipeline[:-1]] _PipeLine.invoke(context) #初始化keystone app app = context.app_context.create() filters = [c.create() for c in context.filter_contexts] #所有中间件反序排列,即为:s3_extension, ec2_extension_v3, json_body, token_auth,... filters.reverse() for filter in filters #使用中间件封装初始的app app = filter(app) return app 上面不好理解的话,我们用洋葱来举个例子,假如洋葱的心代表keystone服务(service_v3),心外面的每一层洋葱皮都代表一个中间件。这样,keystone api的初始化过程就是洋葱的生成过程,首先反序排列中间件filters.reverse(), 这样最靠近洋葱心(service_v3)的中间件最先被封装,一直封装到最外层中间件cors。那client的请求处理,就是剥洋葱的过程,最先从最外面中间件开始处理(cors),我们从返回的urlmap {(None, '/v3'): [Less]
Posted about 6 years ago by Mary Thengvall
Over the past few weeks we’ve been gearing up for Red Hat Summit and now it’s almost here! We hope to see you onsite — there are so many great talks, events, and networking opportunities to take advantage of. From panels to general sessions to ... [More] hands-on labs, chances are you’re going to have a hard time choosing which sessions to... Read more → [Less]