/srv/irclogs.ubuntu.com/2015/09/01/#juju.txt

pmatulisis there some trickery in specifying a public SSH key with 'juju authorised-keys add <key>' ?00:20
pmatulisi'm seeing this: http://paste.ubuntu.com/12242048/00:20
beisnerfyi thedac, merge collision alert on rmq.  something landed, you'll need to rebase and resolve conflicts in your cluster wip.00:21
lazyPowerpmatulis: should be juju authorized-keys add `cat ~/.ssh/somekey.pub`00:36
lazyPowerthe import should have worked w/ LP data as well considering its using ssh-import-id00:37
lazyPowerthat broke for you? :-\00:37
lazyPowerpmatulis: do you see the key you attempted to add with juju authorized-keys list?00:37
pmatulislazyPower: yeah, lol, you have to paste the key at the terminal. just figured that out00:38
pmatulislazyPower: should really allow to point at a key file00:38
lazyPowerpmatulis: sounds like an excellent bit-sized bug00:40
beisnerthedac, commented @ bug 1486177.  just clarifying that today's rmq merge doesn't resolve the cluster race bug.   while it may resolve issues in some scenarios, not in ours.00:40
mupBug #1486177: 3-node native rabbitmq cluster race <amulet> <backport-potential> <openstack> <uosci> <rabbitmq-server (Juju Charms Collection):Confirmed for thedac> <https://launchpad.net/bugs/1486177>00:40
beisnerwolsen, niedbalski fyi ^00:40
wolsenbeisner, is this the one I did a review on earlier?00:46
* wolsen checks00:46
wolsenbeisner, yargh, I caused that merge conflict merging another change00:48
wolsenbeisner, the merge conflict isn't bad - I can take care of it in the merge00:49
wolsenbeisner, yep easy-peasy00:52
beisnerwolsen, actually i'd like to get thedac 's other cluster fixes rebased, as i'm syncing that into my amulet-test-refactor branch to confirm resolution before merge.  but yeah, the conflict doesn't look to bad.  but i'm a bit blocked until we do that <00:58
wolsenbeisner, heh00:58
wolsenbeisner, just pushed00:58
wolsen:)00:58
beisneror that!  :-D00:58
* beisner rebases00:58
wolsenthedac ^^00:58
pmatulislazyPower: your request is my command: https://bugs.launchpad.net/juju-core/+bug/149078901:23
mupBug #1490789: [juju authorised-keys add] cannot specify a key file <juju-core:New> <https://launchpad.net/bugs/1490789>01:23
lazyPowerpmatulis: <301:24
beisnerping wolsen01:38
beisnerwolsen, niedbalski, thedac - i'd recommend reverting rmq/next 107 and 108:  http://paste.ubuntu.com/1224248501:42
beisnerie. rmq/next is completely bust atm01:45
beisnerwhereas at r106, it was only ~50% bust, and only when clustering01:46
beisnerthen i'd like to get thedac 's fixes landed, then rebase my amulet-test-refactor branch, get those landed so we can reliably test proposals, and go from there.01:47
beisnerie. please revert and freeeeeeeze rmq/next, pending resolution of CRIT bug 148617701:48
mupBug #1486177: 3-node native rabbitmq cluster race <amulet> <backport-potential> <openstack> <uosci> <rabbitmq-server (Juju Charms Collection):Confirmed for thedac> <https://launchpad.net/bugs/1486177>01:48
wolsenbeisner, done05:05
=== lukasa is now known as Guest4580
jamespagegnuoy, landed the hugepages branch for nova-compute09:35
gnuoyjamespage, fantastic, thanks09:35
gnuoycd -09:36
=== lukasa_ is now known as lukasa
g3naroTo get the ID of an AMI that's configured to run as a NAT instance, use a command to describe images, and use filters to return results only for AMIs that are owned by Amazon, and that have the amzn-ami-vpc-nat string in their names. The following example uses the AWS CLI:11:23
beisnerwolsen, thx13:07
jcastromarcoceppi: ok so do you want to run that session?13:41
marcoceppijcastro: sure13:52
=== scuttlemonkey is now known as scuttle|afk
beisnerdosaboy, fyi i flipped bug 1486177 back out of Fix Committed, see comment.14:25
mupBug #1486177: 3-node native rabbitmq cluster race <amulet> <backport-potential> <openstack> <sts> <uosci> <rabbitmq-server (Juju Charms Collection):Confirmed for thedac> <https://launchpad.net/bugs/1486177>14:25
dosaboybeisner: ack, lets slip that log addition in14:55
beisnerdosaboy, the plan is to defer that name resolution fix until after the total-cluster-fail fix and associated tests have landed, so that reviewers have reliable tests to confer upon.   we need to unblock basic functionality first.14:57
thedacbeisner: my branch is updated  lp:~thedac/charms/trusty/rabbitmq-server/native-cluster-race-fixes including a hopeful (but untested fix for http://paste.ubuntu.com/12242485/) Before I create an MP we should run some tests14:57
beisnerthedac, thanks.  i'll merge that into my amulet-test-refactor branch.14:57
beisnerthedac, the errors in that paste should have disappeared as rmq/next was reverted.  are you still seeing those?15:00
thedacno, but it looked like my change that originally caused it15:01
beisnerthedac, nope i believe it was r107, as that removed this:  if config('prefer-ipv6') and rdata.get('hostname'):15:03
thedacoh?!!! ok15:03
beisnerand just ran ahead without the conditional15:03
thedacagreeed15:03
beisnerthedac, but i'd say that your change to  rdata.get('private-address')   is safer anyway  ;-)15:05
thedacyeah, it will do no harm15:06
=== CyberJacob is now known as zz_CyberJacob
=== cmagina is now known as cmagina_
=== cmagina_ is now known as cmagina
thedacdosaboy: gnuoy tells me you might be working on another rabbitmq issue. Is there a bug report for that?15:38
kwmonroehey folks, if i have a subordinate relationship between my tomcat war and tomcat (via the implicit juju-info interface), will there be a "juju-info-relation-departed" hook that fires if i destroy my subordinate service?15:44
rick_h_lazyPower: marcoceppi can a subordinate get juju config data from the charm it's related to/on top of?15:45
lazyPowerrick_h_: only if its sent over the wire via relation-set15:46
rick_h_lazyPower: ok, and if that config changes?15:46
rick_h_lazyPower: they'd need to know to trigger something on the subordinate?15:46
lazyPowerit should be relation-set -r #relid foo=bar15:46
marcoceppirick_h_: nope15:46
rick_h_ugh15:46
lazyPowerwhich will cause the relationship-changed sequence to cycle15:46
* marcoceppi ninja'd by lazyPower15:47
marcoceppirick_h_: well15:47
lazyPowerrick_h_: i have an example of this in docker / flannel-docker charms, where we send information out of context (or out of band)15:47
rick_h_lazyPower: marcoceppi the idea being the subordinate wants to konw if the main charm is configured to pull from deb, source, etc15:47
marcoceppiactually, envermind, juju-run doesn't work in a hook context15:47
rick_h_lazyPower: marcoceppi and if that changes, the subordinate also needs to do some updating to keep in sync15:47
marcoceppirick_h_: gotta use the relationship wire15:47
lazyPowerrick_h_: thats possible to do15:47
lazyPoweryou just have to proxy that information through the relationships15:47
rick_h_lazyPower: ok cool ty15:48
lazyPowerrick_h_: lmk if you want examples, i have at least one that i'm aware of15:50
rick_h_lazyPower: cool, jcsackett and bac will be interested15:50
baclazyPower: i may have missed it but if you have examples of the technique you explained to rick_h_, please let me know.16:00
lazyPowerbac: https://github.com/chuckbutler/flannel-docker-charm/blob/master/playbooks/network-relation-changed.yaml#L2116:01
baclazyPower: ty!16:01
=== gaughen_ is now known as gaughen
lazyPowerbac: context being, the network relation is responsible for sending networking config data from flannel to the Docker daemon to configure SDN. flannel-docker should not modify the DOCKEROPTS file, hense we send it (potentially out of band) to docker to manage that files configuration16:02
lazyPowerbac: the receiving end is a little convoluted with ansible handlers, so if you need a full stack breakdown of how thats getting used feel free to ping and i'll try to explain it as best i can :)16:03
ntpttrHey everyone, I'm trying to configure my Juju and Maas to work behind a corporate proxy, and for some reason I'm getting "could not access file 'provider-state': get http://10.14.4.1/MAAS/api/1.0/file/provider-state/: http: error connecting to proxy http://http://myproxy:port: dial tcp: lookup http: no such host". The problem seems to be that http:// is showing up twice in the proxy URL, but in .juju/environments.yaml I configured http-proxy, https-proxy, ftp16:29
ntpttrI rebooted my machine and my problem is different now, running 'juju --debug --show-log status' gives me "unable to connect to environment "maas"", and says it got service unavailable back from the server with the operation timing out17:05
ntpttrI do have the IP of the MAAS server listed in my 'no-proxy' section of the environments.yaml file17:06
lazyPowerntpttr: can you reach the state server normally?17:07
lazyPoweri mean via ping/ssh et-al17:07
ntpttryes I can ping it17:07
ntpttrlazyPower: And it was working without any proxy when I was testing it at home17:08
lazyPowerCan you ssh to the node, and check if the jujud process is running, no UFW17:08
ntpttrRight now there's no node to ssh to, I'm trying to bootstrap an environment to a node17:09
ntpttrlazyPower: I'm using an Ubuntu Orange Box and am logged in to the controller node17:09
lazyPowerhmm, i haven't had much hands on with the orange box but i know it takes some special considerations17:10
lazyPowerso you're trying to check status on an environment that hasn't successfully bootstrapped?17:10
ntpttrlazyPower: Yes, well in the default examples that come with the orangebox it has a bootstrap script that first checks if there's an existing deployment by calling status, and then runs bootstrap on a VM17:12
lazyPowerntpttr: this leads me to believe there's  a stale .jenv in your control node that thinks the environment is bootstrapped, but th eenvironment is inconsistent with that.17:12
ntpttrlazyPower: if there is, it isnt in ~/.juju/environments, is there another place it could be?17:13
lazyPoweris th eorange box using encrypted home?17:13
lazyPowerif so i think it maps to /var/juju or something similar.17:14
ntpttrlazyPower: I don't think so, that directory isn't there17:14
lazyPowerntpttr: this is the error you'll see when there's no .jenv and you attempt to run status on an environment17:16
lazyPowerhttp://paste.ubuntu.com/12246973/17:16
lazyPowerif you're seein gsomething else, there's a stale environment configuration somewhere on disk, and i'm sorry i'm not as familiar with the orangebox setup as I should be to help here.17:17
ntpttrlazyPower: All right, running that command now - have to wait a bit for it to time out17:17
lazyPowerkwmonroe: do you have a second to lend your orange box experience here?17:17
lazyPowerkwmonroe: specifically, do you know what ntpttr is referring to about the setup scripts/examples on the OB?17:18
ntpttrlazyPower: So I did get the first part of that error, saying it's unable to connect and that I should check credentials or use juju bootstrap, but in the erro rdetails I still get 'could not access file provider-state: gomaasapi: got error back from server: 503 Service Unavailable', and then a lot of HTML that says a communication error occurred: operation timed out17:20
lazyPowercan you pastebin that error output?17:20
ntpttrlooking at the code from the orangebox setup script, all it's doing is running juju status and then juju bootstrap17:20
lazyPowerit sounds like it attepted to contact maas and maas 503'd on you.17:20
ntpttrsure one sec17:20
ntpttrpastebin.com/pYzBvHwS17:21
ntpttrhttp://pastebin.com/pYzBvHwS17:21
ntpttrhere's my environments.yaml http://pastebin.com/Xb0ejV4Y17:24
lazyPowerntpttr: can you pull up the MAAS web ui?17:26
ntpttrYes, I've set the proxy and upstream DNS from there17:27
kwmonroelazyPower: i believe ntpttr is talking about this bootsrap script17:28
kwmonroehttp://bazaar.launchpad.net/~orange-box-examples/orange-box-examples/trunk/view/head:/bin/orange-box-bootstrap-juju17:28
kwmonroentpttr: can you verify that node0vm0 is running (it's easy to see if you launch Virtual Manage Manager)17:29
lazyPowerntpttr: i'm not sure why its giving you a 503 then. I'm out of my depth aside from checking basics like ensuring your api key hasn't changed (which should be a 401 response) and running destroy-environment --force -y before attempting a re-bootstrap17:29
kwmonroewe've seen a problem where maas isn't correctly booting KVM instances (like node0vm0)17:29
lazyPowerkwmonroe: thanks for lending a hand :)17:29
kwmonroeso you may just have to manually power that sucker on (if it's off)17:29
kwmonroealternatively ntpttr, you can alter line 31 of that o-b-bootstrap-juju script to "juju bootstrap --to nodeX.maas".  that'll try and bootstrap a physical machine instead of a VM.17:31
kwmonroe(replace X with whatever number you want to be your bootstrap node)17:32
ntpttrkwmonrow: node0mv0 is currently "ready", should I power it on before trying to bootstrap?17:32
kwmonroeyeah ntpttr, give that a try17:32
kwmonroemaas may report that it's sent the "power on" command, but you should fire up Virt Machine Manager and make sure it actually starts.17:34
ntpttrkwmonroe: okay, thanks for the help! I'll let you know if that works and try bootstrapping to a physical node if not17:34
kwmonroenp ntpttr, i'll keep fingers crossed for ya :)17:34
ntpttrkwmonroe: Should I also comment out the 'juju status' check in orange-box-bootstrap-juju? It's timing out running that command and exiting17:35
ntpttrkwmonroe: hmm it looks like it's still timing out on bootstrapping both to the powered on vm and a physical machine17:40
kwmonroentpttr: you could.. or you could run "juju destroy-environment maas --force" (that'll just remove any maas.jenv file that may or may not exist -- dont' worry, it won't change your maas definition in environment.yaml)17:40
kwmonroehmm.. that's no good ntpttr.17:41
ntpttrkwmonroe: do you think it could be my network settings in maas somehow? Maybe my upstream DNS?17:41
ntpttrkwmonroe: It's even timing out on the juju destroy-environment command17:42
kwmonroentpttr: i'm scratching my head now.. your proxy settings in the env.yaml look fine to me.  and i'm not sure what "destroy-environment --force" would be trying to do over the network at that point.17:46
sparkiegeekdrop the http:// from the value of the http_proxy17:47
kwmonroeyeah sparkiegeek?  the docs show the prefix (https://jujucharms.com/docs/stable/howto-proxies), but i guess removing that is worth a shot.17:49
kwmonroentpttr: will you pastebin the output of 'sudo virsh list --all'17:50
ntpttrsparkiegeek kwmonroe: Yeah I have tried that, since the error I was getting before rebooting my machine was that it was trying to connect to http://http://myproxy:port, but after rebooting for some reason it's all changed and it's timing out instead. I just tried it again with the same result17:50
ntpttrkwmonroe: Sure one second17:51
ntpttrhttp://pastebin.com/mVWePqwM17:53
ntpttrkwmonroe: Hold up I just restarted my computer again and it connected to maas when I ran bootstrap17:54
ntpttrkwmonroe: I rebooted after removing my proxy settings from /etc/environment and ~/.bashrc, it seems like maybe that was causing an issue17:54
ntpttrkwmonroe: I'll let you know if the bootstrap completes without any errors17:55
kwmonroeinteresting ntpttr -- so environments.yaml is now the only place the proxy info is being set?17:55
ntpttrkwmonroe: There and in the network configuration portion of the Maas settings page. It's looking like the bootstrap is timing out connecting to streams.canonical.com now though17:56
kwmonroegrrr17:57
ntpttrOh it's back to saying error connecting to 'http://http://myproxy:port', although I did remove http:// from my environments.yaml17:59
ntpttrkwmonroe: The funny thing is it gives that error even if I comment the proxy settings out entirely18:00
kwmonroentpttr: i think that means there's a .jenv that's overriding your environments.yaml.. see what you get with this: "grep -r proxy ~/.juju/environments*"18:03
ntpttrkwmonroe: That command comes up blank, that folder is empty18:04
kwmonroehm.. lazyPower, is there some way to tell where juju would keep .jenvs if not in ~/.juju/environments?  i feel like ntpttr has a mysterious .jenv with proxy settings that are messing with us.18:06
lazyPowerkwmonroe: aside from mlocate's updatedb && locate maas.jenv18:06
lazyPoweri know encrypted home moves it somewhere, like /var/juju/$user18:06
lazyPowerbut thats the only instance i can think of where it would do that18:07
kwmonroentpttr: can you give that try (sudo updatedb && sudo locate maas.jenv)?18:08
ntpttrkwmonroe: Sure18:08
ntpttrkwmonroe: it came back blank18:09
lazyPowerkwmonroe: there are ENV vars it can read too right?18:09
lazyPowerkwmonroe: juju set-env (which i' mpretty sure requires a bootstrapped env), but i think there are also some environment vars juju reads that it may be colliding with18:10
kwmonroentpttr: i know you removed the proxy bits from /etc/environment and .bashrc, but let's see if they're still around:  env | grep -i proxy18:14
ntpttrkwmonroe: heey it looks like they are still around somewhere18:15
lazyPowerntpttr: try unsetting the vars and re-bootstrapping18:15
lazyPowerthen give it a go18:15
kwmonroentpttr: unset http_proxy https_proxy no_proxy18:16
ntpttrkwmonroe: Okay bootstrapping has started fingers crossed18:17
kwmonroealternatively ntpttr, you may be able to re-set them to the right value (http://myproxy:port vs http://http://myproxy:port) in /etc/environment or ~/.bashrc.. though i'm not sure where they're coming from at the moment..18:20
ntpttrkwmonroe: I think they were still there because I had edited and env_keep line to /etc/sudoers18:21
ntpttrkwmonroe: hmm it looks like bootstrapping is still timing out on connecting to streams.canonical.com :/18:22
ntpttrkwmonroe: It seems like the env variables need to be set to connect there but they cant be set because it'll cause the double http:// problem18:22
kwmonroentpttr: when you saw them set in the environment with "env | grep -i proxy", where they set to http://http://?18:23
ntpttrkwmonroe: Oh wow it looks like they are... I have no idea how that happened I feel dumb right now hah18:25
kwmonroe:)18:25
kwmonroeso rather than unsetting them ntpttr, let's try setting them to the right values (single http prefix), then re-bootstrapping18:26
ntpttrkwmonroe: Do you know if it's okay for them to have cidr prefixes in the env variables?18:26
ntpttrkwmonroe: for no_proxy specifically18:27
kwmonroenot sure ntpttr, everything i know about proxies is being learned by feverishly typing into google at this very moment.18:27
ntpttrkwmonroe: uh oh now with the proxies set back the correct way I'm getting the timeout problem connecting to maas again18:27
ntpttrkwmonroe: that's why I asked about CIDR, it seems like the no_proxy setting for the MAAS host isn't working maybe18:28
kwmonroentpttr: looks like no cidr for no_proxy: http://unix.stackexchange.com/questions/23452/set-a-network-range-in-the-no-proxy-environment-variable18:29
kwmonroentpttr: let's try something crazy.  on the orange box, there's a squid3 proxy (indepent of your external proxy) that serves content to the maas nodes.  let's see if that has crashed:  ps -ef | grep squid18:34
ntpttrkwmonroe: I've been trying to add to the no proxy list the way it said in your link, and now running that command says that the argument list is too long, I think because there's so many values in no_proxy18:35
ntpttrkwmonroe: i unset it, and running that command shows squid running18:36
kwmonroentpttr: let's kick it anyway:  sudo service squid-deb-proxy stop; sudo service squid3 restart18:37
ntpttrsquid-deb-proxy is an unrecognized service, but squid3 restarted18:39
kwmonroehm, ok ntpttr.  retry the bootstrap18:40
ntpttrkwmonroe: it got to the deploying stage, so that's good!18:43
kwmonroehas it gotten that far before ntpttr?18:44
ntpttrkwmonroe: No, it timed out on connecting to external hosts before18:44
kwmonroecool ntpttr!18:45
ntpttrkwmonroe: Thank you a bunch for your time, you've been really helpful. You too lazyPower.18:49
lazyPowernp ntpttr18:52
lazyPowersorry I didn't have better info for you :) but happy to help. If you run into any further problems, I suggest mailing the list - juju@lists.ubuntu.com with the problem scenario and someone in the EU timezones with more experience should be able to lend a hand.18:53
ntpttrlazyPower: All right, thank you for the advice!18:54
kwmonroeso ntpttr, while you're bootstrapping, here's what i think may have gone wrong.. the squid3 service that serves the maas nodes came up and read the invalid environment proxy vars (http://http://), and even though you unset/reset them later, that process was already using the bad values and couldn't serve the content needed to bootstrap to node0vm0.  restarting squid3 after the envars were corrected meant the maas proxy18:55
kwmonroecould then correctly talk to your proxy.18:55
kwmonroeand least that's what i'm hoping.  i'll feel better when your bootstrap succeeds!18:55
ntpttrkwmonroe: okay, thank you! The bootstrap did succeed. Now going to node0vm0.maas is saying that DNS can't resolve the hostname, but it does say that juju gui is running there18:58
kwmonroentpttr: do a "juju status juju-gui | grep address" and try to go to the IP directly18:59
kwmonroeyou might need a ",.mass" to your no_proxy var19:01
kwmonroesorry, ".maas", not ".mass"19:01
kwmonroentpttr: the orange box knows how to resolve the .maas domain, so we probably just need to make sure requests for those URLs doesn't go through your proxy.19:02
ntpttrkwmonroe: Okay, I added .maas to no_proxy but juju status now is giving me "error dialing wss://node0vm0.maas:17070: no route to host"19:03
ntpttrkwmonroe: oh, it looks like after rebooting my machine again node0vm0 is saying no bootable device when it's trying to start up19:05
kwmonroeeeegads ntpttr, we can't catch a break :/19:12
kwmonroeunfortuantely ntpttr, i'm not sure how you'd get a "no bootable device" post bootstrap.. we can either try and debug that, or "juju destroy-environment maas" and try to re-bootstrap on a non-VM node (like nodeX.maas instead of node0vm0.maas)19:14
ntpttrkwmonroe: hmm yeah this is a little frustrating haha. I re bootstrapped to the vm again (at home I was able to access the gui at node0vm0.maas), and it is saying that the public-address should be node0vm0.maas19:16
kwmonroentpttr: i don't follow your last comment there -- what is saying the public-address should be node0vm0.maas?19:19
ntpttrkwmonroe: That's the result when I run juju status juju-gui | grep address: 'public-address: node0vm0.maas', but it's not resolved by dns19:21
kwmonroentpttr: can you 'juju ssh 0'?19:22
ntpttryep, that brings me into node0vm019:22
kwmonroethat might get you into the juju unit.. then 'sudo ifconfig' to find the ip19:22
ntpttrkwmonroe: well the eth0 interface doesn't have an IP, and juju-bro is at 10.14.100.119:23
kwmonroecan you get to http://10.14.100.1?19:23
ntpttrkwmonroe: no it times out19:24
kwmonroentpttr: try 'export no_proxy=$no_proxy,10.14.100.1' and then hit the url again19:26
ntpttrkwmonroe: I'm afraid I already had that in my no_proxy list19:27
kwmonroerats19:27
ntpttrkwmonroe: It's odd, without the proxy stuff at home going to node0vm0.maas worked19:27
ntpttrin juju status, under machines "0", it lists dns-name: node0vm0.maas, is that right?19:29
kwmonroeyeah ntpttr, that looks right.  the OB should know how to get to .maas hosts.19:33
josemarcoceppi: ping19:38
ntpttrkwmonroe: So I'm not sure, but I think this could be the issue. In order to get the vm to resolve my proxy host and download packages, I configure the Maas upstream DNS to be a server in the same network as the proxy host is, and disable DNSSEC. That way the VM can boot up. But then my controller node in the orange box doesn't resolve node0vm0 because it has a different dns nameserver, 10.14.4.1, which is the gateway to the Orange Box's wireless. Is that poss19:39
kwmonroentpttr:  i don't think that would cause a problem.. even if node0vm0 is using a different dns server, 10.14.4.1 should know how to resolve node0vm0.maas.19:51
kwmonroeand 10.14.4.1 is the right dns server for the main orange box node -- it's the only one that knows what a .maas host is supposed to resolve to.19:52
ntpttrkwmonroe: Hmm well for whatever reason I'm able to curl node0vm0.maas from inside the VM but not from the controller node19:52
kwmonroentpttr: can you ping 10.14.100.1?19:52
kwmonroe(from the controller node)19:52
ntpttrkwmonroe: Yes I can19:52
kwmonroehmph19:53
kwmonroebut you can't ping node0vm0, right?19:53
ntpttrI can ping node0vm0.maas from the controller, yeah19:53
ntpttrjust can't curl or visit it with a browser19:53
kwmonroentpttr: let's see what ports are listening on your bootstrap node: juju run --machine=0 'sudo netstat -ntlp'19:55
kwmonroentpttr: are 80 and/or 443 listed?19:55
ntpttrYes, both are listed19:56
ntpttrShould I add 'search maas' to /etc/resolv.conf?19:58
ntpttrkwmonroe: right now it just lists my company's domain next to search19:58
kwmonroenot sure about that ntpttr19:59
kwmonroecan you 'curl --noproxy * http://10.14.100.1'?19:59
ntpttrkwmonroe: no It says there's an error contacting the dns server20:01
ntpttrkwmonroe: to me it looks like the big difference between the controller where it doesn't work and the VM were it does is the 'search maas' line in /etc/resolv.conf, but I'm not sure the correct way to put it there20:04
josetvansteenburgh: ping20:04
tvansteenburghjose: hey20:04
josetvansteenburgh: o/, I'm seeing a stuck test over here, mind taking a look?20:05
josehttp://juju-ci.vapour.ws/view/Juju%20Ecosystem/job/charm-bundle-test-lxc/482/20:05
tvansteenburghjose: i can kill it if you want20:06
josewelp, just saying, it's completely stuck20:06
kwmonroentpttr: you can try adding maas to the resolv.conf search line (add it before your company domain with a space separating the two)20:07
tvansteenburghjose: killed20:09
kwmonroentpttr: but i think 'search' only comes into play when resolving short names (so 'ping node0vm0' would find 'node0vm0.maas').  i don't think that'll help us since we can't even curl the ip address, which should totally not care about dns.20:09
josetvansteenburgh: cool, thanks!20:09
ntpttrkwmonroe: You're right, it didn't help20:09
kwmonroentpttr: you can probably 'ping node0vm0' now from the controller, right?20:10
ntpttrkwmonroe: yep20:11
kwmonroentpttr: this is indeed frustrating.. let's make sure the juju-gui service is exposed (even though you shouldn't need to do this on an OB): juju expose juju-gui20:13
kwmonroeand then try to curl with the shortname since we know you can ping it:  curl --noproxy * http://node0vm020:13
kwmonroeand if that doesn't work, try 'curl http://node0vm0' without the --noproxy option20:14
ntpttrYes it is exposed, here is my full juju status output http://pastebin.com/XK5NW4V920:14
ntpttrkwmonroe: still no luck with curl, it was exposed before as well as the last step of the orange box bootstrap20:15
marcoceppirick_h_: hey20:17
ntpttrkwmonroe: Could it be that DNSSEC is disabled?20:17
rick_h_marcoceppi: party?20:18
kwmonroei dunno ntpttr, but i feel like DNSSEC being disable should make our lives easier, not harder20:19
ntpttrkwmonroe: Yeah, without it disabled the machine couldnt even get through the bootstrap20:19
ntpttrkwmonroe: I just thought it might be related to the problem because it wasn't disabled when I did the same steps at home and it worked20:21
kwmonroentpttr: it's worth a shot, but i'm not crossing my fingers for that one ;)20:21
kwmonroentpttr: let's also try resetting the maas proxy: sudo orange-box-resetproxy20:21
kwmonroeand then 'curl --noproxy * http://node0vm0 || curl http://node0vm0'20:22
marcoceppirick_h_: IM ALWAYS PARTYING!20:22
marcoceppirick_h_: I want to package python-jujubundlelib into the juju stable ppa, is that cool with you? (I'20:22
marcoceppi(I'll do it in a way that won't conflict with future pacakges of the same version in archive if that every happens)20:22
rick_h_marcoceppi: sure thing20:23
rick_h_marcoceppi: Makyo and company can help test or anything you want there.20:23
marcoceppirick_h_: yes, thank you - we're using it for bundle proofing in charmtools20:23
ntpttrkwmonroe: weird it will autocomplete orange-box-resetproxy but it says command not found20:23
marcoceppirick_h_: I'll make sure to reach out if I have any issues, but I don't forsee a problem20:23
ntpttrkwmonroe: I had to become root with sudo -s and then run it for it to work but it did now20:24
rick_h_marcoceppi: sounds good20:24
ntpttrkwmonroe: unfortunately didn't fix the DNS problem though20:24
ntpttrkwmonroe: Maybe the files in /etc/bind/maas? When I had it working before I was using maas 1.7.6 and now I'm on maas 1.8.0, which changed some of the files in that firectory20:28
kwmonroentpttr: those files define how to resolve the .maas domain, which sounds like it's working -- you being able to ping node0vm0.maas and have it return 10.14.100.1 means the local dns server did it's job.20:34
ntpttrkwmonroe: Then I'm sort of stumped here, I'm not sure which DNS it is that can't resolve node0vm0.maas20:35
kwmonroentpttr: what happens when you just try to 'ssh ubuntu@node0vm0'?20:36
ntpttrkwmonroe: It works20:37
kwmonroeok, so DNS is working.. it's just the http/https traffic that isn't coming over.20:37
kwmonroewhich has to mean one of our proxies isn't working20:37
kwmonroe(i think)20:37
kwmonroeor rather, the proxy is working too well.. it's like the request is being sent off to your myproxy:port even though we've told it no_proxy on 10.14.100.120:38
ntpttrkwmonroe: Hmm interesting, the proxies were resolved and were working during bootstrapping - update was able to resolve the ubuntu archives20:38
ntpttrkwmonroe: Yeah the no_proxy might be it somehow20:39
ntpttrkwmonroe: And there's still the thing where if I reboot the machine the VM cant boot back up because there's "no bootable device" >.<20:40
kwmonroeright ntpttr, the proxies did their job to get external bits onto the node, but now it seems like the request to http://node0vm0 is being sent to the proxy (which of course can't resolve it because the internet doesn't know about node0vm0)20:40
kwmonroetry this ntpttr, 'unset http_proxy https_proxy; curl http://node0vm0'20:42
ntpttrkwmonroe: Okay one second while I bootstrap again because I restarted my computer20:42
kwmonroelol20:42
kwmonroei was hoping the "no bootable device" thing just kinda fixed itself ;)20:43
kwmonroei'm really not sure about that one20:43
kwmonroeother than trying to bootstrap to nodeX.maas vs node0vm0.maas to see if it's a KVM thing or a bootstrap thing.20:43
kwmonroeso the current plan ntpttr is to bootsrap with the proxies in place, then unset them and try to curl.  that'll tell us if the proxy is gobbling up the http request.20:44
ntpttrkwmonroe: sounds good20:45
ntpttrkwmonroe: So a possible lead on the 'no bootable device', it seems like if the VM is powered on the no bootable device thing happens, when I tried to bootstrap again while it was on just now I got the error, but then I released the node with Mass which shut it down, and now bootstrapping is working again20:50
kwmonroehey kirkland, have you seen an error on the OB where node0vm0 errors with 'no bootable device'? ^^20:52
ntpttrkwmonroe: In the maas images tab it shows the image that I previously had added to it when setting up the orange box without a proxy, but it also says "Error: No boot sources provide Ubuntu images" above that20:55
kwmonroentpttr: you're out of my maas knowledge with that one ^^ i'd recommend asking that in #maas21:00
ntpttrkwmonroe: Well unsetting the proxy did in fact make curl work21:00
kwmonroeawesome.. cya later!21:01
kwmonroe(kidding, of course)21:01
ntpttrkwmonroe: haha the juju gui still seems to be hanging connecting to the juju environment though >.<21:01
ntpttrkwmonroe: wait there it goes it just took a good two minutes21:02
kwmonroethat's a pretty long wait, but i'll take it if it finally worked :)21:03
ntpttrkwmonroe: whew me too, hey it's a start21:03
ntpttrkwmonroe: thanks again21:03
kwmonroeso ntpttr, i think this points to no_proxy as the key here.21:03
kwmonroewe've gotta make sure http and https traffic to 10.14.100.x doesn't get sent off to the proxy21:04
kwmonroentpttr: i would have thought simply adding 10.14.100.1 to no_proxy would have been enough, so i'm stumped as to why unsetting both http_proxy and https_proxy was required.21:05
ntpttrkwmonroe: Yeah it is odd...21:06
ntpttrkwmonroe: well I have to get going for now, thank you for spending so much time with me on this I appreciate it21:09
kwmonroesure thing ntpttr - just ping here (or on  juju@lists.ubuntu.com) if you want to poke on this proxy stuff some more21:09
ntpttrkwmonroe: Sounds good, I will :)21:12
marcoceppirick_h_ Makyo python-jujubundlelib and python3-jujubundlelib are now in the stable ppa, I'll throw the packaging branch up somewhere in a few mins. Happy to roll releases as they come out, we just added it to charm-tools for bundle v4 support/proofing21:13
marcoceppioy, nvm21:14
marcoceppiI should talk with frankban tomorrow, his package may need some updates21:15
rick_h_marcoceppi: which package?21:21
rick_h_marcoceppi: these are new right? Or you mean the python package?21:21
marcoceppirick_h_: I just now noticed there's a jujubundlelib package in stable that frankban uploaded to the stable ppa21:21
marcoceppibut it only provides jujubundlelib and not python-jujubundlelib python3-jujubundlelib as I expected it to21:21
rick_h_marcoceppi: oh, ok21:22
marcoceppiI have a new packaging branch that would fix that, but it conflicted when I went to upload it, so I'll have to chat wtih frankban tomorrow on it (unless he's on vacation?)21:23
rick_h_marcoceppi: well he's here in the room so he'll join irc21:23
rick_h_marcoceppi: and you guys can hash it out21:23
marcoceppioh, you guys sprinting?21:23
rick_h_marcoceppi: I think the package is compatible with both21:23
rick_h_marcoceppi: yea, in chicago this week21:23
marcoceppirick_h_: it's not, it doesn't install the python3 path properly21:23
rick_h_marcoceppi: oh, I'm surprised.21:23
marcoceppinot a big deal since charm-tools is only py2, but amulet is py2 + py3 and we'll see an update to that soon21:23
rick_h_marcoceppi: ok, well asked frankban to join in and catch up21:24
marcoceppirick_h_: not frankban's fault, it's a problem with py2dsc which doesn't support py3 ootb21:24
rick_h_marcoceppi: ah, ok we're all caught up now21:26
rick_h_marcoceppi: so go ahead and we'll update quickstart to use the python2 package you've got21:26
rick_h_marcoceppi: and deprecate/clean up the older bundlelib package that's not python ver. specific21:26
rick_h_(well, not named specific)21:26
marcoceppirick_h_: okay, I'm happy to create a jujubundlib package target taht just aliases python-jujubundlelib so that it transitions cleanly21:27
rick_h_marcoceppi: ok, will let you all coordinate it so that we make sure quickstart and the gui are kept happy21:27
=== cory_fu is now known as cory_out
firlanyone able to help me understand how to use juju-deployer config constraint for a maas tag?22:35
firltrying constraints: "tag=25net"22:35
wolsenfirl, try tags instead of tag22:50
firlwolsen no dice “could not find expected ‘:’”22:52
wolsenfirl, are you using 'constraints: tags=25net'?22:53
wolsenor?22:53
firlhttp://pastebin.com/205weCSn22:54
firl      constraints: "tag=25net"22:54
wolsenfirl, I think you should change the constraints from "tag=25net" to "tags=25net"22:57
firlI tried that22:57
firlhttp://pastebin.com/pPiNPzyR22:58
firl( same error )22:58
wolsenfirl, oh - you need a space between num_units: and 723:01
wolsenon the next line23:01
firlle sigh23:01
firlty23:01
wolsennp23:01
firlit’s running now, maybe I should step away from the computer haha23:01
pmatuliswhat is the difference between 'juju add-machine' and 'juju deploy ubuntu' ?23:44

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