/srv/irclogs.ubuntu.com/2014/08/26/#maas.txt

=== CyberJacob|Away is now known as CyberJacob
=== melmoth_ is now known as melmoth
jtvallenap, bigjools: my current test failure is a test timeout —08:47
jtvUnfired and/or unhandled EventualResult(s);08:47
jtvUnfired/unhandled EventualResult08:47
jtvIt was connected to a Deferred.08:47
jtvAre you getting the same thing?08:47
allenapjtv: Interesting. Do you want me to take a look at your branch?08:47
jtvOh yes please.08:47
jtvLet me push it up.08:48
jtvallenap: https://code.launchpad.net/~jtv/maas/configure-dhcpv6/+merge/23217908:50
jtvConflicts.  Fix0ring.08:51
jtvallenap: diff has updated.  If you look at TestConfigureDHCPv6, you'll see the test that's breaking for me.  (It's still got an undefined placeholder in there, rpc_configure_dhcpv6, but that's past the failure.)09:03
=== CyberJacob is now known as CyberJacob|Away
gmballenap: Why would I be seeing this in my testcase for the DHCP probe service:09:19
gmbAttributeError: 'TestDHCPProbeService' object has no attribute 'expectThat'09:19
gmballenap: More correctly, full traceback here: http://pastebin.ubuntu.com/8148330/09:20
jtvWrong base class for your test case?09:20
gmbjtv: I thought so, but I'm using the same base class (PservTestCase) as bigjools used for his TimerService subclass.09:20
jtvOutdated dependencies then?09:21
gmbAh, that could be it.09:21
gmbjtv: That's got it, thanks.09:23
jtv\o/09:23
jtvallenap: do my tests need to provide their own implementation for the RPC function I'm calling on the fixture?09:28
allenapjtv: I think I’ve figured your branch out. I’ve switched to the “live” fixture, but there’s a bug in it.09:32
jtvFrom what I read I think the live fixture would do me just fine.09:33
jtvOf course that's a bit like buying parts for an experimental fusion reactor: it all sounds just fine.  But the eventual explosion won't surprise me either.09:33
=== jpds_ is now known as jpds
allenapjtv: http://paste.ubuntu.com/8148612/ is what I have so far.10:00
allenapjtv: Yes. For each command you pass into makeCluster() a Mock is provided on the returned protocol instance. You can customise these. E.g. protocol.ConfigureDHCPv6.return_value = defer.succeed({…})10:02
jtvallenap: thanks!  Looking...10:03
jtvallenap: tests pass!10:19
jtvThat's with your changes, and the stuff that was wrong in my original tests fixed up.10:19
gmballenap: Can I trouble you to take a look at https://code.launchpad.net/~gmb/maas/probe-dhcp-2.0/+merge/232191 when you have a chance?10:26
gmbI think that's got all the bits now.10:27
allenapjtv: I’m a dolt; waiting for the handshake is a solved problem, because getClientFor can take a timeout: http://paste.ubuntu.com/8148963/10:55
jtvEven better.  :)10:57
jtvallenap: updated MP is at https://code.launchpad.net/~jtv/maas/configure-dhcpv6/+merge/232192 — it has a small prerequisite branch to keep the diff down.11:15
jtvallenap: is the package not reading the common celery config any more?  A custom package I built hits errors where app_or_default().conf only seems to hold rabbit settings and such.12:23
allenapjtv: I don’t know. I don’t recall changing anything there...13:01
jtvMaybe it's just a different execution environment...13:01
jtvAnyway, not all that interesting a question given that we're ditching Celery.  I put up a branch to make those settings variables.13:01
jtvRegular variables in the module that needs them.13:01
=== jfarschman is now known as MilesDenver
gmballenap: Re: your suggestion about adding an errback… is this the kind of thing you meant? https://plus.google.com/hangouts/_/canonical.com/gavin-graham14:42
gmbEr14:42
gmbhttp://paste.ubuntu.com/8150461/14:42
gmballenap: ^^14:42
allenapgmb: Yeah, that works. As you’re using inlineCallbacks you could use try:…except: around the yield self._probe_dhcp(…) too. But either is just fine.14:44
gmballenap: I’ll stick with the errback; less levels of indentation.14:44
gmbThankee!14:44
allenapgmb: I see your branch just bounced with some lint and something else. I think my branch (here: https://code.launchpad.net/~allenap/maas/race-on-start-region-service/+merge/232233) will fix that.15:47
gmballenap: Ah, ta!15:48
gmballenap: Rabbit shat all over your branch16:08
allenapgmb: It knows its days are now numbered in double digits.16:15
allenapgmb: It landed second time around, so give your branch another go.16:16
matsubaragmb, allenap: You wouldn't be saying that with such impunity if it was the one from Caerbannog16:26
=== matsubara is now known as matsubara-lunch
gmblol16:31
* gmb -> outta here16:55
=== matsubara-lunch is now known as matsubara
allenapmatsubara, gmb: Indeed! Henceforth the RPC thing shall be known as the Holy Hand Grenade of Antioch.17:49
matsubarahehe17:56
=== roadmr is now known as roadmr_afk
=== jfarschman is now known as MilesDenver
LaTaPiaTe ai matsubara18:37
LaTaPiaTta vendo como soube te achar kkkkk18:37
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== jfarschman is now known as MilesDenver
=== allenap_ is now known as allenap
=== jfarschman is now known as MilesDenver
mattraehi guys, i have nodes that need to pxe on a particular vlan. when enlistment boots though it doesnt' appear to be using the vlan. is there a way to specify a vlan to use during enlistment?23:26
mattraeusing maas 1.523:26
bigjoolsfor the benefit of others watching, maas doesn't support tagged vlans for pxe23:58

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