Merge "Update Ironic composable services"
This commit is contained in:
commit
0b2829480a
4
environments/services/ironic.yaml
Normal file
4
environments/services/ironic.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
resource_registry:
|
||||
OS::TripleO::Services::IronicApi: ../../puppet/services/ironic-api.yaml
|
||||
OS::TripleO::Services::IronicConductor: ../../puppet/services/ironic-conductor.yaml
|
||||
OS::TripleO::Services::NovaIronic: ../../puppet/services/nova-ironic.yaml
|
@ -145,8 +145,6 @@ resource_registry:
|
||||
OS::TripleO::Services::HeatApiCfn: puppet/services/heat-api-cfn.yaml
|
||||
OS::TripleO::Services::HeatApiCloudwatch: puppet/services/heat-api-cloudwatch.yaml
|
||||
OS::TripleO::Services::HeatEngine: puppet/services/heat-engine.yaml
|
||||
OS::TripleO::Services::IronicApi: puppet/services/ironic-api.yaml
|
||||
OS::TripleO::Services::IronicConductor: puppet/services/ironic-conductor.yaml
|
||||
OS::TripleO::Services::Kernel: puppet/services/kernel.yaml
|
||||
OS::TripleO::Services::MySQL: puppet/services/database/mysql.yaml
|
||||
OS::TripleO::Services::NeutronDhcpAgent: puppet/services/neutron-dhcp.yaml
|
||||
@ -210,6 +208,9 @@ resource_registry:
|
||||
OS::TripleO::Services::MistralEngine: OS::Heat::None
|
||||
OS::TripleO::Services::MistralApi: OS::Heat::None
|
||||
OS::TripleO::Services::MistralExecutor: OS::Heat::None
|
||||
OS::TripleO::Services::IronicApi: OS::Heat::None
|
||||
OS::TripleO::Services::IronicConductor: OS::Heat::None
|
||||
OS::TripleO::Services::NovaIronic: OS::Heat::None
|
||||
|
||||
parameter_defaults:
|
||||
EnablePackageInstall: false
|
||||
|
@ -167,6 +167,9 @@ parameters:
|
||||
- OS::TripleO::Services::AodhListener
|
||||
- OS::TripleO::Services::SaharaApi
|
||||
- OS::TripleO::Services::SaharaEngine
|
||||
- OS::TripleO::Services::IronicApi
|
||||
- OS::TripleO::Services::IronicConductor
|
||||
- OS::TripleO::Services::NovaIronic
|
||||
description: A list of service resources (configured in the Heat
|
||||
resource_registry) which represent nested stacks
|
||||
for each service that should get installed on the Controllers.
|
||||
|
@ -35,9 +35,18 @@ outputs:
|
||||
# the VIP, but rather a real IP of the controller.
|
||||
- ironic::my_ip: {get_param: [EndpointMap, MysqlInternal, host]}
|
||||
ironic::api::admin_password: {get_param: IronicPassword}
|
||||
ironic::keystone::auth::public_url: {get_param: [EndpointMap, IronicPublic, uri]}
|
||||
ironic::keystone::auth::internal_url: {get_param: [EndpointMap, IronicInternal, uri]}
|
||||
ironic::api::admin_tenant_name: 'service'
|
||||
ironic::api::admin_user: 'ironic'
|
||||
ironic::api::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
|
||||
ironic::api::identity_uri: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
|
||||
ironic::api::port: {get_param: [EndpointMap, IronicInternal, port]}
|
||||
# This is used to build links in responses
|
||||
ironic::api::public_endpoint: {get_param: [EndpointMap, IronicPublic, uri_no_suffix]}
|
||||
ironic::keystone::auth::admin_url: {get_param: [EndpointMap, IronicAdmin, uri]}
|
||||
ironic::keystone::auth::internal_url: {get_param: [EndpointMap, IronicInternal, uri]}
|
||||
ironic::keystone::auth::public_url: {get_param: [EndpointMap, IronicPublic, uri]}
|
||||
ironic::keystone::auth::auth_name: 'ironic'
|
||||
ironic::keystone::auth::password: {get_param: IronicPassword }
|
||||
ironic::keystone::auth::tenant: 'service'
|
||||
step_config: |
|
||||
include ::tripleo::profile::base::ironic::api
|
||||
|
@ -51,7 +51,6 @@ outputs:
|
||||
- '@'
|
||||
- {get_param: [EndpointMap, MysqlInternal, host]}
|
||||
- '/ironic'
|
||||
ironic::admin_tenant_name: 'service'
|
||||
ironic::debug: {get_param: Debug}
|
||||
ironic::rabbit_userid: {get_param: RabbitUserName}
|
||||
ironic::rabbit_password: {get_param: RabbitPassword}
|
||||
@ -64,7 +63,5 @@ outputs:
|
||||
ironic::db::mysql::allowed_hosts:
|
||||
- '%'
|
||||
- "%{hiera('mysql_bind_host')}"
|
||||
|
||||
ironic::keystone::auth::tenant: 'service'
|
||||
step_config: |
|
||||
include ::tripleo::profile::base::ironic
|
||||
|
@ -28,7 +28,10 @@ outputs:
|
||||
config_settings:
|
||||
map_merge:
|
||||
- get_attr: [IronicBase, role_data, config_settings]
|
||||
- ironic::enabled_drivers: {get_param: IronicEnabledDrivers}
|
||||
# FIXME: I have no idea why neutron_url is in "api" manifest
|
||||
- ironic::api::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
|
||||
ironic::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
|
||||
ironic::enabled_drivers: {get_param: IronicEnabledDrivers}
|
||||
# Prevent tftp_server from defaulting to my_ip setting, which is
|
||||
# controller VIP, not a real IP.
|
||||
ironic::drivers::pxe::tftp_server: {get_input: ironic_api_network}
|
||||
|
42
puppet/services/nova-ironic.yaml
Normal file
42
puppet/services/nova-ironic.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
heat_template_version: 2016-04-08
|
||||
|
||||
description: >
|
||||
OpenStack Nova Compute service configured with Puppet and using Ironic
|
||||
|
||||
parameters:
|
||||
EndpointMap:
|
||||
default: {}
|
||||
description: Mapping of service endpoint -> protocol. Typically set
|
||||
via parameter_defaults in the resource registry.
|
||||
type: json
|
||||
IronicPassword:
|
||||
description: The password for the Ironic service and db account, used by the Ironic services
|
||||
type: string
|
||||
hidden: true
|
||||
|
||||
resources:
|
||||
NovaBase:
|
||||
type: ./nova-base.yaml
|
||||
properties:
|
||||
EndpointMap: {get_param: EndpointMap}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
description: Role data for the Nova Compute service with Ironic.
|
||||
value:
|
||||
service_name: nova_ironic
|
||||
config_settings:
|
||||
map_merge:
|
||||
- get_attr: [NovaBase, role_data, config_settings]
|
||||
- nova::compute::force_config_drive: true
|
||||
nova::compute::reserved_host_memory: '0'
|
||||
nova::compute::vnc_enabled: false
|
||||
nova::ironic::common::admin_password: {get_param: IronicPassword}
|
||||
nova::ironic::common::admin_tenant_name: 'service'
|
||||
nova::ironic::common::admin_url: {get_param: [EndpointMap, KeystoneAdmin, uri]}
|
||||
nova::ironic::common::admin_username: 'ironic'
|
||||
nova::ironic::common::api_endpoint: {get_param: [EndpointMap, IronicInternal, uri]}
|
||||
nova::network::neutron::dhcp_domain: ''
|
||||
nova::scheduler::filter::scheduler_host_manager: 'ironic_host_manager'
|
||||
step_config: |
|
||||
include tripleo::profile::base::nova::compute::ironic
|
Loading…
Reference in New Issue
Block a user