=== freeflying_away is now known as freeflying | ||
roaksoax | bigjools: yeah I saw that.. i'm not sure how to fix it because locally it builds just fine | 01:25 |
---|---|---|
bigjools | roaksoax: oh really? I didn't try I just assumed, how naive. So what's the difference locally? | 01:26 |
roaksoax | bigjools: i build locally against a pbuilder | 01:27 |
roaksoax | bigjools: so it might be the build environment that's broken.. or maybe the recipe? | 01:27 |
roaksoax | bigjools: the reason might be that it is not detecting the source format? | 01:28 |
bigjools | roaksoax: I was told that it's bzr's fault | 01:28 |
bigjools | bzr-builder will convert from 3.0 (quilt) to 3.0 (native) if you don't have pristine-tar information | 01:28 |
bigjools | and previously dpkg didn't care until a recent trusty upload | 01:29 |
roaksoax | bigjools: where is the recipe that builds the package? | 01:29 |
rawang | hello, guy, just a quick question, how can i force maas to update the dns record based on the its dhcp lease file? | 01:30 |
freeflying | if there is a new record in dhcpd.leases, any reason why hasn't maas has it update into dns? I have restart celery on both region and cluster controller | 01:31 |
rawang | in my case , new node added, but failed to add dns record in the zone file | 01:31 |
bigjools | is the interface set to manage dhcp/dns? | 01:31 |
rawang | bigjools, yes | 01:31 |
bigjools | can you see errors in either celery log? | 01:32 |
rawang | bigjools, you mean celery logs on region controller? | 01:32 |
bigjools | and cluster | 01:32 |
roaksoax | bigjools: so maybe bzr is not creating a pristine tarballs then | 01:34 |
bigjools | roaksoax: https://code.launchpad.net/~maas-maintainers/+recipe/maas-daily-trusty | 01:34 |
bigjools | roaksoax: correct, I think | 01:34 |
rawang | bigjools, i don't think i have see the error in celery logs on both nodes, but i can see 0AuthUnauthorized error in maas.log | 01:35 |
bigjools | has this ever worked? | 01:35 |
rawang | OAuthUnauthorized | 01:36 |
bigjools | have you ever had a DNS entry updated correctly? | 01:37 |
rawang | bigjools, yes | 01:38 |
bigjools | rawang: ok so what has changed since then? | 01:38 |
rawang | bigjools, nothing changes | 01:38 |
bigjools | do you keep a log of anything you configure? | 01:38 |
roaksoax | bigjools: ok it seems it might be the versioning being used | 01:38 |
bigjools | roaksoax: yes, exactly right. it needs a pristine tar for that style | 01:39 |
rawang | bigjools, we added a node in maas, enlist, commission, but juju add-unit, when the unit is started, we're trying to ssh ,and the hostname is able to be resolved. that's about it | 01:39 |
rawang | s/but/and/ | 01:39 |
bigjools | rawang: ok one moment | 01:39 |
rawang | ok :) | 01:40 |
roaksoax | bigjools: nope, I think it might be a bug somewhere..., the error asks for a native package 3.0 (native), when in reality it is a 3.0 (quilt) | 01:40 |
roaksoax | it is trying to build the package as native, and antive packages do not have the debian revisions | 01:40 |
bigjools | roaksoax: because bzr-builder converts it to native | 01:40 |
roaksoax | bigjools: should it do that thoguh? the package is a 3.0 (quilt) not native | 01:41 |
roaksoax | the problem might be related to having a debian revision i.e. 1.4-0ubuntu1 | 01:41 |
roaksoax | the debien revision is '-0' | 01:41 |
bigjools | ok | 01:41 |
roaksoax | which is intended | 01:42 |
bigjools | rawang: ok can you run "maas shell" and then type these lines: | 01:42 |
rawang | ok | 01:43 |
bigjools | from maasserver.models import DHCPLease | 01:43 |
bigjools | DHCPLease.objects.all() | 01:43 |
bigjools | and tell me if you see your node's IP | 01:43 |
rawang | bigjools, the output is truncated, how do i see the full output? | 01:45 |
bigjools | how many nodes do you have?! | 01:45 |
rawang | bigjools, currently 33 | 01:46 |
bigjools | rawang: try: | 01:46 |
bigjools | for l in DHCPLease.objects.all(): | 01:46 |
bigjools | print l.mac,l.ip | 01:46 |
rawang | k | 01:47 |
roaksoax | bigjools: can't we tell bzr to not create a native package? | 01:47 |
bigjools | roaksoax: no idea! | 01:47 |
bigjools | don't think you can | 01:47 |
bigjools | roaksoax: go to #launchpad-dev and ask stevek or wgrant | 01:47 |
bigjools | stevenk even | 01:48 |
rawang | bigjools, well, I don't think I have seen my new node's IP | 01:48 |
roaksoax | bigjools: k, i;'ll have to check on tahat tomorrow | 01:48 |
roaksoax | i'm off now | 01:48 |
roaksoax | ttyl | 01:48 |
bigjools | rawang: ok then there is the problem. | 01:48 |
bigjools | roaksoax: ok cheers, good night | 01:48 |
bigjools | rawang: the celery job on the cluster controller parses the dhcp leases file. Can you check to se if it threw any errors, and can you manually check the actual leases file for your mac | 01:49 |
bigjools | see if there is a host{} entry for it as well | 01:49 |
rawang | bigjools, yes, there is a host() entry for new node in /var/lib/maas/dhcp/dhcp.lease file, this node was added/removed a few days ago | 01:51 |
bigjools | rawang: is there a current lease? | 01:51 |
wgrant | roaksoax: It will fall back to a native package if thrre's no pristine-tar metadata to allow it to recreate the orig.tar.*. Since you can't really create a non-native package without the orig tarball. | 01:51 |
rawang | bigjools, well the node's IP is 10.214.25.175 (we can ssh into via this IP), and we have seen this record in dhcp.leases, the only problem is the record was recorded on 11.20 -> | 01:54 |
rawang | https://pastebin.canonical.com/101021/ | 01:54 |
bigjools | rawang: is that the most recent lease entry? It has expired, which is why maas is not writing the dns entry. | 01:55 |
roaksoax | wgrant: so what's the recommended way to fix this? | 01:55 |
rawang | bigjools, that's the most recent lease entry | 01:56 |
bigjools | rawang: ok, on the node, can you look at syslog to see if there's any dhclient errors? | 01:56 |
bigjools | is dhclient running? | 01:56 |
rawang | let me check | 01:56 |
rawang | bigjools, seems like there is no error for dhclient on client side. | 01:58 |
rawang | Nov 26 10:55:15 74ctp dhclient: DHCPRELEASE on bond0.203 to 10.214.0.4 port 67 | 01:58 |
rawang | 10.214.0.4 is the maas cluster controller's ip | 01:58 |
rawang | Nov 26 10:55:24 74ctp dhclient: bound to 10.214.25.175 -- renewal in 17171 seconds. | 01:59 |
rawang | bigjools, more dhclient logs https://pastebin.canonical.com/101022/ | 02:00 |
rawang | bigjools, so client get the ip, but it does not update the maas lease file with latest date, and maas celery failed to add the new dhcp entry to dns record | 02:01 |
rawang | bigjools, is there any command/option to reload maas dns record from dhcp lease | 02:01 |
bigjools | rawang: so can you find a matching entry in the maas dhcp server log? | 02:01 |
bigjools | is there a rogue dhcp server? | 02:01 |
rawang | bigjools, :) I don't get what do you mean by rogue dhcp server? | 02:02 |
wgrant | roaksoax: You need to include pristine-tar metadata in the branch | 02:02 |
wgrant | Using 'bzr import-upstream', for example. | 02:02 |
roaksoax | wgrant: ok, thanks! | 02:02 |
bigjools | rawang: is there another dhcp server apart from the maas-controlled one? | 02:03 |
bigjools | you need to find out where the node got that lease from | 02:03 |
rawang | bigjools, there are two dhcp services running on maas cluster controller, one for maas managed interface for dns/dhcp , and another dhcpd daemon for the rest of the interfaces. | 02:03 |
bigjools | rawang: and they are *definitely* serving different interfaces? | 02:04 |
bigjools | can you find the lease in the other dhcp daemon's lease file? | 02:04 |
rawang | bigjools, yes, they are definitely server different interface without any problem for the current nodes | 02:05 |
rawang | bigjools, yes, there are two dhcp.lease, one in /var/lib/maas/dhcp/dhcp.lease, the other one is in /var/lib/dhcp/dhcp.leases | 02:06 |
bigjools | rawang: ok you need to find that lease in a server daemon log or lease file | 02:06 |
bigjools | I need to know where it came from | 02:06 |
rawang | bigjools, the one I paste is from /var/lib/maas/dhcp/dhcp.leases | 02:06 |
bigjools | ok | 02:07 |
bigjools | rawang: so is it in /var/lib/dhcp/dhcp.leases? | 02:13 |
rawang | yes | 02:13 |
rawang | bigjools, so for short, i think new node entry is in /var/lib/maas/dhcp/dhcp.leases file, but maas didn't update it for dns record :) | 02:13 |
bigjools | rawang: wait | 02:13 |
bigjools | which leases file is it *current* in? | 02:13 |
bigjools | it is not in the maas one AFAICT because it expired | 02:14 |
rawang | /var/lib/maas/dhcp/dhcp.leases | 02:14 |
bigjools | which is why it's not in DNS | 02:14 |
bigjools | rawang: well no, it's not in there | 02:14 |
rawang | ok | 02:14 |
bigjools | can you grep it in the /var/lib/dhcp/dhcp.leases file? | 02:14 |
bigjools | ie the non-maas one | 02:14 |
rawang | bigjools, to grep the different mac from same node from /var/lib/dhcp/dhcp.leases? | 02:15 |
bigjools | rawang: grep the IP address | 02:16 |
rawang | ok | 02:16 |
rawang | bigjools, yes i can | 02:17 |
bigjools | rawang: and this is the IP for the interface on the maas-dhcp side? | 02:19 |
bigjools | you presumably have two IPs | 02:19 |
bigjools | rawang: the basic problem is that there is no active lease for the interface that is connected to the maas dhcp. You need to fix this, I don't know why it is not working. There is a dhclient problem or other networking problem you're not telling me about yet. | 02:20 |
rawang | bigjools, in short, I can get that node's ip from both dhcp leases files | 02:21 |
bigjools | rawang: then you have a fundamental network setup problem | 02:22 |
bigjools | somehow your node has got an IP from the wrong dhcp server | 02:23 |
bigjools | maas cannot assign a dns entry unless its own dhcp server is used | 02:23 |
rawang | sorry, keep busy on looking at other problem, will be back soon | 02:25 |
rawang | bigjools, problem solved, it's because we have another workaround for solved dns problem, which leads to this one :( | 02:56 |
rawang | bigjools, thanks a lot :) | 02:56 |
bigjools | rawang: ok | 02:57 |
=== Spideyman_afk is now known as Spideyman | ||
=== freeflying is now known as freeflying_away | ||
bigjools | jtv: yo. So, I need to add something to periodically look for existing dhcp servers. | 04:34 |
bigjools | I was thinking of adding it to the lease parser job, what do you think? | 04:34 |
jtv | Yes. | 04:34 |
jtv | Combining async jobs sounds hazardous. | 04:34 |
bigjools | well I thought of doing it in pserv but it's a bit of a job | 04:35 |
bigjools | since there's no credential storage there | 04:35 |
jtv | Ah. Credentials. | 04:35 |
bigjools | yes credentials | 04:35 |
bigjools | but with the leases job I can just call one more api endpoint and we're off | 04:36 |
jtv | What if we decoupled the probing and the reporting? | 04:37 |
bigjools | in what way? | 04:37 |
bigjools | I'm open | 04:37 |
jtv | Where one periodic job says "start probing for DHCP servers, boys" and then another (such as the lease-parser job) reports any DHCP servers that have been seen. | 04:37 |
jtv | Eliminates the wait, if you see what I mean. | 04:37 |
jtv | Although maybe I'm optimising prematurely there. | 04:38 |
jtv | bigjools: still here? | 04:45 |
bigjools | jtv: sorry, waylaid by something, back a in sec | 04:45 |
bigjools | in a* | 04:45 |
jtv | ok | 04:45 |
=== freeflying_away is now known as freeflying | ||
bigjools | jtv: so remind me how often we parse leases? | 04:59 |
bigjools | 30 seconds wasn't it? | 04:59 |
* jtv looks | 05:00 | |
jtv | bigjools: once a minute | 05:00 |
jtv | Guilty thought: "send DHCP probe; parse DHCP leases; send DHCP leases to API; sleep for remainder of DHCP wait period; send DHCP results; done." | 05:01 |
bigjools | jtv: that's exactly what I was thinking :) | 05:11 |
jtv | Then we're both guilty. | 05:12 |
bigjools | jtv: however, we'd need to do non-blocking IO | 05:12 |
jtv | Not this way, AFAICT. | 05:12 |
bigjools | so I think sequential is fine | 05:12 |
jtv | *Sending* the packet should be instantaneous. | 05:12 |
jtv | We can start *receiving* once the leases parser is done. | 05:12 |
bigjools | we can | 05:13 |
jtv | (Never mind the "sleep," I now see: the blocking recv() will do that) | 05:13 |
bigjools | in the example code I did I used a settimeout | 05:13 |
bigjools | so it waits ~3 seconds and then returns | 05:13 |
jtv | Yeah. For us, the latency of parsing and reporting the DHCP leases would probably hide the latency of probing for a DHCP server, _if_ there is one. | 05:17 |
jtv | Otherwise, well, at least we could subtract the elapsed time from the timeout. | 05:18 |
bigjools | there's very very little latency. | 05:19 |
bigjools | you usually get a response subsecond | 05:19 |
jtv | Shouldn't we cater for the situation where there is no DHCP server? | 05:31 |
bigjools | of course, we'll update the interface every scan | 05:35 |
bigjools | jtv: I'll submit a branch now that has the api side changes so you can see my intended solution to that | 05:53 |
bigjools | jtv: https://code.launchpad.net/~julian-edwards/maas/dhcp-detect-pserv/+merge/196659 | 05:58 |
xiaolin | I got an error while PXE booting : http://picpaste.com/20131126_122922-oSwGs8An.jpg | 06:27 |
xiaolin | any clue for this? | 06:27 |
axw | anyone awake? I'd like to see the agent_name for nodes in my MAAS server; what maas-cli invocation do I need to make? | 06:29 |
jam | bigjools, jtv: ^^ is agent_name rendered in output ? I see it in models/node.py and api.py, but not explicitly in any of the templates | 06:31 |
bigjools | no it's not part of templates | 06:31 |
bigjools | what problem do you have? | 06:32 |
axw | jam: your idea works - I can just nodes list agent_name=<UUID> | 06:32 |
jam | bigjools: if we acquire using one, we wanted to ensure we did that correctly | 06:32 |
axw | bigjools: I started a new instance in MAAS, just wanted to ensure it had the same agent_name as the others | 06:32 |
jam | we were hoping to see it in "nodes list" but you just have to guess the agent_name and filter yourself | 06:32 |
jam | well "guess" in that we have it written elsewhere | 06:32 |
bigjools | yay rushed fixes | 06:32 |
bigjools | ok so axw did you answer your own question? :) | 06:33 |
axw | bigjools: jam answered it for me, thanks :) | 06:33 |
bigjools | ok | 06:33 |
axw | may as well stay here while I learn how to use maas ;) | 06:34 |
gmb | Morning jtv. In your review here https://code.launchpad.net/~gmb/maas-test/warn-on-virtual-hardware/+merge/196489 you say "we should be okay w.r.t the change..." (unicode vs bytes again). Is "should" indicating an obligation or is it meant to indicate likelihood? | 07:05 |
=== CyberJacob|Away is now known as CyberJacob | ||
jtv | Hi gmb — I meant likelihood. My apologies for the ambiguity. | 08:46 |
jtv | gmb: about that pidfile... see the two pastebin links on rvba's MP: https://code.launchpad.net/~gmb/maas-test/accept-proxy-config-option/+merge/196664 | 09:12 |
gmb | jtv: Yep, looking, thanks. | 09:14 |
jtv | Oh wait, it's your MP. :) | 09:15 |
gmb | Yep :) | 09:16 |
jtv | On this massive screen I'm in front of, the name at the top is just too far out of the way. Raphaël's was right in front of me. | 09:16 |
bigjools | jtv: did you make any changes to the dhcp detection stuff yet? I need to start doing things with it and we might tread on each other's toes here | 09:19 |
jtv | bigjools: yes. How about I push it now? | 09:21 |
bigjools | jtv: sure | 09:21 |
jtv | I also have a script that I created for experimentation... Might as well include that I suppose. | 09:21 |
jtv | bigjools: pushing to lp:~jtv/maas/probe-dhcp | 09:22 |
jtv | And... done. | 09:22 |
bigjools | pwobe | 09:23 |
jtv | bigjools: adds a scripts/maas-probe-dhcp.py for easy experimentation. | 09:23 |
bigjools | jtv: make a WIP MP so we get a working diff | 09:23 |
jtv | OK | 09:23 |
gnuoy | Can global kernel options be set through the cli ? maas-cli maas maas get-config 'kernel_opts' is returning "u'kernel_opts' is not a name=value pair" | 09:52 |
gnuoy | s/set/displayed/ | 09:52 |
bigjools | gnuoy: name=kernel_opts IIRC | 09:58 |
gnuoy | bigjools, perfect, thank you | 09:58 |
=== freeflying is now known as freeflying_away | ||
jtv | gmb: oops, I just voted Disapprove on your branch but it looks like it's already merged. | 10:39 |
gmb | jtv: HOW DARE YOU. | 10:39 |
gmb | I mean | 10:39 |
gmb | Why, what was wrong with it? | 10:39 |
jtv | I am sorry for being so negative, really I am. Basically, you were trying to stuff two fixtures into one body. | 10:40 |
jtv | The thing has become wholly schizophrenic. Two personalities, no shared code. | 10:40 |
gmb | jtv: Nah, it's fine; I'd rather have your negative reviews than most people's positive ones. And you're absolutely right, too. I'll put a branch together to take care of your points now. | 10:40 |
jtv | Thanks. Very sporting of you. | 10:43 |
rvba | jtv: since you seems to be in reviewing mode, could you have a look at https://code.launchpad.net/~rvb/maas-test/customize-series-arch/+merge/196685 please? | 10:45 |
rvba | seem* | 10:45 |
* jtv was trying to get _out_ of reviewer mode for a change | 10:46 | |
=== freeflying_away is now known as freeflying | ||
=== CyberJacob is now known as CyberJacob|Away | ||
rvba | jtv: all right, no worries, I'll ask someone else to pick it up then. | 11:08 |
jtv | Thanks. | 11:10 |
rvba | allenap: time for a review? https://code.launchpad.net/~rvb/maas-test/customize-series-arch/+merge/196685 | 11:11 |
=== CyberJacob|Away is now known as CyberJacob | ||
gmb | jtv, rvba: A branch to deal with the concerns about the overloading of ProxyFixture: https://code.launchpad.net/~gmb/maas-test/fix-buggery/+merge/196697 | 12:01 |
* gmb -> lunch | 12:01 | |
jtv | Looking. | 12:01 |
gmb | jtv: Might want to refresh; just pushed another revision. | 12:02 |
jtv | OK | 12:03 |
jtv | I was wondering about that class you just removed. :-) | 12:04 |
jtv | gmb: done. | 12:07 |
jtv | rvba: I'm beginning to think that we need a separate version of packages.txt for packages that we expect to be installed for development. | 12:25 |
allenap | rvba: Sure. | 12:29 |
jtv | Does anyone remember what to do about this one? | 12:54 |
jtv | Getting distribution for 'psycopg2>=2.4.4'. | 12:54 |
jtv | Error: Picked: psycopg2 = 2.5.1 | 12:54 |
jtv | allenap..? | 12:55 |
allenap | jtv: I tried to help someone with this last week but it was futile. Let me see if I can recreate it. | 13:00 |
allenap | jtv: Is this in maas or maas-test? | 13:00 |
jtv | allenap: maas | 13:01 |
jtv | saucy | 13:01 |
rvba | gmb: I'm getting a failing when running the tests on trunk… http://paste.ubuntu.com/6478833/ | 13:01 |
gmb | rvba: Fuckmonkeys. | 13:01 |
rvba | This seems related to landing of your most recent branch. | 13:01 |
gmb | Yeah, that was my bad, I've missed a test run. | 13:01 |
gmb | Fixing it now. | 13:01 |
rvba | I think it's trying to import RemoteProxyFixture which does not seem to exist. | 13:02 |
gmb | Yep | 13:02 |
allenap | jtv: make install-dependencies? | 13:03 |
allenap | jtv: I can reproduce by removing python-psycopg2. | 13:03 |
jtv | allenap: I ran that of course. | 13:04 |
gmb | rvba: https://code.launchpad.net/~gmb/maas-test/agiantpileofarse/+merge/196709 | 13:04 |
jtv | I started hitthing the problem without python-psycopg2 installed. Installing it didn't help. | 13:04 |
allenap | jtv: Ah, I can also reproduce now I've installed python-psycopg2! Dammit buildout. | 13:04 |
rvba | "can we have CI now? Thanks." says gmb. Seconded :) | 13:04 |
gmb | :) | 13:04 |
rvba | allenap might have a secret script to spin up a juju-deployed tarmac. | 13:05 |
allenap | jtv: rm -r ~/.buildout/eggs/psycopg2-*.egg | 13:05 |
jtv | Actually, without python-psycopg2 it fails even earlier. :( | 13:05 |
jtv | allenap: no ~/.buildout. | 13:05 |
allenap | Or wherever your buildout cache is. | 13:05 |
jtv | Removing the eg... | 13:06 |
jtv | egg... | 13:06 |
jtv | Nope, back to the same error. | 13:06 |
jtv | This is a freshly installed machine, so no old eggs. | 13:06 |
allenap | jtv: After `make distclean`, does `bzr ignored` report anything? | 13:07 |
jtv | allenap: bin ./bin | 13:08 |
jtv | etc. | 13:08 |
jtv | Same for eggs, develop-eggs, lib, local, and parts. | 13:08 |
gmb | rvba: Um, packages.txt seems to be broken: http://paste.ubuntu.com/6478860/ | 13:08 |
allenap | jtv: It should have reported nothing. | 13:08 |
gmb | (Just removing the comment fixes it, but still) | 13:08 |
jtv | allenap: what does that mean? | 13:08 |
rvba | gmb: uh-oh, my bad | 13:09 |
allenap | jtv: make distclean should have removed all non-versioned files from the tree. | 13:09 |
rvba | gmb: I'll clean it up… | 13:09 |
rvba | I'm still waiting for the diff to show up on your MP… | 13:09 |
gmb | rvba: Okay. And another +1 in the CI column... | 13:09 |
gmb | rvba: Yeah, LP seems to be on a go-slow today. | 13:09 |
jtv | allenap: ah! "make distclean" fails because "svok" can't be found. | 13:10 |
allenap | jtv: Interesting! daemontools is probably missing from the package list. | 13:10 |
allenap | Mmm, it's there. | 13:10 |
gmb | rvba: To save you waiting: http://paste.ubuntu.com/6478874/ | 13:11 |
gmb | Woah, hang on | 13:11 |
gmb | rvba: Scratch that, I appear to have done something dumb. | 13:11 |
gmb | One sec. | 13:11 |
jtv | allenap: I also had to install libpq-dev and libpython-dev | 13:11 |
allenap | jtv: Something weird is going on: libpq-dev is in required-packages/dev. libpython-dev is missing, granted. | 13:12 |
jtv | allenap: make distclean works now, "bzr ignore" says nothing, but still no psycopg2. | 13:12 |
jtv | Wha!? "make install-requirements" gives me some additional packages now! | 13:12 |
gmb | rvba: http://paste.ubuntu.com/6478881/ | 13:12 |
rvba | Ta. | 13:13 |
jtv | allenap: whoops... lots and lots of additional dependencies in fact. | 13:13 |
rvba | gmb: approved, and I fixed the packages.txt fuckup. | 13:14 |
gmb | Cool. | 13:14 |
gmb | rvba: Thanks. | 13:14 |
jtv | allenap: success! Installation must simply have failed somewhere. | 13:28 |
rvba | allenap: thanks for the review… I'm afraid my change will add more conflicts to the 2 branches you have in progress but solving them will be mostly mechanical… | 13:30 |
allenap | rvba: Don't worry about it. | 13:32 |
allenap | jtv: \o/ | 13:32 |
jtv | That *finally* got to the point where I can test what I wanted to, and the news is bad. :( | 13:33 |
jtv | Can't bind to the dhcp client socket when dhclient is running... even on another interface. | 13:33 |
allenap | jtv: http://freeprogrammersblog.vhex.net/post/linux-39-introduced-new-way-of-writing-socket-servers/2 might help. | 13:39 |
rvba | gmb: fwiw, MAASFixture.configure_default_series does exactly the sort of config you have to do to make the documentation about --http-proxy be true (i.e. for the proxy to be actually used by the nodes) :). | 13:40 |
jtv | Thanks allenap. Will look at that tomorrow. | 13:40 |
rvba | gmb: also, the branch I just landed is the cleanup you and I talked about a few days ago. The arch and the series for which the images are imported is not hardcoded anymore. | 13:43 |
allenap | rvba: Is there any need to keep TestMAAS and TestOneNode separate? | 14:11 |
gmb | rvba: Sweeeeeet. Thanks for the tip. | 14:13 |
allenap | rvba: I guess TestOneNode has the actual cases, whereas TestMAAS is just utility-like code. | 14:13 |
gmb | I'm getting TypeErrors... WTF? I'm going to make tea in anger. | 14:13 |
rvba | allenap: yes, something like a mixin… I decided to split them up because at some point, it look as if we were about to have multiple test cases… turns out we only needed one so far. | 14:25 |
allenap | rvba: I won't change it, but I will document it. | 14:25 |
rvba | Sounds good. | 14:25 |
rvba | gmb: I see something fishy in maastest/main.py: we pass cls.proxy to MAASFixture() instead of proxy_url. Looks like a problem to me… | 14:51 |
gmb | rvba: Yeah, that's a bug — we don't actually have tests for the TestCase infrastructure, which doesn't help — I've got a fix for that in a branch now. | 14:52 |
rvba | All right. | 14:52 |
rvba | Also, I don't see cls.proxy.setUp() being called. | 14:53 |
gmb | rvba: Yep | 14:56 |
rvba | gmb: where will polipo put its cache? It's not obvious from the code… | 14:57 |
rvba | (I'm asking because I can't have it put large files in ~/, I need to create a symlink to a place where there is space) | 14:57 |
gmb | rvba: It goes in /var/cache/polipo by default. | 14:58 |
rvba | It can write there even if it's running with my id? | 14:58 |
rvba | I doubt it :) | 14:59 |
rvba | The log is full of: | 15:00 |
rvba | Couldn't create disk file /var/cache/polipo/archive.ubuntu.com/Uh9N+CMWid7p9wF5hBk53Q==: Permission denied | 15:00 |
rvba | Couldn't create disk file /var/cache/polipo/archive.ubuntu.com/Q3DSIlpgswiWnUOrv3cdXQ==: Permission denied | 15:00 |
gmb | rvba: Hmm, good point, I doubt it too... What an excellent feature! | 15:00 |
rvba | :) | 15:00 |
gmb | Okay, so we should fix _that_ then. | 15:00 |
rvba | gmb: I'll see if I can change the config to cache things in .maas-test/cache | 15:01 |
gmb | ok. | 15:01 |
rvba | On the bright side, it does not cache anything but it does not break :) | 15:01 |
gmb | Yes... that's the kind of failure we like: agreeable uselessness. | 15:02 |
gmb | rvba: LP's being slow again; does this look good to you: http://paste.ubuntu.com/6479326/ | 15:03 |
rvba | gmb: that's precisely what I've done to test this thing. | 15:03 |
gmb | Excellent. I'll merge that now. | 15:04 |
=== teknico_ is now known as teknico | ||
blueking | any activity here ? | 15:31 |
gmb | blueking: Plenty. What kind of activity were you looking for? | 15:33 |
blueking | I've tested sphirewall/debian on new built pc but seems to be hard to configure nat not working properly, might be due new nic I210AT intel ... so looking into ubuntu server to be used on router/nat box/firwall and torrent client | 15:36 |
blueking | have used ubuntu desktop version before | 15:36 |
blueking | hardware on router are | 15:38 |
blueking | mobo http://www.supermicro.nl/products/motherboard/Xeon/C220/X10SLM_-F.cfm | 15:38 |
gmb | blueking: I suspect that maas is more than you need for what you're trying to do. You might be better off asking in #ubuntu or #ubuntu-server | 15:38 |
blueking | ok | 15:39 |
blueking | same irc server ? | 15:39 |
gmb | blueking: Yes. | 15:40 |
=== CyberJacob is now known as CyberJacob|Away | ||
rvba | allenap: would you be available for a review? | 15:47 |
=== CyberJacob|Away is now known as CyberJacob | ||
rvba | allenap: here is the MP, if you have time: https://code.launchpad.net/~rvb/maas-test/fix-cache-config/+merge/196737 | 15:52 |
rvba | gmb: did you start working on setting MAAS' proxy? | 16:16 |
rvba | gmb: I'll take that as a no :) | 16:27 |
rvba | gmb: can you have a look? https://code.launchpad.net/~rvb/maas-test/fix-proxy-usage/+merge/196745 | 16:27 |
rvba | allenap, maybe ^ | 16:27 |
allenap | rvba: Sure. | 16:46 |
=== CyberJacob is now known as CyberJacob|Away | ||
=== freeflying is now known as freeflying_away | ||
=== freeflying_away is now known as freeflying |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!