Charm needed: opentsdb
Bug #1017796 reported by
Robert Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Fix Released
|
Undecided
|
Robert Collins |
Bug Description
I wanted to do an evaluation of it, but its neither packaged nor charmed. I've created a draft charm to help others, but I've no plans to keep it up to date at this stage as we don't use it.
summary: |
- opentsdb could use a charm + Charm needed: opentsdb |
Changed in charms: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Hi Robert, thanks for submitting. Obviously we would require at least some kind of commitment to maintain this charm long term or we can't accept it into the charm store. That means listing yourself as maintainer and being responsive to bug reports and questions.
Anyway, ignoring that, here is a review of the content of the charm:
** This is great, and I really love the detailed instructions in README
1. git:// urls from github are not safe, and can be MITM attacked. You can however use the https urls and at least be covered for MITM with that.
2. start should indeed start anything that needs to be running at the time it is run, so it should inspect system state and start any daemons, even if they are started elsewhere in the charm.
3. stop maybe needs --oknodo since opentsdb might not be running at the moment stop is called.
4. zookeeper- relation- changed: its only psychological, as the change doesn't actually happen until the hook exits successfully, but open-port shoudl come after the port that you're opening is serviced, since it is meant to be used as a way to say "this is now ready" not just a marker for what to expose.
5. rather than calling start-stop-daemon directly, you should arrange for the daemon to start up if the box is rebooted. An upstart job running basically the same command would be good
6. Do you mean to run tsdb as root? It will run as root right now, and thats usually not cool.