[00:01] bigjools: i'm in the hang out [00:02] flacoste: hi - I don't see an invitation [00:02] now I do [00:02] bigjools: it was the hang out linked to the event [00:03] bigjools: right, but my point was that when you only install maas-cluster-controller you need to tell the MAAS URL too right? === matsubara is now known as matsubara-afk [05:00] hi jam [06:41] hi bigjools [06:41] (I was around earlier, but had to run some errands) anything you need? [06:42] jam: no, just saying hi :) [06:56] well cool, commissioning a new and I see hardware info appearing :) [06:56] new node*{ [06:59] bigjools: yay [07:11] sadly the ipmi detection is not so good, it thinks the BMC has an ip address of 0.0.0.0 [07:20] bigjools: that just means it is accessible from everywhere, right? :) [07:21] jam: that's *one* way of looking at it [08:24] Morning. [08:24] Morning allenap. [09:01] bigjools: I think I might know how we've had test suite failures in Jenkins. [09:01] It appears that if you submit a branch, and it fails the test suite [09:02] Submitting it again just accepts it (without running the tests) [09:02] ! [09:02] I have done that in the past and it didn't land though [09:02] I could be wrong, but I just resubmitted to MAAS lander, and I think I can show it failing here. [09:02] bigjools: https://code.launchpad.net/~jameinel/maas/allow-json/+merge/128512 [09:02] the first failure gave me the 404 [09:02] so I just resubmit hoping to get an actual error I can work on. [09:03] But this time, magic it succeeded. [09:03] hummm [09:06] mgz: http://stackoverflow.com/questions/5907575/how-do-i-use-pagination-with-django-class-based-generic-listviews [09:16] jam: Gah, can't import django in provisioningserver :-/ [09:17] allenap: I have a fix re-submitted for it. [09:17] but see above [09:17] I nearly added "because Django is an nearly unmitigated pos", but I bit my tongue. [09:17] Maas decided to land my branch again, when I retried because the first time gave me just a 404 [09:17] jam: I have fled upstairs, can mumble from here if we want though [09:18] mgz: well, I'll be chewing for a bit longer, then I'll poke you for mumble :) [09:18] ^and I followed your bad example and told the lander to shut up and try again [09:19] allenap: lol [09:21] allenap: so if you check my latest 'lp:~jameinel/maas/allow-json' I should have fixed the import issues. However, Maas just rejected my change again, and I can't get the context because 404 [09:21] Gah. [09:21] I'm running a full make check to be sure [09:22] I can just land on trunk, and see if that resolves things? [09:22] (and why is it that console output used to work, but is now just always giving 404...) [09:23] This is annoying. I guess land on trunk. rvba, do you know if/how we can turn off the gated landings in Tarmac, for a while at least? [09:24] allenap: no idea, maybe Diogo documented that somewhere but I doubt it. [09:24] We just walk round the back then. [09:25] allenap: it is possible that it was passing for me because I didn't have the latest trunk. I'll make sure to grab it and check one more time. [09:25] jam: I'm running it too. [09:25] it'll be in the tarmac conf [09:26] jam: the "Private Jenkins URL" works. [09:26] * bigjools putting kids to bed, back in 20 [09:26] rvba: I can get to the public jenkins, it just doesn't have the new job (172) that claims to be failing. [09:26] And I can't get to the private jenkins [09:27] allenap: I do see 2 failures in trunk this time, so maybe I can squash them. [09:27] jam: You need the test lab VPN config to get to the private URL, see https://wiki.canonical.com/Launchpad/QA/MAASLenovoLab [09:28] jam: like Gavin said :) [09:28] allenap, rvba: Technically, vpn's are illegal in Dubai, because they get around the content restrictions. but I'll probably give it a shot. [09:29] allenap: so the tests failing in trunk are the 'maascli' ones. [09:29] not mine. [09:29] so I'll land my patch to fix my own broken bits. [09:29] and then we can look to fix the maascli ones. [09:30] don't get yourself hauled off to sit in content prison... [09:30] allenap: 'bin/test.maas maascli.tests.test_integration' has 2 failing tests for me. [09:31] mgz: is that 'conTENT' or 'CONtent' ? [09:31] :) [09:32] jam: can you try moving away ~/.maascli.db and run the tests? [09:32] jam: we have a bug about the tests using that file… [09:32] allenap: the maascli tests are failing because of 'resources=description['resources']' not existing. [09:33] rbasak: confirmed [09:33] Looks like it might be happening in Jenkins as well? [09:33] jam: yeah, that's bug 1063721. [09:33] Launchpad bug 1063721 in MAAS "The CLI tests depend on the content of ~/.maascli.db." [Low,Triaged] https://launchpad.net/bugs/1063721 [09:46] jam: Yeah, the ~/.maascli.db is probably causing that. Also, maascli tests should be run with bin/test.maascli. [09:47] allenap: they still fail, but I see them being run with both [09:47] as in running 'make check' they run under bin/test.maas from what I can tell, and they fail here. [09:48] allenap: if they shouldn't run under 'bin/test.maas' I think you need an --exclude=maascli in bin/test.maas [09:48] (which comes from buildout somehow) [09:49] jam: I'll fix that later. [09:49] jam: I get a clean run here, for make check with allow-json. [09:51] allenap: yeah, other than the maascli stuff, I have a clean run. So I landed it on trunk. [10:07] mgz: poke for great mumbling [10:07] allenap: maas lander is still failing follow up branches without any context [10:08] third time lucky [10:09] maas lander let the search change through [10:09] mgz: https://jenkins.qa.ubuntu.com/job/maas-merger-quantal/ only shows up to 169, not 170-175 which are the ones that are failing. [10:27] mgz: make harness [10:28] from maasserver.models import NodeGroup [10:28] ng = NodeGroup.objects.ensure_master() [10:28] from maasserver.testing.factory import factory [10:28] for i in range(?): factory.make_node(nodegroup [10:28] =ng) [10:41] allenap: I'm getting "twistd.pserv Unknown command: maas-pserv" any idea how to fix that? [10:55] jam: What are you trying to do? [10:56] allenap: 'make run' [10:56] however, I think it is because I still had cruft leftover from failing to uninstall maas [10:56] So maas-txlongpoll was running in the background [10:56] rather than just the dev one. [10:58] jam: Have you moved the directory or anything that might confuse buildout? Check bin/twistd.pserv to see if there's anything obviously wrong there. [10:58] allenap: still getting the same error after stopping the other. [10:59] allenap: Also, this is after doing 'make distclean' which should rebuild those things, right? [11:05] jam: Yeah, it ought to. The maas-pserv plugin is picked up from twisted/plugins/maasps.py, so make sure that the root of the tree is mentioned in bin/twisted.pserv. [11:05] s/twisted/twistd/ [11:06] allenap: it is. [11:06] Bugger. [11:06] root, etc, src, contrib/python-tx-tftp [11:07] allenap: so the actual failure is probably 'no module named tftp.backend' [11:07] the massps.py is suppressing the other import failure [11:07] jam: That should be in contrib/python-tx-tftp. [11:08] which is in the twistd.pserv path [11:10] jam: Can you run through twistd.pserv statement-by-statement and then try importing tftp.backend? [11:16] allenap: if I insert a PDB at the __name__ == '__main__' portion, I can manually import twisted.plugins.maasps and see that it has the ProvisioningServerMaker class in the namespace [11:16] allenap: however it still tells me 'unknown command maas-pserv' [11:17] availabe commands are ampq-longpoll, conch, dns, ftp inetd, mail, manhole, news, portforward, procmon, socks, telnet, tftp, txlongpoll, web, words, xmpp-router. [11:19] I *do* see 171 unhandled messages in the 'celery' queue... :( [11:25] jam: I can't think of another reason why it wouldn't work, but that's obviously a failure of my imagination. I'll keep thinking. If you discover the reason, let me know? [11:29] Anybody up for a review of some shell code? It's not much: https://code.launchpad.net/~jtv/maas/bug-1050033/+merge/128685 [11:31] jtv: sure [11:31] Thanks. [11:34] jtv: just one point - the args are the wrong way around compared to the more traditional order :) [11:35] Depends on the example you pick! Unix tradition is: if one positional argument takes just one value, and another may be given multiple times, the one argument goes first. [11:35] Insert long discussion here about whether ln's argument order is intuitive. :) [11:35] But yes, cp and mv do put the destination last. [11:38] I'll change it. [11:38] Most of the time I use ln, I specify the destination only. It'd be confusing if ln were the other way round [11:40] depends on how you think about which is the destination [11:40] Exactly. That's what I hate about it. [11:41] Now you don't just have to remember argument order, you have to remember which of several obvious ways to think about the whole thing! [11:41] I just remember original file :) [11:48] * jtv wishes once again he'd pushed his openssh patch upstream half a decade ago, so he could stop it complaining about host keys for dynamic IP addresses changing all the time [11:58] the 99-temporary-fix-constraints.patch in packaging now needs removing [11:58] package is ftbfs [11:59] mgz: Got time for a 1 minute review of https://code.launchpad.net/~allenap/maas/maas-cli-explain-after-login/+merge/128693? [12:01] allenap: sure [12:01] Ta. [12:05] print() is weird [12:06] mgz: Why? [12:08] putting a bare print before and after is not how I'd do it, but I tend to the (equally weird) print s.join("\n\n") [12:11] mgz: It's irrelevant here, because the target is Ubuntu only, but I avoid that so that line-endings are sorted out by Python, but in that I may be misguided. [12:12] you're pretty much always printing to a file opened in text mode, so they get translated [12:13] (redirecting stdout to something that has been opened as binary or hacking the stream properties is uncommon) [12:51] jtv, you should not care about the extension of a initrd. it never should have been changed. [12:51] the 'gzip' executable is not at all involved in decompression of an initramfs. [12:52] so, dont worry about it. rename it as you need. [13:13] rvba, jtv: Anything in flight that needs to be landed today? [13:15] allenap: no. [13:38] allenap: as near as I can tell, twisted/plugins/maasps.py is just not getting imported. Is there a way to tell what is going on? I guess just stepping from the startup? [13:49] mgz: poke [13:50] roaksoax: latest daily builds is uninstallable for smoser: http://paste.ubuntu.com/1269262/ [13:50] flacoste: for me too :/. I just tested it on a branch new canonistack instance. [13:50] brand* [13:51] roaksoax, seems rooted in this: http://paste.ubuntu.com/1269276/ [13:51] smoser: I have the bug reproduced and ready for a patch, based on my morning's daily (0.1+bzr1226+dfsg-0+1226+124~ppa0~quantal1) rather than current. [13:52] allenap: I think I found the problem... after uninstalling the package 'maas' it left a *stale* /usr/lib/python2.7/dist-packages/twisted/plugins/maasps.pyc file [13:53] so, i would suggest that right now, archive install of freeipmi-tools is uninstallable [13:54] smoser: I did an upload earlier [13:54] Maybe it's still being published [13:54] jam: Ach, that's bad. I guess that's a dpkg bug? [13:54] check which version is apt-cache policy [13:54] allenap: well, I had to manually mess things up because 'apt-get remove maas' was failing. [13:54] it was *starting* the services it was trying to remove. [13:54] and then, failing to remove them. [13:54] so I might have some things a bit broken here [13:55] however, after fixing *that*, I now have problems wiwth 'maasserver_config' does not exist. [13:55] jam: Right. For now we assume it's an anomaly. [13:55] Oh no :-/ [13:55] that and 'response.getcode()' tuple object has no attribute 'getcode' [13:55] smoser msybe relsted to being promoted to msin¿ [13:55] smoser doko promoted it this morning [13:58] ah, I need to 'make syncdb' to get the db, right? [14:00] smoser is the bug relsted to not being able to commission with console=ttyS0 still present¿ [14:00] ? [14:00] allenap: and it would appear I might have broken start_cluster_controller by changing the return value of MAASClient.post() checking [14:01] roaksoax, probably. [14:01] https://bugs.launchpad.net/maas/+bug/1061977 [14:01] Ubuntu bug 1061977 in MAAS "Machine fails to commission when console=ttyS0 is present on kernel opts" [Critical,Triaged] [14:01] i'm not *totally* opposed to dropping console=ttyS0 from the cmdline [14:02] smoser ok.. so we still need to be able to modify that then in an easy manner [14:02] as i have no other work around. [14:02] jam: wiggle? [14:02] mgz: just checking how things are going, want to mumble? [14:02] sure [14:02] smoser i think we should be able to have an attribute on the node for that [14:03] smoser shouldnt be that hard to hack [14:03] roaksoax: yes my machines failed to commission with console=ttyS0 today [14:03] also see the comment above about stale .pyc files left around? [14:04] roaksoax, well, the one thing we can fix right now is to remove console=ttyS0. [14:04] and i'm not completely opposed to that. [14:04] i just think it sucks. [14:04] smoser i think it is important to make it configurable [14:05] how does a bmc get at console output? [14:05] adding a paramtet shold be a problem really [14:05] it all depends. [14:05] (how a bmc gets console output) [14:05] some bmc will have serial console "SOL" [14:05] bidjools you have to configure the bmc and then configure maas to tell what parameters to send [14:05] which i would think is most common [14:05] also my BMCs are all failing to get a dhcp address, no idea why. they ignore the dhcpoffer from the server [14:05] allenap: yay, it wasn't me who broke start_cluster_controller. Someone else changed the dispatcher from using urllib2.urlopen to httplib2.Http() [14:06] but i really have not enough experience on server hardware to make broad generalizations on such a thing. [14:06] allenap: start_cluster_controller seems to be the only thing that is using 'response' directly after post [14:06] bigjools those pyc files .. idk but its definiteky related to the package split as they werent present before the split but i cant figure out whats wrong [14:07] roaksoax: bug in postrm not pulling in debhelper? [14:07] smoser in sabdfls cluster i had to odify to ttyS1 but he said he configured that on the bios [14:07] so... [14:07] bigjools i thought you merged that and it would have taken cre of it [14:08] my personal feeling on this right now is to just drop all 'console=' params from the cmdline on intel [14:08] unless bigjools or someone says "i can make that configurable via file in /etc/ "right now"' [14:08] there's an open bug about it [14:08] allenap: so your change to using httplib2.Http so that you could set the insecure flag [14:08] i would go for addint the attribute for the node for custom kernel params [14:08] broke actually all users of dispatch_query [14:08] so unless that happens, i think we live with "configurable" meaning 'change .py files' [14:09] because it used to return a urllib2 file-like object [14:09] bigjools, yes, there is. [14:09] and it now returns a tuple [14:09] of response_headers, conte [14:09] content [14:09] bug 1044503 [14:09] we don't have tests that exercise the code [14:09] Launchpad bug 1044503 in MAAS "kernel command line is not easily customizable" [High,Triaged] https://launchpad.net/bugs/1044503 [14:09] because all the tests mock out the connection. [14:09] because we never run an actuall HTTP server to query against. [14:10] all of the tags stuff would also show up broken, if we could actually get it running (but we are failing early during startup) [14:10] except in the test he added for that change... the irony ... [14:10] bigjools: :) [14:10] ok it's past midnight, I need to sleep [14:10] night all, good luck [14:10] bigjools: sleep well. [14:10] * bigjools intends to :) [14:11] jam: how could that change break things? It's just a tiny encapsulation, and http_request still returns the result of http.request()…? [14:11] rvba: we used to return urllib2.open() [14:11] whicgh is a file-like object [14:11] with an attribute '.getcode()' [14:11] rvba: httplib2.Http.request() returns a very different object. [14:11] namely, a tuple [14:11] I see. [14:11] of ({headers}, content) [14:12] rvba: it only shows up during 'make run' because that is the only time we actually connect to a real server. [14:12] rvba: so, do we try to update all clients to a new api? try to wrap it in something that looks like a urllib object? [14:12] revert the insecure=False change? [14:13] I don't think we can revert that change just like that. [14:13] jam: Revert I think. [14:13] I only just made the change this morning. [14:13] I'll do it. [14:13] Also, sorry for being thick, but here is the change in question [14:13] http://paste.ubuntu.com/1269307/ [14:13] allenap: thanks [14:14] We were using httplib2.Http.request() all along. [14:14] rvba: wrong code [14:14] this is the one allenap did [14:14] Oh, you're talking about a different change I guess. [14:14] rvba: apiclient, not maascli. [14:14] Ok, [14:14] k [14:15] allenap: yeah, I think we can revert it for now, and land it after tomorrow and think about what we want to do with the changes. Long term, you like httplib2 more? [14:16] (it at least lets you allow self-signed certs, I guess) [14:17] jam: I was trying to "upstream" the changes in maascli to apiclient so that the former can properly use the latter. There's an impedance mismatch between apiclient and our Pistonesque API that's been mostly figured out in maascli. [14:18] allenap: yeah, I think it would be nice to update to something closer [14:18] and I don't think we need to have incremental reads from urllib2 [14:18] (i don't know if we even have incremental there, but it pretends we do) [14:22] jam: Care to rubberstamp? https://code.launchpad.net/~allenap/maas/revert-change-to-httplib2-in-apiclient/+merge/128726 [14:23] allenap: done [14:23] Thanks. [14:23] allenap: I'm glad I updated to trunk to test stuff today. [14:24] jam: Me too :) === flacoste changed the topic of #maas to: Final Freeze is today: waiting on upstream fixes for bug 978127| Discussion of upstream development of Ubuntu's Metal as a Service (MAAS) tool | MAAS jenkins: https://jenkins.qa.ubuntu.com/job/maas-trunk/ [14:30] roaksoax: any way i can be a bug supervisor for the maas package? so that i can set priority [14:31] flacoste: being member of the bugsquad or being a core dev :) [14:31] pff [14:33] smoser, roaksoax, Daviey: i'm just going to use a tag to highlight the bug fixed in upstream that aren't in the archive [14:33] too much hassle to create tasks when i cannot set the priority on it [14:33] jam: I've filed bug 1064437 about it. [14:33] Launchpad bug 1064437 in MAAS "The expectations of MAASDispatcher.dispatch_query are not tested" [High,Triaged] https://launchpad.net/bugs/1064437 [14:33] allenap: thanks [14:37] flacoste, fair enough [14:39] flacoste: what trunk rev are we looking to have in the archives today? [14:40] mgz: Vq2fSMwMvLXFuGJJyp:fZE7P5qGvgPSudZ8Hh:ZNqct3Pm8pFGh8mT5DVy8Py8JCtg4NaG [14:40] roaksoax: 1238 is the latest, but we are missing a few bug fixes still [14:40] roaksoax: so something like 1241 probably [14:41] flacoste: ok I think we have until 21:00 UTC so we still have a few hours, but i'd require to do some testing first [14:41] roaksoax: 1239 -> revert of allenap revision breaking start_maas_cluster [14:41] i'll check back in 1 hr [14:41] 1240 -> smoser fix for oauth in maas-enlist [14:42] 1241 -> IPMI auto-config in maas-enlist (optional really) [14:44] roaksoax, Daviey, smoser: https://bugs.launchpad.net/maas/+bugs?field.tag=missing-in-quantal [14:44] flacoste, thanks [14:45] flacoste: 1241 i'll try to make it happen, but this needs support from maas-enlist too [14:45] flacoste: so there might not be time to finish it [14:45] roaksoax: right, fwiw, the API changes are available [14:46] flacoste: yes I saw.. I'll be working on it todayt [14:54] allenap: ping [14:54] jam, allenap: the reversal in 1239 does that mean that self-signed certificate cannot work with the maas-cli anymore? [14:55] flacoste: No, it means it wont' work for users of apiclient. maascli doesn't use apiclient; before reverting this was an attempt to "upstream" the remote code in maascli to apiclient. [14:55] allenap: got it [14:56] allenap: what am I doing wrong? [14:56] curl --data "op=new&mac_addresses=e4:11:5b:13:81:9d&hostname=&architecture=amd64&subarchitecture=generic&after_commissioning_action=0&power_type=ipmi&power_parameters={"power_address":"test", "power_user":"test", "power_pass":"test"}" http://localhost/MAAS/api/1.0/nodes/ [14:56] Failed to parse JSON power_parameters [14:57] roaksoax: power_parameters='{"power_address":"test"}' [14:57] Note the quotes. [14:57] json.dumps({"power_address":"test"}) [14:57] '{"power_address": "test"}' [14:58] You have to pass a json string. [14:58] rvba: got it :) [14:58] roaksoax: Try: curl --data "op=new&mac_addresses=e4:11:5b:13:81:9d&hostname=&architecture=amd64&subarchitecture=generic&after_commissioning_action=0&power_type=ipmi" --data-urlencode="power_parameters={"power_address":"test", "power_user":"test", "power_pass":"test"}" http://localhost/MAAS/api/1.0/nodes/ [14:58] it was the quotes [15:06] so, it seems django can't do internal redirects... [15:16] mgz: you mean redirects to an address created with reverse('view-name')? [15:17] rvba: I was just going to make /favicon.ico serve the same result as /static/img/favicon.ico ...but that turned out to be non-trivial [15:18] I'd just use apache directives ideally, but don't want to upset django [15:18] mgz: why do you want to do that? Also, you cannot assume that the homepage of MAAS is '/'. [15:20] because currently requesting /favicon.ico is a 404 and it wouldn't hurt to serve it instead [15:21] mgz: src/maasserver/templates/maasserver/base.html: [15:21] browsers tend to request that regardless of html giving a different path [15:21] roaksoax: Ah right, yes, the quotes. From looking at --trace-ascii output, http://pastebin.ubuntu.com/1269411/ looks to be the correct way to do this. (You could s/--data-urlencode/--form/g I think too). [15:21] mgz: really? [15:21] roaksoax: --data is a recipe for failures and/or data corruption, because it assumes that the value is already URL encoded. [15:22] yes, what if you're not fetching an html page? (not a common case here, but if was easy to fix I'd just fix it) [15:22] allenap: cool, I;ll test that [15:31] mgz: right. Looks very minor to me… but in production, we have the prefix /MAAS in front of all the urls, so if the browser requests /favicon.ico, it won't get anything back and there is not much we can do about it. [15:32] rvba: could we redirect /favicon.ico to /MAAS/favicon.ico in packaging perhaps? Just an idea. [15:33] Not sure what implications that would have though [15:33] rbasak: and what if you install another service in /AnotherService… it will get a wrong favicon. [15:33] Yeah exactly [15:33] I don't think we want to hijack /favicon.ico. [15:34] why are we trying to support serving multiple different things from one hostname exactly? [15:34] It'd be nice to have it on servers that are dedicated to MAAS [15:34] (by default) [15:34] But the only way I can think of doing it cleanly in packaging is perhaps not the best thing to do for today [15:34] I'm thinking of a separate maas-favicon recommends that conflicts with other services in some way [15:36] the other magic top level name has a url mapping at the django level, but I guess just sits harmlessly at /MAAS/robots.txt in deployment [15:36] anyway, put up a branch with the fix I was actually aiming at [15:46] https://code.launchpad.net/~smoser/maas/drop-ttyS0-kernel-opt/+merge/128747 [15:46] rvba, ping [15:47] matsubara: pong [15:47] rvba, so, I just tried maas - 0.1+bzr1226+dfsg-0+1229+124~ppa0~quantal1 on a pristine quantal vm and maas-pserv is not started [15:48] mgz: Mark said something about having to use an ico for full browser compatibility. Obviously you're still generating an ico, but perhaps he meant something else by it? [15:48] matsubara: anything in the upstart log? [15:48] mgz: I was about to ask the same question :) [15:49] rvba, just a bunch of lines like this: Removing stale pidfile /run/maas-pserv.pid [15:49] matsubara: I'm trying to install the package from the daily ppa right now… [15:50] rvba, and apt/term.log shows this: maas-pserv start/running, process 10156 [15:50] so I think it started but for some reason it failed [15:50] allenap: I interpret what he said as assuming he'd generated an ico containing png files, but if fact he didn't [15:51] matsubara: pserv not started here :/ [15:51] mgz: Right, cool. [15:51] rvba, aha! [15:52] the larger sizes won't stop old (pre-vista internet explorer (do we even care..)) from picking out the 16x16 bitmap [15:52] rvba, so on a upgrade it keeps running fine but not on a new install [15:52] someone want to ack that for me? i really hate this change. but i think its a requirement at this point in time. [15:52] rvba, do you know of any other logs that might be relevant? [15:52] matsubara: yesterday it was fine :/ [15:52] matsubara: You'll need at least bzr 1239 to fix the pserv not starting issue, sorry. [15:52] does your upstart log show anything? [15:52] allenap: what was the issue again? [15:53] allenap, ah so you knew about it all along [15:53] rvba, matsubara: bug 1064437 [15:53] Launchpad bug 1064437 in MAAS "The expectations of MAASDispatcher.dispatch_query are not tested" [High,Triaged] https://launchpad.net/bugs/1064437 [15:53] mgz: what's the benefit of having all but one of the image as a *raw* png? [15:53] matsubara: Ha, I only just saw you having problems. [15:54] hmm I can't build new packages. LP is failing to build packages in the daily builds PPA due to a bzr error [15:54] allenap, no worries, just kidding :-) [15:54] Phew :) [15:54] thanks for the pointer [15:54] rvba: the 'raw' is a little confusing, but, in short, size [15:54] allenap, where do you see logs for this? [15:54] s/this/this error/? [15:55] png is a compressed image format, bmp is not [15:55] ico was originally a sort of container for bitmaps [15:55] matsubara: I don't; jam told me it was broken. [15:55] with recent format revisions it can also be a container for pngs [15:56] so, storing the larger images as 'raw' png rather than exploding them to bitmaps saves space [15:56] allenap: in this bug, you say is breaks start_cluster_controller, but in the package I'm testing, the cluster worker is started ok. [15:57] mgz: I see, I got confused by the world 'raw' indeed :) [15:57] rvba: What rev are you on? It was only a problem for revision 1234 to 1238 inclusive. [15:58] rvba, allenap: I got the log line in apt/term.log saying maas-pserv was started but after the package install finishes, the process is not running. Maybe it's failing and reporting a success? [15:58] bzr1226 [15:58] The revision from the package in the daily ppa. [15:58] Ah, so that bug isn't the problem. [15:58] For matsubara either. [15:59] Yep, there is a real problem then. [15:59] I'm using: 0.1+bzr1226+dfsg-0+1229+124~ppa0~quantal1 [16:00] allenap, btw, this two revision numbers are confusing. when you say 1234..1238 do you mean trunk right? [16:04] matsubara: if I start the service manually it seems to be started all right. [16:06] rvba, yep [16:07] matsubara:trying one more time on another instance. [16:09] matsubara: this time it worker :/ [16:09] ! [16:09] worked* [16:09] how weird [16:10] /var/log/upstart/maas-pserv.log is still full of "Removing stale pidfile /run/maas-pserv.pid" [16:10] yep, just like mine [16:10] I'm trying again as well [16:10] rvba, how are you starting a new pristine env? [16:11] I just start a new canonistack instance, add the daily ppa, and then install maas. [16:11] ok [16:13] allenap, rvba have you seen the last package build failure: https://launchpadlibrarian.net/119221274/buildlog.txt.gz ? [16:13] matsubara: Yeah, trunk. [16:13] allenap, is this because of your change? [16:13] * allenap looks [16:16] matsubara: Nope, I haven't been near the files in 99-temporary-fix-constraints.patch. I think that this has probably been fixed in trunk, so the patch can be removed. rbasak, can you help confirm? [16:17] Daviey, roaksoax it seems to me that adding maas-ipmi-autodetect to commissioning broke kvm (and possibly anything that doesn't have such a device) [16:17] is there a /dev/ entry that we could expect to be present to know whether or not we should go looking ? or some way to tell freeipmi to time out ? [16:17] right, seems that patch just needs removing from the packaging branch [16:18] it does seem to timeout eventually, but i'd say its in the 2 minute time frame. [16:20] does anyone know how I could install maas without having to answer the package installation questions? I tried to use a debconf seed file (maas.seed: https://pastebin.canonical.com/76135/) but it doesn't seem to work. Well, I get no questions asked but the default-maas-url value is not set to the one in the seed file. [16:20] and then on failure, it still tries to call maas-signal with the power params. [16:20] smoser, roaksoax: maybe one of you know ^? [16:21] http://bazaar.launchpad.net/~smoser/maas/maas-pkg-test/view/head:/maas-ephemeral-test-quantal.txt [16:21] matsubara, ^ [16:21] see line 90. set DEBIAN_FRONTEND=noninteractive and for good measure set stdin from /dev/null [16:22] smoser, ah thanks [16:23] smoser: we *need* to silently fail, i think [16:23] smoser, you also change the string in the seed passed to debconf? [16:23] I think that the pserv service depends on something that is installed by the region cluster. [16:23] matsubara, i dont follow [16:23] Daviey, it should not attempt to call maas-signal if the probe for ipmi fails. [16:24] so we need to handle that bettter [16:24] but we also need to not add 2 minutes to enlistment if ipmi is not present [16:24] smoser, lines 82 to 85 [16:24] smoser, ah no, that's just setting the seed file, correct? [16:26] matsubara, i'm setting the answer to that question [16:26] Daviey, is ipmi a device ? [16:26] that i can look for in /dev ? [16:27] right, thanks smoser [16:27] I'll give it a try [16:27] rvba, tried again and pserv is down [16:29] awesome. strace on bmc-config shows that it reads /etc/freeipmi//freeipmi.conf 1 byte at a time. [16:32] matsubara: if I manually remove all the region stuff, then pserv refuses to be restarted. [16:32] smoser: ok I see where it dies [16:32] /usr/bin/twistd -n --uid=maas --gid=maas --pidfile=/run/maas-pserv.pid --logfile=/tmp/zz maas-pserv --config-file=/etc/maas/pserv.yaml [16:32] usr/bin/twistd: Unknown command: maas-pserv [16:33] roaksoax, do you know what devices it wants? [16:33] smoser: smoser FATAL: Error inserting ipmi_si (/lib/modules/3.2.0-31-generic/kernel/drivers/char/ipmi/ipmi_si.ko): No such device [16:33] roaksoax, but that doesnt mean anything in and of itself [16:33] the driver could fail to load because it was already loaded [16:33] or because it was built into a kernel [16:34] rvba, what does the log say? I restarted my environment and got the same problem. [16:34] smoser: "No such device" --> this caould be 2 things 1. ipmi-locate might be erroneously detecting IPMI and continues, and bc-config gets stuck somewhere [16:34] or 2. that causes ipmi-locate to get stuck [16:34] from strance, it looks like it wants /dev/ipmi0 or /dev/bmc but then it goes looking in /dev/mem also before sleeping [16:34] smoser: but after a while, it continues [16:35] matsubara: the logs says nothing. [16:35] roaksoax, yes, it times out after like 2 minutes-ish [16:36] smoser: yeah.. such a PITA [16:36] if i knew what it was looking for in /dev/mem, then i'd just do a udevadm settle after module load [16:36] and hten if no /dev/ipmi* or /dev/bmc* then i would skip that. [16:37] Daviey: so I need to upload maas-enlist source and add a maas-commission binary package [16:37] but i'm afraid it might be looking in /dev/mem for some ipmi device that does not have a device driver but is a /dev/mem interface [16:38] rvba, I'm building a new package and we can test allenap fix deals with the issue [16:43] smoser: http://paste.ubuntu.com/1269561/ [16:44] smoser: ok, so that will return an output in the way of {"power_address"="X", "power_user"="Y", "power_pass"="Z"} [16:44] smoser: but I need to pass that to maas-enlist between single quotes, how can I do that? [16:45] you actuall do not have to. [16:46] $ output=$(echo '{"power_address"="X", "power_user"="Y", "power_pass"="Z"}') [16:46] $ sh -c 'echo "1=^$1$"' -- "$output" [16:46] 1=^{"power_address"="X", "power_user"="Y", "power_pass"="Z"}$ [16:46] ie, get the output, and quote the variable with doble quotes and you're fine. [16:49] roaksoax, http://paste.ubuntu.com/1269572/ [16:49] thats in a kvm node. [16:49] so there is 10 minutes of builtin sleep by that program by default. meaning enlistment of anything without ipmi is delayed 10 minutes. [16:50] smoser: right... but it order for it to get there, ipmi-locate must have succeeded [16:50] unlikely. [16:50] there is no ipmi. [16:50] so maybe it is getting stuck in ipmi-locate [16:51] unles it "detects" it [16:52] https://bugs.launchpad.net/maas/+bug/1064527 [16:52] Ubuntu bug 1064527 in MAAS "ipmi detection takes 10 minutes if no ipmi present" [Undecided,New] [16:53] smoser: in my case it didn't take 10 mins [16:53] :) [16:53] matsubara: I think allenap and I found the problem, [16:53] roaksoax, http://paste.ubuntu.com/1269579/ [16:53] really? did you try in a kvm instance? [16:53] rvba, what is it? [16:53] Problems* I should say. [16:54] smoser: yes I tried the kvm instance, it took like 1 min or so [16:54] i dont know tha ti believe you, roaksoax [16:54] 10m0.X seconds for the whole command, that I straced elsewhere and watched to 'nanosleep' repeatedly [16:55] is a very suspicious time [16:55] matsubara: 2 things: a) the cluster controller misses some of the required dependencies (txamqp at least) b) it tries to write its log to /var/log/maas which does not exist before the region is also installed. [16:55] but none the less. [16:55] It works sometimes because (I guess) the region gets installed right after the cluster. [16:55] So the dependencies are there and /var/log/maas is created. [16:55] I'm guessing the upstart script retries to start the service a few times. [16:56] I the installation of the region is quick enough, it manages to start the pserv service. [16:56] I see [16:56] rvba: if you pressume is because the /var/log/maas dir is not create, please file a bug , assign it to me, and explain which package should also create the log dir [16:57] roaksoax: that's one of the 2 problems indeed. [17:04] roaksoax: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1064539 [17:04] Ubuntu bug 1064539 in maas (Ubuntu) "The pserv service logs to /var/log/maas/pserv.log and that directory (/var/log/maas/) is not created but the cluster controller package" [Critical,Triaged] [17:05] s/but/by/ [17:10] roaksoax: I have to go, but can I bring https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1064542 to your attention? I can't mark it critical, but I think it is. [17:10] Ubuntu bug 1064542 in maas (Ubuntu) "python-maas-provisioningserver is missing several dependencies" [Undecided,New] [17:11] allenap: ack [17:11] thanks === flacoste changed the topic of #maas to: Final Freeze is today: waiting on upstream fixes for bug 978127; packaging fixes: bugs 1064542 and 1064539| Discussion of upstream development of Ubuntu's Metal as a Service (MAAS) tool | MAAS jenkins: https://jenkins.qa.ubuntu.com/job/maas-trunk/ [17:11] allenap: so other packages no longer depend in those then [17:12] roaksoax: They may do, so don't change other packages yet. I'll try to check their deps later. [17:13] alright thanks [17:14] roaksoax, more data for you. https://bugs.launchpad.net/maas/+bug/1064527 [17:14] Ubuntu bug 1064527 in MAAS "detect_ipmi needs improvement. detects non-existant device in nested kvm" [Undecided,New] [17:16] matsubara: I've documented the results of our findings on bug 1064020. [17:16] Launchpad bug 1064437 in MAAS "duplicate for #1064020 The expectations of MAASDispatcher.dispatch_query are not tested" [High,Triaged] https://launchpad.net/bugs/1064437 [17:17] rvba, thanks [17:17] matsubara: but basically, it all boils down to 2 packaging bugs. [17:18] Bugs that roaksoax will be fixing soon ;) [17:18] smoser: err passing the json format is a PITA [17:18] smoser: i can't get to pass the full json string needed [17:18] show me what you're doing ? [17:18] it should'nt be bad. [17:19] smoser: this is maas-ipmi-autodetect which returns in json format: http://paste.ubuntu.com/1269631/ [17:20] smoser: this is maas-enlist = http://bazaar.launchpad.net/~andreserl/maas/test/revision/32 [17:21] smoser: which would require to pass --power-params '{"test": "test", "test2", "test2"}' [17:22] smoser: but every way I do it, maas-enlist doesn't get the whole json string it just get partial lilke {"test": "test", [17:25] rvba, so, this has nothing to do with bug 1064020? [17:25] Launchpad bug 1064437 in MAAS "duplicate for #1064020 The expectations of MAASDispatcher.dispatch_query are not tested" [High,Triaged] https://launchpad.net/bugs/1064437 [17:26] roaksoax, what is calling maas-enlist ? [17:26] rvba, because I dupe 1064020 against that one [17:26] err [17:26] smoser: shell script [17:26] what is taking output of maas-ipmi-autodetect and feeding it to maas-enlist [17:26] where is that. that is your issue. [17:26] smoser: it should go on maas enlist metadata [17:26] oh, wait [17:26] I got confused by the bot [17:26] matsubara: no, nothing to do with that one. [17:27] ok, I'll undupe and close 1064020 as invalid since it's reported on the package [17:34] rvba, question for you, when I install maas-dns, shouldn't it ask for the config information to put in /etc/bind/named.conf.options? After every install in the QA lab I have to run this: https://pastebin.canonical.com/76145/ [17:35] roaksoax, what do you have there. thats where your sissue is. [17:37] matsubara: not really sure why you had to do that. What is the 'forwarders' stuff all about? [17:38] rvba, that's the only way I got dns to work in the lab. I got that change from Julian. [17:39] matsubara: hum, I don't know about that. Could you please file a bug? Let's see what Julian has to say about that. [17:39] rvba, will do [17:48] smoser: ubuntu@node2:~$ ./ipmi.sh [17:48] ^{"power_address": "192.168.2.111", "power_pass": "6o9TuzEvY9fQ", "power_user": "maas-commissioning"}$ [17:48] Failed to parse JSON power_paramete [17:48] smoser: http://paste.ubuntu.com/1269688/ [17:49] what does sudo ./maas-ipmi-autodetect --enlist output [17:49] sudo ./maas-ipmi-autodetect --enlist [17:50] smoser: prints the json string we need {"test": "test", "test":"test"} [17:50] that'd be fine [17:50] just quote "$var" then [17:50] ./maas-enlist --serverurl localhost --power-type ipmi --power-params "${var}" [17:51] smoser: ahhhh that;s was it "${var}" [17:51] thanks [17:51] lol :) [17:51] never ocurred to me [18:02] smoser: i'm including maas-signal in maas-commission binary package if that's ok with you [18:04] roaksoax, well we need a fix there. [18:04] still for this oauth bit [18:05] i'm ok with that, but i'm working on that now. [18:05] smoser: alright! [18:05] smoser: ideally i think this should probably end up in maas-utils package or similar [18:05] smoser: within the maas source [18:06] Daviey: ping [18:06] Daviey: is it too late for me to introduce this new binary package as part of maas-enlist source? [18:24] smoser, I set the debconf database with my seed file but when I installed the package it overrode the value. Is there anything I need to do so apt-get uses the value I supply in the seed file? [18:24] smoser, I installed the package with sudo apt-get install -y maas maas-dhcp maas-dns [18:24] and my seed file has: maas-region-controller maas/default-maas-url string 192.168.21.5 [18:25] probably just that maas-cluster-controller is the package that prompts you [18:26] maas-cluster-controller maas-cluster-controller/maas-url string http://localhost/MAAS [18:30] matsubara, ^ [18:31] smoser, I normally run sudo dpkg-reconfigure maas-region-controller to change that [18:31] so, maas-region-controller maas-region-controller/default-maas-url string 192.168.21.5 [18:31] well that seems wrong. [18:31] ? [18:32] it's what the package tells me to run after the package install :-) [18:40] well, whats above works for me. [18:40] what you're using doesn't work for you. [18:40] i'm not able to spend time on why at the moment. [18:40] but i'd suggest using what works for me/ [18:42] ok [18:42] sounds good to me. trying that. thanks! [19:01] rbasak, https://code.launchpad.net/~smoser/maas/trunk.maas-signal-clockskew/+merge/128794 [19:01] you can give that a sniff. i'm guessing it works. [19:01] it does not ever set the hardware clock though. [19:01] smoser: looking [19:02] it works for me. output at http://paste.ubuntu.com/1269818/ [19:03] rbasak, it works for me, testing when i apply this patch [19:03] http://paste.ubuntu.com/1269821/ [19:03] which basically breaks the clock [19:11] smoser: looks good. https://pastebin.canonical.com/76152/ has enlistment and then commissioning [19:12] smoser: seeing multiple corrections but I presume that's juts multiple calls to maas-signal [19:12] smoser: RTC doesn't change during commissioning. Trying the install step now to see if that fixes it, which I think it does. [19:13] rbasak, right. since it does not ever actually set the clock, each invocation of maas-signal has to re-discover bad clock. [19:14] rbasak, do you know where install gets its clock from? [19:14] smoser: ntp I presume [19:14] ntp.ubuntu.com [19:14] ? [19:14] I assume so [19:14] I don't actually know [19:16] smoser: looks like yes - it's preseeded [19:16] smoser: /usr/share/maas/preseeds/preseed_master [19:18] smoser: if in misc_bucket i define: [19:18] - &maas_ipmi_detect | [19:18] - &maas_enlist | [19:18] etc etc [19:18] each is run as a script? [19:20] rbasak, ok. for now i think we just ship this. [19:21] but for later, i think we hav a "ntp" setting in maas. and feed that to ephemeral environment. [19:21] if it was set to something other than 'disabled' then set it based on that remote clock. [19:25] roaksoax, where are you seeing that/ [19:26] smoser: enlist_userdata, and i'm asking if that's the case [19:26] ah. contrib/preseeds_v2/enlist_userdata [19:26] right. [19:26] see [19:26] runcmd: [19:26] - [ sh, -c, *maas_enlist ] [19:26] that references the text in maas_enlist [19:26] so just add another entry in that list for maas_ipmi_detect [19:28] smoser: tested and I've approved the MP [19:28] smoser: thanks! [19:30] smoser: ok cool thanks [19:30] smoser: and that's what i was doing just watned to make sure :) [19:34] roaksoax: upstream 1241 should be good to upload [19:34] roaksoax: unless you want your changes in as well which mean we'd ship 1242 [19:35] roaksoax: but we have 25 minutes before the freeze happens [19:35] flacoste: isn't it at 21 UTC? [19:36] indeed! [19:36] that's 60 more minutes! [19:36] flacoste: indeed :) [19:36] flacoste: i'm half way done [19:36] triple the time! [19:36] so lets cross fingers :) [19:36] https://code.launchpad.net/~smoser/maas/trunk.maas-signal-clockskew/+merge/128794 [19:36] is ready, not piced up yet === flacoste changed the topic of #maas to: Final Freeze is today: upstream RC revision: 1241; packaging fixes: bugs 1064542 and 1064539| Discussion of upstream development of Ubuntu's Metal as a Service (MAAS) tool | MAAS jenkins: https://jenkins.qa.ubuntu.com/job/maas-trunk/ [19:36] smoser: i received a merged message already [19:37] really? Approved by: Scott Moser 1 minute ago [19:38] weird [19:39] smoser: actually, it wasn't the oauth fix, but the console fix [19:39] 1241 [19:39] 1242 will contain the oauth fix === flacoste changed the topic of #maas to: Final Freeze is today: upstream RC revision: 1242; packaging fixes: bugs 1064542 and 1064539| Discussion of upstream development of Ubuntu's Metal as a Service (MAAS) tool | MAAS jenkins: https://jenkins.qa.ubuntu.com/job/maas-trunk/ [19:42] smoser: I understand that it might work, but it's still hard to read as it isn't obviously correct! [19:45] it is obviously correct [19:45] as the demonstrating script shows. [19:45] it may not be obvious to you. [19:45] but it is to python [19:45] and in cases where the 2 differ, i agree with python. [19:46] why would: [19:46] except Exception as X [19:46] have any different scoping rules than [19:46] Y = X [19:46] that would be confusing. [19:58] roaksoax: 1242 is in [19:58] flacoste: ok, i'm almost there with the enlistment [19:59] flacoste: if it doesn'y work withing the next 20 mins [19:59] i'll give up [19:59] and prepare an upload [19:59] roaksoax: perfect, am i right in that you already fixed the two packaging bugs mentioned in the topic? [20:00] flacoste: yep i blieve they are fixed now [20:01] roaksoax: it is not too late to do that, no [20:02] Daviey: the maas-nelist thing? [20:02] roaksoax: can we do it soon tho :) [20:02] roaksoax: not too late to introduce a new bin deb [20:03] Daviey: ok cool [20:03] roaksoax: ETA? [20:04] so I get this backtrace when I add a node via mac address: http://paste.ubuntu.com/1269952/ [20:04] Daviey: i made a maas-enlist upload fixing a bug [20:04] Daviey: so you could reject that and Ill upload the other thing now [20:05] ok [20:11] Daviey: iuploaded [20:12] roaksoax: so here is the thing... i don't think i rejected it [20:12] 20:45 -queuebot:#ubuntu-release- Unapproved: accepted maas-enlist [source] (quantal-release) [0.4+bzr32-0ubuntu1] [20:12] someone else accepted it [20:13] Daviey: alright, I;ll just prepare a different changelog [20:15] Daviey: could you please reject maas-enlist-0.4+bzr35 [20:15] Daviey: i'll upload a new one [20:16] rejected [20:16] smoser: is bug 1006966 still relevant?% [20:16] Launchpad bug 1006966 in cloud-init (Ubuntu) "maas mirror values are overwritten by cloud-init" [High,Triaged] https://launchpad.net/bugs/1006966 [20:16] Daviey: ok uploaded a new one [20:17] ppetraki: everybody is heads down trying to hit feature freeze [20:17] ppetraki: and that's with the MAAS version still using cobbler [20:18] in a relaxed and orderly manner, due to our smooth planning and quality control [20:18] ppetraki: and that's with the MAAS version still using cobbler [20:18] flacoste, its fixed. i'll update with comment how. [20:18] flacoste, I had duplicate cobbler entries, once I deleted them, it added correctly [20:18] Daviey: :-) [20:18] flacoste, thanks [20:22] smoser: similary, is bug 1028501 fixed? [20:22] Launchpad bug 1028501 in cloud-init (Ubuntu Precise) "cloud-init selects wrong mirrors for arm" [High,Triaged] https://launchpad.net/bugs/1028501 [20:25] smoser: http://paste.ubuntu.com/1269987/ [20:26] flacoste, i put comments in them. you put the maas in the right state. [20:26] flacoste: ok so I think the enlist stuff is finished... however, we still need publishing of the newer maas-enlist recently uploaded for it to work [20:27] roaksoax: is that a problem? would it prevent a new upload? [20:27] flacoste: so, it could get merged, and later we file a bug saying "autodetection on enlistment is not enabled" [20:28] and upload as part of the 0-day updates next week? [20:29] 0-day if essential, right? [20:29] we are not currently planning a 0-day, right? :) [20:29] we are not [20:29] just would be nice to send a couple bug fixes more to users :-) [20:30] and autodetection only working during commissioning is not that interesting [20:36] roaksoax: can you merge it and make it part of the upload, or will it be rejected because maas-enlist hasn't been published yet [20:36] flacoste: no it wont [20:36] roaksoax: if it can be accepted, but really will only work once maas-enlist is published, i think it'd be fine [20:37] flacoste: ok, i'm running one more test [20:39] roaksoax, so we're copying that whole commissining script basically? [20:39] that sucks. :-( [20:39] (i dont have a better way, but it sucks) [20:39] smoser: yes, and no [20:39] smoser: Daviey just accepted maas-enlist [20:39] fyi, http://bazaar.launchpad.net/~smoser/+junk/backdoor-image/view/head:/backdoor-image [20:39] smoser: with the new binary package [20:40] smoser: but to be safe i'm copying it [20:40] that takes care of your "remove this section" [20:40] smoser: ok so we should be able to drop it as SRU [20:40] smoser: is that ok with you? [20:41] smoser: we temporarily merge all the copying of the script, and then we drop it, once the package hits the archive and I can test it works [20:41] smoser: how is bug 1044503 different than bug 1045390 ? [20:41] Launchpad bug 1044503 in MAAS "kernel command line is not easily customizable" [High,Triaged] https://launchpad.net/bugs/1044503 [20:41] Launchpad bug 1045390 in MAAS "There's no way to add kernel parameters to a system read" [High,Triaged] https://launchpad.net/bugs/1045390 [20:42] flacoste, probably not. roaksoax ^ you have thoughts ? [20:43] roaksoax: that question can wait until the upload is done :-) [20:43] roaksoax, i think your plan is fine. [20:43] just make sure you get the latest version of maas-signal [20:45] smoser: i did [20:46] ok this is almost here [20:46] smoser: is bug 1053190 fixed? [20:46] Launchpad bug 1053190 in MAAS "multiple NICs could cause cloud-init nonet timeout" [High,Triaged] https://launchpad.net/bugs/1053190 [20:46] k. i'm going afk for a few hours. [20:46] smoser: i get this [20:46] }sh: 191: --power-params: not found [20:46] smoser: https://pastebin.canonical.com/76160/ [20:47] matsubara: Hey, what is your QA plan from now? [20:47] Daviey, currently I'm working on deploying with juju in the QA lab (which has 7 nodes arm and amd64) [20:48] smoser: any idea? [20:50] whitespace after \ [20:51] ok cool [20:54] smoser: https://code.launchpad.net/~andreserl/maas/enlistment_ipmi_autodiscovery/+merge/128819 [20:54] flacoste: https://code.launchpad.net/~andreserl/maas/enlistment_ipmi_autodiscovery/+merge/128819 [20:54] please review [20:55] smoser: does bug 1034116 still need changes in MAAS? [20:55] Error: Launchpad bug 1034116 could not be found [20:56] roaksoax: line 17: it should be commented out :-) [20:57] matsubara: cool. Do you have plans to try a cd image? [20:57] flacoste: done [20:59] Daviey, nope [21:00] flacoste: crap something failed in another test I just run [21:00] roaksoax: why the all-caps variable name at line 147? [21:01] flacoste: "globals" [21:01] roaksoax: but they aren't globals? [21:01] flacoste: I know :) I didn't have the time to update that [21:02] flacoste: that's why the quotes :) [21:03] roaksoax: looks ok to me, but i'm not a shell expert [21:03] smoser: could you please? [21:03] smoser: https://code.launchpad.net/~andreserl/maas/enlistment_ipmi_autodiscovery/+merge/128819 [21:07] * roaksoax waiting for it to land [21:07] to package it up [21:19] flacoste: so maas-lander is taking forever to land the branch [21:19] that's the only thing i'm waiting on to get the package read [21:27] Daviey: just uploaded MAAS could you please take care of it? [21:28] yes [21:29] Daviey: thank you!! [21:33] thanks roaksoax, Daviey and smoser! [21:37] * roaksoax can now rest in peace :) [22:59] smoser the bug you came across in nested kvm... is this canonistack? [23:00] roaksoax: it is [23:01] roaksoax: As IS use ksplice to patch the running kernel... i think smoser wasn't confident it was a regression on it's own [23:01] Maybe I miss understood [23:01] so that means that it could have been related to the fact that that particular hardware does have ipmi hence the instances detect it? [23:02] roaksoax: No, i don't think that is passed through. [23:02] It's only the cpu [23:02] If that IS passed through, it's a massive security concern [23:02] indeed [23:02] i will look into it [23:03] roaksoax: you see, https://launchpadlibrarian.net/96102740/qemu_1.0%2Bnoroms-0ubuntu7.debdiff .. It only exposes the VMX feature, as an addition [23:04] righ [23:05] and on that note.. nn [23:05] Daviey: night!! === matsubara is now known as matsubara-afk [23:15] roaksoax, no. [23:15] the issue is not t hat there actually is ipmi in play [23:15] its just the way ipmi-detect works [23:15] it looks like it randomly walks through memory [23:15] and i think is getting false positives. [23:16] it opens /dev/mem and looks for stuff. [23:16] smoser: right [23:16] i'm surprised that it was so bad, and i could have just been being unlucky. [23:17] as other times it did return nothing [23:17] heh right [23:17] i wondered if we could just limit it to the /dev/ipmi* and /dev/bmc* [23:17] and disable its searches for /dev/mem [23:18] great work on bug 1032004, roaksoax [23:18] Launchpad bug 1032004 in Indicator Remindor "Indicator-remindor don't start on Ubuntu 12.04" [Critical,Fix released] https://launchpad.net/bugs/1032004 [23:18] err... 1042004 [23:18] bug 1042004 [23:18] Launchpad bug 1042004 in MAAS "Enlistment does not do BMC discovery" [Critical,Fix released] https://launchpad.net/bugs/1042004 [23:18] thanks... it was pretty straightforward though :) [23:23] smoser: ok, I got it [23:23] smoser: sudo bmc-config --disable-auto-probe --checkout [23:23] ? [23:23] but is that somethign thats going to mean we do not support "in band" cards? [23:24] maybe we should make that a default and allow it to be configed overridden. [23:24] anyway. [23:24] again, good job. i'm on my way out. probably check back in. [23:24] smoser: i'm assuming that if it works, it means we have local access to the IPMI card right? [23:24] i dont know what it means really. [23:25] smoser: that it doesn't probe for several IPMI interfaces [23:25] if it means "don't crawl through /dev/mem", that sounds good at first. [23:25] but if 75% of the existing cards would be found that way, that does *not* sound good. [23:25] i really dont have enough information to make even a guess [23:26] later. [23:26] later [23:35] hi guys [23:37] bigjools: good morning sir [23:38] roaksoax: hey there! how are we doing? [23:40] bigjools: good, maas is in archives [23:40] good news! [23:41] indeed [23:41] roaksoax: I see enistment is poking things in the BMC now ... [23:41] enlistment* [23:41] bigjools: it is indeed :) [23:41] roaksoax: not sure it's a great idea to be changing parameters on enlistment :/ [23:41] sudo apt-get dist-upgrade [23:42] err [23:42] bigjools: you mean power parameters? [23:42] yeah [23:42] err no [23:42] I mean, setting user/pass on the bmcx [23:42] bigjools: oh it is just a temporary one [23:42] or does it add a new one? [23:42] bigjools: commissioning overrides it [23:42] does the old one still work or does it blow that away? [23:43] at enlistment I mean [23:43] bigjools: blown away [23:43] :( [23:43] bigjools: so ipmi basically manages user as User3, User4, etc etc [23:43] this means accidental pxe boots destroy BMC creds [23:44] bigjools: well during enlistment we create maas-commissioning, which is then replaced by 'maas' during commissioning [23:44] bigjools: but that's only for User3 [23:44] roaksoax: did you see my bug about the 0.0.0.0 address? [23:45] bigjools: nope, bug #? [23:46] https://bugs.launchpad.net/maas/+bug/1064224 [23:46] Ubuntu bug 1064224 in MAAS "IPMI detection ends up with power_address of 0.0.0.0" [Critical,Incomplete] [23:47] * bigjools brb [23:48] bigjools: uhmm was it originally set to Static? if so, and the script changed it to DHCP then it might be due to it didn't wait enough time [23:49] otherwise, it seems to not be getting an IP address of time [23:54] roaksoax: no it was always DHCP - it recently stopped getting an address [23:54] and now I can't access it at all of course [23:54] the dhcp server does a DHCPOFFER and the BMC just keeps doing DHCPDISCOVER [23:54] bigjools: are these the MicroServer robbie had? [23:55] yeah [23:55] was working fine last week :/ [23:55] bigjools did you delete the admin/password? [23:55] the user admin with password password? [23:55] the commissioning code may have, I don't know [23:55] bigjools: nope, it doesn't [23:55] well that's good :) [23:56] the commissioning code uses User3 while the MicroServer were configured on User2 i think [23:57] roaksoax: how does this help me make it get an IP? :) [23:57] bigjools: you might wanna try doing this: sudo bmc-config --commit --key-pair "Lan_Conf:IP_Address_Source=Static" [23:58] and then [23:58] sudo bmc-config --commit --key-pair "Lan_Conf:IP_Address_Source=Use_DHCP" [23:58] that should reset the card and should try to DHCP again [23:58] bigjools: if the card is already DHCP the cscript wont mess with it [23:58] okay, let me try [23:59] it is dhcp for sure, I can see it discovering