906eb4217b
- Move DB creation for every service to own task - Refactor Murano and Sahara DB configuration classes - Cherry-pick MySQL providers from upstream to allow DB creation and management on remote host - Remove openstack::db::mysql - Move database and user creation to a separete task - Either install local database or use an external one Implements: blueprint: detach-components-from-controllers Co-Authored-By: Sergii Golovatiuk <sgolovatiuk@mirantis.com> Co-Authored-By: Dmitry Ilyin <dilyin@mirantis.com> Change-Id: Iaf3b7913e8c79c08025dbdaf5f2beff7337ab644 Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
16 lines
394 B
Ruby
16 lines
394 B
Ruby
require File.join File.dirname(__FILE__), '../test_common.rb'
|
|
|
|
BACKEND = 'glance-api'
|
|
|
|
class GlancePreTest < Test::Unit::TestCase
|
|
|
|
def test_haproxy_glance_backend_present
|
|
assert TestCommon::HAProxy.backend_present?(BACKEND), "There is no '#{BACKEND}' HAProxy backend!"
|
|
end
|
|
|
|
def test_amqp_accessible
|
|
assert TestCommon::AMQP.connection?, 'Cannot connect to AMQP server!'
|
|
end
|
|
|
|
end
|