ceilometer charm 17.08

Dmitrii Shcherbakov dmitrii.shcherbakov at canonical.com
Mon Sep 25 19:14:48 UTC 2017


Giuseppe,

Just in case:

juju status
Model    Controller           Cloud/Region         Version  SLA
default  localhost-localhost  localhost/localhost  2.2.4    unsupported

App              Version       Status   Scale  Charm            Store
Rev  OS      Notes
ceilometer       9.0.0         blocked      1  ceilometer       jujucharms
 247  ubuntu
keystone         12.0.0        active       1  keystone         jujucharms
 268  ubuntu
mongodb                        unknown      1  mongodb          jujucharms
  46  ubuntu
percona-cluster  5.6.34-26.19  active       1  percona-cluster  jujucharms
 254  ubuntu

Unit                Workload  Agent  Machine  Public address  Ports
                           Message
ceilometer/0*       blocked   idle   2        10.122.52.211   8777/tcp
                            Missing relations: messaging
keystone/0*         active    idle   0        10.122.52.116   5000/tcp
                            Unit is ready
mongodb/0*          unknown   idle   3        10.122.52.194
27017/tcp,27019/tcp,27021/tcp,28017/tcp
percona-cluster/0*  active    idle   1        10.122.52.117   3306/tcp
                            Unit is ready

Machine  State    DNS            Inst id        Series  AZ  Message
0        started  10.122.52.116  juju-b9f878-0  xenial      Running
1        started  10.122.52.117  juju-b9f878-1  xenial      Running
2        started  10.122.52.211  juju-b9f878-2  xenial      Running
3        started  10.122.52.194  juju-b9f878-3  xenial      Running

Relation provider          Requirer                     Interface
 Type
ceilometer:cluster         ceilometer:cluster           ceilometer-ha
 peer
keystone:cluster           keystone:cluster             keystone-ha
 peer
keystone:identity-service  ceilometer:identity-service  keystone
  regular
mongodb:database           ceilometer:shared-db         mongodb
 regular
mongodb:replica-set        mongodb:replica-set          mongodb-replica-set
 peer
percona-cluster:cluster    percona-cluster:cluster      percona-cluster
 peer
percona-cluster:shared-db  keystone:shared-db           mysql-shared
  regular


Best Regards,
Dmitrii Shcherbakov

Field Software Engineer
IRC (freenode): Dmitrii-Sh

On Mon, Sep 25, 2017 at 9:51 PM, Giuseppe Attardi <giuseppe.attardi at garr.it>
wrote:

> 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@
> 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
>
> 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> 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
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/juju
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170925/62036948/attachment.html>


More information about the Juju mailing list