puppet-ceilometer with mariadb have no declaration error

Bug #1556910 reported by meizhifang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ceilometer
Confirmed
Wishlist
Unassigned

Bug Description

puppet-ceilometer with mariadb have no declaration error.In collector.pp,apply class['ceilometer::db'] ,but lack to include the class.We should add " Include ceilometer::db" in collector.pp.

description: updated
Revision history for this message
Emilien Macchi (emilienm) wrote :

I'm not sure about the bug here, please add more context and describe the steps to reproduce it.
Thanks

Changed in puppet-ceilometer:
status: New → Incomplete
Revision history for this message
liaonanhai (nanhai-liao) wrote :

need to add mariadb supported

Revision history for this message
meizhifang (mei-zhifang97) wrote :

my ceilometer.pp is :

class { '::ceilometer':
  metering_secret => hiera('CONFIG_CEILOMETER_SECRET'),
  verbose => true,
  debug => hiera('CONFIG_DEBUG_MODE'),
  rabbit_host => hiera('CONFIG_AMQP_HOST_URL'),
  rabbit_port => hiera('CONFIG_AMQP_CLIENTS_PORT'),
  rabbit_use_ssl => hiera('CONFIG_AMQP_ENABLE_SSL'),
  rabbit_userid => hiera('CONFIG_AMQP_AUTH_USER'),
  rabbit_password => hiera('CONFIG_AMQP_AUTH_PASSWORD'),
}

$config_mariadb_host = hiera('CONFIG_MARIADB_HOST_URL')
class { '::ceilometer::db':
  database_connection => "mysql://ceilometer:ceilometer@${config_mariadb_host}/ceilometer",
}

$config_controller_host = hiera('CONFIG_KEYSTONE_HOST_URL')

class { '::ceilometer::agent::auth':
  auth_url => "http://${config_controller_host}:35357/v2.0",
  auth_password => hiera('CONFIG_CEILOMETER_KS_PW'),
}

$bind_host = hiera('CONFIG_IP_VERSION') ? {
  'ipv6' => '::0',
  'ipv4' => '0.0.0.0',
}

class { '::ceilometer::api':
  host => $bind_host,
  port => hiera('CONFIG_CEILOMETER_API_PORT'),
  keystone_host => hiera('CONFIG_KEYSTONE_HOST_URL'),
  keystone_password => hiera('CONFIG_CEILOMETER_KS_PW'),
}

class { '::ceilometer::collector': }

class { '::ceilometer::agent::notification': }

class { '::ceilometer::agent::central':}

class { '::ceilometer::alarm::evaluator':}

class { '::ceilometer::alarm::notifier':}

Matt Fischer (mfisch)
Changed in puppet-ceilometer:
importance: Undecided → Wishlist
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.