Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
openstack:newton:controller [2016/10/14 06:02] – [Création de la base SQL pour HEAT] madko | openstack:newton:controller [2016/10/14 06:37] (Version actuelle) – [Configuration de HEAT] madko | ||
---|---|---|---|
Ligne 905: | Ligne 905: | ||
</ | </ | ||
- | Création des endpoints pour l'API HEAT : | + | Création des endpoints pour l'API HEAT : |
- | < | + | < |
+ | openstack endpoint create --region RegionOne orchestration public http:// | ||
+ | openstack endpoint create --region RegionOne orchestration internal http:// | ||
+ | openstack endpoint create --region RegionOne orchestration admin http:// | ||
+ | openstack endpoint create --region RegionOne cloudformation public http:// | ||
+ | openstack endpoint create --region RegionOne cloudformation internal http:// | ||
+ | openstack endpoint create --region RegionOne cloudformation admin http:// | ||
+ | </ | ||
+ | |||
+ | Création d'un domaine qui contiendra les " | ||
+ | |||
+ | < | ||
+ | openstack domain create --description "Stack projects and users" heat | ||
+ | openstack user create --domain heat --password heat_domain_admin heat_domain_admin | ||
+ | openstack role add --domain heat --user-domain heat --user heat_domain_admin admin | ||
+ | openstack role create heat_stack_owner | ||
+ | openstack role create heat_stack_user | ||
+ | </ | ||
+ | |||
+ | Pour autoriser l' | ||
+ | |||
+ | < | ||
+ | openstack role add --project demo --user demo heat_stack_owner | ||
+ | </ | ||
+ | ==== Installation de HEAT ==== | ||
+ | |||
+ | Installer les paquets suivants : | ||
+ | |||
+ | < | ||
+ | yum install openstack-heat-api openstack-heat-api-cfn openstack-heat-engine | ||
+ | </ | ||
+ | ==== Configuration de HEAT ==== | ||
+ | |||
+ | Fichier / | ||
+ | |||
+ | < | ||
+ | [DEFAULT] | ||
+ | heat_metadata_server_url = http:// | ||
+ | heat_waitcondition_server_url = http:// | ||
+ | stack_domain_admin = heat_domain_admin | ||
+ | stack_domain_admin_password = heat_domain_admin | ||
+ | stack_user_domain_name = heat | ||
+ | rpc_backend = rabbit | ||
+ | [auth_password] | ||
+ | [clients] | ||
+ | [clients_aodh] | ||
+ | [clients_barbican] | ||
+ | [clients_ceilometer] | ||
+ | [clients_cinder] | ||
+ | [clients_designate] | ||
+ | [clients_glance] | ||
+ | [clients_heat] | ||
+ | [clients_keystone] | ||
+ | auth_uri = http:// | ||
+ | [clients_magnum] | ||
+ | [clients_manila] | ||
+ | [clients_mistral] | ||
+ | [clients_monasca] | ||
+ | [clients_neutron] | ||
+ | [clients_nova] | ||
+ | [clients_sahara] | ||
+ | [clients_senlin] | ||
+ | [clients_swift] | ||
+ | [clients_trove] | ||
+ | [clients_zaqar] | ||
+ | [cors] | ||
+ | [cors.subdomain] | ||
+ | [database] | ||
+ | connection = mysql+pymysql:// | ||
+ | [ec2authtoken] | ||
+ | auth_uri = http:// | ||
+ | [eventlet_opts] | ||
+ | [heat_api] | ||
+ | [heat_api_cfn] | ||
+ | [heat_api_cloudwatch] | ||
+ | [keystone_authtoken] | ||
+ | auth_uri = http:// | ||
+ | auth_url = http:// | ||
+ | memcached_servers = controller.internal: | ||
+ | auth_type = password | ||
+ | project_domain_name = default | ||
+ | user_domain_name = default | ||
+ | project_name = service | ||
+ | username = heat | ||
+ | password = heat | ||
+ | [matchmaker_redis] | ||
+ | [oslo_messaging_amqp] | ||
+ | [oslo_messaging_notifications] | ||
+ | [oslo_messaging_rabbit] | ||
+ | rabbit_host = bdd | ||
+ | rabbit_userid = openstack | ||
+ | rabbit_password = RABBIT_PASS | ||
+ | [oslo_messaging_zmq] | ||
+ | [oslo_middleware] | ||
+ | [oslo_policy] | ||
+ | [paste_deploy] | ||
+ | [profiler] | ||
+ | [revision] | ||
+ | [ssl] | ||
+ | [trustee] | ||
+ | auth_type = password | ||
+ | auth_url = http:// | ||
+ | username = heat | ||
+ | password = heat | ||
+ | user_domain_name = default | ||
+ | [volumes] | ||
+ | </ | ||
+ | |||
+ | Initialisation de la base HEAT : | ||
+ | |||
+ | < | ||
+ | su -s /bin/sh -c " | ||
+ | </ | ||
+ | |||
+ | Pour activer et démarrer les services en rapports avec HEAT : | ||
+ | |||
+ | < | ||
+ | systemctl start openstack-heat-api.service openstack-heat-api-cfn.service openstack-heat-engine.service | ||
</ | </ | ||