当前位置:   article > 正文

OpenStack Heat服务介绍

openstack heat

http://zhenhua2000.blog.51cto.com/3167594/1324883

这篇博文开始介绍一下OpenStack中的Orchestration Service:Heat

Orchestration词对一部分人也许还很陌生。Wikipedia上的解theautomated arrangement, coordination, and management of complex computersystems, middleware, andservices.”。我个人的理解就是自动化部署应用,自动化管理应用的整个生命周期 。


对于云计算来说,自动化管理是一个必不可少的部分。AWS的EC2是通过提供CloudFormation格式的模版来实现OrchestrationHeat是这部分功能的开源实现。Heat不仅100%兼容CloudFormation格式,同时支持自己的Hot (Heat Orchestration Template)格式。


160836390.png

如果Nova, Glance, Neutron解决的是IaaS层的需要,那从上面的图你就能感觉到Heat 是解决客户PaaS层的需要。OpenStack作为云平台是需要让应用程序能够部署和运行的。Heat提供了一个框架来解决这类问题,其中的核心就是App Template。


我想把介绍Heat 的文章分成以下几个部分:

1.Heat的安装,配置以及核心概念

2.Heat的模版介绍

3.Heat和Puppet部署应用的案例介绍

4.Heat和Ceilometer之间的关系

5.Heat的源码介绍

Heat的安装,配置以及核心概念


165242309.png

Heat独立的模建立在其他模之上。Havana版中主要与Heat交互的模NovaCeilometer。下一版本Ice House还会有Swift,Glance, Neutron


安装和配置篇

推荐的安装方式是用RedhatpackstackUbuntuJuju直接安装,因HeatHavana版本已是正式的模了。我主要用的是Redhat RDO,所以一条命令就能搞定。

packstack--install-hosts=x.x.x.x,x.x.x.x--os-heat-install=y


如果你是在Grizzly版上装就只能手安装了。

  1. gitclone git://github.com/openstack/heat.git

  2. cd heat; gitcheckout remotes/origin/stable/grizzly

  3. git checkout–b grizzly

  4. yum install -y libxslt-develpython-devel gcc python-pip

  5. pythonsetup.py install

  6. ./install.sh


配置Heat

  1. yum install -ypython-paste-deploy.noarch python-routes.noarch

  2. source/root/keystonerc_admin

  3. 打开heat/bin/heat-keystone-setup,修改201:
    SERVICE_TENANT=$(get_data 2 service 1keystone tenant-list)
    to:
    SERVICE_TENANT=$(get_data 2 services 1keystone tenant-list)

  4. heat/bin/heat-keystone-setupheat

  5. 'catpackstack-answers-20130912-124830.txt |grep MYSQL'.拿到mysql的密个用来创建heat的数据.

    CONFIG_MYSQL_PW=4ad9837a8e5e473a

  6. heat/bin/heat-db-setup rpm. 脚本会入密,在个例子里面密码就 '4ad9837a8e5e473a'.

1
2
3
4
5
6
7
8
Installing on an RPM system.
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'heat' database.
/usr/lib64/python2. 6 /site-packages/SQLAlchemy- 0.7 . 8 -py2. 6 -linux-x86_64.egg/sqlalchemy/pool.py: 683 :SADeprecationWarning: The 'listeners' argument to Pool (and create_engine()) isdeprecated.  Use event.listen().
   Pool._init_(self,creator, **kw)
/usr/lib64/python2. 6 /site-packages/SQLAlchemy- 0.7 . 8 -py2. 6 -linux-x86_64.egg/sqlalchemy/pool.py: 159 :SADeprecationWarning: Pool.add_listener is deprecated.  Use event.listen()
   self.add_listener(l)


7.

1
`cat keystonerc_admin |grep OS_PASSWORD`, 修改/etc/heat/heat-api-paste.ini:

admin_tenant_name= services <-- orignial it is 'service'
admin_password =7d1642ae2c1c4aff

8. 修改/etc/heat/heat-api-cfn-paste.ini/etc/heat/heat-api-cloudwatch-paste.ini里的admin_tenant_name and admin_password.

9. heat-engine.conf中的heat_metadata_server_url,heat_waitcondition_server_url, heat_watch_server_url127.0.0.1改成你机器的外网ip

10. yum install -y python-heatclient

11. Heat:

heat-api &

heat-engine &

heat-api-cfn &

heat-cloud-watch &


启动第一个stack

Stack这个概念来源于AWS,Stack管理的是resource。而resource是个抽象的概念,它可以是虚拟机,可以是网络等等。Stack就是Heat管理应用程序的逻辑单元。

1. 从http://fedorapeople.org/groups/heat/prebuilt-jeos-images/中下载F17-x86_64-cfntools.qcow2,然后用glance把它导入:

glanceimage-create --name=F17-x86_64-cfntools --disk-format=qcow2--container-format=bare < /var/lib/libvirt/images/F17-x86_64-cfntools.qcow2

2. 通过Horizon或者命令行注册一个SSH key-pair,下面的例子生成root_key

novakeypair-add --pub_key ~/.ssh/id_rsa.pub root_key

3. git clonehttps://github.com/openstack/heat-templates.git'Description:http://wikicentral.cisco.com/images/icons/linkext7.gif, 从这里可以下载很多heat的参考模版

4. 创建名为demo的Stack

1
heatstack-create demo --template- file = /root/heat-templates/cfn/F17/getting_started .template --parameters= "KeyName=root_key"

5. 观察stack启动的状态

1
2
3
4
5
6
# heat list
+--------------------------------------+------------+-----------------+----------------------+
| id                                   | stack_name | stack_status    | creation_time        |
+--------------------------------------+------------+-----------------+----------------------+
| 543b64c7-3165-4939-a249-ba68d8cb54b0 | demo       | CREATE_COMPLETE | 2013-10-21T10:03:06Z |
+--------------------------------------+------------+-----------------+----------------------+


1
2
3
4
5
6
7
8
9
10
11
12
13
heat resource-list 543b64c7-3165-4939-a249-ba68d8cb54b0
+---------------------+---------------------------------------+-----------------+----------------------+
| logical_resource_id | resource_type                         | resource_status | updated_time         |
+---------------------+---------------------------------------+-----------------+----------------------+
| JsmLaunchConfig     | AWS::AutoScaling::LaunchConfiguration | CREATE_COMPLETE | 2013-10-21T10:03:06Z |
| CfnUser             | AWS::IAM::User                        | CREATE_COMPLETE | 2013-10-21T10:03:07Z |
| VcsKeys             | AWS::IAM::AccessKey                   | CREATE_COMPLETE | 2013-10-21T10:03:17Z |
| CPUAlarmHigh        | AWS::CloudWatch::Alarm                | CREATE_COMPLETE | 2013-10-21T10:03:35Z |
| CPUAlarmLow         | AWS::CloudWatch::Alarm                | CREATE_COMPLETE | 2013-10-21T10:03:35Z |
| JsmScaleUpPolicy    | AWS::AutoScaling::ScalingPolicy       | CREATE_COMPLETE | 2013-10-21T11:13:20Z |
| VM                  | AWS::AutoScaling::AutoScalingGroup    | CREATE_COMPLETE | 2013-10-21T11:18:55Z |
| JsmScaleDownPolicy  | AWS::AutoScaling::ScalingPolicy       | CREATE_COMPLETE | 2013-10-28T12:52:40Z |
+---------------------+---------------------------------------+-----------------+----------------------+


本文出自 “专注Linux开发” 博客,请务必保留此出处http://zhenhua2000.blog.51cto.com/3167594/1324918

Heat是OpenStack中的Orchestration services,也就是应用程序的配置管理。

Heat用声明式的方法来管理公有云或者私有云中的应用程序。它和其他OpenStack的服务类似,对外提供ReSTful接口,但除此之外,它定义了一套配置管理的模版。Heat的模版才是Heat的核心所在。


因为OpenStack开发Heat一开始的目的是为了能支持AWS中的CloudFormation模版,所以很多术语和概念都来源于AWS的CloudFormation(http://awsdocs.s3.amazonaws.com/AWSCloudFormation/latest/cfn-ug.pdf


让我们先从CloudFormation格式的getting_started.template来介绍其中的几个关键概念。

https://github.com/openstack/heat-templates/blob/master/cfn/F17/getting_started.template


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
   "AWSTemplateFormatVersion" : "2010-09-09" ,
   "Parameters" : {
     "KeyName" : {
       "Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance" ,
       "Type" : "String"
     }
   },
   "Resources" : {
     "MyInstance" : {
       "Type" : "AWS::EC2::Instance" ,
       "Properties" : {
         "KeyName" : { "Ref" : "KeyName" },
         "ImageId" : "F17-x86_64-cfntools" ,
         "InstanceType" : "m1.small" ,
         "UserData" : { "Fn::Base64" : "80" }
       }
     }
   },
   "Outputs" : {
     "InstanceIp" : {
       "Value" : { "Fn::Join" : [ "" , [ "ssh ec2-user@" ,
                                      { "Fn::GetAtt" : [ "MyInstance" ,
                                      "PublicIp" ]}]]},
       "Description" : "My ssh command"
     }
   }
}

AWSTemplateFormatVersion定义了Template的版本信息。

Parameters是用户在创建Stack时可以输入的参数类型。

Resources中,MyInstance是一个EC2的Instance,它的属性包括SSH的Key,Glance中的Image名称,Instance的Flavor类型,还有允许传给虚拟机的用户参数。

Outputs中定义了创建Stack后的输出。Instance的Ip值是从MyInstance中得到PublicIp值。


Heat中的基本术语

1. 栈。栈是CloudFormation中管理一组资源的基本单位。一个栈往往对应与一个应用程序。在Heat自己给出的例子中,WordPress就是一个web应用,用它的配置文件可以创建一个栈实例。

2. 资源。一个栈可以拥有很多资源, 资源是底层服务的抽象。CPU,memory,disk,网络等都可以看作是资源。资源和资源之间会存在依赖关系。Heat在创建栈的时候会自动解析依赖关系,按顺序创建资源。从Havana开始Heat能并行的创建没有依赖关系的资源。


161422593.png


理想情况下,Heat允许你象写代码那样来管理你的应用,你可以把Heattemplate保存在版本管理器中,当你修改了模版的内容,应用的配置也会自动做出调整。当然,这是理想情况。。。


Heat模版

Heat模版和CloudFormation模版的一个很大不同是格式。AWS的CloudFormation采用的是JSON格式,它的一个缺点是没办法插入注释。Heat采用Yaml格式来克服这一缺点。另一个好处是解析不同版本的Yaml文件更为方便。因为Yaml是JSON格式的超集,JSON格式的文件可以无损转成Yaml格式。下面,让我们先来看一个Heat模版的例子:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Parameters:
   ssh_key_name:
Type: String
     Description: ssh keypair name
   image_name:
     Type: String
     Description: The image to boot
Resources:
   my_server:
     Type: OS::Nova::Server
     Properties:
       flavor: m1.small
       key_name: { "Ref" : "ssh_key" }
       block_device_mapping:
         device_name: vda
         volume_id: { "Ref" : "my_vol" }
   my_vol:
     Type: OS::Cinder::Volume
     Properties:
       size: 20
       image: { "Ref" : "image_name" }
Outputs:
   server_ip:
     Description: The server IP
     Value: { "Fn::GetAtt" :
                 [ "my_server" ,
                  "first_address" ]}


模版中有四个关键段:

Parameters(可选):定义用户在创建stack需要输入的参数。

Mappings (可选):定义一组静态 Key/ValuePair。用Fn::FindInMap可以查找对应的值。

Resources (必填):定义你的应用所依赖的Resources,以及Resources之间的关系。比如你的应用依赖于哪些包,该如何配置网络,需要的CPU,Memory多少等等。

Outputs (可选): 描述给用户的返回值。


所有的Resources都用通用的接口。

一些可选或必填的属性:用来配置这些资源。

一些输出属性:通过内置函数,如Fn:GetAtt,来得到的属性。


资源之间可以建立起树状的依赖关系。下面是一个典型的Autoscaling例子,用Heat的模版表示会是这样

