Giuseppe, The bug is still there https://bugs.launchpad.net/charm-ceilometer/+bug/1717337
So if you have a missing database relation, this is expected until there will be a workaround in-place. ceilometer-ba1-cl2/5* blocked idle 5/lxd/25 90.147.161.27 8777/tcp Missing relations: database Meanwhile, you can remove 'mongodb' from here: https://github.com/openstack/charm-ceilometer/blob/stable/17.08/lib/ceilometer_utils.py#L104-L105 'database': ['mongodb'], So it will be as follows (don't delete it entirely due to https://github.com/openstack/charm-ceilometer/blob/stable/17.08/lib/ceilometer_utils.py#L379-L380 ): 'database': [''], Then go through https://jujucharms.com/docs/stable/authors-charm-store#log-in-to-the-store and do charm push <ceilometer-charm-src-dir> cs:~<lp-username>/ceilometer charm grant '~<lp-username>/ceilometer' --channel stable --acl read --set everyone charm release cs:~<lp-username>/ceilometer-<n> And then juju upgrade-charm <app-name> --switch cs:~<lp-username>/ceilometer-<n> This should give you a temporary workaround for having to relate to mongodb if you are running Pike. You can then upgrade with --switch when a bug is fixed and backported. Best Regards, Dmitrii Shcherbakov Field Software Engineer IRC (freenode): Dmitrii-Sh On Mon, Sep 25, 2017 at 10:36 PM, Giuseppe Attardi <giuseppe.atta...@garr.it > wrote: > This is what I have: > > $ juju status ceilometer-ba1-cl2|head -40 > Model Controller Cloud/Region Version SLA > cloudbase garr-maas-ctrl-2 garrMAAS/Bari 2.2.3 unsupported > > App Version Status Scale Charm Store Rev > OS Notes > ceilometer-ba1-cl2 6.1.5 blocked 1 ceilometer jujucharms 247 > ubuntu > defaultgw-ba1-cl2 active 1 defaultgw jujucharms 0 > ubuntu > > Unit Workload Agent Machine Public address Ports > Message > ceilometer-ba1-cl2/5* blocked idle 5/lxd/25 90.147.161.27 > 8777/tcp Missing relations: database > defaultgw-ba1-cl2/35 active idle 90.147.161.27 > Unit is ready. Gateway ok > > Machine State DNS Inst id Series AZ > Message > 5 started 90.147.161.86 8anyyy xenial Bari > Deployed > 5/lxd/25 started 90.147.161.27 juju-117f34-5-lxd-25 xenial Bari > Container started > > Relation provider Requirer > Interface Type > ba1-cl2-compute:juju-info ntp-ba1-cl2:juju-info > juju-info subordinate > ba1-cl2-ctrl:juju-info ntp-ba1-cl2:juju-info > juju-info subordinate > ba1-cl2-gw:juju-info ntp-ba1-cl2:juju-info > juju-info subordinate > ceilometer-agent-ba1-cl2:nova-ceilometer > nova-compute-ba1-cl2:nova-ceilometer nova-ceilometer > subordinate > ceilometer-ba1-cl2:ceilometer-service > ceilometer-agent-ba1-cl2:ceilometer-service > ceilometer regular > ceilometer-ba1-cl2:cluster > ceilometer-ba1-cl2:cluster ceilometer-ha > peer > ceilometer-ba1-cl2:juju-info > defaultgw-ba1-cl2:juju-info juju-info > subordinate > ceph-proxy-ba1-cl2:client cinder-ceph-ba1-cl2:ceph > … > > even after deploying ceilometer with open stack-origin: xenial-pike. > > -- > > > 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. > > > > Best Regards, > > Dmitrii Shcherbakov > > > > Field Software Engineer > > IRC (freenode): Dmitrii-Sh > > > > On Thu, Sep 14, 2017 at 3:31 AM, Giuseppe Attardi < > giuseppe.atta...@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@lists.ubuntu.com > > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju > > > > > >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju