Cacti

Bug #908453 reported by TuxSax
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juju Charms Collection
In Progress
Wishlist
Unassigned

Bug Description

I think this juju charms are absolutely charming, and I wanted to try and submit my own.
I'm very new to this world and I believe there might be still some more work to do on this one, but I hope at the end we'll have a charming cacti!
Thanks,
TuxSax

Revision history for this message
Marco Ceppi (marcoceppi) wrote :

Hello TuxSax!

Thank you for submitting. Could you link your branch of the charm to this bug report? If it's not ready yet keep on working and when you're ready push up your work to lp:~YOUR_LP_USERNAME/charm/oneiric/cacti/trunk then link it so this bug report and add the "new-charm" tag. Otherwise link your current branch and add the "new-charm" tag and a Charmer will be by to give it a review!

tags: removed: new-charm
Revision history for this message
TuxSax (zivley) wrote :

Hi Marco,
As I said, this is my first try, I'm not really experienced about using charms nor launchpad, I'm just trying to get into this while doing the best I can, I'd love someone to review my work and give me directions on how to fix problems, if any, and/or improve it.
Thanks!

tags: added: new-charm
Marco Ceppi (marcoceppi)
Changed in charm:
assignee: nobody → TuxSax (zivley)
status: New → In Progress
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hello zivley, welcome! And thanks for working on cacti, its a pretty cool platform. :)

I was taking a look at your charm, and I think you may have been confused by the way relations work.

It looks like you copied the mysql charm's db-relation-joined. This is not really the way that charms work. That bit of work is done inside the mysql charm, and your charm doesn't need to express any of those details. What it needs to do is simply receive the user/password/host/dbname of the mysql server in db-relation-changed, and then place those things in the local cacti configuration file so that cacti can access the database.

One thing to watch out for, it looks like cacti depends on dbconfig-common. This is the package that pops up interactive screens to ask you for database connection info. The simplest way to handle this is probably to disable it with debconf before the apt-get install:

debconf-set-selections <<<EOF
cacti cacti/dbconfig-install boolean false
EOF

That will allow you to generate the cacti config yourself.

Revision history for this message
TuxSax (zivley) wrote :

I think I have a misconception about EVERYTHING, related to how juju works, I guess I'll need someone to help me out with this.
Also, how can I test run this if I don't have access to any cloud? Could I run it on my local PC somehow?

Revision history for this message
Robbie Williamson (robbiew) wrote :

@TuxSax: Yep...you can use the LXC provider. It's really easy to do, just follow the instructions listed under "For Attendees" here: https://juju.ubuntu.com/CharmSchool

Changed in charms:
importance: Undecided → Wishlist
Jorge Castro (jorge)
summary: - Cacti - My first charm
+ Cacti
Revision history for this message
Jorge Castro (jorge) wrote :

Hi TuxSax, when you're ready for a review please subscribe "charmers" to this bug! Thanks!

tags: removed: new-charm
TuxSax (zivley)
Changed in charms:
assignee: TuxSax (zivley) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.