161928706.png


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Resources:
   MEMAlarmHigh:
     Type: AWS::CloudWatch::Alarm
     Properties:
       AlarmDescription: Scale-up if MEM > 50% for 1 minute
       MetricName: MemoryUtilization
       Namespace: system /linux
       Statistic: Average
       Period: '60'
       EvaluationPeriods: '1'
       Threshold: '50'
       AlarmActions:
       - {Ref: WebServerScaleUpPolicy}
       Dimensions:
       - Name: AutoScalingGroupName
         Value: {Ref: WebServerGroup}
       ComparisonOperator: GreaterThanThreshold
   WebServerScaleUpPolicy:
     Type: AWS::AutoScaling::ScalingPolicy
     Properties:
       AdjustmentType: ChangeInCapacity
       AutoScalingGroupName: {Ref: WebServerGroup}
       Cooldown: '60'
       ScalingAdjustment: '1'
   WebServerGroup:
     Type: AWS::AutoScaling::AutoScalingGroup
     Properties:
       AvailabilityZones: { 'Fn::GetAZs' : '' }
       LaunchConfigurationName: {Ref: LaunchConfig}
       MinSize: '1'
       MaxSize: '3'
       LoadBalancerNames:
       - {Ref: ElasticLoadBalancer}
   ElasticLoadBalancer:
     Type: AWS::ElasticLoadBalancing::LoadBalancer
     Properties:
       ...
   LaunchConfig:
     Type: AWS::AutoScaling::LaunchConfiguration
     Metadata:
       ...
     Properties:


大家可以看到Resource之间通过{Ref:}关键字相互联系了起来。


Heat通过AWS::AutoScaling::AutoScalingGroup来支持Autoscaling。当新的VM起来的时候,Scaling Group可以同时更新Load balancer的配置来加入新的VM信息。


Providers 和 Environments是Havana release中增加的两个features。Providers用来定义用户自定义的Resources,  Providers的语法和Heat内置支持的Resources语法格式完全一样。Environments用来覆盖template中的部分内容,比如基本环境的设置。理想的情况是用一组providertemplate来部署你的应用(每个provider template定义一个应用),用一个environmenttemplate来定义一个云的基础架构。这样通过选择provider模版和environment模版就能在不同的云环境下使用。


目前Heat还在开发自己的模版格式HOT (HeatOrchestration Template),在Heat的模版仓库中已经包含了HOT模版的例子,更多的例子可以看这里:

https://github.com/openstack/heat-templates/

本文出自 “专注Linux开发” 博客,请务必保留此出处http://zhenhua2000.blog.51cto.com/3167594/1335468

Openstack Heat试用

  • What's Heat ?
  • How to install Heat and make it ready to use?
  1. Installation
  2. Prepare JEOS(Just enough OS)
  • Use cases
  1. Deploy a single Wordpress blog server with a floating IP associated.
  2. Deploy wordpress blog server with 2 VM instances(front-end + back-end topology)
  3. Deploy a wordpress blog server with EBS volume as mysql DB storage
  4. Deploy a wordpress blog server with HA protection enabled

What's Heat ?


Heat is a service to orchestrate multiple composite cloud applications using the AWS CloudFormation template format, it's Openstack's implementation of CloudFormation and CloudWatch.


Heat integrates other core components of OpenStack into a one-file template system. The templates allow creation of most OpenStack resource types, the main functions of Heat cover:


-vAPP stack creation/update/deletion (suspend/resume will be added in Havana)
-High Availability
-Autoscaling
-Manual scale in/out(in Havana) 


How to install Heat and make it ready to use?


1.Installation

->Heat has been included in RDO repo, installation can be done by Yum:

yum install openstack-heat-api openstack-heat-api-cfn openstack-heat-api-cloudwatch openstack-heat-cli openstack-heat-common openstack-heat-engine python-heatclient python-heatclient-doc heat-cfntools heat-jeos

->Comment out following line since we use RabbitMQ instead of QPID as message queue. Do this for heat-api-cfn.conf, heat-api-cloudwatch.conf, heat-api.conf, heat-engine.conf under /etc/heat.

#rpc_backend=heat.openstack.common.rpc.impl_qpid

->Configure [filter:authtoken] section of heat-api-cfn-paste.ini  heat-api-cloudwatch-paste.ini  heat-api-paste.ini under /etc/heat

  1. [filter:authtoken]
  2. paste.filter_factory = heat.common.auth_token:filter_factory
  3. service_protocol = http
  4. service_host = api-vip
  5. service_port = 5000
  6. auth_host = api-vip
  7. auth_port = 35357
  8. auth_protocol = http
  9. auth_uri = http://api-vip:35357/v2.0
  10. admin_tenant_name = service
  11. admin_user = heat
  12. admin_password = password

->Configure [filter:ec2authtoken] section of  heat-api-cfn-paste.ini  heat-api-cloudwatch-paste.ini under /etc/heat

  1. [filter:ec2authtoken]
  2. paste.filter_factory = heat.api.aws.ec2token:EC2Token_filter_factory
  3. auth_uri = http://api-vip:5000/v2.0
  4. keystone_ec2_uri = http://api-vip:5000/v2.0/ec2tokens

>Update /etc/heat/heat-engine.conf as below:

  1. heat_metadata_server_url = http://10.68.125.11:8000
  2. heat_waitcondition_server_url = http://10.68.125.11:8000/v1/waitcondition
  3. heat_watch_server_url = http://10.68.125.11:8003
  4. sql_connection = mysql://heat:heat@db-vip/heat

#The IP for metadata, watchcondition and watch_server should be the host IP of heat services are running on, and should be reachable from VM instance.

->Setup database for heat:

 heat-db-setup rpm -y -r


->Setup keystone entries for heat:

 heat-keystone-setup


->Start heat services:

  1. service openstack-heat-api start
  2. service openstack-heat-api-cfn start
  3. service openstack-heat-api-cloudwatch start
  4. service openstack-heat-engine start


2.Prepare JEOS(Just enough OS)


JEOS image is basic OS image with cloud-init  and heat-cfn-tools pre-installed, they are the keys for Heat and VM exchanging information and doing post and regular jobs.


Pre-built JEOS of Fedora 17 and 18 can be downloaded from: http://fedorapeople.org/groups/heat/prebuilt-jeos-images/


To make our own JEOS on RHEL, following the steps:


a.Assume we have a RHEL 6.3 image registered in Glance already, launch a VM instance from it.
b.Log into the VM, install cloud-init and heat-cfn-tools


yum -y update
export http_proxy=   #This is needed if lab has no direct internet access
curl -O http://ftp.ps.pl/pub/Linux/fedora-epel/6/i386/epel-release-6-7.noarch.rpm
rpm -Uvh epel-release-6-7.noarch.rpm
yum -y install perl python python-setuptools cloud-init python-pip
pip-python install argparse 'boto==2.5.2' heat-cfntools
cfn-create-aws-symlinks --source /usr/bin
rm -rf /etc/udev/rules.d/70-persistent-net.rules


c.From Horizon GUI or CLI, make a snapshot for this VM, name it as "rhel63-x86_64-cfntools".  This snapshot actually becomes a valid JEOS image.


Use cases


1.Deploy a single Wordpress blog server with a floating IP associated.


This templates deploy a single VM instance with a associated floating IP, then install mysql-server, httpd and wordpress packages, initial database, integrate each other and finally start up wordpress web service.


->Download the template file:



->Source a tenant credential


source /root/nceprc


>Create a key-pair


nova   keypair-add ncepkey > ncepkey.pem


chmod 400 ncepkey.pem


->Deploy this template by heat


heat stack-create wordpress   -f WordPress_Single_Instance_With_EIP.template -P "InstanceType=m1.medium;DBUsername=wordpress;DBPassword=worldpress;KeyName=ncepkey;LinuxDistribution=RHEL-6.3"


#Parameters followed after "-P" are needed for instance type selection, DB access setup, key-pair selection and image selection.


->Check stack creation process


Once the stack-create is issued, we should see the stack in "CREATE_IN_PROGRESS" status from output of "heat list"


Once creation is complete, we can see the status will change to "CREATE_COMPLETE".


[root@controller-1 heat(keystone_ncep)]# heat list
+--------------------------------------+--------------+-----------------+----------------------+
| ID | Name | Status | Created |
+--------------------------------------+--------------+-----------------+----------------------+
| a6740599-2c98-41b8-a55e-490f28f6f6f8 | wordpress | CREATE_COMPLETE | 2013-08-05T06:57:40Z |
+--------------------------------------+--------------+-----------------+----------------------+


We can also see detailed resource status in the stack by:


[root@controller-1 heat(keystone_ncep)]# heat resource-list wordpress
+------------------------+--------------------------+-----------------+----------------------+
| Name | Type | Status | Updated |
+------------------------+--------------------------+-----------------+----------------------+
| IPAddress | AWS::EC2::EIP | CREATE_COMPLETE | 2013-08-05T06:57:40Z |
| WebServerSecurityGroup | AWS::EC2::SecurityGroup | CREATE_COMPLETE | 2013-08-05T06:57:41Z |
| IPAssoc | AWS::EC2::EIPAssociation | CREATE_COMPLETE | 2013-08-05T06:57:52Z |
| WebServer | AWS::EC2::Instance | CREATE_COMPLETE | 2013-08-05T06:57:52Z |
+------------------------+--------------------------+-----------------+----------------------+

Also heat stack-show wordpress can be used to show detailed information of the stack

->Try to access the wordpress web UI

From nova list, we could see a VM named "wordpress.WebServer" is created with internal IP and floating IP:

[root@controller-1 heat(keystone_ncep)]# nova list
+--------------------------------------+--------------------------------------------+--------+-------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+--------------------------------------------+--------+-------------------------------------+|
| 02da7185-a0a6-44cf-8076-875754163dac | wordpress.WebServer | ACTIVE | ncep-net=10.20.20.17, 10.68.124.102 |
+--------------------------------------+--------------------------------------------+--------+-------------------------------------+

Try to access the wordpress website by its floating IP

http://10.68.124.102/wordpress 

You should see the login page in the browser!!!

2.Deploy wordpress blog server with 2 VM instances(front-end + back-end topology)

This template deploy a 2 VM wordpress solution, one VM running web server, 2nd VM running Mysql DB.

->Download the template:

wget https://github.com/abckey/heat-templates/raw/master/WordPress_2_Instances.template

->Deploy the template by heat

 heat stack-create wp-2-vm  -f WordPress_2_Instances.template -P "InstanceType=m1.medium;DBUsername=wordpress;DBPassword=worldpress;KeyName=ncepkey;LinuxDistribution=RHEL-6.3"

>From heat resource-list wp-2-vm, we can see 2 VM instances are created, also a floating IP and association with Webserver is there

[root@controller-1 heat(keystone_ncep)]# heat resource-list wp-2-vm 
+----------------+--------------------------+-----------------+----------------------+
| Name | Type | Status | Updated |
+----------------+--------------------------+-----------------+----------------------+
| DatabaseServer | AWS::EC2::Instance | CREATE_COMPLETE | 2013-08-05T07:14:04Z |
| IPAddress | AWS::EC2::EIP | CREATE_COMPLETE | 2013-08-05T07:14:13Z |
| WebServer | AWS::EC2::Instance | CREATE_COMPLETE | 2013-08-05T07:14:13Z |
| IPAssoc | AWS::EC2::EIPAssociation | CREATE_COMPLETE | 2013-08-05T07:14:14Z |
+----------------+--------------------------+-----------------+----------------------+

->Try wordpress website with floating IP of WebServer VM instance

[root@controller-1 heat(keystone_ncep)]# nova list
+--------------------------------------+--------------------------------------------+--------+-------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+--------------------------------------------+--------+-------------------------------------+
| 4879bb03-bc20-4c33-91e2-d4a7e197d2e5 | wp-2-vm.DatabaseServer | ACTIVE | ncep-net=10.20.20.18 |
| 8e1dc2c7-bc34-4e5d-b833-b64dc8a12c9b | wp-2-vm.WebServer | ACTIVE | ncep-net=10.20.20.19, 10.68.124.103 |
+--------------------------------------+--------------------------------------------+--------+-------------------------------------+

http://10.68.124.103/wordpress


3.Deploy a wordpress blog server with EBS volume as mysql DB storage


This template deploy a VM instance with httpd, wordpress and mysql-server installed, a EBS volume is attached to instance as Mysql DB storage point.


->Download the template



->Deploy


