Browse Source

Disable Tacker installation during beaker tests

Since Ussuri, Tacker requires sqlalchemy-filter package as a part of
its dependencies, but this package is not yet provided in Fedora,
CentOS and RDO.
We should disable installation of Tacker until these distros provie
available packages.

Change-Id: I6a22c546797e41fc186d0c6490e236b0bf33444e
(cherry picked from commit 606e6ff904)
changes/82/748782/1
Takashi Kajinami 3 weeks ago
parent
commit
fa3f51dffa
1 changed files with 23 additions and 22 deletions
  1. +23
    -22
      spec/acceptance/tacker_spec.rb

+ 23
- 22
spec/acceptance/tacker_spec.rb View File

@@ -32,25 +32,26 @@ describe 'basic tacker' do
}
case $::osfamily {
'Debian': {
warning('Gnocchi is not yet packaged on Ubuntu systems.')
warning('Tacker is not yet packaged on Ubuntu systems.')
}
'RedHat': {
class { 'tacker::db':
database_connection => 'mysql+pymysql://tacker:a_big_secret@127.0.0.1/tacker?charset=utf8',
}
class { 'tacker::keystone::auth':
password => 'a_big_secret',
}
class { 'tacker::keystone::authtoken':
password => 'a_big_secret',
}
class { 'tacker::logging':
debug => true,
}
class { 'tacker':
default_transport_url => 'rabbit://tacker:my_secret@127.0.0.1:5672/',
}
include tacker::server
warning('Tacker installation on CentOS8 is currently broken beause of a missing dependency')
# class { 'tacker::db':
# database_connection => 'mysql+pymysql://tacker:a_big_secret@127.0.0.1/tacker?charset=utf8',
# }
# class { 'tacker::keystone::auth':
# password => 'a_big_secret',
# }
# class { 'tacker::keystone::authtoken':
# password => 'a_big_secret',
# }
# class { 'tacker::logging':
# debug => true,
# }
# class { 'tacker':
# default_transport_url => 'rabbit://tacker:my_secret@127.0.0.1:5672/',
# }
# include tacker::server
include tacker::client
}
default: {
@@ -64,11 +65,11 @@ describe 'basic tacker' do
apply_manifest(pp, :catch_changes => true)
end

if os[:family].casecmp('RedHat') == 0
describe port(9890) do
it { is_expected.to be_listening }
end
end
# if os[:family].casecmp('RedHat') == 0
# describe port(9890) do
# it { is_expected.to be_listening }
# end
# end
end

end

Loading…
Cancel
Save