ceilometer charm 17.08

Giuseppe Attardi giuseppe.attardi at garr.it
Mon Sep 25 18:51:29 UTC 2017


Sorry, I misspelled

	openstack-origin: cloud:xenial/pike

instead of:

	openstack-origin: cloud:xenial-pike

--

> On 25 set 2017, at 20:01, Giuseppe Attardi <giuseppe.attardi at garr.it> wrote:
> 
> 
>> On 14 set 2017, at 20:35, Dmitrii Shcherbakov <dmitrii.shcherbakov at canonical.com <mailto:dmitrii.shcherbakov at canonical.com>> wrote:
>> 
>> Giuseppe,
>> 
>> Unfortunately, it's this way now and it is a known problem. I made a write-up in this bug https://bugs.launchpad.net/charm-ceilometer/+bug/1717337 <https://bugs.launchpad.net/charm-ceilometer/+bug/1717337>
>> 
>> In short: ceilometer-upgrade in the ceilometer package itself uses a database (mongodb) connection url unconditionally and blocks if it is not specified. That's why we need to render that out in ceilometer.conf on Ocata. I included the necessary commit ids for reference in 1717337.
>> 
>> It will definitely be fixed as in Pike this is no longer a problem in ceilometer itself but we have to maintain compatibility of the new charm code with previous OpenStack releases for quite a bit.
> 
> I attempted to install ceilometer for Pike, but installation fails with this error in /var/log/juju/unit-ceilometer-1.log:
> 
> 2017-09-25 17:37:05 DEBUG install Traceback (most recent call last):
> 2017-09-25 17:37:05 DEBUG install   File "/var/lib/juju/agents/unit-ceilometer-ba1-cl2-4/charm/hooks/install.real", line 100, in <module>
> 2017-09-25 17:37:05 DEBUG install     CONFIGS = register_configs()
> 2017-09-25 17:37:05 DEBUG install   File "/var/lib/juju/agents/unit-ceilometer-ba1-cl2-4/charm/hooks/ceilometer_utils.py", line 191, in register_configs
> 2017-09-25 17:37:05 DEBUG install     if run_in_apache():
> 2017-09-25 17:37:05 DEBUG install   File "/var/lib/juju/agents/unit-ceilometer-ba1-cl2-4/charm/hooks/ceilometer_utils.py", line 449, in run_in_apache
> 2017-09-25 17:37:05 DEBUG install     return CompareOpenStackReleases(os_release('ceilometer-common')) >= 'ocata'
> 2017-09-25 17:37:05 DEBUG install   File "/var/lib/juju/agents/unit-ceilometer-ba1-cl2-4/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 527, in os_release
> 2017-09-25 17:37:05 DEBUG install     get_os_codename_install_source(config('openstack-origin')) or
> 2017-09-25 17:37:05 DEBUG install   File "/var/lib/juju/agents/unit-ceilometer-ba1-cl2-4/charm/hooks/charmhelpers/contrib/openstack/utils.py", line 334, in get_os_codename_install_source
> 2017-09-25 17:37:05 DEBUG install     ca_rel = ca_rel.split('%s-' % ubuntu_rel)[1].split('/')[0]
> 2017-09-25 17:37:05 DEBUG install IndexError: list index out of range
> 2017-09-25 17:37:05 ERROR juju.worker.uniter.operation runhook.go:107 hook "install" failed: exit status 1
> 
>> 
>> 
>> Best Regards,
>> Dmitrii Shcherbakov
>> 
>> Field Software Engineer
>> IRC (freenode): Dmitrii-Sh
>> 
>> On Thu, Sep 14, 2017 at 3:31 AM, Giuseppe Attardi <giuseppe.attardi at garr.it <mailto:giuseppe.attardi at garr.it>> wrote:
>> I have upgraded ceilometer to release 17.08 for use with the new gnocchi charm.
>> ceilometer should no longer need a DB, but it still waits for the DB relation:
>> 
>> ceilometer-ba1-cl2/1*                waiting      idle        5/lxd/0   90.147.161.27   8777/tcp                                 Incomplete relations: database
>> 
>> — Beppe
>> 
>> 
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju <https://lists.ubuntu.com/mailman/listinfo/juju>
>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170925/b9455131/attachment.html>


More information about the Juju mailing list