/srv/irclogs.ubuntu.com/2014/08/04/#juju.txt

=== Guest78621 is now known as wallyworld
jam1dimitern: geoff teale is inviting you (as I understand)07:32
jam1mup: whois geoff07:32
mupjam1: Unknown commands are unknown.07:32
jam1mup: who geoff07:32
mupjam1: Can't grasp that.07:32
jam1mup help07:33
jam1mup: help07:33
mupjam1: Run "help <cmdname>" for details on: bug, echo, help, infer, poke, run, sendraw, sms07:33
dimitern:D07:33
jam1mup poke geoff07:33
jam1mup: poke geoff07:33
mupjam1: Plugin "ldap" is not enabled here.07:33
dimiternjam1, it's tealeg07:35
=== CyberJacob|Away is now known as CyberJacob
ackkhi, does juju wait for machines to shut down properly before releasing/detroying them through the provider?11:52
mgzackk: in what context?11:53
ackkmgz, specifically, with the maas provider. when calling destroy-environment I don't see DHCPRELEASEs in MAAS' dhcp. I see the shutdown message on the machines being destroyed but perhaps maas they are powered off by maas before the shutdown has completed?11:55
mgzjuju doesn't generally destroy machines unless you tell it to, and a cloud's terminate-machine *is* a "shut down properly" vms get a shutdown signal as normal11:55
mgzackk: possibly. worth asking in #maas perhaps, I'm not sure what their intended semantics on destroy-environment are, but we just tell maas to release all the machines11:56
ackkmgz, so what does juju do on destroy-environment? destroy all services, then all machines?11:57
ackkmgz, sorry, I'm trying to put together all the pieces :)11:57
mgznope, just releases all the machines straight away, doesn't do any fiddling around with state first11:57
mgzso, no relation hooks get run etc11:58
ackkmgz, ok, so in the case of maas it's just a release call11:58
ackkmgz, thanks11:59
mgzyup11:59
=== cmagina_ is now known as cmagina
=== LiveOne_ is now known as LiveOne
tedg`jose, lazyPower, thanks guys for landing the SSL support for OwnCloud!13:15
=== tedg` is now known as tedg
=== Ming is now known as Guest94660
Guest94660Question about get peer ip after stop/start machine on amazon ec2. unit-get seems get correct local ip but relation-get -r <id> private-address <unit-id> still get previous peer ip13:27
Guest94660do i need overwrite ip with relation-set?13:28
josetedg: enjoy! and please file a bug if you find anything else missing, I'll be glad to take a look at it :)14:29
abrimerdoes anyone have experience deploying openstack havana on a cluster of IBM HS21 servers?14:31
tedgjose, Cool, do you have plans to update for OwnCloud 7?14:32
joseabrimer: are you using maas?14:32
abrimeryes. maas and juju14:32
tedgjose, Not sure that I need it, but it's version is one greater! :-)14:32
josetedg: it's definitely on the queue for approval, it's a simple change so should be in the store soon!14:32
joseabrimer: cool, someone should be along to follow-up. I'm about to leave for a meeting14:32
tedgGreat, thanks!14:32
abrimerI am having problems with getting quantum to setup the network properly14:32
jamespageabrimer, I have experience of both but not together - I might be able to help14:33
abrimeroutstanding.14:33
abrimerI have been working with maas and juju for some time now14:33
* jamespage listens14:33
abrimerI don't think that I have setup maas networking such that the openstack juju charms have what is needed.14:34
jamespageabrimer, are you having problems with accessing instances once deployed?14:34
abrimeryes.14:34
abrimerand the networking is not setup for eth1 at all14:34
jamespageabrimer, on the neutron-gateway?14:34
* jamespage assumes you are deploying with neutron14:34
abrimerI truely believe that I don't have the deployment lifecycle setup properly14:35
abrimeryes. neutron via the quantum charm14:35
jamespageabrimer, good - so the neutron-gateway/quantum-gateway charm required two network ports14:35
abrimerright. and I only have eth0 configured via maas14:35
abrimerwhen I create a network and attach the mac for each of the compute nodes, the nova-cloud-controller node and the quantum node my public ip changes in juju14:37
abrimershould I walk back my deployment all the way to how my maas is configured with regards to the networking?14:38
jamespageone for traffic to compute nodes, and one to provide access to a public networks14:38
jamespageabrimer, eth0 only is OK for now14:39
jamespageeth1 needs to be connected to the 'public access' network14:39
jamespagejust for the neutron-gateway node14:39
jamespageabrimer, HS21 is a blade center right?14:39
whitmorning charmy world14:40
abrimerjamespage, yes the HS21 is a blade and I have 14 of them specifically for this project.14:40
abrimerall managed via the bladecenter chassis with their own cisco14:40
abrimerI cannot for the life of me get the neutron networking to work,14:41
abrimereverything up to the openstack-dashboard installs and I can log into horizon14:42
abrimerwhen I first get in there is no public network setup14:42
abrimerI can use the cli to create the network, subnet, and router but the instances will not get an ip assigned during initial vm boot14:43
abrimerI feel that my gre setup is terribly wrong but don;t know where to start14:43
jamespageabrimer, the gre tunnels should run OK over the configured eth0 interfaces14:44
jamespagetraffic breaks out over ext-port on the neutron-gateway charm14:45
abrimerI thought so too. I have assumed that following the standard maas and juju deployment would get me a working config. I know that I am doing something wrong but cannot figure what it is.14:45
jamespageabrimer, you may want to bump the mtu on your network interfaces to deal with the overhead of GRE14:45
jamespage(and switch)14:45
abrimerI have NOT done that.14:45
jamespageabrimer, it should still work without doing that14:46
jamespagebut you might see some issues - ping at least should work14:46
abrimerthe cisco that is in the IBM chassis is essentially a 2950 and will not allow for an MTU less than 1500 is that a problem?14:46
jamespagebigger is better14:47
jamespage154614:47
abrimerI allowed ssl (22) and icmp for the default sec groups but ping will not work for me14:47
abrimerOH. Bigger not smaller14:47
jamespageyup14:48
abrimerI thought that 1400 was my target.14:48
abrimerI know enough to be dangerous at this time. I have the cli commands down pat for nova, neutron, and ovs but I think that my overall understanding of the network layouts is deficient14:49
jamespageabrimer, you can drop the instance MTU via the neutron-gateway charm but its not 100% reliable14:49
abrimeris multi-host networking something that I would want? or is that only applied if using nova-networking?14:50
jamespageonly nova net14:50
abrimercool. thought so but wanted to be sure.14:50
abrimerare there any other gotchas that I may want to eyeball beyond MTU?14:51
abrimerI has been my understanding that using maas and juju should provide a working stack without my having to dig into the servers and manually config. Is that a true statement?14:52
jamespageyes14:52
jamespageyou should be able todo everything via charm configuration14:52
jamespageabrimer, but that does assume that the neutron-gateway charm is on a node networked correctly14:53
abrimerthought so. again, I think that there is something (probably simple and obvious) that I am doing wrong here. Just cant put my finger on it.14:53
abrimerright. both eth interfaces are available for that blade and if I load an OS alone it is pingable, ssh, scp the works.14:54
jamespageabrimer, ok14:54
jamespageabrimer, when you have deployed, can you get to all the servers?14:55
abrimerI think that I will put the MTU to 1546 as you recommend and see where it leads me.14:55
abrimerjamespage, yes all servers are available14:55
jamespageabrimer, you only need to apply taht to eth014:55
abrimereven when eth0 is my maas ip address?14:56
jamespageabrimer, not sure I understand that14:56
jamespageby default, all the machines should provision with a configured eth014:56
abrimersorry. when the server is installed maas provides the ip 10.10.30.X14:57
jamespageabrimer, awesome14:57
jamespageabrimer, so on the compute and gateway nodes run "sudo ovs-vsctl show"14:57
xwang2713hhh14:57
jamespageand see if gre tunnels are present for all compute and gateway nodes14:57
abrimerright, and I see the br-tun and the local_ip and remote_ip are on the 10.10.3014:58
abrimerthey are correct for each compute node in regards to the remote-ip address14:58
jamespageabrimer, that's good14:58
jamespageabrimer, on the neutron-gateway node check that br-ex has a network port14:59
abrimerI setup eth1 with a 10.10.20 so that there is external access and I manually change ovs to that interface14:59
jamespageabrimer, you don't need todo it directly on the server15:00
abrimerOH15:00
jamespagejuju set neutron-gateway ext-port=eth115:00
whitcory_fu: having some connectivity issues, relocating, but then want to catch up about monit start/stop stuff15:00
cory_fukk15:00
abrimerI know that this is simple stuff, probable very elementary to you. I appreciate your help so much15:01
jamespageabrimer, np15:01
abrimerI have examined the openstack docs with regards to the networking and have looked at the troubleshooting document, do you have any advice regarding how to troubleshoot gre tunnels without setting up instances?15:03
abrimeryou know, using the cli to examine the network15:03
lazyPowertedg: all in a days work. *hattip*15:04
* whit relocates15:08
jamespageabrimer, neutron agent-list15:09
jamespageis useful - sorry have to drop for a bit15:09
jamespagealso doing meetings today15:09
abrimerno problem jamespage, thanks for all of your help man.15:09
jamespageyw15:11
=== seelaman` is now known as seelaman
lazyPowerTribaal: Thanks for these CH merges. +1'd and merged upstream.16:06
=== Ursinha is now known as Ursinha-afk
=== scuttle|afk is now known as scuttlemonkey
=== roadmr is now known as roadmr_afk
TribaallazyPower: welcome :)17:24
TribaallazyPower: I have a few more things to hack on CH and charms using it... it seems there was a lot of organic growth lately, that leaves some room for clearing things up :)17:26
lazyPowerYeah, may want to ping tvansteenburgh and marcoceppi - as they are spear heading some new efforts with CH to make it more beginner friendly and address some of our longer running issues17:27
TribaallazyPower: ah? Is there anywhere where I could track discussions regarding CH? Despite being pretty involved in Ubuntu's Openstack plans I never see anything about it anywhere.17:28
lazyPowerWe talk about them occasionally in here. Mostly though that's been discussed during our standups and in the bugs filed against CH17:30
Tribaalok17:30
Tribaalthat's not very convenient for "external" communication however :/17:31
Tribaalone thing at the time, first, let's get that code in better shape :)17:31
tvansteenburghTribaal: question about https://code.launchpad.net/~tribaal/charm-helpers/drop-juju-gui-dead-code/+merge/22898617:39
tvansteenburghdid you actually check every charm in the store to make sure none are using that code?17:40
=== Ursinha-afk is now known as Ursinha
frobwarehow can I prevent add-machine adding a proxy. I added one at some point in the past, but it was bogus. Now every time I `add-machine' I see this: http://pastebin.ubuntu.com/7953894/17:59
=== Ursinha is now known as Ursinha-afk
frobwareah, I see: juju --debug unset-env apt-http-proxy18:04
frobwareI was using set-env apt-http-proxy=18:04
Tribaaltvansteenburgh: no, I haven't checked *all* of the charms, indeed. I tried to find a list of all charms, but couldn't find one. I would be happy to have a script check every charm methodically if I could be shown such a list :)18:06
Tribaaltvansteenburgh: I checked the most obvious ones (juju-gui being one of them), and decided to apply the "see who complains" approach, TBH18:07
tvansteenburghTribaal: yeah, i think that approach is probably fine for this. i can't decide how much i care18:08
Tribaaltvansteenburgh: either way, the juju-gui part needs a lot of work if it has to stay - it contains duplicates of a lot of functionality (for example, it reimplements the apt-get wrappers)18:08
Tribaalso I chose the path of least resistance :)18:08
tvansteenburghTribaal: it's impossible to verify that no charm uses that code anyway, b/c charms can exist outside the store18:08
tvansteenburghTribaal: but it seems low risk to remove since charmhelpers are bundled with each charm. that won't always be the case though18:09
Tribaaltvansteenburgh: exactly. If somebody complains, I wager a lot of the functionality they actually need is either 1) available somewhere else in CH or 2) trivial to reimport...18:10
Tribaaltvansteenburgh: I'm happy to be pointed at and mocked if somebody comes back at us for removing that (and fix the mess, too).18:11
Tribaal:)18:11
tvansteenburghlol18:11
Tribaalwell, ok, "happy" might not be the right term here18:12
tvansteenburghTribaal: fair enough. i'm pinging in #juju-gui to see if anyone there complains, if not...18:12
tvansteenburghok they don't care either, i'll approve it18:12
* Tribaal conjures the image of a guillotine in his mind. His French heritage approves.18:13
=== Ursinha-afk is now known as Ursinha
tvansteenburghkirkland: have you tried transcode on ec2?18:49
tvansteenburghkirkland: more to the point, do you know if it works there? everything deploys fine but i can't get the web ui to come up18:51
sebas5384hey lazyPower!19:08
=== lazyPower changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: lazypower & tvansteenburgh || News and stuff: http://reddit.com/r/juju
lazyPowerWhats ups sebas538419:09
sebas5384sorry for the delay hehe i sow your messages about the dns server like today19:09
sebas5384hehe19:09
lazyPowerO, yeah! its a great PoC charm, needs a bit more love19:09
lazyPowerit'll work great in dev though - where your DNS can afford to not be HA19:09
sebas5384lazyPower: i understand your point, but for a local dev environment19:09
sebas5384its more than enough, what do you think?19:10
lazyPowercertainly!19:10
sebas5384great! so, thinking in a local dev environment, into a vagrant box, how do you think it should be used?19:10
lazyPowerare you distributing your services between many vagrant boxes?19:12
lazyPowerits not going to work in that sense if you are. It will work in a single LXC (or cloud) based environment. as all the services are in a single deployment map. You would then add the DNS service charm IP to your /etc/resolv.conf - all your domains are then available19:13
lazyPowerso that will work in terms of Vagrant machine juju host -> to service. i havent tried parent of vagrant -> vagrant -> service. It wasn't intended to be used within vagrant, more so for like EC2 environments, or LXC local based environments. I would think if you proxy your DNS into that vagrant machine, you can reach them.19:14
lazyPowerbut that needs testing.19:14
=== roadmr_afk is now known as roadmr
=== Ursinha is now known as Ursinha-afk
abrimerjamespage, are you available for a question?19:42
=== Ursinha-afk is now known as Ursinha
tvansteenburghjose you around?20:35
josetvansteenburgh: hey! I am20:35
tvansteenburghjose, you tested the transcode charm a bit right?20:35
tvansteenburghjose, did you run it on ec2?20:36
josetvansteenburgh: I did, yes! I could test it again if needed20:36
joseyep, EC220:36
tvansteenburghand it worked fine?20:36
tvansteenburghi can't get the web ui to come up20:36
joseoh, is the port listed open in juju status?20:36
joseI recall the port not being called as open with open-port20:36
tvansteenburghah, ok. i'll check that, gotta redeploy my env20:37
tvansteenburghthat was probably it though, thanks20:37
josenp :)20:38
joseI'll give it a shot again in a minute, just finishing up a text20:39
tvansteenburghjose, in that case, you wanna just leave your feedback here? https://bugs.launchpad.net/charms/+bug/134284320:40
josesure20:40
tvansteenburghjose, no sense both of us testing it - i'll move on to something else20:40
tvansteenburghjose, thanks!20:40
joseno prob!20:40
=== menn0_ is now known as menn0
josetvansteenburgh: hey, would you mind confirming the behavior I'm seeing? I'm just getting exit code 5 whenever I try transcode21:37
tvansteenburghjose: where do you see that? in one of the unit logs?21:37
josetvansteenburgh: correct, in the first unit logs, it never gets to convert it21:38
joselemme pastebin21:38
josehttp://paste.ubuntu.com/7955549/21:38
tvansteenburghjose: ok, i'll give it a go21:40
josethanks :)21:40
tvansteenburghjose: my config-changed hook ran successfully21:56
josewait, this is after doing 'juju set transcode input_url=link to video'21:57
tvansteenburghyeah21:57
tvansteenburghi used http://download.blender.org/demo/old_demos/diditdoneit.mpg21:58
tvansteenburghjose: http://ec2-54-166-1-51.compute-1.amazonaws.com/transcode/job__diditdoneit.mpg_copy/22:03
joseI used this one22:03
josehttps://ia600201.us.archive.org/14/items/ligouHDR-HC1_sample1/Sample.mpg22:04
tvansteenburghi'll try it22:04
tvansteenburghexit 522:05
josehmm, probably because it's httpS?22:06
tvansteenburghjose: yeah it worked for me with http22:13
joseok, I'll take a look later22:13
josewill try with some other links22:14
tvansteenburghi'm gonna add a couple comments to the bug before i EOD, thanks for testing this!22:14
=== CyberJacob is now known as CyberJacob|Away

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