heat stack-create wp-ebs -f WordPress_Single_Instance_With_EBS_EIP.template -P "VolumeSize=5;InstanceType=m1.medium;DBUsername=wordpress;DBPassword=worldpress;KeyName=ncepkey;LinuxDistribution=RHEL-6.3"


#Here we need use parameter "VolumeSize" to specify the volume size we intend to use as DB storage.


->From resource list , we can see it has volume and volume attachment there

[root@controller-1 heat(keystone_ncep)]# heat resource-list wp-ebs
+-------------------------+----------------------------+-----------------+----------------------+
| Name | Type | Status | Updated |
+-------------------------+----------------------------+-----------------+----------------------+
| DataVolume | AWS::EC2::Volume | CREATE_COMPLETE | 2013-08-05T07:35:48Z |
| WikiServerSecurityGroup | AWS::EC2::SecurityGroup | CREATE_COMPLETE | 2013-08-05T07:35:48Z |
| IPAddress | AWS::EC2::EIP | CREATE_COMPLETE | 2013-08-05T07:35:59Z |
| WikiServer | AWS::EC2::Instance | CREATE_COMPLETE | 2013-08-05T07:35:59Z |
| IPAssoc | AWS::EC2::EIPAssociation | CREATE_COMPLETE | 2013-08-05T07:36:00Z |
| MountPoint | AWS::EC2::VolumeAttachment | CREATE_COMPLETE | 2013-08-05T07:36:02Z |
+-------------------------+----------------------------+-----------------+----------------------+


->Check volume and attachment


[root@controller-1 heat(keystone_ncep)]# cinder list
+--------------------------------------+--------+-------------------------+------+-------------+----------+--------------------------------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+--------+-------------------------+------+-------------+----------+--------------------------------------+
| 16c9c84f-9bf3-43c7-853d-453ec161b170 | in-use | wp-ebs.DataVolume | 5 | None | false | 0738154d-8d58-4a84-a5fc-71774228105d |
+--------------------------------------+--------+-------------------------+------+-------------+----------+--------------------------------------+

Inside vm, we can check mounts:

