getting ceilometer nova-client error on compute node

asked 2016-12-05 04:10:47 -0500

deepak2112 gravatar image

updated 2016-12-06 14:51:14 -0500

rbowen gravatar image

openstack juno version(three node setup)

ERROR ceilometer.nova_client [-] The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-054d0c6e-d0da-4bbe-929b-7e2cdae7cc8c)

in the log file of ceilometer-agent-compute .log`

compute .conf file on compute node

[DEFAULT] 
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = XXXXXX
verbose = True
[database]
connection=sqlite:////var/lib/ceilometer/ceilometer.sqlite
[publisher]
metering_secret = METERING_SECRET
[keystone_authtoken]
...
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = ceilometer
admin_password = XXXXXXXX
 [service_credentials]
...
os_auth_url = http://controller:5000/v2.0
os_username = ceilometer
os_tenant_name = service
os_password = XXXXXX
os_endpoint_type = internalURL
os_region_name = regionOne

ceilometer.conf on controller node

[DEFAULT]
verbose = true
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = rabbit123
auth_strategy = keystone
log_dir=/var/log/ceilometer

[alarm]
evaluation_interval=60

[database]
connection = mongodb://ceilometer:ceilometer123@controller:27017/ceilometer

[publisher]
metering_secret = METERING_SECRET

[keystone_authtoken]
...
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = ceilometer
admin_password = XXXXXXXX

[service_credentials]
os_auth_url = http://controller:5000/v2.0
os_username = ceilometer
os_tenant_name = service
os_password = ceilometer123

how to solve this issue as i am doing auto scaling , stack is creating but not able to scale. a found error in log.

edit retag flag offensive close merge delete

Comments

now i am getting this error in ceilometer-agent-compute.log file

TRACE ceilometer.agent 2016-12-05 14:32:07.665 11065 WARNING ceilometer.transformer.conversions [-] dropping sample with no predecessor: (<ceilometer.sample.sample object="" at="" 0x7efef3962350="">,)

pls tell me how to solve this.

deepak2112 gravatar imagedeepak2112 ( 2016-12-05 21:48:18 -0500 )edit

dropping sample with no predecessor is expected message for some pollsters. They expect to have 2 samples to calculate the sample's volume

yprokule gravatar imageyprokule ( 2016-12-07 01:49:56 -0500 )edit

Regarding other message : The server has either erred or is incapable of performing the requested operation. please enabled debug/verbose for both ceilometer and nova.

Also please check the pollster's name that causes the traceback.

yprokule gravatar imageyprokule ( 2016-12-07 01:52:22 -0500 )edit