Add token flushing for Keystone and rows archiving for Nova

This change enables token flushing for Keystone and rows archiving
for Nova in the undercloud, as it do for Heat already.

Change-Id: If2803de46b476899423ce60923aa723a2513604c
This commit is contained in:
Giulio Fidente 2016-05-03 11:04:40 +02:00
parent 5b10e60b13
commit dde13f2b38
2 changed files with 4 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class { '::keystone':
service_name => 'httpd',
}
include ::keystone::wsgi::apache
include ::keystone::cron::token_flush
include ::keystone::roles::admin
include ::keystone::endpoint
@ -258,6 +258,7 @@ Exec['stop_nova-api'] -> Service['httpd']
include ::nova::api
include ::nova::wsgi::apache
include ::nova::cert
include ::nova::cron::archive_deleted_rows
include ::nova::compute
include ::nova::conductor
include ::nova::scheduler

View File

@ -144,6 +144,7 @@ keystone_ca_certificate: '{{KEYSTONE_CA_CERTIFICATE}}'
keystone_signing_key: '{{KEYSTONE_SIGNING_KEY}}'
keystone_signing_certificate: '{{KEYSTONE_SIGNING_CERTIFICATE}}'
keystone::database_connection: mysql+pymysql://keystone:{{UNDERCLOUD_ADMIN_TOKEN}}@{{LOCAL_IP}}/keystone
keystone::cron::token_flush::destination: '/dev/null'
keystone::roles::admin::password: {{UNDERCLOUD_ADMIN_PASSWORD}}
keystone::roles::admin::email: 'root@localhost'
keystone::roles::admin::admin_tenant: 'admin'
@ -303,6 +304,7 @@ nova::compute::force_config_drive: true
nova::compute::compute_manager: 'ironic.nova.compute.manager.ClusteredComputeManager'
nova::compute::reserved_host_memory: '0'
nova::compute::vnc_enabled: false
nova::cron::archive_deleted_rows::destination: '/dev/null'
nova_sync_power_state_interval: -1
nova::compute::ironic::admin_username: 'ironic'