[root@wp-ebs ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 5.0G 1.6G 3.1G 34% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/vdb1 938M 39M 853M 5% /var/lib/mysql


->Try to access wordpress by floating IP.


4.Deploy a wordpress blog server with HA protection enabled


This template deploy a VM instance with wordpress server installed, and HA is enabled to monitor httpd/mysqld services to make sure they are already running.


->Download template:



->Assign admin role to the tenant user by "  keystone user-role-add" command.


To use HA, waitcondition resource is needed, which  needs to create an ec2signed url and to do that it creates a restricted user in keystone. To create any user in keystone we need admin rights:( 


This issue has been addressed by a bug ticket:  https://bugs.launchpad.net/bugs/1089261


  keystone user-role-add  --user --role   --tenant-id


->Deploy


heat stack-create wp-ha -f WordPress_Single_Instance_With_HA.template -P "HupPollInterval=1;InstanceType=m1.medium;DBUsername=wordpress;DBPassword=worldpress;KeyName=ncepkey;LinuxDistribution=RHEL-6.3" 


#Parameter "HupPollInterval" is needed to specify the cfn-hup process running interval in minutes, cfn-hup is to check services status, and restart them if return code of "service status" is not "0".


->Check resource


[root@controller-1 heat(keystone_ncep)]# heat resource-list wp-ha
+---------------+------------------------------------------+-----------------+----------------------+
| Name | Type | Status | Updated |
+---------------+------------------------------------------+-----------------+----------------------+
| CfnUser | AWS::IAM::User | CREATE_COMPLETE | 2013-08-05T07:53:30Z |
| WaitHandle | AWS::CloudFormation::WaitConditionHandle | CREATE_COMPLETE | 2013-08-05T07:53:30Z |
| WebServerKeys | AWS::IAM::AccessKey | CREATE_COMPLETE | 2013-08-05T07:53:30Z |
| WaitCondition | AWS::CloudFormation::WaitCondition | IN_PROGRESS | 2013-08-05T07:53:41Z |
| WikiDatabase | AWS::EC2::Instance | CREATE_COMPLETE | 2013-08-05T07:53:41Z |
+---------------+------------------------------------------+-----------------+----------------------+

Here "WaitCondition" actually is waiting VM instance is properly started and configured, then goes to next step

Whole resource list after create_complete:

[root@controller-1 heat(keystone_ncep)]# heat resource-list wp-ha
+------------------------+------------------------------------------+-----------------+----------------------+
| Name | Type | Status | Updated |
+------------------------+------------------------------------------+-----------------+----------------------+
| CfnUser | AWS::IAM::User | CREATE_COMPLETE | 2013-08-05T07:53:30Z |
| WebServerKeys | AWS::IAM::AccessKey | CREATE_COMPLETE | 2013-08-05T07:53:30Z |
| WaitHandle | AWS::CloudFormation::WaitConditionHandle | CREATE_COMPLETE | 2013-08-05T07:54:41Z |
| WikiDatabase | AWS::EC2::Instance | CREATE_COMPLETE | 2013-08-05T07:54:41Z |
| HttpFailureAlarm | AWS::CloudWatch::Alarm | CREATE_COMPLETE | 2013-08-05T07:54:47Z |
| WaitCondition | AWS::CloudFormation::WaitCondition | CREATE_COMPLETE | 2013-08-05T07:54:47Z |
| WebServerRestartPolicy | OS::Heat::HARestarter | CREATE_COMPLETE | 2013-08-05T07:54:47Z |
+------------------------+------------------------------------------+-----------------+----------------------+

Resource "OS::Heat::HARestart" takes care of service HA.

->Try to access wordpress web by floating IP

Login page should show up.

->Try HA by stopping httpd service

In the VM, do service httpd stop.

Check cfn-hup.log

[root@wp-ha ~]# tail -f /var/log/cfn-hup.log

DEBUG [2013-08-05 16:28:02,552] Running command: /sbin/service httpd status
DEBUG [2013-08-05 16:28:02,609] Return code of 3 after executing: '['su', 'root', '-c', u'/sbin/service httpd status']'
WARNING [2013-08-05 16:28:02,610] Restarting service httpd
DEBUG [2013-08-05 16:28:02,610] Running command: /sbin/service httpd start
DEBUG [2013-08-05 16:28:02,732] Running command: /etc/cfn/notify-on-httpd-restarted
DEBUG [2013-08-05 16:28:03,634] Running command: /sbin/service mysqld status
DEBUG [2013-08-05 16:28:03,714] Running command: /sbin/service crond status

We can see once cfn-hup found httpd service has problem, it tried to start httpd service.

->Check wordpress web access again, it should work again.





OpenStack Heat Research


Heat is a template-based orchestration mechanism for use with OpenStack. With Heat, you can deploy collections of resources –networks,servers, storage, and more– all from a single, parameterized template.







Heat in Openstack




Auto-scaling

Design Improvement

Designin Grizzly





The diagram above illustrates how the metric collection works in grizzly heat - all metric data is collected via a "cfn-push-stats"agent (typically via a cron job defined in the stack template), which requires credentials (a keystone ec2-keypair) to be deployed inside the instance.  The metric data is stored in the heat-engine database, and a periodic task evaluates the currently stored data against the alarm thresholds defined in the template.  All inall, a crude (but simple) mechanism which has proven sufficient forinitial Heat development purposes in the absence of ceilometermetric/alarm functionality.

Design in Havana



The Havana Heat metric collection mechanism will look different,introducing a dependency on the ceilometer service, which can provide access to the hypervisor level statistics, avoiding the in-instance aspect of the method described above for many metric types, which will provide a many benefits:

  • AlignMechanismwith one openstack metric/alarm solution

  • Somealarms can use existing hypervisor-level metrics instead ofin-instance agent

  • Allowextensible alarm resources via Provider templates

  • Removalof heat-engine periodic evaluation tasks (which will allow easierengine scale-out)



Mechanism Details:

First,when Heat creates the auto scaling system with thebasic template:

  • A Load Balancer is created (a VM with haproxy inside, HAProxyis an open source TCP/HTTP load balancer, commonly used to improve the performance of web sites and services by spreading requests across multiple servers.)

  • A first VM of the Auto Scaling Group (AG) withAG tags injected as nova user metadata, to easily identify the group in Ceilometer.

  • Two alarms (one for downscaling, one for upscaling), each alarm is configured to match cpu_util metrics of the AG and to call back the Heat API to trigger the upscaling or the downscaling.

Next,in Ceilometer, themetering records the OpenStack metrics and thealarming evaluates each alarm to see if the threshold is reached. If it’s reached, Ceilometer calls the alarm action. For the autoscaling system, thisaction (previously configured by Heat) calls back the Heat API to trigger the Up (or Down) scaling. And when Heat receives this API call, it starts(or destroys) a VM.



Auto-scaling Resources



OS::AutoScale::ScalingGroup

A scaling group that can manage the scaling of arbitrary Heat resources.

Properties:

  • name:Convenient name.

  • max_size:Maximum size of the group.

  • min_size:Minimum size of the group.

  • cooldown:The minimum amount of time (in seconds) between autoscaling operations permitted on this group.

  • resources:Thescaling unit. The mapping of resources that will be duplicated in order to scale.



OS::AutoScale::ScalingPolicy

A scaling policy describes a particular type of change to a scaling group, such as "add -1 capacity" or "add +10%capacity" or "set 5 capacity".

Properties:

  • name:Convenient name

  • group_id:ID of the group that this policy will affect

  • cooldown:minimum amount of time (in seconds) between allowable executions ofthis policy.

  • change:a number that has an effect based onchange_type.

  • change_type:one of "change_in_capacity","percentage_change_in_capacity", or "exact_capacity" -- describes what this policy does (and the meaning of "change")



OS::AutoScale::WebHook

Represents a revokable webhook endpoint for executing a policy.

For example, when you create a webhook for a policy, a new URL endpoint will be created in the form of http://as-api/webhooks/<random_hash>.When that URL is requested, the policy will be executed.

This resource will be useful in combination with a Ceilometer Alarm resource that knows how to set up Ceilometer to execute a webhook when an alert happens

Properties:

  • policy_id:The ID of the policy to execute.

  • webhook_url:The webhook URL.





AWS & AWS Template & AWS Auto-scaling

AWS: Amazon Web Services is a collection of remote computing services(also called web services) that together make up a cloud computing platform. The most central and well-known of these services are Amazon EC2 andAmazonS3.

EC2: Amazon Elastic Compute Cloud is acentralpart of Amazon.com's cloud computing platform, Amazon WebServices. EC2 allows users torent virtual computers on which to run their own computer applications. EC2 allows scalable deployment of applications by providing a Web service through which a user can boot an Amazon Machine Image tocreate a virtual machine, which Amazon calls an "instance",containing any software desired.

S3Simple Storage Service is an online file storage web service offered by Amazon Web Services.

EBSAmazon Elastic Block Storage provides raw block devices that can be attached to Amazon EC2 instances. These block devices can then be used like any raw block device.

Amazon CloudWatchprovides monitoring for AWS cloud resources and applications.

AWS CloudFormationgives developers and systems administrators an easy way to create and manage a collection of related AWS resources.

AWS Template formation :http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/gettingstarted.templatebasics.html

Directly Call Auto Scaling APIs Using Query Requests :

http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/api_requests.html


Heat运行机制探究——从Template启动Stack

一、背景


  由于网上没有对Heat从Template启动Stack的运行机制的资料,只能通过实验,从log入手自己探究。

  示例模板为2014-03-07的 Heat Auto-scaling 模板(webServerAutoscalingGroup.template),模板功能为:建立一个Min=1,Max=3的AutoScalingGroup,如果CPU 10秒之内平均负载超过90%,增加一台VM,如果CPU 10秒之内平均负载低于50%,减少一台VM。


二、模板的执行过程


Heat向Keystone请求服务信息,请求体中包含token(如果这是Heat第一次执行指令,前面还会有获取token的一步)
Keystone返回当已安装服务的信息,主要包括服务id和url等
检验Template中的各个资源是否合法
创建ScaleUpPolicy资源
  创建与ScaleUpPolicy资源相关的用户mystack-ScaleUpPolicy-o2sbndgrybil
  获取mystack-ScaleUpPolicy-o2sbndgrybil用户的credential,请求体中包含与admin相同的tenant_id
  创建资源


创建InstanceSecurityGroup资源

创建ScaleDownPolicy资源(与ScaleUpPolicy类似)

向Ceilometer注册CPUAlarmLow
  向keystone获取mystack-ScaleDownPolicy-2n5c3vql5b2o用户的信息
  向Ceilometer注册,其中alarm action为heat创建的webhook

向Ceilometer注册CPUAlarmHigh(与CPUAlarmLow类似)

创建WebServerGroup资源
  获取keypairs
  获取images
  获取flavors
  创建instance



三、探究过程


  1、打开heat的debug功能:编辑/etc/heat/heat.conf,修改debug选项为debug=true

  2、执行创建stack的命令:heat --debug stack-create -f webServerAutoscalingGroup.template mystack

        说明:使用 --debug 后,屏幕上会打出heat的执行过程,过程很粗略,只有heat和keystone的交互,对于stack的创建过程只有一步说明。这里我们需要的是keystone返回的服务信息,由于log中会有id、端口等信息,我们需要通过这些信息来推测服务,因此这里的服务信息很重要。

  3、从keystone返回的服务信息中获取服务的端口(建议使用 http://www.kjson.com/jsonparser/ 整理服务信息,便于观察)

        我的实验环境的服务信息是(url有三种,admin,internal和public)

        nova: 8774(all)
        cinder: 8776(all)
        glance: 9292(all)
        ceilometer: 8777(all)
        heat-cfn: 8000(all)
        heat: 8004(all)
        keystone: 35357(admin) 5000(internal public)

  4、获取环境中的其它信息(资源和资源id的对应关系)





  

  5、有了这些信息,我们就可以分析log了,打开/var/log/heat/heat-engine.log:

        我把完整的log贴在下面,其中做的一些分隔和注释是我的分析过程

  1. 2014-03-07 14:12:55.473 27338 DEBUG heat.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_msg_id': u'ac86d6291bf8445a8283b4ba292990b2', u'_context_password': '<SANITIZED>', u'_context_auth_url': u'http://controller:5000/v2.0', u'_unique_id': u'a43f49209dfe40128b485d7337466961', u'_reply_q': u'reply_8d7eecf3616545dda708abcdc838b640', u'_context_aws_creds': None, u'args': {u'stack_name': u'mystack', u'files': {}, u'args': {u'disable_rollback': True, u'timeout_mins': 60}, u'params': {u'parameters': {}, u'resource_registry': {}}, u'template': {u'AWSTemplateFormatVersion': u'2014-03-06', u'Parameters': {u'SSHLocation': {u'Type': u'String', u'Description': u'The IP address range that can be used to SSH to the EC2 instances', u'Default': u'0.0.0.0/0', u'MinLength': u'9', u'AllowedPattern': u'(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})', u'MaxLength': u'18', u'ConstraintDescription': u'must be a valid IP CIDR range of the form x.x.x.x/x.'}, u'WebServerPort': {u'Default': u'8888', u'Type': u'String', u'Description': u'TCP/IP port of the web server'}, u'KeyName': {u'Default': u'damonkey', u'Type': u'String', u'Description': u'Name of an existing EC2 KeyPair to enable SSH access to the instances'}, u'InstanceType': {u'Default': u'm1.small', u'Type': u'String', u'ConstraintDescription': u'must be a valid EC2 instance type.', u'Description': u'WebServer EC2 instance type'}}, u'Resources': {u'WebServerGroup': {u'Type': u'AWS::AutoScaling::AutoScalingGroup', u'Properties': {u'MinSize': u'1', u'MaxSize': u'3', u'AvailabilityZones': {u'Fn::GetAZs': u''}, u'LaunchConfigurationName': {u'Ref': u'LaunchConfig'}}}, u'CPUAlarmLow': {u'Type': u'OS::Ceilometer::Alarm', u'Properties': {u'meter_name': u'cpu_util', u'alarm_actions': [{u'Fn::GetAtt': [u'ScaleDownPolicy', u'AlarmUrl']}], u'description': u'Scale-down if CPU is less than 50% for 10 seconds', u'matching_metadata': {u'metadata.user_metadata.server_group': u'WebServerGroup'}, u'evaluation_periods': u'1', u'period': u'10', u'statistic': u'avg', u'threshold': u'50', u'comparison_operator': u'lt'}}, u'LaunchConfig': {u'Type': u'AWS::AutoScaling::LaunchConfiguration', u'Properties': {u'UserData': {u'Fn::Base64': {u'Ref': u'WebServerPort'}}, u'KeyName': {u'Ref': u'KeyName'}, u'SecurityGroups': [{u'Ref': u'InstanceSecurityGroup'}], u'InstanceType': {u'Ref': u'InstanceType'}, u'ImageId': u'CirrOS 0.3.1'}}, u'ScaleDownPolicy': {u'Type': u'AWS::AutoScaling::ScalingPolicy', u'Properties': {u'ScalingAdjustment': u'-1', u'AutoScalingGroupName': u'WebServerGroup', u'Cooldown': u'60', u'AdjustmentType': u'ChangeInCapacity'}}, u'CPUAlarmHigh': {u'Type': u'OS::Ceilometer::Alarm', u'Properties': {u'meter_name': u'cpu_util', u'alarm_actions': [{u'Fn::GetAtt': [u'ScaleUpPolicy', u'AlarmUrl']}], u'description': u'Scale-up if CPU is greater than 90% for 10 seconds', u'matching_metadata': {u'metadata.user_metadata.server_group': u'WebServerGroup'}, u'evaluation_periods': u'1', u'period': u'10', u'statistic': u'avg', u'threshold': u'90', u'comparison_operator': u'gt'}}, u'ScaleUpPolicy': {u'Type': u'AWS::AutoScaling::ScalingPolicy', u'Properties': {u'ScalingAdjustment': u'1', u'AutoScalingGroupName': u'WebServerGroup', u'Cooldown': u'60', u'AdjustmentType': u'ChangeInCapacity'}}, u'InstanceSecurityGroup': {u'Type': u'AWS::EC2::SecurityGroup', u'Properties': {u'SecurityGroupIngress': [{u'ToPort': u'22', u'IpProtocol': u'tcp', u'FromPort': u'22', u'CidrIp': {u'Ref': u'SSHLocation'}}, {u'ToPort': {u'Ref': u'WebServerPort'}, u'IpProtocol': u'tcp', u'FromPort': {u'Ref': u'WebServerPort'}, u'CidrIp': u'0.0.0.0/0'}], u'GroupDescription': u'Enable SSH access and HTTP access on the configured port'}}}}}, u'_context_tenant': u'admin', u'_context_trustor_user_id': None, u'_context_trust_id': None, u'_context_auth_token': '<SANITIZED>', u'_context_is_admin': True, u'version': u'1.0', u'_context_tenant_id': u'b89cffbe8ffe46fda08947a731681a6a', u'namespace': None, u'method': u'create_stack', u'_context_username': u'admin'} _safe_log /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/common.py:277
  2. 2014-03-07 14:12:55.475 27338 DEBUG heat.openstack.common.rpc.amqp [-] unpacked context: {'username': u'admin', 'trustor_user_id': None, 'roles': [u'admin'], 'tenant_id': u'b89cffbe8ffe46fda08947a731681a6a', 'auth_token': '<SANITIZED>', 'auth_url': u'http://controller:5000/v2.0', 'trust_id': None, 'is_admin': True, 'password': '<SANITIZED>', 'aws_creds': None, 'tenant': u'admin'} _safe_log /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/common.py:277
  3. 2014-03-07 14:12:55.476 27338 INFO heat.engine.service [-] template is {u'AWSTemplateFormatVersion': u'2014-03-06', u'Resources': {u'WebServerGroup': {u'Type': u'AWS::AutoScaling::AutoScalingGroup', u'Properties': {u'MinSize': u'1', u'MaxSize': u'3', u'AvailabilityZones': {u'Fn::GetAZs': u''}, u'LaunchConfigurationName': {u'Ref': u'LaunchConfig'}}}, u'CPUAlarmLow': {u'Type': u'OS::Ceilometer::Alarm', u'Properties': {u'meter_name': u'cpu_util', u'alarm_actions': [{u'Fn::GetAtt': [u'ScaleDownPolicy', u'AlarmUrl']}], u'description': u'Scale-down if CPU is less than 50% for 10 seconds', u'matching_metadata': {u'metadata.user_metadata.server_group': u'WebServerGroup'}, u'evaluation_periods': u'1', u'period': u'10', u'statistic': u'avg', u'threshold': u'50', u'comparison_operator': u'lt'}}, u'LaunchConfig': {u'Type': u'AWS::AutoScaling::LaunchConfiguration', u'Properties': {u'UserData': {u'Fn::Base64': {u'Ref': u'WebServerPort'}}, u'KeyName': {u'Ref': u'KeyName'}, u'SecurityGroups': [{u'Ref': u'InstanceSecurityGroup'}], u'InstanceType': {u'Ref': u'InstanceType'}, u'ImageId': u'CirrOS 0.3.1'}}, u'ScaleDownPolicy': {u'Type': u'AWS::AutoScaling::ScalingPolicy', u'Properties': {u'ScalingAdjustment': u'-1', u'AutoScalingGroupName': u'WebServerGroup', u'Cooldown': u'60', u'AdjustmentType': u'ChangeInCapacity'}}, u'CPUAlarmHigh': {u'Type': u'OS::Ceilometer::Alarm', u'Properties': {u'meter_name': u'cpu_util', u'alarm_actions': [{u'Fn::GetAtt': [u'ScaleUpPolicy', u'AlarmUrl']}], u'description': u'Scale-up if CPU is greater than 90% for 10 seconds', u'matching_metadata': {u'metadata.user_metadata.server_group': u'WebServerGroup'}, u'evaluation_periods': u'1', u'period': u'10', u'statistic': u'avg', u'threshold': u'90', u'comparison_operator': u'gt'}}, u'ScaleUpPolicy': {u'Type': u'AWS::AutoScaling::ScalingPolicy', u'Properties': {u'ScalingAdjustment': u'1', u'AutoScalingGroupName': u'WebServerGroup', u'Cooldown': u'60', u'AdjustmentType': u'ChangeInCapacity'}}, u'InstanceSecurityGroup': {u'Type': u'AWS::EC2::SecurityGroup', u'Properties': {u'SecurityGroupIngress': [{u'ToPort': u'22', u'IpProtocol': u'tcp', u'CidrIp': {u'Ref': u'SSHLocation'}, u'FromPort': u'22'}, {u'ToPort': {u'Ref': u'WebServerPort'}, u'IpProtocol': u'tcp', u'CidrIp': u'0.0.0.0/0', u'FromPort': {u'Ref': u'WebServerPort'}}], u'GroupDescription': u'Enable SSH access and HTTP access on the configured port'}}}, u'Parameters': {u'SSHLocation': {u'ConstraintDescription': u'must be a valid IP CIDR range of the form x.x.x.x/x.', u'Description': u'The IP address range that can be used to SSH to the EC2 instances', u'Default': u'0.0.0.0/0', u'MinLength': u'9', u'AllowedPattern': u'(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})/(\\d{1,2})', u'MaxLength': u'18', u'Type': u'String'}, u'KeyName': {u'Default': u'damonkey', u'Type': u'String', u'Description': u'Name of an existing EC2 KeyPair to enable SSH access to the instances'}, u'WebServerPort': {u'Default': u'8888', u'Type': u'String', u'Description': u'TCP/IP port of the web server'}, u'InstanceType': {u'Default': u'm1.small', u'ConstraintDescription': u'must be a valid EC2 instance type.', u'Type': u'String', u'Description': u'WebServer EC2 instance type'}}}
  4. //向keystone请求服务信息
  5. 2014-03-07 14:12:55.591 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:5000/v2.0/tokens -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X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pZCI6ICJkNzAwNTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAFfav5gNAAd3B32jJhXQc-86-xU9itajAUzKsxujobFMx13A7ORfSVsR-WGXMNS5vN8YPdbMZdyir3Ik7-AvBIHS6OtBkzPQjh8ksTriVGkqfrUemGbsTJJhyoAhFq6THeXwa+z0xt3CAhltz2-7kTvC9FMG3iMbkjOL2Tqy0XaylmRYNXkSYMwjMwc-WvFGWumvgZOBOmN+ZNAqEwFTbSvlxEwrJXdLtxYGOhbe5qn+4u7g1C9eQMRR1nUwotJzmTdjjm2qSUDMcBpx3MFf2loPAxWlf0idcPWk6H6Wn9IswRNYZquusDQpdF0Be1bPpP+oEZOnaU44vp1dAv7Hz6Q=="}, "tenantName": "admin"}}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  6. 2014-03-07 14:12:55.593 27338 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller
  7. 2014-03-07 14:12:55.685 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 7700 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  8. //keystone返回当前各类服务信息,包括服务的url等
  9. 2014-03-07 14:12:55.686 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:55 GMT', 'content-type': 'application/json', 'content-length': '7700', 'vary': 'X-Auth-Token'}
  10. RESP BODY: {"access": {"token": {"issued_at": "2014-03-07T06:12:55.633663", "expires": "2014-03-08T06:12:55Z", "id": "MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS42MzM2NjMiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgImlkIjogIjBhOGE0YjRiNzcxMDQ2YTA4NTY1YjdkOWRiZmQ0MTVhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAi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A1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEARFCBi55pmjWN4QarvbGpiMG2TfCROeZKhkuvn4hAVF42RH7p1ceNVh4qNIDZp0m+7upELuLeOXEoL0izrVOaJ+gPyWgPxPHqeZ4qFPYFIXwZHhrxh78D-HoPbELEkHlF3gkLNibAlQAMTLYnhmOzGAUfaRI8i86AXVbA9UDXvdUCQKpSnhvgTswozlsept3Mt6gpwY1fJN0PbrM7Rshf3SPl+M2SZr6hd9Fs23UeBAXEMjnqAoQKK3Y3QFFODF-xTJquWAetnWWBq9o7GrVTedw59IrxTDQo2LAxbdRNELzlJmgEHzq6x-KnJ-R-Ut0QCsywkdMA3DlWns4CnJDhhw==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "b89cffbe8ffe46fda08947a731681a6a", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "0a8a4b4b771046a08565b7d9dbfd415a", "publicURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "d6261d371c7f4eedbb99154622635333", "publicURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "a35197923f134c45a3b3620ad74886c3", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8777", "region": "regionOne", "internalURL": "http://controler:8777", "id": "044e2e605fea4af0be5ab8337611873d", "publicURL": "http://controller:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://controller:8000/v1", "region": "regionOne", "internalURL": "http://controller:8000/v1", "id": "405a191e3e7f4ba2b2f86fc14eb88330", "publicURL": "http://controller:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "20ba4cd916424d16973fe247e0044029", "publicURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "c4a2d8aa069c42d8b2a904f384733e57", "publicURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "5cfdba1a94c840afb3667ddcc4b92f59", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "d70055bb27854bdd8c3ca7533866347c", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["a38d2b92365b40af9ffe7793ab833ae4"]}}}
  11. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  12. 2014-03-07 14:12:55.690 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:5000/v2.0/tokens -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: MIINpA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NTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAFfav5gNAAd3B32jJhXQc-86-xU9itajAUzKsxujobFMx13A7ORfSVsR-WGXMNS5vN8YPdbMZdyir3Ik7-AvBIHS6OtBkzPQjh8ksTriVGkqfrUemGbsTJJhyoAhFq6THeXwa+z0xt3CAhltz2-7kTvC9FMG3iMbkjOL2Tqy0XaylmRYNXkSYMwjMwc-WvFGWumvgZOBOmN+ZNAqEwFTbSvlxEwrJXdLtxYGOhbe5qn+4u7g1C9eQMRR1nUwotJzmTdjjm2qSUDMcBpx3MFf2loPAxWlf0idcPWk6H6Wn9IswRNYZquusDQpdF0Be1bPpP+oEZOnaU44vp1dAv7Hz6Q=="}, "tenantId": "b89cffbe8ffe46fda08947a731681a6a"}}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  13. 2014-03-07 14:12:55.817 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 7700 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  14. 2014-03-07 14:12:55.818 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:55 GMT', 'content-type': 'application/json', 'content-length': '7700', 'vary': 'X-Auth-Token'}
  15. RESP BODY: {"access": {"token": {"issued_at": "2014-03-07T06:12:55.767729", "expires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BwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "b89cffbe8ffe46fda08947a731681a6a", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "0a8a4b4b771046a08565b7d9dbfd415a", "publicURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "d6261d371c7f4eedbb99154622635333", "publicURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "a35197923f134c45a3b3620ad74886c3", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8777", "region": "regionOne", "internalURL": "http://controler:8777", "id": "044e2e605fea4af0be5ab8337611873d", "publicURL": "http://controller:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://controller:8000/v1", "region": "regionOne", "internalURL": "http://controller:8000/v1", "id": "405a191e3e7f4ba2b2f86fc14eb88330", "publicURL": "http://controller:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "20ba4cd916424d16973fe247e0044029", "publicURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "c4a2d8aa069c42d8b2a904f384733e57", "publicURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "5cfdba1a94c840afb3667ddcc4b92f59", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "d70055bb27854bdd8c3ca7533866347c", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["a38d2b92365b40af9ffe7793ab833ae4"]}}}
  16. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  17. 2014-03-07 14:12:55.823 27338 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller
  18. 2014-03-07 14:12:55.914 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/os-availability-zone HTTP/1.1" 200 97 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  19. //检验template中的各类资源是否合法
  20. 2014-03-07 14:12:55.950 27338 INFO heat.engine.resource [-] Validating ScalingPolicy "ScaleUpPolicy"
  21. 2014-03-07 14:12:55.950 27338 INFO heat.engine.resource [-] Validating SecurityGroup "InstanceSecurityGroup"
  22. 2014-03-07 14:12:55.951 27338 INFO heat.engine.resource [-] Validating LaunchConfiguration "LaunchConfig"
  23. 2014-03-07 14:12:55.952 27338 INFO heat.engine.resource [-] Validating AutoScalingGroup "WebServerGroup"
  24. 2014-03-07 14:12:55.952 27338 INFO heat.engine.resource [-] Validating ScalingPolicy "ScaleDownPolicy"
  25. 2014-03-07 14:12:55.953 27338 INFO heat.engine.resource [-] Validating CeilometerAlarm "CPUAlarmLow"
  26. 2014-03-07 14:12:55.954 27338 INFO heat.engine.resource [-] Validating CeilometerAlarm "CPUAlarmHigh"
  27. 2014-03-07 14:12:56.039 27338 DEBUG heat.openstack.common.rpc.amqp [-] UNIQUE_ID is efc0696eba96480990ca28c2e0587852. _add_unique_id /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/amqp.py:341
  28. 2014-03-07 14:12:56.041 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  29. 2014-03-07 14:12:56.042 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  30. 2014-03-07 14:12:56.047 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  31. //创建ScaleUpPolicy资源
  32. 2014-03-07 14:12:56.047 27338 INFO heat.engine.resource [-] creating ScalingPolicy "ScaleUpPolicy"
  33. 2014-03-07 14:12:56.048 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  34. 2014-03-07 14:12:56.065 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  35. 2014-03-07 14:12:56.066 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  36. 2014-03-07 14:12:56.066 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  37. 2014-03-07 14:12:56.067 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  38. 2014-03-07 14:12:56.067 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  39. 2014-03-07 14:12:56.067 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  40. 2014-03-07 14:12:56.068 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  41. //创建与ScaleUpPolicy资源相关的mystack-ScaleUpPolicy-o2sbndgrybil用户,8ab54ef4840d4297826659ea8bd9cda6是此用户id
  42. 2014-03-07 14:12:56.068 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:35357/v2.0/users -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy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oHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" -d '{"user": {"email": "mystack-ScaleUpPolicy-o2sbndgrybil@heat-api.org", "password": "", "enabled": true, "name": "mystack-ScaleUpPolicy-o2sbndgrybil", "tenantId": "b89cffbe8ffe46fda08947a731681a6a"}}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  43. 2014-03-07 14:12:56.069 27338 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller
  44. 2014-03-07 14:12:56.078 27338 DEBUG heat.openstack.common.rpc.amqp [-] UNIQUE_ID is bfd08d9aa5a44d799ed7da2dbdf7a2ed. _add_unique_id /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/amqp.py:341
  45. 2014-03-07 14:12:56.106 27338 DEBUG heat.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'admin'], u'_msg_id': u'51a0803b2c88494ba8ce7d8889ef6011', u'_context_password': '<SANITIZED>', u'_context_auth_url': u'http://controller:5000/v2.0', u'_unique_id': u'65773795b3d34aa4b2121efbed226aae', u'_reply_q': u'reply_8d7eecf3616545dda708abcdc838b640', u'_context_aws_creds': None, u'args': {}, u'_context_tenant': u'admin', u'_context_trustor_user_id': None, u'_context_trust_id': None, u'_context_auth_token': '<SANITIZED>', u'_context_is_admin': True, u'version': u'1.0', u'_context_tenant_id': u'b89cffbe8ffe46fda08947a731681a6a', u'namespace': None, u'method': u'list_stacks', u'_context_username': None} _safe_log /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/common.py:277
  46. 2014-03-07 14:12:56.106 27338 DEBUG heat.openstack.common.rpc.amqp [-] unpacked context: {'username': None, 'trustor_user_id': None, 'roles': [u'admin'], 'tenant_id': u'b89cffbe8ffe46fda08947a731681a6a', 'auth_token': '<SANITIZED>', 'auth_url': u'http://controller:5000/v2.0', 'trust_id': None, 'is_admin': True, 'password': '<SANITIZED>', 'aws_creds': None, 'tenant': u'admin'} _safe_log /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/common.py:277
  47. 2014-03-07 14:12:56.116 27338 DEBUG heat.openstack.common.rpc.amqp [-] UNIQUE_ID is 1b55436f48634781bc4cc81c2944c2ca. _add_unique_id /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/amqp.py:341
  48. 2014-03-07 14:12:56.123 27338 DEBUG heat.openstack.common.rpc.amqp [-] UNIQUE_ID is e129a4b2aaf5491eb4027c38bb686eba. _add_unique_id /usr/lib/python2.6/site-packages/heat/openstack/common/rpc/amqp.py:341
  49. 2014-03-07 14:12:56.230 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/users HTTP/1.1" 200 223 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  50. 2014-03-07 14:12:56.230 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:56 GMT', 'content-type': 'application/json', 'content-length': '223', 'vary': 'X-Auth-Token'}
  51. RESP BODY: {"user": {"name": "mystack-ScaleUpPolicy-o2sbndgrybil", "id": "8ab54ef4840d4297826659ea8bd9cda6", "enabled": true, "email": "mystack-ScaleUpPolicy-o2sbndgrybil@heat-api.org", "tenantId": "b89cffbe8ffe46fda08947a731681a6a"}}
  52. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  53. 2014-03-07 14:12:56.231 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  54. 2014-03-07 14:12:56.232 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  55. 2014-03-07 14:12:56.232 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  56. 2014-03-07 14:12:56.232 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  57. 2014-03-07 14:12:56.232 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  58. 2014-03-07 14:12:56.232 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  59. 2014-03-07 14:12:56.233 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  60. //请求当前的roles,此时有_member_和admin两个role
  61. 2014-03-07 14:12:56.233 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/OS-KSADM/roles -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2Z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w==" request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  62. 2014-03-07 14:12:56.246 27338 DEBUG urllib3.connectionpool [-] "GET /v2.0/OS-KSADM/roles HTTP/1.1" 200 209 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  63. 2014-03-07 14:12:56.247 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:56 GMT', 'content-type': 'application/json', 'content-length': '209', 'vary': 'X-Auth-Token'}
  64. RESP BODY: {"roles": [{"enabled": "True", "description": "Default role for project membership", "name": "_member_", "id": "9fe2ff9ee4384b1894a90878d3e92bab"}, {"id": "a38d2b92365b40af9ffe7793ab833ae4", "name": "admin"}]}
  65. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  66. //尝试将mystack-ScaleUpPolicy-o2sbndgrybil添加到heat_stack_user这个role中,但这个role不存在
  67. 2014-03-07 14:12:56.247 27338 ERROR heat.common.keystoneclient [-] Failed to add user mystack-ScaleUpPolicy-o2sbndgrybil to role heat_stack_user, check role exists!
  68. 2014-03-07 14:12:56.248 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  69. 2014-03-07 14:12:56.248 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  70. 2014-03-07 14:12:56.248 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  71. 2014-03-07 14:12:56.249 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  72. 2014-03-07 14:12:56.249 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  73. 2014-03-07 14:12:56.249 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  74. 2014-03-07 14:12:56.249 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  75. //获取mystack-ScaleUpPolicy-o2sbndgrybil用户的credencial,请求体中不包含tenant_id,返回为空
  76. 2014-03-07 14:12:56.249 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/users/8ab54ef4840d4297826659ea8bd9cda6/credentials/OS-EC2 -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ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cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICJkNzAwNTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  77. 2014-03-07 14:12:56.275 27338 DEBUG urllib3.connectionpool [-] "GET /v2.0/users/8ab54ef4840d4297826659ea8bd9cda6/credentials/OS-EC2 HTTP/1.1" 200 19 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  78. 2014-03-07 14:12:56.275 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:56 GMT', 'content-type': 'application/json', 'content-length': '19', 'vary': 'X-Auth-Token'}
  79. RESP BODY: {"credentials": []}
  80. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  81. 2014-03-07 14:12:56.276 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  82. 2014-03-07 14:12:56.276 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  83. 2014-03-07 14:12:56.276 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  84. 2014-03-07 14:12:56.277 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  85. 2014-03-07 14:12:56.277 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  86. 2014-03-07 14:12:56.277 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  87. 2014-03-07 14:12:56.277 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  88. //获取mystack-ScaleUpPolicy-o2sbndgrybil用户的credential,请求体中包含与admin相同的tenant_id,此时返回不为空
  89. 2014-03-07 14:12:56.278 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:35357/v2.0/users/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AMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" -d '{"tenant_id": "b89cffbe8ffe46fda08947a731681a6a"}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  90. 2014-03-07 14:12:56.355 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/users/8ab54ef4840d4297826659ea8bd9cda6/credentials/OS-EC2 HTTP/1.1" 200 222 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  91. 2014-03-07 14:12:56.356 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:56 GMT', 'content-type': 'application/json', 'content-length': '222', 'vary': 'X-Auth-Token'}
  92. RESP BODY: {"credential": {"access": "ac4f8452357c498e821243b38c3e88e9", "tenant_id": "b89cffbe8ffe46fda08947a731681a6a", "secret": "acbd3f40654f407b84be60f7f18c5167", "user_id": "8ab54ef4840d4297826659ea8bd9cda6", "trust_id": null}}
  93. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  94. 2014-03-07 14:12:56.360 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  95. //创建InstanceSecurityGroup资源
  96. 2014-03-07 14:12:56.361 27338 INFO heat.engine.resource [-] creating SecurityGroup "InstanceSecurityGroup"
  97. 2014-03-07 14:12:56.362 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  98. 2014-03-07 14:12:56.400 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/os-security-groups HTTP/1.1" 200 408 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  99. 2014-03-07 14:12:56.578 27338 DEBUG urllib3.connectionpool [-] "POST /v2/b89cffbe8ffe46fda08947a731681a6a/os-security-groups HTTP/1.1" 200 221 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  100. 2014-03-07 14:12:56.713 27338 DEBUG urllib3.connectionpool [-] "POST /v2/b89cffbe8ffe46fda08947a731681a6a/os-security-group-rules HTTP/1.1" 200 160 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  101. 2014-03-07 14:12:56.845 27338 DEBUG urllib3.connectionpool [-] "POST /v2/b89cffbe8ffe46fda08947a731681a6a/os-security-group-rules HTTP/1.1" 200 164 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  102. 2014-03-07 14:12:56.846 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  103. //创建ScaleDownPolicy资源,与ScaleUpPolicy类似
  104. 2014-03-07 14:12:56.847 27338 INFO heat.engine.resource [-] creating ScalingPolicy "ScaleDownPolicy"
  105. 2014-03-07 14:12:56.847 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  106. 2014-03-07 14:12:56.861 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  107. 2014-03-07 14:12:56.861 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  108. 2014-03-07 14:12:56.861 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  109. 2014-03-07 14:12:56.861 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  110. 2014-03-07 14:12:56.862 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  111. 2014-03-07 14:12:56.862 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  112. 2014-03-07 14:12:56.862 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  113. 2014-03-07 14:12:56.863 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:35357/v2.0/users -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkI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vTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" -d '{"user": {"email": "mystack-ScaleDownPolicy-2n5c3vql5b2o@heat-api.org", "password": "", "enabled": true, "name": "mystack-ScaleDownPolicy-2n5c3vql5b2o", "tenantId": "b89cffbe8ffe46fda08947a731681a6a"}}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  114. 2014-03-07 14:12:57.015 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/users HTTP/1.1" 200 227 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  115. 2014-03-07 14:12:57.016 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:57 GMT', 'content-type': 'application/json', 'content-length': '227', 'vary': 'X-Auth-Token'}
  116. RESP BODY: {"user": {"name": "mystack-ScaleDownPolicy-2n5c3vql5b2o", "id": "49151eb22839454081036954d203cc14", "enabled": true, "email": "mystack-ScaleDownPolicy-2n5c3vql5b2o@heat-api.org", "tenantId": "b89cffbe8ffe46fda08947a731681a6a"}}
  117. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  118. 2014-03-07 14:12:57.017 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  119. 2014-03-07 14:12:57.017 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  120. 2014-03-07 14:12:57.017 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  121. 2014-03-07 14:12:57.017 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  122. 2014-03-07 14:12:57.018 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  123. 2014-03-07 14:12:57.018 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  124. 2014-03-07 14:12:57.018 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  125. 2014-03-07 14:12:57.018 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/OS-KSADM/roles -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8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9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICJkNzAwNTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  126. 2014-03-07 14:12:57.031 27338 DEBUG urllib3.connectionpool [-] "GET /v2.0/OS-KSADM/roles HTTP/1.1" 200 209 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  127. 2014-03-07 14:12:57.032 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:57 GMT', 'content-type': 'application/json', 'content-length': '209', 'vary': 'X-Auth-Token'}
  128. RESP BODY: {"roles": [{"enabled": "True", "description": "Default role for project membership", "name": "_member_", "id": "9fe2ff9ee4384b1894a90878d3e92bab"}, {"id": "a38d2b92365b40af9ffe7793ab833ae4", "name": "admin"}]}
  129. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  130. 2014-03-07 14:12:57.032 27338 ERROR heat.common.keystoneclient [-] Failed to add user mystack-ScaleDownPolicy-2n5c3vql5b2o to role heat_stack_user, check role exists!
  131. 2014-03-07 14:12:57.033 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  132. 2014-03-07 14:12:57.033 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  133. 2014-03-07 14:12:57.033 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  134. 2014-03-07 14:12:57.034 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  135. 2014-03-07 14:12:57.034 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  136. 2014-03-07 14:12:57.034 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  137. 2014-03-07 14:12:57.034 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  138. 2014-03-07 14:12:57.035 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/users/49151eb22839454081036954d203cc14/credentials/OS-EC2 -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgImlkIjogIjBhOGE0YjRiNzcxMDQ2YTA4NTY1YjdkOWRiZmQ0MTVhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjogW3si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IDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  139. 2014-03-07 14:12:57.050 27338 DEBUG urllib3.connectionpool [-] "GET /v2.0/users/49151eb22839454081036954d203cc14/credentials/OS-EC2 HTTP/1.1" 200 19 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  140. 2014-03-07 14:12:57.050 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:57 GMT', 'content-type': 'application/json', 'content-length': '19', 'vary': 'X-Auth-Token'}
  141. RESP BODY: {"credentials": []}
  142. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  143. 2014-03-07 14:12:57.051 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  144. 2014-03-07 14:12:57.051 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  145. 2014-03-07 14:12:57.051 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  146. 2014-03-07 14:12:57.052 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  147. 2014-03-07 14:12:57.052 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  148. 2014-03-07 14:12:57.052 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  149. 2014-03-07 14:12:57.052 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  150. 2014-03-07 14:12:57.053 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:35357/v2.0/users/49151eb22839454081036954d203cc14/credentials/OS-EC2 -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5h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731681a6a"}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  151. 2014-03-07 14:12:57.135 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/users/49151eb22839454081036954d203cc14/credentials/OS-EC2 HTTP/1.1" 200 222 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  152. 2014-03-07 14:12:57.135 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:57 GMT', 'content-type': 'application/json', 'content-length': '222', 'vary': 'X-Auth-Token'}
  153. RESP BODY: {"credential": {"access": "a757204c4947499890fb7e1a14b051d1", "tenant_id": "b89cffbe8ffe46fda08947a731681a6a", "secret": "3ed1c392c68d422eb559f3606c18285f", "user_id": "49151eb22839454081036954d203cc14", "trust_id": null}}
  154. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  155. 2014-03-07 14:12:57.140 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  156. 2014-03-07 14:12:57.140 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  157. 2014-03-07 14:12:57.154 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  158. 2014-03-07 14:12:57.155 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  159. 2014-03-07 14:12:57.169 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  160. 2014-03-07 14:12:57.169 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  161. 2014-03-07 14:12:57.183 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  162. 2014-03-07 14:12:57.183 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  163. 2014-03-07 14:12:57.184 27338 INFO heat.engine.resource [-] creating LaunchConfiguration "LaunchConfig"
  164. 2014-03-07 14:12:57.184 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  165. 2014-03-07 14:12:57.213 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  166. 2014-03-07 14:12:57.214 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  167. //向Ceilometer注册CPUAlarmLow
  168. 2014-03-07 14:12:57.214 27338 INFO heat.engine.resource [-] creating CeilometerAlarm "CPUAlarmLow"
  169. 2014-03-07 14:12:57.215 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  170. 2014-03-07 14:12:57.280 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  171. 2014-03-07 14:12:57.280 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  172. 2014-03-07 14:12:57.280 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  173. 2014-03-07 14:12:57.281 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  174. 2014-03-07 14:12:57.281 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  175. 2014-03-07 14:12:57.281 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  176. 2014-03-07 14:12:57.281 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  177. //向keystone获取mystack-ScaleDownPolicy-2n5c3vql5b2o用户的信息
  178. 2014-03-07 14:12:57.281 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/users/49151eb22839454081036954d203cc14/credentials/OS-EC2 -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6IC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JrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICJkNzAwNTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  179. 2014-03-07 14:12:57.298 27338 DEBUG urllib3.connectionpool [-] "GET /v2.0/users/49151eb22839454081036954d203cc14/credentials/OS-EC2 HTTP/1.1" 200 225 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  180. 2014-03-07 14:12:57.298 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:57 GMT', 'content-type': 'application/json', 'content-length': '225', 'vary': 'X-Auth-Token'}
  181. RESP BODY: {"credentials": [{"access": "a757204c4947499890fb7e1a14b051d1", "tenant_id": "b89cffbe8ffe46fda08947a731681a6a", "secret": "3ed1c392c68d422eb559f3606c18285f", "user_id": "49151eb22839454081036954d203cc14", "trust_id": null}]}
  182. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  183. //向Ceilometer注册CPUAlarmLow的关键步骤,其中alarm action为heat创建的webhook
  184. 2014-03-07 14:12:57.317 27338 DEBUG ceilometerclient.common.http [-] curl -i -X POST -H 'X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS4yNTU0ODEiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgImlkIjogIjBhOGE0YjRiNzcxMDQ2YTA4NTY1YjdkOWRiZmQ0MTVhIiw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yI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAFfav5gNAAd3B32jJhXQc-86-xU9itajAUzKsxujobFMx13A7ORfSVsR-WGXMNS5vN8YPdbMZdyir3Ik7-AvBIHS6OtBkzPQjh8ksTriVGkqfrUemGbsTJJhyoAhFq6THeXwa+z0xt3CAhltz2-7kTvC9FMG3iMbkjOL2Tqy0XaylmRYNXkSYMwjMwc-WvFGWumvgZOBOmN+ZNAqEwFTbSvlxEwrJXdLtxYGOhbe5qn+4u7g1C9eQMRR1nUwotJzmTdjjm2qSUDMcBpx3MFf2loPAxWlf0idcPWk6H6Wn9IswRNYZquusDQpdF0Be1bPpP+oEZOnaU44vp1dAv7Hz6Q==' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ceilometerclient' -d '{"threshold_rule": {"meter_name": "cpu_util", "evaluation_periods": "1", "period": "10", "statistic": "avg", "threshold": "50", "query": [{"field": "metadata.user_metadata.server_group", "value": "WebServerGroup", "op": "eq"}], "comparison_operator": "lt"}, "alarm_actions": ["http://127.0.0.1:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ab89cffbe8ffe46fda08947a731681a6a%3Astacks%2Fmystack%2Fd81659fd-4b7d-433a-8cc3-f1e7d874b1eb%2Fresources%2FScaleDownPolicy?Timestamp=2014-03-07T06%3A12%3A56Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=a757204c4947499890fb7e1a14b051d1&SignatureVersion=2&Signature=hggwrZvWRdTIX631EwRQh9FTvxsH9qxok5QTX2VVRXI%3D"], "type": "threshold", "description": "Scale-down if CPU is less than 50% for 10 seconds", "name": "mystack-CPUAlarmLow-65q6dmxa7qas"}' http://controller:8777/v2/alarms log_curl_request /usr/lib/python2.6/site-packages/ceilometerclient/common/http.py:111
  185. 2014-03-07 14:12:57.406 27338 DEBUG ceilometerclient.common.http [-]
  186. HTTP/1.0 201 Created
  187. date: Fri, 07 Mar 2014 06:12:57 GMT
  188. content-length: 1139
  189. content-type: application/json; charset=UTF-8
  190. server: WSGIServer/0.1 Python/2.6.6
  191. {"alarm_actions": ["http://127.0.0.1:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ab89cffbe8ffe46fda08947a731681a6a%3Astacks%2Fmystack%2Fd81659fd-4b7d-433a-8cc3-f1e7d874b1eb%2Fresources%2FScaleDownPolicy?Timestamp=2014-03-07T06%3A12%3A56Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=a757204c4947499890fb7e1a14b051d1&SignatureVersion=2&Signature=hggwrZvWRdTIX631EwRQh9FTvxsH9qxok5QTX2VVRXI%3D"], "ok_actions": [], "description": "Scale-down if CPU is less than 50% for 10 seconds", "timestamp": "2014-03-07T06:12:57.399000", "enabled": true, "state_timestamp": "2014-03-07T06:12:57.399000", "threshold_rule": {"meter_name": "cpu_util", "evaluation_periods": 1, "period": 10, "statistic": "avg", "threshold": 50.0, "query": [{"field": "metadata.user_metadata.server_group", "value": "WebServerGroup", "op": "eq"}], "comparison_operator": "lt"}, "alarm_id": "0eb9f712-35f2-4b91-af6b-9020fffe6eaa", "state": "insufficient data", "insufficient_data_actions": [], "repeat_actions": false, "user_id": "d70055bb27854bdd8c3ca7533866347c", "project_id": "b89cffbe8ffe46fda08947a731681a6a", "type": "threshold", "name": "mystack-CPUAlarmLow-65q6dmxa7qas"}
  192. log_http_response /usr/lib/python2.6/site-packages/ceilometerclient/common/http.py:121
  193. 2014-03-07 14:12:57.415 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  194. //向Ceilometer注册CPUAlarmHigh,与CPUAlarmLow类似
  195. 2014-03-07 14:12:57.415 27338 INFO heat.engine.resource [-] creating CeilometerAlarm "CPUAlarmHigh"
  196. 2014-03-07 14:12:57.416 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  197. 2014-03-07 14:12:57.424 27338 DEBUG iso8601.iso8601 [-] Parsed 2014-03-08T06:12:55Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'06', 'tz_hour': None, 'month': u'03', 'timezone': u'Z', 'second': u'55', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'day': u'08', 'minute': u'12'} with default timezone <iso8601.iso8601.Utc object at 0x20cf4d0> parse_date /usr/lib/python2.6/site-packages/iso8601/iso8601.py:166
  198. 2014-03-07 14:12:57.424 27338 DEBUG iso8601.iso8601 [-] Got u'2014' for 'year' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  199. 2014-03-07 14:12:57.425 27338 DEBUG iso8601.iso8601 [-] Got u'03' for 'month' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  200. 2014-03-07 14:12:57.425 27338 DEBUG iso8601.iso8601 [-] Got u'08' for 'day' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  201. 2014-03-07 14:12:57.425 27338 DEBUG iso8601.iso8601 [-] Got u'06' for 'hour' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  202. 2014-03-07 14:12:57.425 27338 DEBUG iso8601.iso8601 [-] Got u'12' for 'minute' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  203. 2014-03-07 14:12:57.425 27338 DEBUG iso8601.iso8601 [-] Got u'55' for 'second' with default None to_int /usr/lib/python2.6/site-packages/iso8601/iso8601.py:124
  204. 2014-03-07 14:12:57.426 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://controller:35357/v2.0/users/8ab54ef4840d4297826659ea8bd9cda6/credentials/OS-EC2 -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS43Njc3MjkiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODFhNmEiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgImlkIjogIjBhOGE0YjRiNzcxMDQ2YTA4NTY1YjdkOWRiZmQ0MTVhIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjog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VQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAPvfgfKI1IdCWXqow-wa72c7pMRzBUHeqvsS-E3zqTriXpQOiOlvHTDdxRdXAl08vyDo+PD6R5OwvO4qmI9G+QvvHxZ0o5rnzCg8LIOJIl98WhqCFJ1FCMlLfzoHibOFiFuZx91q7QPqJDr0km0c6A8E2dev+deSEDu8J0BjUDEnsf-eJ5Bux6e842vLFYDmGDYq3B0Aov-2qCiDed0tDfJkJyc9V2KVP+muMxPkyBXvQBIB+9uUoOpfkZPNnyspC1KQAcHqbhf3N+DfLMhuoSH-GESEbjieixQksoUfnujdvTc3mmrrAV5IuRBl5LHdsOnBglshcjj1O5q+CU7JbHw==" request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  205. 2014-03-07 14:12:57.444 27338 DEBUG urllib3.connectionpool [-] "GET /v2.0/users/8ab54ef4840d4297826659ea8bd9cda6/credentials/OS-EC2 HTTP/1.1" 200 225 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  206. 2014-03-07 14:12:57.444 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:57 GMT', 'content-type': 'application/json', 'content-length': '225', 'vary': 'X-Auth-Token'}
  207. RESP BODY: {"credentials": [{"access": "ac4f8452357c498e821243b38c3e88e9", "tenant_id": "b89cffbe8ffe46fda08947a731681a6a", "secret": "acbd3f40654f407b84be60f7f18c5167", "user_id": "8ab54ef4840d4297826659ea8bd9cda6", "trust_id": null}]}
  208. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  209. 2014-03-07 14:12:57.463 27338 DEBUG ceilometerclient.common.http [-] curl -i -X POST -H 'X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCS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ORfSVsR-WGXMNS5vN8YPdbMZdyir3Ik7-AvBIHS6OtBkzPQjh8ksTriVGkqfrUemGbsTJJhyoAhFq6THeXwa+z0xt3CAhltz2-7kTvC9FMG3iMbkjOL2Tqy0XaylmRYNXkSYMwjMwc-WvFGWumvgZOBOmN+ZNAqEwFTbSvlxEwrJXdLtxYGOhbe5qn+4u7g1C9eQMRR1nUwotJzmTdjjm2qSUDMcBpx3MFf2loPAxWlf0idcPWk6H6Wn9IswRNYZquusDQpdF0Be1bPpP+oEZOnaU44vp1dAv7Hz6Q==' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ceilometerclient' -d '{"threshold_rule": {"meter_name": "cpu_util", "evaluation_periods": "1", "period": "10", "statistic": "avg", "threshold": "90", "query": [{"field": "metadata.user_metadata.server_group", "value": "WebServerGroup", "op": "eq"}], "comparison_operator": "gt"}, "alarm_actions": ["http://127.0.0.1:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ab89cffbe8ffe46fda08947a731681a6a%3Astacks%2Fmystack%2Fd81659fd-4b7d-433a-8cc3-f1e7d874b1eb%2Fresources%2FScaleUpPolicy?Timestamp=2014-03-07T06%3A12%3A56Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=ac4f8452357c498e821243b38c3e88e9&SignatureVersion=2&Signature=QQu0TNqm4yhvbaUHzDYOOMkGg6IN4WpRHyN566lQSfw%3D"], "type": "threshold", "description": "Scale-up if CPU is greater than 90% for 10 seconds", "name": "mystack-CPUAlarmHigh-f5k4xofbbkkt"}' http://controller:8777/v2/alarms log_curl_request /usr/lib/python2.6/site-packages/ceilometerclient/common/http.py:111
  210. 2014-03-07 14:12:57.512 27338 DEBUG ceilometerclient.common.http [-]
  211. HTTP/1.0 201 Created
  212. date: Fri, 07 Mar 2014 06:12:57 GMT
  213. content-length: 1139
  214. content-type: application/json; charset=UTF-8
  215. server: WSGIServer/0.1 Python/2.6.6
  216. {"alarm_actions": ["http://127.0.0.1:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3Ab89cffbe8ffe46fda08947a731681a6a%3Astacks%2Fmystack%2Fd81659fd-4b7d-433a-8cc3-f1e7d874b1eb%2Fresources%2FScaleUpPolicy?Timestamp=2014-03-07T06%3A12%3A56Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=ac4f8452357c498e821243b38c3e88e9&SignatureVersion=2&Signature=QQu0TNqm4yhvbaUHzDYOOMkGg6IN4WpRHyN566lQSfw%3D"], "ok_actions": [], "description": "Scale-up if CPU is greater than 90% for 10 seconds", "timestamp": "2014-03-07T06:12:57.469000", "enabled": true, "state_timestamp": "2014-03-07T06:12:57.469000", "threshold_rule": {"meter_name": "cpu_util", "evaluation_periods": 1, "period": 10, "statistic": "avg", "threshold": 90.0, "query": [{"field": "metadata.user_metadata.server_group", "value": "WebServerGroup", "op": "eq"}], "comparison_operator": "gt"}, "alarm_id": "a4dd3f23-c062-44dd-9368-2e2d9e804e16", "state": "insufficient data", "insufficient_data_actions": [], "repeat_actions": false, "user_id": "d70055bb27854bdd8c3ca7533866347c", "project_id": "b89cffbe8ffe46fda08947a731681a6a", "type": "threshold", "name": "mystack-CPUAlarmHigh-f5k4xofbbkkt"}
  217. log_http_response /usr/lib/python2.6/site-packages/ceilometerclient/common/http.py:121
  218. 2014-03-07 14:12:57.521 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" sleeping _sleep /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:108
  219. 2014-03-07 14:12:58.521 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  220. 2014-03-07 14:12:58.522 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  221. 2014-03-07 14:12:58.538 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  222. 2014-03-07 14:12:58.538 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  223. 2014-03-07 14:12:58.554 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  224. 2014-03-07 14:12:58.555 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  225. //创建WebServerGroup资源
  226. 2014-03-07 14:12:58.555 27338 INFO heat.engine.resource [-] creating AutoScalingGroup "WebServerGroup"
  227. 2014-03-07 14:12:58.556 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  228. 2014-03-07 14:12:58.576 27338 INFO heat.engine.resource [-] Validating Instance "WebServerGroup-0"
  229. 2014-03-07 14:12:58.679 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:5000/v2.0/tokens -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS4yNTU0ODEiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y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THeXwa+z0xt3CAhltz2-7kTvC9FMG3iMbkjOL2Tqy0XaylmRYNXkSYMwjMwc-WvFGWumvgZOBOmN+ZNAqEwFTbSvlxEwrJXdLtxYGOhbe5qn+4u7g1C9eQMRR1nUwotJzmTdjjm2qSUDMcBpx3MFf2loPAxWlf0idcPWk6H6Wn9IswRNYZquusDQpdF0Be1bPpP+oEZOnaU44vp1dAv7Hz6Q=="}, "tenantName": "admin"}}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  230. 2014-03-07 14:12:58.680 27338 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller
  231. 2014-03-07 14:12:58.772 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 7700 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  232. 2014-03-07 14:12:58.773 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:58 GMT', 'content-type': 'application/json', 'content-length': '7700', 'vary': 'X-Auth-Token'}
  233. RESP BODY: {"access": {"token": {"issued_at": "2014-03-07T06:12:58.723031", "expires": "2014-03-08T06:12:55Z", "id": "MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1OC43MjMwMzEiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cy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ODQwYWZiMzY2N2RkY2M0YjkyZjU5IiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo1MDAwL3YyLjAifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICJkNzAwNTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAsG1pSJ47z9XM8Ic7O5C0CHRzDVi5FjpgKrYLOCVDzFEor5kU4LLoGlw8t-o9bQDV9hbHVDcJK2ewfK0APvpkSBqi1uk-+Euii+TEmG2n7l6NJibaDuji1gD1j6q3Q1aCleAIsLEcQA2-vYjxih4C800VMAwYLkalwtS8PGLjhuxzAyfBSxa-EalSvKxGwGg+CpBR-IeKaKW1VWmhOmKJ7d2LEo2STj1BspkQ9t5CKBpPnTQOK+U5Tkn3rg5R5FFq7JH9EIs2ub3wLiPHu3QbF8MWyg3cdri9kzdYmc3dv0mZZRnibFBfu7nYABZMsliscDc9rx3hRATLxAZaj1NDXg==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "b89cffbe8ffe46fda08947a731681a6a", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "0a8a4b4b771046a08565b7d9dbfd415a", "publicURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "d6261d371c7f4eedbb99154622635333", "publicURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "a35197923f134c45a3b3620ad74886c3", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8777", "region": "regionOne", "internalURL": "http://controler:8777", "id": "044e2e605fea4af0be5ab8337611873d", "publicURL": "http://controller:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://controller:8000/v1", "region": "regionOne", "internalURL": "http://controller:8000/v1", "id": "405a191e3e7f4ba2b2f86fc14eb88330", "publicURL": "http://controller:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "20ba4cd916424d16973fe247e0044029", "publicURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "c4a2d8aa069c42d8b2a904f384733e57", "publicURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "5cfdba1a94c840afb3667ddcc4b92f59", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "d70055bb27854bdd8c3ca7533866347c", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["a38d2b92365b40af9ffe7793ab833ae4"]}}}
  234. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  235. 2014-03-07 14:12:58.777 27338 DEBUG keystoneclient.session [-] REQ: curl -i -X POST http://controller:5000/v2.0/tokens -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1NS4yNTU0ODEiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4ZmZlNDZmZGEwODk0N2E3MzE2ODF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2Tqy0XaylmRYNXkSYMwjMwc-WvFGWumvgZOBOmN+ZNAqEwFTbSvlxEwrJXdLtxYGOhbe5qn+4u7g1C9eQMRR1nUwotJzmTdjjm2qSUDMcBpx3MFf2loPAxWlf0idcPWk6H6Wn9IswRNYZquusDQpdF0Be1bPpP+oEZOnaU44vp1dAv7Hz6Q=="}, "tenantId": "b89cffbe8ffe46fda08947a731681a6a"}}' request /usr/lib/python2.6/site-packages/keystoneclient/session.py:192
  236. 2014-03-07 14:12:58.910 27338 DEBUG urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 7700 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  237. 2014-03-07 14:12:58.911 27338 DEBUG keystoneclient.session [-] RESP: [200] {'date': 'Fri, 07 Mar 2014 06:12:58 GMT', 'content-type': 'application/json', 'content-length': '7700', 'vary': 'X-Auth-Token'}
  238. RESP BODY: {"access": {"token": {"issued_at": "2014-03-07T06:12:58.855885", "expires": "2014-03-08T06:12:55Z", "id": "MIINpAYJKoZIhvcNAQcCoIINlTCCDZECAQExCTAHBgUrDgMCGjCCC-oGCSqGSIb3DQEHAaCCC+sEggvneyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0wN1QwNjoxMjo1OC44NTU4ODUiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTA4VDA2OjEyOjU1WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogIkFkbWluIFRlbmFudCIsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImI4OWNmZmJlOGZmZTQ2ZmRhMDg5NDdhNzMxNjgxYTZhIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjg5Y2ZmYmU4Z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1MDAwL3YyLjAifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICJkNzAwNTViYjI3ODU0YmRkOGMzY2E3NTMzODY2MzQ3YyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbImEzOGQyYjkyMzY1YjQwYWY5ZmZlNzc5M2FiODMzYWU0Il19fX0xggGBMIIBfQIBATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIDAVVbnNldDEOMAwGA1UEBwwFVW5zZXQxDjAMBgNVBAoMBVVuc2V0MRgwFgYDVQQDDA93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEggEAH7JO97kZZzEwuWWK44eZdxgg-HM6HWB4-A8xvRu6GTXnHXmYdFHHD+zkaMZLH6mR0TXZlrKz9AdufQ38njwwR4TnCeNskZRBgJjljRQN8w+tRmizcsbzYd6c4SOHYj9SI+jCrb5uBllINp5KMJWYyOWYnxmKa2m4oBCTZm06SfmbeNbyTtYBf36ZQ+pZuzKCPnX1J29tJWUIkHd0xiJFL-QiaRUWDE6Uql5IGDo3djpbQzASfESXBcmwa51ibqWIRIl872-2a5TSPAClFYovAFS05TwRQjXyxis0Q+sFX1NrrpEiSLOYDoooMAqvQjWULMyO6Ocqu2zBu4cUtyKjbg==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "b89cffbe8ffe46fda08947a731681a6a", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "0a8a4b4b771046a08565b7d9dbfd415a", "publicURL": "http://controller:8774/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a", "id": "d6261d371c7f4eedbb99154622635333", "publicURL": "http://controller:8776/v2/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://controller:9292", "region": "regionOne", "internalURL": "http://controller:9292", "id": "a35197923f134c45a3b3620ad74886c3", "publicURL": "http://controller:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://controller:8777", "region": "regionOne", "internalURL": "http://controler:8777", "id": "044e2e605fea4af0be5ab8337611873d", "publicURL": "http://controller:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://controller:8000/v1", "region": "regionOne", "internalURL": "http://controller:8000/v1", "id": "405a191e3e7f4ba2b2f86fc14eb88330", "publicURL": "http://controller:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "20ba4cd916424d16973fe247e0044029", "publicURL": "http://controller:8776/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "region": "regionOne", "internalURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a", "id": "c4a2d8aa069c42d8b2a904f384733e57", "publicURL": "http://controller:8004/v1/b89cffbe8ffe46fda08947a731681a6a"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://controller:35357/v2.0", "region": "regionOne", "internalURL": "http://controller:5000/v2.0", "id": "5cfdba1a94c840afb3667ddcc4b92f59", "publicURL": "http://controller:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "d70055bb27854bdd8c3ca7533866347c", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["a38d2b92365b40af9ffe7793ab833ae4"]}}}
  239. _send_request /usr/lib/python2.6/site-packages/keystoneclient/session.py:232
  240. 2014-03-07 14:12:58.916 27338 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller
  241. 2014-03-07 14:12:58.928 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/os-keypairs HTTP/1.1" 200 531 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  242. 2014-03-07 14:12:59.036 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/images/detail HTTP/1.1" 200 720 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  243. 2014-03-07 14:12:59.060 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack-WebServerGroup-5dgnsgwhrmvk" starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  244. 2014-03-07 14:12:59.060 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack-WebServerGroup-5dgnsgwhrmvk" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  245. 2014-03-07 14:12:59.064 27338 DEBUG heat.engine.scheduler [-] Task resource_action starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  246. 2014-03-07 14:12:59.065 27338 INFO heat.engine.resource [-] creating Instance "WebServerGroup-0"
  247. 2014-03-07 14:12:59.066 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  248. //获取keypairs
  249. 2014-03-07 14:12:59.091 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/os-keypairs HTTP/1.1" 200 531 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  250. //获取images
  251. 2014-03-07 14:12:59.180 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/images/detail HTTP/1.1" 200 720 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  252. //获取flavors
  253. 2014-03-07 14:12:59.215 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/flavors/detail HTTP/1.1" 200 2069 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  254. //创建instance
  255. 2014-03-07 14:12:59.758 27338 DEBUG urllib3.connectionpool [-] "POST /v2/b89cffbe8ffe46fda08947a731681a6a/servers HTTP/1.1" 202 471 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  256. 2014-03-07 14:12:59.772 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" sleeping _sleep /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:108
  257. 2014-03-07 14:13:00.772 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  258. 2014-03-07 14:13:00.772 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  259. 2014-03-07 14:13:00.773 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack-WebServerGroup-5dgnsgwhrmvk" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  260. 2014-03-07 14:13:00.773 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  261. 2014-03-07 14:13:00.870 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/servers/a57591b6-240f-49d1-8e1e-6d4aba8853f4 HTTP/1.1" 200 1733 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  262. 2014-03-07 14:13:00.978 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/servers/a57591b6-240f-49d1-8e1e-6d4aba8853f4 HTTP/1.1" 200 1741 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  263. 2014-03-07 14:14:26.285 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  264. 2014-03-07 14:14:26.285 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack-WebServerGroup-5dgnsgwhrmvk" running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  265. 2014-03-07 14:14:26.285 27338 DEBUG heat.engine.scheduler [-] Task resource_action running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  266. 2014-03-07 14:14:26.373 27338 DEBUG urllib3.connectionpool [-] "GET /v2/b89cffbe8ffe46fda08947a731681a6a/servers/a57591b6-240f-49d1-8e1e-6d4aba8853f4 HTTP/1.1" 200 1877 _make_request /usr/lib/python2.6/site-packages/urllib3/connectionpool.py:295
  267. 2014-03-07 14:14:26.376 27338 DEBUG heat.engine.scheduler [-] Task PollingTaskGroup() starting start /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:131
  268. 2014-03-07 14:14:26.376 27338 DEBUG heat.engine.scheduler [-] Task PollingTaskGroup() running step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:164
  269. 2014-03-07 14:14:26.376 27338 DEBUG heat.engine.scheduler [-] Task PollingTaskGroup() complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  270. 2014-03-07 14:14:26.534 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  271. 2014-03-07 14:14:26.538 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack-WebServerGroup-5dgnsgwhrmvk" complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  272. 2014-03-07 14:14:26.571 27338 DEBUG heat.engine.scheduler [-] Task resource_action complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170
  273. 2014-03-07 14:14:26.575 27338 DEBUG heat.engine.scheduler [-] Task stack_task from Stack "mystack" complete step /usr/lib/python2.6/site-packages/heat/engine/scheduler.py:170






Heat运行机制探究——Auto-scaling

一、背景


  示例模板为2014-03-07的 Heat Auto-scaling 模板(webServerAutoscalingGroup.template),模板功能为:建立一个Min=1,Max=3的AutoScalingGroup,如果CPU 10秒之内平均负载超过90%,增加一台VM,如果CPU 10秒之内平均负载低于50%,减少一台VM。



二、初始化


  1、Intance在初始化时,被注入AG(Auto-scaling Group) Tag,这样,Ceilometer在收集信息时可以得知Instance所属的Group;

  2、两个Alarm被创建,CPUAlarmHigh和CPUAlarmLow,它们关注CPU在period的时间内threshold的avg值,高于threshold时,请求ScaleUpPolicy相关的webhook,低于threshold时,请求ScaleDownPolicy相关的webhook(webhook由heat根据SaclePolicy创建,请求webhook后会调用相应的ScalePolicy),Alarm是ScaleGroup和ScalePolicy之间的桥梁。



三、运行

  

  Ceilometer的metering模块监控Auto-scaling Group定义中所关注的metrics,alarming模块对每一个已注册的alarm同采集到的metrics做比较,进行评估。如果metrics超过alarm的上限threshold,将会触发ScaleUpPolicy,请求其相关联的webhook,该动作会使Heat执行ScaleUpPolicy中定义的操作;如果metrics低于alarm的下限threshold,将会触发ScaleDownPolicy,请求其相关联的webhook,该动作会使Heat执行ScaleDownPolicy中定义的操作。

   



 高负载-Scale Up


  ssh进入初始建立的虚拟机,进行压力测试:

  



 低负载-Scale Down


  关闭压力测试:

  


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/70597
推荐阅读
相关标签
  

闽ICP备14008679号