/srv/irclogs.ubuntu.com/2016/05/17/#juju.txt

marcoceppibdx: yes01:25
bdxmarcoceppi: can you let me in on the secret?02:31
jamespagefginther, dpb1_: cs:~james-page/xenial/ceph-mon-gated-008:41
jamespagetesting myself atm08:41
lazyPowerarosales icey  - also just fyi, you dont need to set defaults. juju bootstrap my-amazon-controller aws/us-west-1 would work equally as well.09:39
RajithHi,   I am facing issue while installing mariadb from charm store, install hook error is displayed in status and logs have 2016-05-17 10:42:46 INFO config-changed gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com 2016-05-17 10:43:07 INFO config-changed gpgkeys: key CBCB082A1BB943DB can't be retrieved11:41
lazyPowerRajith - ah, seems like they may have updated their key. Their dev is west coast based, so there's a bit of a delay before i can get confirmation. Do you mind filing a bug against the charm? https://bugs.launchpad.net/charms/+source/mariadb11:43
Rajithsure will raise a bug11:44
lazyPowerthanks Rajith11:44
iceylazyPower: that's what I ended up doing11:55
lazyPowerright on.11:56
magicaltroutI appear to have opened a can of monitoring worms12:01
lazyPowermagicaltrout you knew exactly what you were doing :) And i'm happy you did12:03
magicaltrouthehe12:03
magicaltroutits interesting to get all the different perspectives12:03
lazyPoweryou started the discussion, you can lay claim to the fact its gone further than expected, but dont be sad/upset at all. its a brilliant convo12:03
=== fginther` is now known as fginther
fgintherjamespage, thanks, are you also porting that to trusty?13:09
jamespagefginther, yes but I was testing on xenial13:09
fgintherjamespage, thanks13:10
shewless_Hello. I'm trying to bootstrap lxd on 16.04 and I'm getting this error: "ERROR cannot find network interface "lxdbr0": route ip+net: no such network interface". I tried adding the bridge using "sudo dpkg-reconfigure -p medium lxd"13:20
shewless_any ideas?13:20
lazyPowerneiljerram - which charm from calico relates to etcd? (sorry i should have looked this up) - i have a patch re-introducing the proxy relation13:26
lazyPowershewless_ - ah that looks familiar. did you install a prior beta of juju?13:26
shewless_lazyPower: I just did a "sudo apt-get install juju"13:30
shewless_should I have added some ppa first or something?13:30
lazyPowershewless_ - installation instructions for the current beta is here: https://jujucharms.com/docs/devel/getting-started13:31
shewless_thanks I'll have a look13:33
lazyPowernp, dont hesitate to ping back if you get stuck13:33
jamespagefginther, do you need that published to trusty for testing as well?13:34
neiljerramlazyPower, it's neutron-calico and neutron-api13:45
fgintherjamespage, yes that would be great. I could start testing that today for trusty13:45
lazyPowerneiljerram - yikes thats a big dep chain :D13:46
neiljerramlazyPower, for which one?13:46
lazyPowerneutron - full stop13:46
neiljerramlazyPower, unfortunately yes.13:46
lazyPowerthat comes with an openstack dependency. for validation of this branch i think i'll hack together a simple charm consuming the interface and go from there13:47
lazyPowerall we need is a mirror of the initial-cluster-string right?13:47
jamespagefginther, cs:~james-page/xenial/ceph-mon-bug157751913:47
jamespageno not that one13:47
jamespageone sec13:47
jamespagefginther, cs:~james-page/trusty/ceph-mon-bug157751913:48
neiljerramlazyPower, that sounds sensible to me.  Yes, a proxy just needs a valid value for ETCD_INITIAL_CLUSTER.13:49
lazyPowerneiljerram - here's the interface code - i'm validating the reactive bits before pushing up - https://github.com/chuckbutler/interface-etcd-proxy13:50
neiljerramlazyPower, It would actually be quite nice to have a charm for an etcd proxy - perhaps just a different flavour of the normal etcd charm, if that would make sense?13:50
lazyPowerwould that be a subordinate then? as it needs to co-locate with another service right?13:51
neiljerramlazyPower, Then I could just install that alongside neutron-calico and neutron-api, instead of putting etcd stuff into those charms.13:51
neiljerramlazyPower, I'm not sure I completely understand, but I believe that "subordinate" is not exactly the same concept as "co-located"?13:52
neiljerramlazyPower, For example, my current bundle uses decls like "to: [ bird ]" to indicate co-location.  But I think that's different from being subordinate, isn't it?13:53
lazyPowerwell, yes and no. Subordinates will automatically deploy to every unit of the charm, occupying the same "containment" space as that charm. So if its in lxd, both will be installed in the same lxd container. Or of its on a bare metal server, both will be installed to that bare metal. Its effectively like using to, but different constructs. You can deploy a single unit of a different charm using the --to directive, and it has no notion of the13:53
lazyPower supporting service13:53
lazyPowerwhereas subordinates gain some notion of another service that it is dependent/interacting with over that relation, and it also replicates to every unit of the charm.13:54
neiljerramlazyPower, ah OK, it sounds like subordinate is the right concept, then.13:54
neiljerramlazyPower, so if there was an etcd proxy charm, neutron-calico could say that it should have a subordinate etcd proxy; and similarly neutron-api.  Is that right?13:55
neiljerramlazyPower, or would it be the bundle that said that?13:56
lazyPoweryeah, you'll still need to add the relationship bits to both charms, and whatever supporting data-pass that needs to happen13:56
neiljerramlazyPower, we could almost get away without any explicit relation at all ... with the proxy users just assuming http://127.0.0.1:2379.  But that would be a slight hack.13:57
lazyPoweryep, deploy it without the sub and watch it break.13:58
lazyPowerwith no clear indicator as to why :/13:58
neiljerramlazyPower, OK, happy to defer to your experience on that point!13:58
lazyPowerusing the sub approach you can use status messaging to tell the user its incomplete13:58
lazyPowerstatus_set('waiting', "Waiting on missing relation: etcd-proxy")   which is pretty clear whats happened, and not a fail.13:59
neiljerramlazyPower, Yes, on reflection I agree that it absolutely makes sense to have an explicit relation; independently of whether any config data is passed across it.14:00
neiljerramlazyPower, BTW - in case not already obvious to you - it would be super-easy to test an etcd-proxy charm: just deploy 1 etcd and 2 etcd-proxies; do etcdctl set /xxx yyy on one proxy, and etcdctl get /xxx on the other.14:25
lazyPowernice. Thanks for the tip14:27
bdxhello everyone. Does anyone know of a legitimate path around this -> https://github.com/juju/juju/issues/5411 ?15:55
bdxI've been battling it for a few days now, thought I would see whats up :-)15:58
lazyPowerbdx - i cant say for certain but i think you're running into some assumptions the lxd provider is making on your behalf.15:59
lazyPoweradmittedly i haven't tried the lxd provider with a modified networking profile by default16:00
lazyPowerI'm curious if it will work if you leave the default networking in-tact, and add your bridged network as a second nic on the container16:00
bdxlazyPower: yea, that works fine16:11
lazyPowerbdx paydirt! thats a legitimate path around it16:11
bdxha - I'm paying thats for sure16:11
lazyPowerits a dirty hack, and i dont know what thats doing in terms of public-address/private-address16:12
lazyPowerbut theory states, so long as you're not binding to an interface, it should work for remote-access to your lxd resources on your laptop so you can share w/ a co-worker16:12
lazyPowerymmv16:12
bdxtry to bootstrap lxd with the default profile set to use a bridge on an external interface ... then tell me your theory :-)16:14
lazyPowerbdx - i mean *adding* that bridge on an external interface16:16
lazyPowernot replacing16:16
bdxlazyPower: yeah ...16:17
lazyPowersame result?16:17
bdxlazyPower: yeah16:17
lazyPower> [12:11:01] bdx:lazyPower: yea, that works fine16:17
lazyPoweri took that as "it works"16:17
lazyPowerneiljerram - https://github.com/juju-solutions/layer-etcd/pull/1316:18
bdxoh .... so the problem is that you have to set the default lxd profile to use the bridge on the external interface too16:18
bdxlazyPower: bc the lxd controller gets created with the default profile16:18
lazyPowerbdx something is getting lost in translation here. I'll TAL and see if i can beat it into submission later on16:18
catbus1Hi, what's the developer tool to discover the interfaces of other charms?16:18
lazyPowercatbus1 - http://interfaces.juju.solutions16:19
bdxawesome, thx!16:19
lazyPowerneiljerram - I'll push this up to my namespace. I based this off the Xenial branch so you can test w/o tls to start with as there's time there. This interface doesn't support the certificate exchange yet, we'll gate that all through at the same time when the tls-branch lands16:20
catbus1lazyPower: let's say I am developing a subordinate charm that will need to work with an OpenStack charm, how do I find out the interface names, attributes of the openstack charms? I remember from the first charmer summit, that is a tool developed to discover that and makes updates easier to manage.16:23
lazyPowercatbus1 - ah that information is listed in the charm store itself, right hand side at the top of the charms listing. eg: https://jujucharms.com/neutron-api/  -- click "show more"16:24
lazyPoweryou'll get relation-name:interface16:24
catbus1I see that. I remember seeing a command line way of finding it out.16:26
lazyPowerthere's also charm show cs:xenial/neutron-api16:28
catbus1the interfaces are also defined in metadata.yaml. I remember it allows you to pull in the charms you are going to work with and show the interfaces. maybe it's charm compose.16:28
catbus1I think charm show is what I am looking for. Thank you!16:29
lazyPowernp :)16:33
=== Garyx_ is now known as Garyx
GaryxHey is it a known issue with maas 2.0 + juju 2.0 that sshkeys that are saved in the maas gui is not being deployed to nodes?16:53
GaryxUsing juju 2.0 beta 716:54
lazyPowerneiljerram - and its up at cs:~lazypower/etcd-8   https://jujucharms.com/u/lazypower/etcd16:54
GaryxEverything else seems to bo working fine, but cant log in with my key pair16:54
lazyPowerGaryx - a skim through the bug tracker didn't surface anything that looked relevant. Thats certainly bug-worthy, as i know maas 2.0 + juju 2.0 has been a focus recently for the core team.  Any associated logs, steps to reproduce would be helpful   https://bugs.launchpad.net/juju-core/+filebug16:56
Garyxlazypower Thanks, haven't found anything in the logs yet that could help. Was wondering if anyone had seen the same before filing a bug.16:58
Garyxlazypower before I log a new bug the default user created is still ubuntu right?17:04
=== CyberJacob is now known as zz_CyberJacob
lazyPowerYep17:05
Garyxokies cannot see anything on my end then :/17:05
jamespagebeisner, thedac: I think this will do the trick, but I've not tested yet...17:42
jamespagehttps://code.launchpad.net/~james-page/charm-helpers/fixup-service-running/+merge/29494217:42
beisnerthedac, tldr;  SRU bug 1273462 caused bug 1581171.  bug 1582813 raised to ID it as a regression.    thx jamespage17:46
mupBug #1273462: Users can mistakenly run init.d scripts and cause problems if an equivalent upstart job already exists <init> <sts> <trusty> <upstart> <verification-done> <lsb (Ubuntu):Fix Released> <upstart (Ubuntu):Fix Released by xnox> <lsb (Ubuntu Trusty):Fix Released by zhhuabj> <upstart (Ubuntu17:46
mupTrusty):Won't Fix by xnox> <lsb (Ubuntu Utopic):Fix Released> <upstart (Ubuntu Utopic):Fix Released by xnox> <upstart (Debian):Fix Released> <https://launchpad.net/bugs/1273462>17:46
mupBug #1581171: pause/resume failing (workload status races) <landscape> <maintenance-mode> <uosci> <ceilometer-agent (Juju Charms Collection):In Progress by 1chb1n> <cinder (Juju Charms Collection):Fix Committed by thedac> <glance (Juju Charms Collection):Fix Committed by thedac> <keystone (Juju17:46
mupCharms Collection):In Progress by thedac> <https://launchpad.net/bugs/1581171>17:46
mupBug #1582813: service --status-all always reports upstart managed daemons as running <amd64> <apport-bug> <ec2-images> <regression-update> <trusty> <lsb (Ubuntu):Confirmed> <https://launchpad.net/bugs/1582813>17:46
mpjettaI’m trying to setup a new MAAS 2.0 setup with juju 2.0 and running into an issue. I can add the hardware nodes just fine and I see them PXE boot and cloud-init and whatnot when commisioning. However when I go to actually bootstrap the juju CLI to the maas, the nodes PXE boot once, shutdown and then just hang at "Booting local disk. WARN: No MBR magic, treating disk as raw. Booting..."18:01
mpjettaany ideas?18:02
bdxmpjetta: format your disks18:35
bdxmpjetta: gpt + fat3218:36
bdxshould do the trick18:36
mpjettathanks, trying that now18:36
thedacbeisner: jamespage. Ah that makes more sense. I'll try and take a look today19:03
beisnerthedac, first - happy sprinting! :-)   2nd, i've got that sync'd into a couple of charms and testing where it was known failing w/out.19:03
thedacgreat19:04
beisnerthedac, but plz do review that c-h change if you've got cycles19:07
=== redir is now known as redir_lunch
=== redir_lunch is now known as redir
=== admcleod_ is now known as admcleod
magicaltrouthmmmmmm!20:27
magicaltroutmaybe I should enhance my DC/OS mesos talk and head over to MesosCon20:27
magicaltrouthttp://events.linuxfoundation.org/events/mesoscon-europe/program20:27
magicaltrouthttp://events.linuxfoundation.org/events/linuxcon-europe20:32
magicaltroutand linuxcon \o/20:32
lazyPowermagicaltrout - indeed you should!20:34
marcoceppimagicaltrout: hey, you've got a bunch of instances running for a while in cdp, do you need them still?20:48
magicaltroutjuju status says I've got 1 failed node20:50
magicaltroutanything open to me marcoceppi tear it down20:50
marcoceppimagicaltrout: ack, there were leaks in earlier betas, will purge20:50
anopsHi22:07
anopsI am unsure if juju is the right thing for me. I mainly do research and each project requires a custom and usually complex environment with a lot of dependencies. It's very important however to communicate, share and reproduce my environment22:08
anopswith fellow researchers and to eventually deploy it to a server22:09
anopshow can I create a custom juju app receipe/image/solution or however you call it? Do you think juju is the right thing for me? I run these projects on my local laptop.22:10
magicaltroutanops: depends, if the charms you require are available or you're willing to build it can be very helpful in that regard22:10
anopsI would most likely need to build it, I work on machine-learning and web-development projects22:11
magicaltroutyou can build a redeployable system that would work the same on your laptop or in the cloud, or on someone elses laptop assuming their running the same OS22:11
magicaltrouta charm is a single service, you're basically describing a bundle22:12
anopshow complicated is it to build a juju app-solution... eh charm?22:12
magicaltrouthttps://jujucharms.com/openstack-base/bundle/42 bit like that ;)22:12
magicaltroutdepends what the apps are and what they have to do, can you give me a clue?22:13
anopsFor example a topological analysis platform for data, anomaly detection via a deep learning framework, or just classic data-analyis. On the other hand there are isolated little projects involving haskell,java,c,c++ etc. each most preferrably in a container to keep dependencies isolated from the host syste22:17
magicaltroutokay well Juju has a new concept where you can use LXD on your local system22:17
magicaltroutso instead of building docker images for each one, you use a vanilla Xenial/Trusty etc image22:18
magicaltroutand install your stuff on it when its being spun up.22:18
magicaltroutso you have enacpsulation of your server within an LXD image22:18
magicaltroutbut without having messed around creating a bunch of docker images and pushing them up to dockerhub etc22:18
magicaltroutat that point the charms understand the concept of relations22:19
magicaltroutso if you join various deep learning components together, they can configure themselves and get themselves up and running without users configuring them directly22:20
magicaltroutwhich is what those lines depict in a bundle22:20
magicaltroutrelationships between different charms22:20
anopsThat sounds great, but wouldn't that make it extremely complicated to get running? Especially when you have to work on a hard research project and don't have too much time22:20
magicaltroutdunno, thats a choice you have to make :)22:20
anopsdon't want to sounds lazy, but sometimes you just need get work done :)22:20
anopsmagicaltrout: do you have an example?22:22
magicaltroutexample of what?22:22
magicaltrouta charm?22:22
magicaltrouthttp://bazaar.launchpad.net/~spicule/charms/trusty/pentahodataintegration/trunk/view/head:/reactive/pdi.py thats the code that maintains my pentaho data integration charm22:23
magicaltroutjust controls the installation, which services are started et22:23
magicaltroutc22:23
anopsSo juju is essentially something like ansible/salt/chef?22:24
magicaltrout165 lines of code so i can do "juju deploy pentahodataintegration" on my local server, AWS cloud or anywhere else that takes my fancy is pretty good bang for your buck i'd have thought22:24
magicaltroutyerp22:24
magicaltroutsorta :)22:24
magicaltroutchef etc are generally lower level22:25
anopsI would get  my hands dirty with that, but where is the part that creates "the container" to run your pentaho instance?22:26
magicaltrouti just run 'juju deploy ...' and if my local juju setup is configured to do LXD it will build the container and deploy it on the fly22:26
magicaltroutwhich takes the best part of about 15 seconds22:27
magicaltrouthttps://demo.jujucharms.com/ or you can use the gui22:27
magicaltroutwhich does the same thing22:27
anopshmm, ok but I don't deploy unless it works. Does it on-th-fly create containers localy and remove them when there's a bug in the python code?22:28
anopsIt would be harder to manage if I have 20 containers and need to find out which one was the working one..22:28
magicaltroutin my code above you can see me setting states22:28
magicaltrout  status_set('maintenance', 'PDI Installed')22:29
magicaltrout    set_state('pdi.installed')22:29
magicaltroutstuff like that22:29
magicaltroutso your charm would detect a failed bootstrap and set the state to failed22:29
anopsdoes that result in a zfs snapshot or a state in a state-machine where you can rollback to?22:29
anopsah22:30
magicaltroutthe containers themselves will allow you to take zfs snapshots if you so desire22:30
magicaltroutif a machine enters a failed state you can tear it down, login and fix it and mark it resolved22:30
magicaltroutwhatever floats your boat22:30
anopsIs the best way to start creating a charm setting up server 16.04 on my laptop?22:30
magicaltroutyeah22:31
magicaltroutmarcoceppi: whats the best way to get charm tools? :022:31
magicaltroutapt-get install charm-tools i believe anops22:31
anopsis it possible to create a container with a personal desktop that runs on tty1? I'd like to keep the core, personal and work seperated so that snapshots are more granular22:32
magicaltroutthen charm-create <charmname>22:32
anopsalso more secure22:32
magicaltrouthttps://jujucharms.com/u/kwmonroe/ubuntu-devenv/trusty/222:32
magicaltroutsomething like that i suspect you want22:32
magicaltroutthats not GUI based but the idea is similar22:33
magicaltrouthttps://jujucharms.com/ubuntu/0 or that22:33
anopsmagicaltrout: oh you mean I should put the ubuntu-desktop into a charm too? I thought about lxc..22:33
magicaltroutyou can do it direct in lxc22:34
magicaltroutlxc launch xenial22:34
magicaltroutor something like that22:34
magicaltroutlxc launch trusty22:34
magicaltroutdepends what you want to bootstrap22:34
magicaltroutyou might have some interesting issues with gfx though, although I did some ssh tunelling successfully22:35
magicaltrouthttps://github.com/ustuehler/lxc-desktop or something like that22:36
magicaltrouthttps://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/22:36
anopscool,eactly what I need22:36
magicaltroutalright i need to run anops, you'll probably find some life in this channel if you need more questions answered, if not, I'll be back in about 9 hours ;)22:45
anopsmagicaltrout: have a nice day/night thank you very much for your great help!22:46
magicaltroutno problem22:46
anopsI'm just looking into sandstorm.io for the web-app part, maybe that's the way to share these and juju for the heavy stuff like machine-learning22:47
jhobbsis there a way to use a "charm: " option in a bundle to get the latest version of the charm for the series being used in the deployment (default-series)?23:05
jhobbslike "charm: cs:nova-compute"23:05
jhobbsif my default-series is trusty i want that to get the latest trusty nova-compute charm23:06
blahdeblahQuick Q: is there an overview showing which versions of juju2 are in stable/proposed/devel?  Or an easy way to obtain this information without having the repositories enabled on my machine?23:06
anopsblahdeblah: https://launchpad.net/juju-core maybe23:17
anopsor https://jujucharms.com/docs/stable/reference-releases23:18
blahdeblahanops: Looked at the first one - couldn't see any reference to the ppas there, although I may need more coffee23:19
anopsthe milestone timeline graphic23:20
blahdeblahThat does't appear to have anything to do with which version is in which ppa...23:22
blahdeblahLooks like comparing https://launchpad.net/~juju/+archive/ubuntu/stable https://launchpad.net/~juju/+archive/ubuntu/proposed & https://launchpad.net/~juju/+archive/ubuntu/devel is easiest, but only the last has juju 2 packages...23:24

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