/srv/irclogs.ubuntu.com/2013/10/28/#juju.txt

=== freeflying is now known as freeflying_away
rick_h_marcoceppi: when you get time want to chat packaging/use charmhelpers. since it's using distutils no setup.py develop command and it's merged back to setuptools anyway so not sure if there's a reason to keep it distutils.01:12
rick_h_bah, and doesn't have any install_requires01:13
marcoceppirick_h_: I haven't had a chance to look at the project for several weeks. Given emerging requirements to include multiple languages I imagine re-organizing the code base and having one source package build several language specific (including a generic charm-helpers package)01:13
marcoceppirick_h_: I'm not sure if just a setup.py will cut it for packaging01:15
rick_h_marcoceppi: gotcha, well let me know if you get there and want a test/second set of eyes on making it installable easy enough01:15
marcoceppirick_h_: I'm open to opinions even before I get there :)01:15
rick_h_marcoceppi: yea, not sure. I'm more a python packager. I did it once, but I live in pypi land01:15
rick_h_(did a .deb once)01:15
rick_h_but trying to get it installed, wanted to try out the 'template a new charm' stuff but the readme isn't helpful atm and wasn't sure how best to install it. Figured I'd pull down the source and install into a virtualenv, but the python package doesn't do deps, etc01:16
marcoceppirick_h_: I'll likely create a python-charmhelpers package for just the python specific bits01:16
marcoceppirick_h_: oh, haha, that's because you don't install it01:16
rick_h_https://juju.ubuntu.com/docs/authors-charm-writing.html doesn't use it from what I can tell01:16
marcoceppiit's just "embedded" in charms ATM01:16
marcoceppiand by charms, I mean Python charms01:17
rick_h_marcoceppi: so I thought there was a 'create a new charm from a sample tepmlate' command?01:17
marcoceppirick_h_: yeah, `juju charm create <name>`01:17
rick_h_or is that somewhere else then before you get to the charm/python helpers in there01:17
marcoceppibut that's only one template01:17
marcoceppirick_h_: charm-tools01:17
marcoceppithat's packaged and should be in saucy/juju stable ppa01:17
rick_h_marcoceppi: ah, /me didn't realize there was charm-tools and charm-helpers01:17
marcoceppirick_h_: but it's only one template, and it's a very light weight bash template01:18
rick_h_they kind of blurred into one on me01:18
marcoceppirick_h_: charm-tools is for stuff outside of charms, charm-helpers is for stuff inside of charms01:18
rick_h_marcoceppi: ok, well I guess if you wanted me to test out writing a new charm from scratch, where should I be starting to test what we tell everyone to do?01:18
rick_h_marcoceppi: ok, I'll try to see if I can at least pull some readme updates that make that more clear.01:19
marcoceppirick_h_: Follow the docs, though I don't think it has charm-tools syntax in it yet, evilnick should be adding that soon. Basically, what I tell people during charm schools is: "Add ppa:juju/stable, apt-get install charm tools, run juju charm create <name>"01:19
marcoceppirick_h_: https://juju.ubuntu.com/docs/tools-charm-tools.html01:20
rick_h_marcoceppi: yea, that's not in the doc on charm-writing ^^01:20
marcoceppirick_h_: right, evilnick has a task to fix that01:20
rick_h_ok cool01:20
marcoceppiI can ping you once it's updated if you want to give it a go?01:20
marcoceppis/\?//01:20
rick_h_marcoceppi: ok, we'll see.01:21
rick_h_marcoceppi: so does charm-helpers have a doc listing the api bits it provides for charm writing?01:22
marcoceppirick_h_: not that I know of. It's pretty much read the source.01:22
rick_h_marcoceppi: ok can do01:22
marcoceppirick_h_: we did an intro charm school about it. Part of packaging it will be to document it01:22
marcoceppirick_h_: let me know any and all feedback on the process. It's rough right now so outside opinions on the process are so very welcomed101:23
rick_h_marcoceppi: yea, will do. It's been a while since I tried to charm up my app so starting over vs updating the old code and will go through the process01:24
marcoceppirick_h_: you going to write the charm in Python?01:25
rick_h_marcoceppi: that's the plan01:26
rick_h_marcoceppi: for https://github.com/mitechie/bookie01:26
marcoceppirick_h_: cool, the code in "core" package of charm-helpers will likely help you the most01:26
marcoceppirick_h_: you might also want to watch the charm-helpers charm school, it goes over some of the more commonly used charm-helpers01:27
rick_h_marcoceppi: k, so charm-tools isn't in the dev ppa? I've got 0.3 from there, but looks like 1.0 is out?01:28
marcoceppirick_h_: charm-tools is in ppa:juju/stable (and should be in saucy)01:28
marcoceppilet me check saucy01:28
marcoceppiyeah, it's in saucy01:29
rick_h_marcoceppi: ok, this is a raring desktop I'm running on atm. Haven't updated the desktop, only laptop yet. It's running the juju/devel ppa01:29
marcoceppirick_h_: ah, yeah all the tools for juju are in ppa:juju/stable01:29
rick_h_marcoceppi: ok, looks like I've got bigger fish to fry to get going then.01:30
marcoceppirick_h_: it's save to have that and devel ppa on your machine, you'll always get latest juju01:30
marcoceppisafe*01:30
rick_h_marcoceppi: ah ok01:30
marcoceppiYeah, we're making a commitment to have packages of tools in the charm ecosystem in distro, liek charm-tools, amulet, charm-helpers (eventually), deployer, etc01:31
marcoceppicharm-tools just never got updated for raring01:31
rick_h_marcoceppi: yea, understand. My fault.01:32
marcoceppinp np!01:32
marcoceppithis will definitely be a better trusty story, but it's good to document this in the charm-authors guide. If you're getting tripped up by it others will01:32
rick_h_README.ex?01:34
routelastresortis there a good doc w/current info on what I can change to ppa/settings-wise to get all of the latest fixes on saucy??01:53
=== melmoth_ is now known as melmoth
rick_h_marcoceppi: well just did bash since I had bash instructions, but http://ec2-54-205-26-172.compute-1.amazonaws.com:6543/ walks through my make commands ok at least it seems02:39
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
PreytellI ask this question in the maas channel but maybe it should be here.06:57
PreytellMorning all, I have a question about maas. I am attempting to put maas regional controller on a machine that how two nics, and I am deploying to hardware that is on a switch with the second nic on the controller.  But when I boot strap it will get to a point where it attempts to wget the tools and it tries to get them from the first nics address and not the nic that it just pxe booted from... Which of course fails.06:57
Preytellit really juju that is doing this part.06:57
Preytellit's06:57
=== CyberJacob|Away is now known as CyberJacob
=== freeflying_away is now known as freeflying
rick_h_jcsackett: around today?12:40
=== cmagina_ is now known as cmagina
=== kentb-out is now known as kentb
=== scuttlemonkey_ is now known as scuttlemonkey
AskUbuntuJuJu bootstrap error | http://askubuntu.com/q/36734015:24
zradminAzendale: Quantum had to be renamed because of a trademark dispute apparently. I am also working on an HA deployment and Neutron doesn't seem to be registering properly as I can't run any commands against the API20:03
=== vila is now known as lt-columbo
=== lt-columbo is now known as vila
=== JoseeAntonioR is now known as jose
=== CyberJacob is now known as CyberJacob|Away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!