CentOS 7
Sponsored Link

OpenStack Kilo : Configure Heat#2
2015/06/20
 
Install OpenStack Orchestration Service (Heat).
This example shows to install Orchestration Services on the existing environment like follows.
For example, install and configure Orchestration Services on the Network Node.
                                |
+------------------+            |            +------------------------+
| [ Control Node ] |            |            |    [ Network Node ]    |
|     Keystone     |10.0.0.30   |   10.0.0.50|    DHCP,L3,L2 Agent    |
|      Glance      |------------+------------|     Metadata Agent     |
|     Nova API     |eth0        |        eth0|    Heat API,API-CFN    |
|  Neutron Server  |            |            |       Heat Engine      |
+------------------+            |            +------------------------+
                            eth0|10.0.0.51
                      +--------------------+
                      |  [ Compute Node ]  |
                      |    Nova Compute    |
                      |      L2 Agent      |
                      +--------------------+

 
Install and configure Heat services on the Network Node on this section.
[1] Install Heat services.
# install from RDO, EPEL

[root@network ~]#
yum --enablerepo=openstack-kilo,epel -y install openstack-heat-api openstack-heat-api-cfn openstack-heat-engine python-heatclient
[2] Configure Heat services.
[root@network ~]#
mv /etc/heat/heat.conf /etc/heat/heat.conf.org

[root@network ~]#
vi /etc/heat/heat.conf
# create new

[DEFAULT]
deferred_auth_method = trusts
trusts_delegated_roles = heat_stack_owner
# Heat installed server

heat_metadata_server_url = http://10.0.0.50:8000
heat_waitcondition_server_url = http://10.0.0.50:8000/v1/waitcondition
heat_watch_server_url = http://10.0.0.50:8003
heat_stack_user_role = heat_stack_user
# Heat donmain ID

stack_user_domain_id = bd07e0b9203640798b22a8845bb4a465
# Heat domain admin name

stack_domain_admin = heat_domain_admin
# Heat domain admin's password

stack_domain_admin_password = domainpassword
rpc_backend = rabbit
[database]
# MariaDB connection info

connection = mysql://heat:password@10.0.0.30/heat
# RabbitMQ connection info

[oslo_messaging_rabbit]
rabbit_host = 10.0.0.30
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = password
[ec2authtoken]
# Keystone server

auth_uri = http://10.0.0.30:35357/v2.0
[heat_api]
bind_host = 0.0.0.0
bind_port = 8004
[heat_api_cfn]
bind_host = 0.0.0.0
bind_port = 8000
[keystone_authtoken]
# Keystone auth info

auth_host = 10.0.0.30
auth_port = 35357
auth_protocol = http
auth_uri = http://10.0.0.30:35357/v2.0
# Heat admin user

admin_user = heat
# Heat admin user's password

admin_password = servicepassword
# Heat admin user's tenant

admin_tenant_name = service
[root@network ~]#
chgrp heat /etc/heat/heat.conf

[root@network ~]#
chmod 640 /etc/heat/heat.conf

[root@network ~]#
heat-manage db_sync

[root@network ~]#
systemctl start openstack-heat-api openstack-heat-api-cfn openstack-heat-engine

[root@network ~]#
systemctl enable openstack-heat-api openstack-heat-api-cfn openstack-heat-engine

Matched Content
 
Tweet