e911825444
puppet-zaqar is freshly new and we want to test it. * configure mongodb replicaset (required for zaqar): 'openstack'. * deploy zaqar on scenario002 with mongodb backend. * configure tempest to test zaqar. * run TestManageQueue tempest tests in tempest. Note about TestManageQueue: Zaqar does not maintain Tempest tests, and run their own functional testing tools. api.messaging.test_queues tests are known to work, so they will be the only tests run in our CI to validate Zaqar is working. Note: * SSL does not work out of the box, we need to add support for WSGI deployment with Apache, but Zaqa does not provide WSGI app, it's in their roadmap. * IPv6 binding on default wsgi does not work, so using IPv4 now. Change-Id: I1aa563f37aa7a231b2218f79b72c73c668d968f3
32 lines
942 B
Puppet
32 lines
942 B
Puppet
class openstack_integration::zaqar {
|
|
|
|
include ::openstack_integration::config
|
|
|
|
# zaqar is not packaged in Ubuntu Cloud Archive
|
|
if $::osfamily == 'RedHat' {
|
|
class { '::zaqar::keystone::auth':
|
|
password => 'a_big_secret',
|
|
}
|
|
$zaqar_mongodb_conn_string = 'mongodb://127.0.0.1:27017'
|
|
class {'::zaqar::management::mongodb':
|
|
uri => $zaqar_mongodb_conn_string
|
|
}
|
|
class {'::zaqar::messaging::mongodb':
|
|
uri => $zaqar_mongodb_conn_string
|
|
}
|
|
class {'::zaqar':
|
|
admin_password => 'a_big_secret',
|
|
unreliable => true,
|
|
identity_uri => $::openstack_integration::config::keystone_admin_uri,
|
|
auth_uri => $::openstack_integration::config::keystone_auth_uri,
|
|
}
|
|
Mongodb_replset['openstack'] -> Package['zaqar-common']
|
|
include ::zaqar::server
|
|
# run a second instance using websockets
|
|
zaqar::server_instance{ '1':
|
|
transport => 'websocket'
|
|
}
|
|
}
|
|
|
|
}
|