Merge "octavia: Enable jobboard settings"
This commit is contained in:
commit
41003dc949
@ -80,7 +80,7 @@ scenario](#all-in-one).
|
||||
| taas | | | | X | | |
|
||||
| bgpvpn-api | | | | X | | |
|
||||
| bgp-dr | | | | X | | |
|
||||
| redis | X | X | X | | | |
|
||||
| redis | X | X | X | X | X | |
|
||||
| l2gw | | | | X | | |
|
||||
| octavia | | | | X | X | |
|
||||
| om rpc | rabbit | rabbit | rabbit | rabbit | rabbit | rabbit |
|
||||
|
@ -53,6 +53,7 @@ include openstack_integration::apache
|
||||
include openstack_integration::memcached
|
||||
include openstack_integration::rabbitmq
|
||||
include openstack_integration::mysql
|
||||
include openstack_integration::redis
|
||||
include openstack_integration::keystone
|
||||
class { 'openstack_integration::glance':
|
||||
backend => 'swift',
|
||||
|
@ -46,6 +46,7 @@ include openstack_integration::apache
|
||||
include openstack_integration::memcached
|
||||
include openstack_integration::rabbitmq
|
||||
include openstack_integration::mysql
|
||||
include openstack_integration::redis
|
||||
include openstack_integration::ovn
|
||||
include openstack_integration::keystone
|
||||
include openstack_integration::cinder
|
||||
|
@ -70,11 +70,14 @@ class openstack_integration::octavia (
|
||||
notification_driver => 'messagingv2',
|
||||
}
|
||||
class { 'octavia::db::mysql':
|
||||
charset => $::openstack_integration::params::mysql_charset,
|
||||
collate => $::openstack_integration::params::mysql_collate,
|
||||
password => 'octavia',
|
||||
host => $::openstack_integration::config::host,
|
||||
charset => $::openstack_integration::params::mysql_charset,
|
||||
collate => $::openstack_integration::params::mysql_collate,
|
||||
password => 'octavia',
|
||||
host => $::openstack_integration::config::host,
|
||||
persistence_dbname => 'octavia_persistence',
|
||||
}
|
||||
class { 'octavia::db::sync': }
|
||||
class { 'octavia::db::sync_persistence': }
|
||||
class { 'octavia::keystone::auth':
|
||||
public_url => "${::openstack_integration::config::base_url}:9876",
|
||||
internal_url => "${::openstack_integration::config::base_url}:9876",
|
||||
@ -179,6 +182,25 @@ class openstack_integration::octavia (
|
||||
heartbeat_key => 'abcdefghijkl',
|
||||
}
|
||||
|
||||
class { 'octavia::task_flow':
|
||||
max_workers => 2,
|
||||
persistence_connection => os_database_connection({
|
||||
'dialect' => 'mysql+pymysql',
|
||||
'host' => $::openstack_integration::config::ip_for_url,
|
||||
'username' => 'octavia',
|
||||
'password' => 'octavia',
|
||||
'database' => 'octavia_persistence',
|
||||
'charset' => 'utf8',
|
||||
'extra' => $::openstack_integration::config::db_extra,
|
||||
}),
|
||||
jobboard_enabled => true,
|
||||
jobboard_backend_hosts => $::openstack_integration::config::host,
|
||||
jobboard_backend_port => 6379,
|
||||
jobboard_backend_password => 'a_big_secret',
|
||||
jobboard_redis_backend_ssl_options => {
|
||||
'ssl' => $::openstack_integration::config::ssl
|
||||
},
|
||||
}
|
||||
class { 'octavia::worker':
|
||||
workers => 2,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user