Browse Source

Replace ceilometer-dbsync by ceilometer-upgrade

ceilometer-dbsync is removed in pike release
see : https://docs.openstack.org/releasenotes/ceilometer/en_GB/ocata.html

Change-Id: I2d2407e4b0deb38e8fa410c9e96e2d16e69964e3
Closes-Bug: #1727329
changes/50/515250/2
Seb-Solon 1 year ago
parent
commit
2e812eb316
4 changed files with 4 additions and 4 deletions
  1. 1
    1
      README.md
  2. 1
    1
      metadata.rb
  3. 1
    1
      recipes/collector.rb
  4. 1
    1
      spec/collector_spec.rb

+ 1
- 1
README.md View File

@@ -74,7 +74,7 @@ Recipes
74 74
 - Install the client packages
75 75
 
76 76
 ## collector
77
-- Installs collector package and service. If the NoSQL database is used for metering service, ceilometer-dbsync will not be executed.
77
+- Installs collector package and service. If the NoSQL database is used for metering service, ceilometer-upgrade will not be executed.
78 78
 
79 79
 ## common
80 80
 - Common metering configuration.

+ 1
- 1
metadata.rb View File

@@ -11,7 +11,7 @@ recipe 'openstack-telemetry::agent-compute', 'Installs agent compute service.'
11 11
 recipe 'openstack-telemetry::agent-notification', 'Installs the agent notification service.'
12 12
 recipe 'openstack-telemetry::api', 'Installs API service.'
13 13
 recipe 'openstack-telemetry::client', 'Installs client.'
14
-recipe 'openstack-telemetry::collector', 'Installs collector service. If the NoSQL database is used for metering service, ceilometer-dbsync will not be executed.'
14
+recipe 'openstack-telemetry::collector', 'Installs collector service. If the NoSQL database is used for metering service, ceilometer-upgrade will not be executed.'
15 15
 recipe 'openstack-telemetry::alarm-evaluator', 'Installs the alarm evaluator service.'
16 16
 recipe 'openstack-telemetry::alarm-notifier', 'Installs the alarm notifier service.'
17 17
 recipe 'openstack-telemetry::common', 'Common metering configuration.'

+ 1
- 1
recipes/collector.rb View File

@@ -32,7 +32,7 @@ end
32 32
 
33 33
 conf_switch = "--config-file #{node['openstack']['telemetry']['conf_file']}"
34 34
 execute 'database migration' do
35
-  command "ceilometer-dbsync #{conf_switch}"
35
+  command "ceilometer-upgrade --skip-gnocchi-resource-types #{conf_switch}"
36 36
 end
37 37
 
38 38
 service 'ceilometer-collector' do

+ 1
- 1
spec/collector_spec.rb View File

@@ -17,7 +17,7 @@ describe 'openstack-telemetry::collector' do
17 17
 
18 18
     it do
19 19
       expect(chef_run).to run_execute(
20
-        'ceilometer-dbsync --config-file /etc/ceilometer/ceilometer.conf'
20
+        'ceilometer-upgrade --skip-gnocchi-resource-types --config-file /etc/ceilometer/ceilometer.conf'
21 21
       )
22 22
     end
23 23
 

Loading…
Cancel
Save