Reactive Kibana Charmstore Submission

Bug #1603181 reported by james beedy on 2016-07-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection

Bug Description

Reactive re-write of Kibana with added support for Xenial.

Tests, icon.svg, and dashboads were pulled forward from cs:trusty/kibana.

james beedy (jamesbeedy) on 2016-07-15
description: updated
Pete Vander Giessen (petevg) wrote :

Hi James,

Thank you for your work on this charm.

When I run the tests via bundletester, I run into the following errors. (I'm using juju2.0, beta 8, deploying locally to LXD containers)

1) Linter fails due to a missing dependency for flake8.
2) fails with the following error:

ERROR: setUpClass (__main__.TestDeployment)
Traceback (most recent call last):
  File "/tmp/bundletester-A48HGx/kibana/tests/", line 22, in setUpClass
    cls.deployment.relate('kibana:rest', 'elasticsearch:client')
  File "/home/petevg/.local/lib/python3.5/site-packages/amulet/", line 404, in relate
    raise ValueError('%s does not exist for %s' % (rel, srv))
ValueError: rest does not exist for kibana


I see that the files "10-deploy" and "" both exist. Are both legitimate tests that need to be run, or is one a holdover from the old charm?

If you have any trouble reproducing the errors, please feel free to ping me, either here, or on freenode#juju (my handle there is "petevg")

Changed in charms:
status: New → Incomplete
james beedy (jamesbeedy) wrote :

@petevg, I have fixed the errors you pointed out, thanks for that! Hopefully the tests will pass now in the automated testing. How might I kick off another round of tests?


Matt Bruzek (mbruzek) wrote :

@jamesbeedy the automated testing tool called bundletester and you can run it yourself. While we do have a github repository the recommended way to install it is `pip install -U bundletester` (do this in a virtual environment if you wish). Change directory to the base of the charm and run `bundletester -F -l DEBUG -v` that will deploy the charm, run the tests and tear down the charm using your current juju environment.

james beedy (jamesbeedy) wrote :

@mbruzek, thanks - Don't know how I got this far w/out it.

james beedy (jamesbeedy) wrote :

@mbruzek, yea ... ultimate fail for bundletester :-(

Bundletester doesn't seem compat with juju-2.0 yet.... I would have to stand up a 1.x env to use it somewhere arrrg.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers