ceilometer-api installation postinst error
hi
I am trying to install ceilometer-api, but i am getting error with authentication during the post auth method.
apt-get install ceilometer-api
Reading package lists... Done
Building dependency tree
Reading state information... Done
ceilometer-api is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up ceilometer-api (1:6.1.5-5~u14.04+mos25) ...
Registering service and endpoints for ceilometer with type metering at http://10.8.1.24:8777/
The request you have made requires authentication. (HTTP 401) (Request-ID: req-b1762856-fd58-471e-8172-4bdb91cac77d)
Warning - data is empty
The request you have made requires authentication. (HTTP 401) (Request-ID: req-05441516-1081-48d2-8f16-3125498fc600)
dpkg: error processing package ceilometer-api (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ceilometer-api
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried various options but no luck. anybody has any idea on how this can be fixed. Is there a way for me to pass admin credentials while installation ?
Are you installing in Openstack or devstack?