/srv/irclogs.ubuntu.com/2015/04/22/#juju.txt

=== mattgrif_ is now known as mattgriffin
=== kadams54 is now known as kadams54-away
=== scuttlemonkey is now known as scuttle|afk
apuimedo_hi all09:17
apuimedo_lazyPower: stub: About the problem with cs:precise/cassandra where deploying to an lxc is problematic due to the lack of hostname resolution09:18
apuimedo_the more I think about it, the more I think this is a problem of how juju deploys lxc09:18
apuimedo_http://paste.ubuntu.com/10865222/09:21
apuimedo_following http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution09:22
apuimedo_the lxc deployment misses the identity between 127.0.1.1 and the hostname09:22
=== scuttle|afk is now known as scuttlemonkey
lazyPowerapuimedo_: i think this goes further than just juju however - sudo lxc-create -t ubuntu -n awesome -- only names the container awesome. The underlying container doesn't get the hostname specified on the CLI12:57
lazyPowerapuimedo_: so it appears to me that this is bugworthy against LXC with a follow up for juju - but i'm not sure thats intended behavior either.12:57
apuimedo_it does get a hostname though12:57
apuimedo_juju just does the lxc-create?12:58
lazyPowerhmm let me re-check... i am bleary eyed and sipping my first cup of coffee12:58
apuimedo_;-)12:58
lazyPoweryeah, it basically just clones a container template and does a few setup steps12:58
apuimedo_better go with "earl grey, hot!"12:58
lazyPowerapuimedo_: ah i see what you're saying12:59
lazyPowerit sets /etc/hostname but doesn't update /etc/hosts with the loopback resolution12:59
apuimedo_exactly13:00
lazyPoweryeah - again - i point @ lxc for not doing that yet. i feel its bugworthy13:00
apuimedo_it's an inconsistency with what happens for normal images like you'd have in OSt/maas13:00
apuimedo_lazyPower: do you have a bugtracker link handy?13:01
lazyPowerhttps://bugs.launchpad.net/ubuntu/+source/lxc/+filebug13:01
apuimedo_thanks ;-)13:03
lazyPowerapuimedo_: did you land a branch MP against the legacy cassandra charm to update teh hostname?13:05
lazyPowers/land/propose/13:05
apuimedo_lazyPower: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/144716013:08
mupBug #1447160: lxc-create template does not include /etc/hosts hostname resolution <lxc (Ubuntu):New> <https://launchpad.net/bugs/1447160>13:08
apuimedo_lazyPower: no, not yet. I was first checking the source of the problem13:08
lazyPowerSounds reasonable. :) Thanks for the link, i subbed13:09
apuimedo_do you think it'd be acceptable to just do echo "127.0.1.1 $(cat /etc/hostname)" >> /etc/hosts as a first step in the charm install if grepping the /etc/hosts for the hostname fails?13:11
lazyPowerSure13:12
lazyPoweri'd want to test it, but that sounds reasonable13:12
jamespagegnuoy, https://code.launchpad.net/~james-page/charms/trusty/rabbitmq-server/vivid-fixes/+merge/25708413:17
jamespagefollowing charm-helpers for that one13:17
gnuoyjamespage, +113:21
jamespagegnuoy, https://code.launchpad.net/~james-page/charms/trusty/mongodb/vivid-fixes/+merge/25708613:22
gnuoyjamespage, lots of conflicts with that one13:22
jamespagegnuoy, opps - try again - https://code.launchpad.net/~james-page/charms/trusty/mongodb/vivid-fixes/+merge/25708613:24
gnuoyjamespage, +113:27
dosaboyjamespage, gnuoy: 3-phase has yeilded better thus far13:29
gnuoyexcellent13:29
dosaboyjamespage, gnuoy: we hit an issue with swift/ceph on one nonde but we think it is down to hw issue13:29
dosaboyjamespage, gnuoy: sgdisk gets stuck in D-state13:29
jamespagegnuoy, charm support for lxd - https://code.launchpad.net/~james-page/charms/trusty/nova-compute/lxd/+merge/25710414:02
mwakhi14:24
marcoceppi_o/14:24
mwakany idea why I get the following error when deploying a node app14:24
mwakhttp://pastebin.com/bL4CuRV514:24
mwak? :)14:24
marcoceppi_mwak: Juju seems to think you don't have an available machines14:25
marcoceppi_any "clean" machines14:26
marcoceppi_even though you clearly do14:26
mwakhum14:33
mwakweird :/14:33
marcoceppi_mwak: it could also be a default-consrtaints issue14:34
marcoceppi_mwak: can you run `juju get-constraints`?14:34
mwakno constraints14:34
marcoceppi_mwak: ah14:34
marcoceppi_I see the issue14:34
marcoceppi_mwak: you're deploying a precise charm, you only have trusty machines allocated14:35
marcoceppi_juju is trying to add another machine to match this new constraint of series14:35
marcoceppi_and fails14:35
jcastroah, so simple it's obvious14:35
mwakoh, no node-app for trusty14:36
mwak:(14:36
marcoceppi_mwak: not atm :(14:36
marcoceppi_you can probably fork it, push to persoanl branch in charm-store, then deploy from there14:37
marcoceppi_it shoudl work int trusty, it just needs integration tests to move forward14:37
mwakyup14:37
mwakwill do that14:39
stokachusinzui: The Juju AWS and MAAS providers now support starting LXC containers.14:49
stokachusinzui: does that mean lxc containers will pull from and managed MAAS dns/dhcp?14:49
stokachua*14:49
sinzuistokachu, container networking is SNATing the container to the host machine. Though dimitern cab explain specifics14:51
stokachube interesting to know if those containers are reachable without having to go through juju ssh14:51
apuimedo_lazyPower: https://code.launchpad.net/~celebdor/charms/precise/cassandra/hostname_resolve/+merge/25712014:56
dimiternstokachu, it depends, so in 1.23.2 with the "address-allocation" feature flag on, we'll use maas api to allocate static ips for containers15:10
stokachudimitern: sweet15:10
dimiternstokachu, if the feature flag is not on, juju-br0 will be used with DHCP for both kvm and lxc on maas15:10
stokachuah ok understood15:11
stokachuthat is pretty sweet15:11
dimiternstokachu, we'll most likely change the address allocation with juju-br0 to use the maas devices api to tell maas as juju starts containers on a node (so maas can know which device belongs to which parent node and cleanup dhcp leases, etc.)15:12
dimiternbut that will happen when 1.8 is in trusty15:12
stokachudimitern: very cool15:13
dimiternstokachu, I'm composing a reply to the mail sinzui sent with your questions15:19
sinzuistokachu, the only change from the other 5 1.23.x releases was the feature flag.15:20
dimiternsinzui, yeah, if you're not counting like 20-ish fixed issues :)15:28
=== urulama is now known as urulama|afk
=== kadams54 is now known as kadams54-away
=== dpb1_ is now known as dpb1
=== mattgrif_ is now known as mattgriffin
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
lamontservices framework relation, one direction I see the provided data show up on the other side.  but not in the other direction.. anyone got a second to stare at it and call me silly?22:33
=== scuttlemonkey is now known as scuttle|afk
=== arosales__ is now known as arosales

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