it exits with status = 1 and in the file /var/log/ceilometer/ceilometer-upgrade.log
I found the following lines:2017-06-12 15:43:08.982 35526 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.2017-06-12 15:43:08.982 35526 INFO ceilometer.cmd.storage [-] Skipping metering database upgrade2017-06-12 15:43:09.594 35526 CRITICAL ceilometer [-] Unauthorized: Unauthorized (HTTP 401)2017-06-12 15:43:09.594 35526 ERROR ceilometer Traceback (most recent call last):2017-06-12 15:43:09.594 35526 ERROR ceilometer File "/usr/bin/ceilometer-upgrade", line 10, in <module>2017-06-12 15:43:09.594 35526 ERROR ceilometer sys.exit(upgrade())2017-06-12 15:43:09.594 35526 ERROR ceilometer File "/usr/lib/python2.7/site-packages/ceilometer/cmd/storage.py", line 53, in upgrade2017-06-12 15:43:09.594 35526 ERROR ceilometer gnocchi_client.upgrade_resource_types(conf)2017-06-12 15:43:09.594 35526 ERROR ceilometer File "/usr/lib/python2.7/site-packages/ceilometer/gnocchi_client.py", line 116, in upgrade_resource_types2017-06-12 15:43:09.594 35526 ERROR ceilometer gnocchi.resource_type.create(resource_type=rt)2017-06-12 15:43:09.594 35526 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/resource_type.py", line 35, in create
Please, anyone ha solved this issue yet ?
On 12/06/17 10:30 AM, Ignazio Cassano wrote:
> 2017-06-12 15:43:09.594 35526 CRITICAL ceilometer [-] Unauthorized: Unauthorized (HTTP 401)
the credentials you're using aren't valid.
my advice is to launch devstack with gnocchi and ceilometer enabled.
from there, take a look at the configuration settings for both which
should help you understand how to connect the two services.
OpenStack-operators mailing list
On 13/06/17 01:17 PM, Ignazio Cassano wrote:
> Hi Gordon, I had no enough time for trying with devstack.
you gave up after a day?
how about paste your ceilometer.conf and gnocchi.conf. did you follow
the steps here?
the only step i see missing is that it doesn't tell you to set auth_mode
= keystone in gnocchi.conf (if you're using gnocchi3.1+)
On 14/06/17 05:15 AM, Ignazio Cassano wrote:
> source admin-openrc
> gnocchi metric list
> The request you have made requires authentication. (HTTP 401)
i have no idea what admin-openrc sets, i'm guessing this?
the only thing i notice missing is it should have:
please read docs here: