/srv/irclogs.ubuntu.com/2016/03/08/#juju.txt

=== thumper-dogwalk is now known as thumper
bradmanyone know how to get juju to support arm64?  I've got maas setup with the arm64 images, but telling it to deploy to an arm64 node gives me "no matching tools found", even though I can see arm64 tools on the state server02:08
jaceknhello. I have a charm which I was told would end up int he charmstore but it still has not happened: https://bugs.launchpad.net/charms/+bug/1538573 and http://review.juju.solutions/review/242609:52
mupBug #1538573: New collectd subordinate charm <Juju Charms Collection:Fix Committed> <https://launchpad.net/bugs/1538573>09:52
jacekncan one of the charmers have a look at tell me if anytnign is blocking it?09:53
jamespagetinwood, hey - I've pushed up you serverstack-dns changes into the PPA09:59
jamespagehttps://launchpad.net/~openstack-charmers/+archive/ubuntu/test-tools09:59
deanmanWhat's the usual deployment time of juju-gui charm? I'm facing 15+ minutes of deployment time. Is that normal ?11:39
magicaltroutnot really11:41
magicaltroutfew minutes usually11:41
deanmanmagicaltrout: Maybe I'm doing something wrong with my environment. I'm using a simple VM with 2 cores and 4096 ram and manual provider pointing to itself. Is that ok ?11:43
magicaltroutIt's been a while since I played with the manual provider but I'd have a look in /var/log/juju/.... and find the log for juju-gui11:43
rick_h__deanman: you can juju ssh juju-gui/0 and tail the /var/log/juju/unit-* to see what's going on11:43
magicaltroutyeah.. what he said11:44
deanmanrick_h__: Ok i will try that and see what happens. Is there a way to time the actual deployment time instead of using watch juju status to see changes in status ?11:46
deanmanrick_h__: You cannot ssh to juju-gui before the containers gets assigned an IP. I notice it takes a lot of time to install the agent on the container. And debug-log doesn't produce any logs to see whether somethings goes wrong. Any other hints?12:18
jamespagethedac, gnuoy, tinwood, beisner: ok so we should be on auto-matic bug management via Closes-Bug: XXXX in commit messages now13:39
gnuoyjamespage, tip top13:41
nvalerkoshey13:42
nvalerkosso, is there a guide for writing a charm?13:42
marcoceppinvalerkos: yup13:43
marcoceppinvalerkos: https://jujucharms.com/docs/devel/developer-getting-started13:43
nvalerkosthanks marcoceppi:13:44
magicaltroutokay, rolling back up to last night14:05
magicaltroutwhat status do I need to watch to find out when the next leader election routine is run?14:05
* magicaltrout reckons amulet should have a bunch of constants which map to various Juju status' which would be easy to find and map into test classes14:08
=== _Sponge is now known as MagicSponge
tinwoodcool jamespage, sounds good. :)14:23
techgestureScenario - I have juju running on a dedicated local machine, runniung great. (Thanks to #juju-gui channel help)... I want to have OpenStack devstack running on the same box, and have the local juju orchestrate instances on that devstack. My question is a "whos on first"... should I have juju deploy openstack/devstack on the local box, or should I i14:23
techgesturenstall devstack seperately on the box, and somehow configure juju to see it?14:23
tinwoodthanks for the merge gnuoy on charm-helpers.14:23
gnuoynp14:30
gnuoytechgesture, I'd say deploy devstack and the tell juju about your devstack installation. Having juju deploy openstack on your laptop in containers is coming very soon but not quite there yet14:32
techgesturegnouy - I was thinking that running OpenStack inside containers would be goofy14:34
techgesturewould a quick google-search for "connect juju to OpenStack" show me how to do that? or do you happen to know a good link?14:35
gnuoytechgesture, https://jujucharms.com/docs/1.25/config-openstack14:37
marcoceppitechgesture: https://jujucharms.com/docs/stable/config-openstack14:37
techgestureawesome - thank you kindly14:37
gnuoynp14:37
aisraelkwmonroe: with the xenial vagrant image, did it mount /vagrant for you? Mine did not. :/14:40
techgesturejust an observation - I work for a major cloud provider - we are bringing in Canonical OpenStack and Juju - and I'm the guy helping with allot of PaaS stuff to say the least - I don't think I realized until just yesterday that Juju is in itself a PaaS... that natively it is controlling containers, not too much different than CloudFoundr14:41
techgestureCloudFoundry14:41
techgestureI've gone through a number of Juju seminars, and I'm telling you I don't think the message is clear that it can be used as a PaaS... usually the focus is on Orchstration of other clouds and launching services14:42
techgestureI bet there is room to do some documentation on that - - I'll see if there is something I can do to contribute back to the community14:43
marcoceppitechgesture: well, it's really like Juju can deploy services you market as paas, but it's really modelling those applications - so if you turn those around and offer it as a PAAS, then it's now managing your paas ;)14:43
marcoceppibut it's true, it's not a story we highlight very well14:44
jcastrohttp://askubuntu.com/questions/735182/does-services-like-trove-ceilometer-et-cetera-come-with-ubuntu-openstack-autopi14:49
jcastrobeisner: this one's all you ^ :D14:49
jcastrokwmonroe: cory_fu: FYI, not sure if this is a bug or not: http://askubuntu.com/questions/740094/adduser-fails-when-relating-hadoop-plugin-to-hbase-master14:54
magicaltroutbug? surely not crom corey14:56
magicaltrout-c +f14:56
magicaltroutbah14:57
magicaltroutback to tests14:57
kwmonroenegative aisrael, current vagrant xenial fails for me with "ifup eth1" error, "RTNETLINK answers: File exists".  i've tried adding eth1.cfg's strategically in my system, some with just "auto eth1", some with full config to my 172 static address. when i configure with an ip address, i see eth1 is up and pingable, but no shared vagrant folders :/14:58
aisraelkwmonroe: I'm switching to trusty/juju, and dist-upgrading from there.14:58
kwmonroeyeah jcastro, that's a bug.  the problem is that our promulgated apache-hadoop-plugin has an old charmhelpers bundled in it :(15:04
kwmonroeand that old CH doesn't have the new adduser signature committed here: http://bazaar.launchpad.net/~bigdata-dev/charm-helpers/framework/revision/44515:05
kwmonroethe good news jcastro, is that it looks like he sorted himself by changing the sig.15:05
kwmonroethe better news jcastro, is that this goes away when we push our layered charms to our promulgated space sometime this week.15:06
jcastrokwmonroe: yeah I'm glad he fixed it, I just wanted to point it out15:08
kwmonroeack15:09
jcastrohttp://askubuntu.com/questions/742214/openstack-maas-second-hard-disk-recommendation15:11
jcastrobeisner: easy bounty ^^^15:11
nvalerkosI am trying to build a charm layer between tomcat7 and mysql, I cannot find any example tomcat7 interface. I've built my charm, but I am getting some subordinate errors.15:21
nvalerkosanyone wanna help out ? or point a way towards the light?15:23
cory_fujcastro: The root cause was mixing hbase from bigdata-dev with plugin, et al. from charmers.  There was a known incompatibility and the layered versions should be future-proofed against that sort of thing happening again.15:29
cory_fuI'll comment on the question15:29
marcoceppinvalerkos: not sure I understand your question15:30
nvalerkosI found the spagobi https://jujucharms.com/u/spagobi-charmers/spagobi/trusty/4 I will reference that and see from there..15:30
marcoceppinvalerkos: spago is a good example, but it's not a layer, so be aware that it's not a 1x1 matchup15:31
nvalerkosmarcoceppi: I want a java webapp example to look at that uses mysql15:42
magicaltroutnvalerkos: I can possibly sort you out15:43
nvalerkosmarcoceppi: I made my charm, most of it with python, I am not15:43
nvalerkosplanning to deploy it on community15:43
magicaltrouthttp://bazaar.launchpad.net/~f-tom-n/charms/trusty/saikuanalytics-enterprise/trunk/files15:44
magicaltroutuses tomcat as a subordinate charm and allows connections to mysql15:44
magicaltroutits not layered though its old style15:44
nvalerkosmagicaltrout: thanks15:46
marcoceppi"classic" charming ;)15:46
magicaltrout"hacked up and somewhere mid review" is how i like to position it ;)15:46
magicaltroutactually it got sent back to me to fix which I did, but then didn't know how to get it back in the review queue15:47
magicaltroutso it stopped :)15:47
magicaltroutbut once i get the tests finished for PDI, I need to roll Saiku 3.8 at which point I will get that finished and recommended because then we'll start pushing Juju as the deployment method15:47
deanmanDoes this "error fetching public address: "public no addres" ring any bells ?16:18
magicaltroutdeanman: is that still juju manual?16:20
deanmanmagicaltrout: Yeah, unfortunately i've tried all sorts of configurations but still this long delay.16:21
magicaltroutweird16:23
magicaltroutdunno, sounds like a funky networking issue though16:23
deanmanmagicaltrout: single VM (vagrant) with private address 192.168.11.11.16:24
magicaltroutsorry deanman never used vagrant, although I know a bunch of canonical employees do16:25
magicaltroutit might be worth dumping a query on the mailing list with the logs and see if anyone knows16:25
deanmanmagicaltrout: nothing fancy about it, it just spins a VM with virtualbox.16:25
deanmanmagicaltrout: ok i will do that, thanks!16:25
magicaltroutmarcoceppi: tvansteenburgh ping16:44
marcoceppimagicaltrout: yo16:44
magicaltrouthello there16:44
magicaltroutI need some clarification because I believe you're lying :)16:44
marcoceppimagicaltrout: it's happened before16:44
magicaltrouthttps://github.com/OSBI/layer-pdi/blob/master/tests/tests.yaml#L1016:44
magicaltroutreset: true16:44
magicaltroutnow it was mentioned the other day, this should give me a clean machine per test16:45
marcoceppitvansteenburgh: ^16:45
magicaltrouthttps://github.com/OSBI/layer-pdi/blob/master/tests/01-deploy.py I was also told a test == 1 def test_xyz function16:45
tvansteenburghnot per test, per test file16:45
magicaltroutoh okay you two didn't lie16:45
magicaltroutsomeone else lied about the scope of the test :P16:45
tvansteenburghi was careful to say per file :)16:45
* magicaltrout splits stuff up16:46
magicaltroutthanks chaps16:46
magicaltroutother quick q16:47
magicaltroutdoes bundletester run in 2.0 yet?16:47
lazyPowernope16:48
magicaltroutshiny16:48
cholcombelazyPower, do you know where run_action for amulet is defined?17:19
marcoceppicholcombe: it's defined on the unit17:20
cholcomberun_action is called in the tests folder for ceph-mon but i can't find the function definition anywhere17:20
marcoceppicholcombe: ah, that's in sentry.py17:20
cholcombeoh?17:20
cholcombemarcoceppi, i don't see it in there  https://github.com/juju/amulet/blob/master/amulet/sentry.py right?17:21
cholcombei'm just trying to figure out what params it takes so that i can call an action that takes parameters17:21
marcoceppicholcombe: bleh17:21
cholcombemarcoceppi, exactly haha17:21
marcoceppiI remember this now, someone contributed this and it landed but I wasn't happy with the implementation17:21
marcoceppihttps://github.com/juju/amulet/blob/86b893ad5f96dd71637da8db7631bb3d50a118c9/amulet/deployer.py#L36217:21
cholcombemarcoceppi, yeah that looks similar17:22
marcoceppicholcombe: so it's d.action_do(unit, action, args) instead of d.service['s'][0].do(action, args)17:22
* marcoceppi submits a patch to link it to UnitSentry17:23
cholcombeyeah everywhere in ceph-mon i see it called as action_id = u.run_action(sentry_unit, 'action-name')17:23
cholcombei'll try passing it a dict and see if it explodes haha17:23
marcoceppino idea where run_action is17:25
marcoceppicholcombe: you sure that's not from charmhelpers.contrib.amulet or somehting else?17:25
cholcombemarcoceppi, maybe.  i'll check.17:25
cholcombemarcoceppi, damn you hit it.  it was buried in there17:26
* marcoceppi shakes angry fist at why there is even a charmhelpers.contrib.amulet when everyone can just contribute to the upstream project17:26
marcoceppicool, so competing implementations of the same feature, and I don't like either one of them17:27
=== zul_ is now known as zul
iceyjuju + lxd seems to fail a lot to me; I deploy a few services, some with multiple units, and a couple of the machines go into error state without ever coming up18:32
magicaltrouticey: do they end up with a 127.x address?19:58
iceynot sure, going to run again and I can dig in19:59
magicaltroutthere was a patch that went into the lxd branch yesterday to fix ip addressing19:59
magicaltroutother than that I've not see any issues myself in testing, apart from one where in Xenial we have to umount and remount a kernel mount point to enable SSHD on trusty images19:59
iceymagicaltrout: I've had to deal with the debugfs already, I'm building my juju from master, should I be running it from a branch?20:00
magicaltrouti don't know what the merge state is20:00
magicaltroutthere is an lxd branch in there that I have built off20:00
magicaltroutbut it could have been merged back in, I dunno20:01
roryschrammhi i saw that there was a release for juju-core 1.25.4 but i cant seem to find it in a repo. Is there a specific repo i need to use for that version?20:07
iceymagicaltrout: it looks like there's some problem and it doesn't actually provision20:08
iceyhttp://pastebin.ubuntu.com/15330108/ magicaltrout20:09
iceymagicaltrout: http://pastebin.ubuntu.com/15330117/20:11
magicaltrouthmm not seen that icey20:12
iceyit looks like it did get created, but juju did not like it or something and baile20:12
iceybailed*20:12
iceymagicaltrout: that last container just started20:12
iceycurrent state: http://pastebin.ubuntu.com/15330147/ ; the container is up, Juju isn't picking it up20:17
narindergupta1hi team any one tested the juju bootstrap with xenial 16.04 in my case cloud init is failing.20:46
magicaltrouticey: i would recommend you post a bug/mailing list post or prod jam and see if he's responsive20:58
cory_fuAny objections to https://github.com/juju-solutions/layer-basic/pull/4121:02
marcoceppicory_fu: lgtm21:10
magicaltrouttried to shorten some of my training sessions at apachecon21:26
magicaltroutfailed21:26
magicaltroutbig juju demo will be appearing :P21:26
rick_h__magicaltrout: lol21:29
magicaltroutactually it'll be pretty cool rick_h__ I selected Tutorial when submitting so I get forced to do 2 hours, so if people actually show up, we're running through OODT stuff, but as its interactive training stuff, we can install juju and do a whole juju local type thing21:30
magicaltroutso people will leave with juju installed21:30
magicaltroutthats the plan at least21:44
aisraelkwmonroe: I think I know why shared folders aren't working in the xenial box. 1) /vagrant is explicitly disabled in the image. You can flip that (and /charms) on in your Vagrantfile. Second, no guest additions installed. `apt-get install virtualbox-guest-additions-iso`, (to get the dependencies), and then download the guest additions iso from virtualbox.org, mount, and install.22:06
aisraelkwmonroe: I now have my shared folders back. Huzzah.22:07
kwmonroehey!  nice deal aisrael.22:20
magicaltroutroryschramm: a mailing list post just answered your question22:20
aisraeljuju 2.0 beta1, `juju add-credential` isn't a valid command but is listed in the devel docs. Which one is more current?22:37
magicaltroutjuju add-crednetial isn't listed in the commands for the trunkbuild aisrael22:38
magicaltroutbut i can't figure out whats replaced it :)22:38
aisraelmagicaltrout: good to know, thanks man!22:38
magicaltroutoh22:39
magicaltroutadd-user22:39
magicaltroutseems to be it22:39
magicaltroutalong with add-ssh-key and some other stuff22:39
aisraelLooks like those commands may be planned, but just not implemented yet. The release notes mention that the credentials.yaml needs to be managed by hand for the time being22:42
firljamespage you around?22:49
cholcombefirl, no he's long gone for the day23:08
cholcombefirl, what did you need?23:09
cholcombei think i broke amulet23:11
roryschramm_is it possible to do rolling updates for juju? ie updating ceph version one node at a time and not the entire ceph cluster? ie some of the openstack charms have the action-managed-upgrade config option to facilitate this23:22
firlcholcome I was just going to ask him about shutting down a set of openstack nodes properly through maas23:57
firlbecause I have a power outage scheduled thursday23:57

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