Merge "Make inspection also respect whether iPXE is enabled"

This commit is contained in:
Jenkins
2016-11-14 07:36:18 +00:00
committed by Gerrit Code Review
3 changed files with 9 additions and 6 deletions

View File

@@ -401,7 +401,9 @@ ironic::keystone::auth_inspector::region: "%{hiera('keystone_region')}"
# Ironic Inspector
ironic::inspector::listen_address: {{LOCAL_IP}}
ironic::inspector::debug: "%{hiera('debug')}"
{{#IPXE_ENABLED}}
ironic::inspector::pxe_transfer_protocol: 'http'
{{/IPXE_ENABLED}}
ironic::inspector::enable_uefi: {{INSPECTION_ENABLE_UEFI}}
ironic::inspector::authtoken::auth_uri: "%{hiera('keystone_auth_uri')}"
ironic::inspector::authtoken::auth_url: "%{hiera('keystone_identity_uri')}"
@@ -440,7 +442,7 @@ ironic::conductor::http_boot: '/httpboot'
ironic::inspector::http_port: "%{hiera('ironic_ipxe_port')}"
# Ironic pxe
ironic::drivers::pxe::ipxe_enabled: {{IPXE_DEPLOY}}
ironic::drivers::pxe::ipxe_enabled: {{IPXE_ENABLED}}
# NOTE(dtantsur): UEFI only works with iPXE currently for us
ironic::drivers::pxe::uefi_pxe_config_template: '$pybasedir/drivers/modules/ipxe_config.template'
ironic::drivers::pxe::uefi_pxe_bootfile_name: 'ipxe.efi'
@@ -588,7 +590,6 @@ enable_zaqar: {{ENABLE_ZAQAR}}
enable_validations: {{ENABLE_VALIDATIONS}}
enable_telemetry: {{ENABLE_TELEMETRY}}
enable_ui: {{ENABLE_UI}}
ipxe_deploy: {{IPXE_DEPLOY}}
# Path to install configuration files
tripleo_install_user: {{TRIPLEO_INSTALL_USER}}

View File

@@ -309,9 +309,10 @@ _opts = [
help=('Whether to install requirements to run the TripleO '
'validations.')
),
cfg.BoolOpt('ipxe_deploy',
cfg.BoolOpt('ipxe_enabled',
default=True,
help=('Whether to use iPXE for deploy by default.')
help=('Whether to use iPXE for deploy and inspection.'),
deprecated_name='ipxe_deploy',
),
cfg.BoolOpt('store_events',
default=False,

View File

@@ -158,8 +158,9 @@
# (boolean value)
#enable_validations = true
# Whether to use iPXE for deploy by default. (boolean value)
#ipxe_deploy = true
# Whether to use iPXE for deploy and inspection. (boolean value)
# Deprecated group/name - [DEFAULT]/ipxe_deploy
#ipxe_enabled = true
# Whether to store events in the Undercloud Ceilometer. (boolean
# value)