Missing ceilometer configuration in swift-proxy conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
Medium
|
Hemanth Nakkina |
Bug Description
During redeployment or custom graph execution, ceilometer related configuration is missing in swift-proxy.conf. ( No issue with configuration if first/initial deployment is successful)
Working case - swift-proxy.conf
[pipeline:main]
pipeline = catch_errors crossdomain healthcheck cache bulk tempurl ratelimit formpost swift3 s3token authtoken keystone staticweb container_quotas account_quotas slo ceilometer proxy-server
[filter:ceilometer]
use = egg:ceilometer#
Non-working case - swift-proxy.conf
[pipeline:main]
pipeline = catch_errors crossdomain healthcheck cache bulk tempurl ratelimit formpost swift3 s3token authtoken keystone staticweb container_quotas account_quotas slo proxy-server
Analysis
--------
Hiera parameter use_ceilometer is not properly updated during the error scenario which inturn is required to populate ceilometer configuration in swift-proxy.conf.
Working case
fuel@
true
Non-working case
fuel@
nil
use_ceilometer is set when ceilometer hiera have enabled paramter TRUE.
In non-working case,
hiera ceilometer
{"compute_
"default_
"event_
"ha_mode"=>false,
"metering_
"notification_
"notification_
"lma_
hiera -h ceilometer
{"db_password"
"enabled"=>true,
"metering_
"user_password"
"alarm_
"event_
"metering_
"http_timeout"
"notification_
"compute_
"default_
"ha_mode"=>false,
"notification_
"lma_
So proposal is to modify globals.pp to use hiera hash instead of hiera.
https:/ /review. openstack. org/469000