openstack autoscaling with heat & ceilometer

提问于 2016-04-08 04:15:16 -0500

Eggy 图像

Hello I tried to implement an Auto Scaling expirement with openstack heat & ceilometer. I followed these article: http://keithtenzer.com/2015/09/02/auto-scaling-instances-with-openstack/ (http://keithtenzer.com/2015/09/02/aut...) http://blog.csdn.net/zhangli_perdue/article/details/50359171 (http://blog.csdn.net/zhangli_perdue/a...)

and these is my .yaml file: https://www.cs.ccu.edu.tw/~cth104m/openstack/cirros.yaml (https://www.cs.ccu.edu.tw/~cth104m/op...) )https://www.cs.ccu.edu.tw/~cth104m/openstack/environment.yaml https://www.cs.ccu.edu.tw/~cth104m/openstack/example.yaml (https://www.cs.ccu.edu.tw/~cth104m/op...)

and I create a stack , it will failed. I checked the heat-engine.log then I found it: https://www.cs.ccu.edu.tw/~cth104m/openstack/ss1.JPG (https://www.cs.ccu.edu.tw/~cth104m/op...) (image description)

It seem like authentication problem but I really don't know how to fix it. I checked the keystone-wsgi-public.log: 2016-04-08 16:37:22.728 4417 WARNING keystone.common.wsgi [req-25cdbb92-74cf-4364-9f5c-11c8f2983258 - - - - -] Authorization failed. The request you have made requires authentication. from <my controller="" ip="" addr="">

And there are my heat.conf and ceilometer.py:

https://www.cs.ccu.edu.tw/~cth104m/openstack/heat.conf (https://www.cs.ccu.edu.tw/~cth104m/op...) https://www.cs.ccu.edu.tw/~cth104m/openstack/ceilometer.py (https://www.cs.ccu.edu.tw/~cth104m/op...)

Hope someone can help me, thanks!

edit retag flag offensive close merge delete