[04:26] hello everyone, with maas 1.4, how to specify a specific version of kernel that nodes will use? include enlist, commision, and deployment stage? [04:30] Configure MaaS to use specific image for PXE === sfeole` is now known as sfeole [06:00] rawang: for now it's always just the latest available kernel for the release series. [06:01] (Though we do plan to change that) [06:02] jtv, i have check the precise boot image, it's still 3.2 kernel (12.04.1) [06:03] So you want to run with a newer kernel? [06:16] jtv, yes, want to run 3.11 kernel [06:21] I suppose a workaround for deployment would be to install that kernel on the system and reboot. === CyberJacob|Away is now known as CyberJacob [07:24] jtv, the problem is the server need 3.11 kernel for nic driver, but during enlist and commission and installation, it alway use 3.2 kernel, right? [07:25] Yes... you should be able to commission with a newer series, but installation would be harder. [07:26] That's where it comes down to custom kernel images, which we haven't done yet. [08:08] kentlin, ^^ [08:27] gmb: so there is no support for CONNECT so request (<2) apparently cannot do proper https proxying… but in maas-test we don't need "proper" proxying (i.e. we don't care if the proxy is used as a relay for the request)… so there is still hope… [08:27] requests* [08:28] rvba: Are you thinking a the scenario where we pre-fill the proxy cache and then only use it when running in no-internet-access-mode? [08:29] s/a the/of a/ [08:29] Or am I misunderstanding? [08:29] gmb: no, I'm thinking about using the proxy as a relay where the *proxy* does the https connection. [08:30] Aaah. Interesting. [08:30] Not sure it's possible… but I'm looking into it… [08:30] Excellent, thanks. [08:32] btw, I've got 2 branches up for review: https://code.launchpad.net/~rvb/maas/az-api-list-2/+merge/198922 and https://code.launchpad.net/~rvb/maas/admin-method-2/+merge/199049 [08:32] rvba: I'll take a look after I've had some more coffee [08:33] The second one is a clean-up jtv might be interested to review ;) [08:33] rvba: Are you suggesting this setup: simplestreams - (http) -> proxy - (https) -> interweb ? [08:33] gmb: exactly [08:33] rvba: That could work. We can't specify https_proxy *at all* for simplestreams, or else it breaks. [08:34] If you give it an http url by accident (I just did) you get [08:34] simplestreams.util.SignatureMissingException: No signature found! [08:34] gmb: even if it works, it will require monkeypatching I'm afraid. [08:34] Yuck [08:39] I like a library that uses exclamation marks in its error messages. [08:39] "Oh no! Calamity!" [08:39] * gmb is clearly wearing his early morning grumpy trousers; goes to get coffee [09:59] gmb: about the https proxy issue, I had another idea : simplestreams can use requests or urllib/urllib2 (see the top of the file /usr/share/pyshared/simplestreams/contentsource.py). Maybe we can simple monkey patch simplestreams very lightly to force it to use urllib/urllib2 even if requests is available et… voilà! [10:04] rvba: Ooh, that's filthy. Especially considering that we're shelling out to simplestreams, not using it as a library... [10:04] gmb: ah! This probably means we can't do that then :/ [10:05] rvba: Yeah... Using it as a library would be non-trivial now. [10:07] gmb: maybe it would be simple. It's worth a shot: it might be just a matter of calling the right uvtool method. [10:08] jtv: I'll take it [10:08] rvba: Well, let's get the AZ stuff done first and then we can take a look at it — at worst, it's a nice run-up-to-Christmas project for me and allenap. [10:09] gmb: k [10:13] gmb: another (much simpler) solution is this: if the sync step fail, continue anyway. If there is a real problem (i.e. if the image is not cached already) the next step (creating the VM) will fail anyway. [10:14] rvba: Yeah, that might not be such a terrible way to deal with it. [10:19] gmb, rvba: Why are we shelling out to simplestreams btw? [10:19] Let's move this over to #maas [10:19] allenap: we're shelling out to uvtools. [10:19] Haha [10:19] Sorry [10:19] gmb: :) [10:20] * gmb has had it beaten into him [10:20] rvba: Ah, okay. === jamespag` is now known as jamespage_realme === cmagina_ is now known as cmagina === CyberJacob is now known as CyberJacob|Away === hazmat` is now known as hazmat === Daviey_ is now known as Daviey === jamespag` is now known as jamespage [17:19] rvba: ping === CyberJacob|Away is now known as CyberJacob === CyberJacob is now known as CyberJacob|Away [23:50] <_bjorne> someone now why im alwas get this answer in apache logfile: /MAAS/metadata//2012-03-01/user-data HTTP/1.1" 404 200 "-" "Python-urllib/2.7" on the second and so on.. the first node is function not the others. [23:53] <_bjorne> 1st node GET /MAAS/metadata/curtin/2012-03-01/user-data HTTP/1.1" 200 33593 "-" "Python-urllib/2.7 [23:54] <_bjorne> im mean this: "GET /MAAS/metadata//2012-03-01/user-data HTTP/1.1" 200 12311 "-" "Python-urllib/2.7