/srv/irclogs.ubuntu.com/2012/10/11/#maas.txt

bigjoolsroaksoax: https://code.launchpad.net/~julian-edwards/maas/missing-import-bug-1065055/+merge/12908002:37
roaksoaxbigjools: can't approave it02:39
roaksoaxbigjools: it will conflict with maas-region-controller02:39
roaksoaxbigjools: i guess it will have to end up being shipping in maas-common and will have to add conflicts/replaces02:41
roaksoaxs/shipping/shipped02:42
roaksoax./win 802:52
bigjoolsroaksoax: grar04:12
bigjoolsroaksoax: fixed, take a look if you are still there?04:17
Davieyroaksoax, smoser: sorry had to go07:57
Davieyallenap: maas-cli is certainly less than user friendly08:16
Davieyhttp://pb.daviey.com/QdsM/08:17
jtvDaviey: you want "maas-cli login" to act as "maas-cli login -h" ?08:19
Davieyjtv: i'd say so... I worked it out tho08:20
Davieyjtv: mind you, http://pb.daviey.com/jIU4/08:21
Davieystill not that clear WTF i am supposed to do.08:21
jtvDaviey: well what you have there shows the API commands you can issue directly.08:21
jtvTry "maas-cli maas node-group -h", for instance.08:22
Davieyjtv: right, but do you see how it feels like i'm using a dev tool like ipython?08:23
jtvAbsolutely.  It's tough to get going with.08:23
Davieyjtv: so, deleting a node08:25
Davieyjtv: so, deleting a node08:26
DavieyI need to find the node first.. how?08:26
Davieydavewalker@maas:~$ maas-cli maas node-group list-nodes uuid08:26
DavieyNot Found08:26
jtvWhat's the uuid for?08:27
Davieyhttp://pb.daviey.com/cqtV/08:28
Davieyah08:28
Davieymaas-cli maas node delete $system-id08:29
Daviey maas-cli maas nodes list | grep system_id08:29
jtvLooks like we have some underdocumented methods in the API.  :(08:31
rvbajam: I was wrong, the memory was reported ok on my microservers.08:53
mgzjam: in reply to your xpath comments,08:58
mgzyou're right, it's much more painful until postgres 9.2 because of the must-return-nodeset limitation08:59
jammgz: care to mumble?08:59
mgzbe a little careful comparing things to nodesets though08:59
mgzoccasionally the result is suprising08:59
allenapDaviey: I've been thinking about that. maas-cli is a thin wrapper around the API, but there's an impedance mismatch there.09:39
Davieyallenap: there doesn't need to be, does there?09:39
allenapCousin Cletus (aka the shell) just can't deal with the richness of the API.09:39
Davieyallenap: bash tab-complete?  NEVER mentioning: usage: /usr/lib/python2.7/dist-packages/maascli/__main__.py maas09:40
Daviey       [-h] COMMAND ...09:40
Davieydefaulting to providing -h if params are missing?09:40
allenapDaviey: Perhaps for 13.04 we need to come up a more task-orientated command-line tool, and leave the API tinkering in a library.09:40
allenapDaviey: Yeah, those are things we ought to have, but they're polish.09:41
allenapI think there's a fundamental problem with trying to manipulate highly structured data from the shell.09:41
rvbajtv: could you please review: https://code.launchpad.net/~rvb/maas/bug-1065406/+merge/129109:41
Davieyallenap: polish or DESIGN? :)09:41
allenapDaviey: Polish. We want to do tab completion. Changing the error behaviour is something that has come out in practice.09:43
allenapThe need to change it I mean.09:43
allenapAlso, I mean: we have always wanted to do tab completion.09:44
allenapIt's not a new thing.09:44
Davieyright09:44
DavieyIs longpoll still busted?09:44
Davieynot seeing the dash dynamically update?09:44
rvbaThis should have been fixed by now.09:45
allenapDaviey: Frankly I think shell is the wrong place to do anything other than start something else. What can you do when you ask for a listing of allocated nodes? bash can't grok that structure; we immediately need to go out to awk or something, which leads to scripts that are held together by dog lick.09:46
Davieyallenap: which is exactly what i have done..09:47
allenapYeah :-(09:47
rvbaDaviey: fixed in r127 of the packaging branch.09:47
Davieybut actually, as a application driven api.. it could be worse.09:47
Davieyrvba: I wonder if it's because i am using SOCKS09:47
rvbaShould be ok.  Apache is acting a proxy to the longpoll server.09:48
rvbaDaviey: could you try to access the longpoll url?  (if you get a Django 404 there is a problem because Django should not be serving that url)09:49
ubot5Django bug 404 in Metasystem "MySQL order_by=['?'] throws ProgrammingError" [Normal,Closed] http://code.djangoproject.com/ticket/40409:49
rvbahaha :)09:50
Davieyrvba: linky for the lazy09:50
Daviey?09:50
Davieylongpoll url09:51
rvbaJust one sec.09:51
rvbaDaviey: http://localhost:8080/MAAS/longpoll/?uuid=blah09:57
Davieyta09:57
rvbaYou should get "Invalid request" (because the uuid is bogus) and not a reply from Django.09:57
Davieyrvba: 404,  The requested URL /MAAS/longpoll/ was not found on this server.09:58
Davieyhttp://192.168.9.1/MAAS/longpoll/?uuid .. right?09:58
rvbaDaviey: looks like the fix from r127 is not there.09:58
rvbaYes.09:58
rvbaDaviey: sudo a2enmod proxy_http && sudo service apache2 restart09:58
Daviey  Installed: 0.1+bzr1243+dfsg-0+1252+129~ppa0~quantal109:59
DavieyNow i get, "Async frontend for None"09:59
rvbaDaviey: can you try loading proxy_http?10:00
Davieyrvba: your line worked, no?10:00
rvbaYeah, but that is exactly what the fix in r127 should have done.10:00
Davieyhttp://pb.daviey.com/pVKb/10:01
rvbaDaviey: right, so proxy_http was not enabled.10:02
rvbaDaviey: can you please double check wit: cat /var/lib/dpkg/info/maas-region-controller.postinst | grep proxy_html10:03
rvba(yes, I know, the cat/grep combination is a bit stupid)10:03
Davieyrvba: I think it's covered here, http://partmaps.org/era/unix/award.html10:04
rvbaheh10:05
Davieyconfirmed, not in there10:05
rvbaWTF10:05
Davieythe good news is IPMI discovery is working REALLLLLLY well.10:06
rvba\o/10:06
rvbaDaviey: I don't understand, "a2enmod proxy_http" is in debian/maas-region-controller.postinst revision 129.10:07
DavieyNo idea :/10:08
rvbaMaybe roaksoax will have an idea.  Smells fishy to me.  Packaging fishy.10:11
Davieystinks!10:16
jtvrvba: not finding that review you linked to10:21
rvbajtv: https://code.launchpad.net/~rvb/maas/bug-1065406/+merge/12913110:22
jtvThat works.10:22
jtvSTOP EATING MY SHOES!10:26
jtvThey make sneakers much too light nowadays.  Cats can drag them out of the shoe rack.10:27
rbasakJust tried highbank on quantal and ipmi setting has completely disappeared. Nothing on enlistment and nothing on commissioning. Is this expected?10:28
rbasakhttp://paste.ubuntu.com/1272933/10:29
rbasaksmoser, Daviey: ^^10:30
mgzjtv: clearly you need to walk around the house in clogs only, cats would struggle to make an impression on those10:33
jtvGood idea.10:33
jtvThing is, where do I put my sneakers in the mean time?  You don't wear shoes in the house here.10:33
jtvI'm inside, the cats are outside.10:33
jtvEating my sneakers.10:33
jtvThey're new, too.  The old ones were at least a year beyond their best-by date, and as soon as I get myself a new pair, I have to visit a house that has cats prowling around.10:34
jtvLooking for shoes to pounce on.10:34
mgzmaybe you could buy a very tall shoe tree. like a hat stand, but to hang shoes off10:37
mgzthen the cats would at least have to climb for their prize10:37
jtvYou haven't seen what these cats do.10:38
jtvI've seen them walk up bug screens like Spider-man.10:39
mgzehehe10:39
jtvWalk, I tell you.  Two meters up, then jump up on the curtain rails.10:39
jtvrvba: the regular celeryconfig does not have the import_settings problem, just the cluster celeryconfig?10:43
rvbajtv: right: debian/maas-region-controller.maas-region-celery.upstart contains env PYTHONPATH="/usr/share/maas/" so the region celery process has access to the utility method.10:44
jtvOh, that's used only from the upstart job10:45
jamjelmer: how's memory stuff going?11:03
jelmerjam: I was about to get lunch; I'm close to being able to push a branch up, was working on tests.11:08
jamjelmer: enjoy your lunch, just checking in to see how it was going.11:08
jamallenap: 'timeit' disagrees with you. indent=4 was only slightly slower, enforce_ascii was a huge hit.11:10
mgzallenap: I think generally having pretty printing of json isn't too bad, as most api results are small and with cli get dumped straight onto the console11:11
jam10ms for dumps, 12ms for dumps with indent=411:11
mgzit would be easy enough to reformat client side, but just setting a few internal calls to bypass prettiness seems okay11:11
jamensure_ascii=False => 114ms.11:12
rvbaroaksoax: I've unlinked the upstream project from bug 1065080.  I've talked to Julian about it and after some discussion, we think it would be more clean to have it fixed in the packaging (see my comment on the bug).11:17
ubot5Launchpad bug 1065080 in maas (Ubuntu Quantal) "The BROKER_URL sent to a cluster controller has its hostname set 'localhost'." [Medium,Triaged] https://launchpad.net/bugs/106508011:17
jamjtv: yeah, the cats in our yard jump from the ground about 2 meters up to get up on the wall. I think they push off the wall a bit on the way up, but it is pretty impressive.11:31
jammgz, allenap: I think the ensure_ascii difference is because with it set to True (default) you get back an 8-bit str that escapse all the non-ascii bytes. Vs getting back a Unicode string.11:32
jtvLove 'em.11:32
jamThe only thing I can think of, is that simplejson internally ends up using a unicode string, and appends chars to it (or some other silly thing), vs using a proper buffer.11:33
jamallenap: I think I found it. "encode_basestring_ascii" has a C level accellerator, but 'encode_basestring' does not.11:35
jamSo in this case, we have 1 24kb string, so it doesn't matter as much if the *encoder* object is C, it matters more if the function called to encode that string is in C.11:38
rvbarbasak: maybe you can land lp:~racb/maas/comissioning…  Looks very low-risk to me ;)11:44
rbasakrvba: thanks. Had forgotten about that!11:51
DavieyHmm12:00
DavieyIf you destroy-enviroment and juju boostrap, is it expected that it loses it's DDNS?12:00
mgz...how do I see an oops so I know what I broke?12:24
mgzthe traceback doesn't seem to get logged...12:24
mgz..disregard that, looking in the wrong dir12:25
smoserrbasak, you still busted on that ?12:31
rbasaksmoser: yes12:31
rbasaksmoser: precise ephemeral works. Quantal does not.12:32
Davieyhmm.. i thought that was fixed last night?12:32
rbasakI installed from quantal this morning12:32
smoserthis is commissioning?12:32
rbasakyes12:33
rbasakmaas0.1+bzr1243+dfsg-0ubuntu312:33
smoserrbasak, can i see?12:33
rbasaksmoser: sure. Same machine as last time.12:34
rbasaksmoser: which bits do you need?12:34
smoserseems like bzr importer failed on maas-enlist12:36
smosersuck12:36
rbasaksmoser: I'm using released quantal.12:42
rbasaksmoser: just realised12:42
rbasaksmoser: do I need daily quantal?12:42
rbasakOr shouldn't it matter? I don't see why it would12:42
smoserrbasak, at that point you're pulling from the archive.12:43
smoserthe ephemeral fixes have primarily landed in the earlier sstages of boot and cloud-init12:43
smoserbut you're getting past that.12:43
mgzamusing but non-fatal: http://pastebin.ubuntu.com/1273139/12:46
mgzwip, needs tests: lp:~gz/maas/paginate_nodes_page_1064672/12:49
jamrvba: is there a good place to look up documentation about how to set up maas with a bunch of clusters?12:53
jamI'm going to be doing some stress testing of the hardware constraints stuff, trying to set up a very large system (100,000 nodes).12:53
jamAnd I figure I need a DB server, N_small appservers, N_large (~25) cluster workers.12:53
rvbajam: I don't think there is documentation for that but that's precisely what I'm testing atm.12:54
rvbaI'm not doing stress testing, just setting up a cluster controller on a separate machine.12:54
jamrvba: hints/docs/notes/access or whatever would be appreciated.12:54
rvbajam: we need the fix that jtv is currently landing.12:55
jtvWhich one?12:55
jamjtv: import_*12:55
jtvBecause one has already landed12:55
jamI believe12:55
jtvAh12:55
jtvThat's waiting for the cron job.12:55
rvbaThe fix for bug 1065055.12:55
ubot5Launchpad bug 1065055 in MAAS "celeryconfig_cluster.py imports utility method from maas (import_settings)" [Critical,In progress] https://launchpad.net/bugs/106505512:55
rbasaksmoser: I've filed bug 106549912:56
ubot5Launchpad bug 1065499 in MAAS "Power parameters fail to get set when using Quantal ephemerals" [Undecided,New] https://launchpad.net/bugs/106549912:56
rvbajam: I'll build a package in my ppa once this will be landed.12:56
rvbaThen you only need to do 2 things:12:56
rvbaManually change the BROKER_URL setting on the region cluster celery config (s/localhost/ip.address/).12:57
rvbaWhen you install a cluster, dpgk-reconfigure maas-cluster-controller => give the URL of the region12:57
rvbajam: that should be all.12:58
jamrvba: so the 'region' is the master?12:58
rvbajam: not sure what you mean by that.  There is a 'master' cluster controller installed with the region yes.13:01
jamso region to me sounds like a subgroup of something larger.13:02
jambut I don't think a region talks to anything else13:02
jamso it seems to be the largest unit.13:02
rvbaThe region controller is the MAAS server.13:03
rvbaAll the cluster controllers talk to the region controller.13:03
jamright.13:03
jambut if you had 'multiple regions' they wouldn't talk to eachother. correct?13:04
rvbaNo, not right now.13:04
jamk13:05
jamrvba: so I saw in the design that you're supposed to be able to have multiple 'appserver' processes (I'm guessing that is the 'maas' process). Is that something that has been tested?13:06
rvbajam: no, this has not been tested.  The goal was to use juju to scale horizontally like that.13:06
jamrvba: so theoretically you could use juju to configure maas appservers as well as cluster controllers?13:07
jtvjam, rvba: the import branch just landed.  Are you going to test it?13:07
rvbatheoretically yes13:07
rvbajtv: I'll see if I can build a package.13:07
jtvGreat.  Basically all we need to know is that installing a cluster without a region controller on the same machine doesn't break, right?13:08
rvbayes13:08
rvbaHunk #1 FAILED at 182.13:09
rvba1 out of 1 hunk FAILED -- rejects in file contrib/preseeds_v2/enlist_userdata13:09
rvbaPatch 04-fix-ipmi-enlistment.patch does not apply (enforce with -f)13:09
rvbaarg13:09
rvbaLooks like that change has made it upstrea.13:09
rvbaupstream*13:09
rvbajtv: jam any idea how to fix this, I've removed the patch, removed the reference to it in debian/patches/series but now I'm getting: "No such file or directory: ..04-fix-ipmi-enlistment.patch". I've no idea where it's referenced.13:14
rvbaIt's only mentioned in the changelog file.13:14
jamrvba: in the patch queue?13:14
jam(.pc)13:14
rvbajam: where is that? find . -name "*.pc" => nothing13:15
jamrvba: it would be in the root directory, named '.pc/'13:15
jtvLeftovers in the build directory maybe?13:16
jamquilt was the name I was looking for.13:16
jambut rvba, jelmer is someone who knows deb packaging quite well.13:16
rvbajam: the root directory of the packaging branch?13:17
jamrvba: yes13:17
jelmerrvba: are you using bzr builddeb?13:17
rvbabzr bd -S -- -kemail13:17
jelmerrvba: you might have to run "bzr rm" (no arguments)13:17
jelmerotherwise bzr doesn't pick up that that file is removed, and bzr-builddeb will try to look for it while exporting the source tree13:18
rvbaThanks jelmer, that did the trick indeed.13:18
rvbaUploading to ppa.13:19
rvbajam: the ppa package will be ready soon (ppa:rvb/maas) all the packages are in http://people.canonical.com/~rvb/maas/.13:22
mgzho hum hum.13:43
jelmerrvba: note that you can avoid the -k bit by putting something like this in ~/.devscripts:13:44
jelmerDEBSIGN_KEYID=1EEF527613:44
rvbajelmer: I didn't know that, thanks for the tip.13:45
rvbajtv: your fix to the celeryconfig_cluster worked fine.14:06
jtvLoad off my mind, thanks14:06
rvbaSo it txlongpoll is fine too.14:09
rvbaDaviey: ^14:09
Davieysuper14:10
rvbajtv: the dhcp_key generation thingy fixed the dhcp restart problem.14:16
roaksoaxrvba: ack14:22
rvbaroaksoax: the fixes for bugs 1065055 and 1065406 as in as of r1261.  I had to remove debian/patches/04-fix-ipmi-enlistment.patch to build the package (looks like the fixes in that patch are now upstream).14:24
ubot5Launchpad bug 1065055 in MAAS "celeryconfig_cluster.py imports utility method from maas (import_settings)" [Critical,Fix committed] https://launchpad.net/bugs/106505514:24
ubot5Launchpad bug 1065406 in MAAS "Nodegroup object is created with an empty dhcp_key." [Critical,Fix committed] https://launchpad.net/bugs/106540614:25
roaksoaxrvba: yep14:25
roaksoaxrvba: i'm aware :)14:25
rvbaAll right :)14:25
roaksoaxrvba: btw... maas-dns is only meant to be installed in the region?14:26
rvbaroaksoax: yes14:26
roaksoaxrvba: so that means that maas-dhcp too14:26
rvbaNo, the dhcp can be installed on the cluster side too.14:26
roaksoaxrvba: ok cool14:31
roaksoaxthanks14:31
roaksoaxrvba: so maas-dns should not depend on maas-dhcp14:35
roaksoaxshould it?14:35
rvbaroaksoax: no, I don't think it's required.14:37
rvbaroaksoax: but I'm not sure we've tested that very well, maybe you can keep it for now.14:38
rvbaroaksoax: the maas-dhcp package can be installed next to any cluster controller.  And there is one next to the region (it's a dependency).14:39
roaksoaxsmoser: your branch https://code.launchpad.net/~smoser/maas/ipmi-locate-fallback/+merge/129202  also fixes bug #106452714:41
ubot5Launchpad bug 1064527 in MAAS "detect_ipmi needs improvement. detects non-existant device in nested kvm" [High,Triaged] https://launchpad.net/bugs/106452714:41
roaksoaxright?14:41
roaksoaxrvba: ok14:41
smoserno.14:42
smoserit doesn't14:42
smoserthe issue in the nested kvm was it just took forever14:42
smoseras it got a false positive and then bmc-config....14:42
roaksoaxrvba: cause the maas-dns package does maas set_up_dns on postinst, but IDK whether we want that14:42
smoserand that was haning14:42
smoserthis increases that chance actually14:42
roaksoaxsmoser: right but your branch is a fallback method for IPMI detection, so in nested KVM it won't detect ipmi, would it?14:43
rvbaroaksoax: yes, we want that, if you install maas-dns, you want maas to register its config in the running bind instance and that is what set_up_dns does.14:43
roaksoaxrvba: ok cool14:43
smoserroaksoax, mine only increases the likelyhood of finding something14:46
smoser(but is very unlikely to false-positive)14:46
roaksoaxsmoser: ok14:47
roaksoaxsmoser: btw.. maas-enlist is in archives now so it should work14:47
smoserright.14:54
smoserwe need to get the sru back14:54
roaksoaxsmoser: i already uploaded it14:55
roaksoaxrbasak: could you please verify SRU bug #105681614:55
ubot5Launchpad bug 1056816 in maas-enlist (Ubuntu Precise) "maas-enlist does not post subarch" [Undecided,Fix committed] https://launchpad.net/bugs/105681614:55
smoserroaksoax, we need this bug fix in maas-enlist though. with the mac addrs.14:56
smoserwe dont have that yet14:56
smoserdo we?14:56
roaksoaxsmoser: for precise?14:56
rbasaksmoser: any tips on testing from precise-proposed? Shall I just add all of it in sources.list? Or is there any pinning functionality I should be using?14:56
roaksoaxsmoser: it is uploaded to -proposed but needs to be accepted first14:56
roaksoaxsmoser: so I think the previous upload we can mark verification-done and then the new one will address the third bug14:57
roaksoaxrbasak: yes just add -proposed and install and test14:57
smoserroaksoax, just ask that the -proposed be rejected14:57
smoseri think14:57
smoserand upload a new one14:57
roaksoaxsmoser: i asked that14:57
roaksoaxsmoser: they said it won't14:58
roaksoaxsmoser: ScottK told me to make a new upload with higher revision with everything of the previous, plus the new stuff14:58
roaksoaxsmoser: so I did14:58
roaksoaxsmoser: but SpamapS told me to make a new upload with a new revision that adds, or removes anything from the previous upload14:59
smoserok. thats fine.15:01
smoserroaksoax, so you uploaded?15:02
roaksoaxsmoser: ye15:02
smoseri will then copy that version to maas-ephemeral images ppa15:02
roaksoaxsmoser: yes15:02
smoserand we'llget new precise dailies15:02
roaksoaxcool15:03
SpamapSroaksoax: what scottk said, and what I said, is basically the same thing, isn't it?15:04
SpamapSroaksoax: I see 2 uploads. Which one should be reviewed?15:05
roaksoaxSpamapS: The way I understood it is: 1. Make an upload which contains the previous fixes (in -proposed) + the new fix and increase the revision (ScottK). 2. (yours) Make a new upload with only the *new* patch because the other 2 are already in -proposed15:06
roaksoaxSpamapS: so I guess 2. is the correct approach, right? So please accept the latest one uploaded, and reject the older one :) Thank you15:09
SpamapSroaksoax: use understanding #1. ScottK definitely put it more clearly than I did.15:10
roaksoaxSpamapS: yeah so the latest upload is the correct one15:11
SpamapSroaksoax: lets back up. What you need to do is take the current -proposed package, modify it with a new revision, and upload that.15:11
roaksoaxSpamapS: so the latest upload I've made has both ubuntu1.2 + ubuntu1.315:12
SpamapSroaksoax: latest one does indeed look correct15:12
SpamapShttp://launchpadlibrarian.net/119496240/maas-enlist_0.4-0ubuntu1.2_0.4-0ubuntu1.3.diff.gz15:12
roaksoaxSpamapS: yes, that one :). Thanks for taking care of it :)15:12
rbasakSo do I still need to verify current precise-proposed or wait for the new one?15:13
roaksoaxrbasak: you can verify what's with current15:13
rbasakroaksoax: ?15:13
roaksoaxrbasak: verify with what's in -proposed15:14
smoserand build debdiff versus last accepted.15:14
roaksoaxrbasak: you don'yt need to wait15:14
rbasakok15:14
SpamapSI'm accepting but..15:14
SpamapS++args="${args} --data-urlencode mac_addresses=${i}"15:14
SpamapS++#mac_address="$mac_address""&mac_addresses=""${i}";15:14
SpamapScommenting out?!15:14
SpamapSbad form ;)15:14
smoserroaksoax, ^ i told you to get rid of that comment before uploading :)15:15
roaksoaxsmoser: arg... I did... but after so many links I guess I got confused an applied the wrong patch :)15:16
smoserit works though15:16
smoserso i'm good with that.15:16
SpamapSall good15:17
ppetrakiI've got a maas client that simply will not budge, precise repo, HP proliant, WOL/PXE enabled eth0, use existing dhcp. http://pastebin.ubuntu.com/1273410/15:18
ppetrakiI click start node and it does nothing15:18
roaksoaxppetraki: i wouldn't be relying on precise's MAAS to work properly in what WoL is concerned15:28
ppetrakiroaksoax, :(, to the ppa then15:29
ppetrakiroaksoax, thanks15:30
roaksoaxppetraki: welcome :)15:31
roaksoaxflacoste: so today is the last day we can upload new upstream release before a SRU.. until what rev do you want to get in?15:31
roaksoaxDaviey: until when can we make the upload?15:31
smoserroaksoax, so maas-enlist ? expecting in a sru somewhere?15:32
roaksoaxsmoser: we just need to wait for it to be available for verification15:33
smoseri see.15:33
roaksoaxsmoser: its already accepted15:33
smoserhttps://launchpad.net/ubuntu/+source/maas-enlist/0.4-0ubuntu1.315:33
smoserright15:33
roaksoaxsmoser: after verification, we wait 7 days15:33
flacosteroaksoax: so I'd like smoser fix for ipmi-locate to be in15:34
flacostei just approved it15:34
flacosteso that would be 126415:34
flacostervba, allenap: anything other fixes in-flight that could be landed shortly?15:34
flacostejelmer: how's your memory constraint fix going? can we upload that today?15:34
rvbaflacoste: all the fixes we (the red squad) wanted to check in have been landed as of r1261.15:35
rvbaflacoste: Not sure if jtv will have time to finish the improvements he wanted to make to the cli.15:36
rvbaHelp message improvements.15:36
rbasakroaksoax: verification failed. MAC address problem. I assume this was your other fix?15:36
roaksoaxrbasak: yes15:36
jelmerflacoste: Yeah, I think I can propose it for review before EOD15:37
rbasakroaksoax: it stops me verifying 0.4-0ubuntu1.2 since all highbanks have two NICs15:37
roaksoaxrbasak: you can just veirfy with 1 MAC address15:37
rvbaflacoste: but all our (known ;)) critical bugs have been fixed.  I tested a package I made (ppa:rvb/maas) 0.1+bzr1261+dfsg-0ubuntu4~ppa1 a few hours ago.15:37
roaksoaxrbasak: maas-enlist --serverurl XYZ -i eth0 etc etc15:37
roaksoaxrbasak: if you specify the interface it will only use 1 MAC15:37
rbasakroaksoax: I'm verifying by actually using MAAS to enlist. And that doesn't work.15:38
flacostejelmer: well, it would needed to be _landed_ before EOD, so should we wait for it, or not?15:38
rbasakroaksoax: landing this in -updates will cause a regression.15:39
rbasakroaksoax: thus it should be verification-failed, no?15:39
roaksoaxrbasak: that's why .3 is for15:39
rbasakOK, so I'll verify .3 then15:39
rbasakWhen it lands in -proposed15:39
roaksoaxrbasak: cool15:39
jelmerflacoste: that should be doable too; when is the upload happening?15:39
flacosteroaksoax: what's the limit?15:41
roaksoaxflacoste: Daviey's EOD15:41
flacosteroaksoax: he has one?15:41
roaksoaxapparently so :)15:41
roaksoaxrvba: i'll make available a new package for you to test with your fixes and some minor changes :)15:43
rvbaroaksoax: all right.  I'll test the connection between the region and the cluster.15:44
matsubararoaksoax, hey, did you see the package build failure because of the ipmi-enlistment patch?15:51
ppetrakiroaksoax, so should I just pin quantal working from precise or pick one of the pockets from here? http://ppa.launchpad.net/maas-maintainers15:51
roaksoaxmatsubara: yes: https://code.launchpad.net/~andreserl/maas/packaging_updates_bzr1263/+merge/12922115:52
matsubararoaksoax, cool. thanks!15:53
roaksoaxppetraki: the latest quantal is not yet available for precise, but you should be able to test ppa:maas-maintainers/testing15:53
roaksoaxwith newer maas for precise15:53
roaksoaxwithout cobbler15:53
ppetrakiroaksoax, thanks15:53
jelmerrbasak: hi?16:07
flacosteroaksoax: so prepare an upload for 1264, if jelmer lands his fix before Daviey's EOD, let's include it, otherwise 1264 is a good fallback16:08
roaksoaxflacoste: ack16:10
roaksoaxrvba: http://paste.ubuntu.com/1273523/16:10
rbasakjelmer: ?16:10
roaksoaxrvba: i'm not particularly thrilled with that fix... but it seems the only way to do it easily16:10
jelmerrbasak: I was curious if you had some example lshw -xml output from an ARM machine16:11
rbasakjelmer: yes, one moment16:11
rbasakjelmer: https://bugs.launchpad.net/maas/+bug/1064638/comments/516:12
ubot5Ubuntu bug 1064638 in MAAS "Commissioning is failing to set node memory attribute" [Critical,Triaged]16:12
roaksoaxrvba: i'd much rather just set the url independently16:12
rvbaroaksoax: looks like a good enough fix to me.  What do you mean independently?16:13
roaksoaxrvba: see how configure_maas_default_url or configure_maas_squid_deb_proxy work16:14
roaksoaxrvba: I'd much rather do it that way16:14
jelmerrbasak: thanks16:14
roaksoaxrvba: unless... let me see16:15
rvbaI don't really see the difference tbh.16:15
roaksoaxrvba: i don't like the fact to be changing the password of rabbitmq on dpkg-reconfigure maas16:15
roaksoaxrvba: cause it also means restart rabbimq16:16
rvbaroaksoax: I agree.  But this is not related to that ip address thing right?16:16
roaksoaxrvba: it is16:16
roaksoaxrvba: because if I pass the ipaddress to that function, everything we dpkg-reconfigure we will change rabbitmq password16:17
smoserroaksoax, rbasak i started a precise ephemeral image build.16:19
smoserfor daily16:19
smoserand upon that being done will do one for quantal16:19
rvbaroaksoax: ah right, now I see.16:19
roaksoaxrvba: ok just uploaded to experimental ppa, so it should build soon16:28
roaksoaxrvba: please test clean installs and uipgrades to see if it does work correctly16:28
roaksoaxrvba: in both single node, and multi nod eescneario16:28
roaksoaxi;ll do the same16:28
rvbaok16:29
rvbaStill not built :/16:52
roaksoaxrvba: yeah they are slowtoday :/16:53
roaksoaxrvba: maybe someone is rebuilding a whole bunch of packages today16:53
rvbaI think the package I uploaded to my ppa a few hours ago took 40 minutes to get built.16:54
flacosteroaksoax, rvba: the lp build farm sucks since the CD move16:54
flacostewe are still missing several builders16:54
Davieyroaksoax: keep it coming16:55
roaksoaxah! that's the reasong then16:55
roaksoaxDaviey: will let you know as soon as I have a package ready to upload16:57
Davieyroaksoax: cool16:58
rvbaroaksoax: package is currently building.17:02
roaksoax\oi/17:02
roaksoax\o/17:02
rvbaroaksoax: package published.17:10
rvbaroaksoax: when doing: sudo dpkg-reconfigure maas-cluster-controller, I accidentally added an extra space at the end of the url 'http://my.ip/MAAS ' and then I got: sed: -e expression #1, char 45: unterminated `s' command17:16
rvbaProbably not critical.17:16
roaksoaxrvba: right, so i guess we need to get rid of whitespaces17:20
rvbayep17:21
roaksoaxrvba: is everything working as expected?17:30
rvbaroaksoax: yes, so far.17:31
roaksoaxrvba: in my local machine cluster didn't create the celery beat stuff17:31
roaksoaxbut might be related to something else17:31
rvba$ ls /var/lib/maas17:31
rvbacelerybeat-cluster-schedule  celerybeat-region-schedule  dhcp  dhcpd-interfaces  ephemeral  media  tftp17:31
rvbaLooks ok here.17:31
rvbaI see the tasks being processed.17:31
roaksoaxrvba: who creates celerybeat-schedule?17:32
rvbaIn /var/log/maas/celery.log17:32
rvbaThe cluster celery worker.17:32
roaksoaxdoesn't it create celerybeat-cluster-schedule?17:33
rvbaWhich is started by the sstart-cluster-controller upstart script.17:33
roaksoaxrvba: so I just purged a maas installation, and this was left running:17:33
roaksoaxmaas       775  0.0  1.0 330912 21124 ?        S    12:47   0:00 /usr/bin/python /usr/bin/celeryd --logfile=/var/log/maas/celery.log --loglevel=INFO --beat --schedule=/var/lib/maas/celerybeat-schedule17:33
rvbaroaksoax: you're right, there is no celerybeat-schedule17:33
rvbaI don't have that.17:34
roaksoaxrvba: that might have been from a previous package then17:35
rvbaYeah, I think so.17:35
rvba/usr/bin/python /usr/bin/celeryd --logfile=/var/log/maas/celery.log --schedule=/var/lib/maas/celerybeat-cluster-schedule --loglevel=INFO --beat -Q b0933e01-ea42-4852-9a3e-52f7912b50d817:35
rvbaThat is the cluster worker.17:35
rvba/usr/bin/python /usr/bin/celeryd --logfile=/var/log/maas/celery-region.log --loglevel=INFO --beat --schedule=/var/lib/maas/celerybeat-region-schedule -Q celery,master17:35
rvbaThat is the region worker.17:35
roaksoaxyeah17:35
rvbaroaksoax: all the cluster/region connection stuff works ok.  I cannot really test upgrades.17:56
roaksoaxrvba: i just did an upgrade and things seemed to work fine17:57
roaksoaxrvba: but then purge maas and all its components17:57
roaksoaxrvba: and on reinstlal there was an error related to dbconfig-common17:57
roaksoaxrvba: cna you try that?17:57
rvbaSure.17:57
rvbaPurging a cluster controller then reinstalling works.18:00
rvbaI'll try with the region controller now.18:00
rvbaroaksoax: I didn't get an error.  Did you answer yes to all the questions asked by the packaging when performing the 'purge'?18:03
roaksoaxrvba: yeah18:03
roaksoaxrvba: it is an error with dbconfig-common18:03
roaksoaxapparently18:03
rvbaI didn't see any.18:03
rvbaDoes it break the package completely?18:04
roaksoaxrvba: it does18:05
rvbaMy region cluster seems fully functional.18:05
rvbaAfter re-installation that is.18:05
roaksoaxrvba: cool,I guess it is just probably a race somewhere18:05
rvbaroaksoax: Races are rarely easy to track down.  Do you have an idea where it could come from?18:07
* rvba tries the purge/reinstall cycle again.18:08
roaksoaxrvba: yeah maas-region-controller.config (in packaging) which triggers something in dbconfig-common and that's where it fails18:10
rvbaReally a race, like you say, because it worked again here.18:11
roaksoaxrvba: indeed18:12
roaksoaxrvba: it worked for me too18:14
roaksoaxrvba: i think it might appear when upgrading from precise to quantal, then purge, and then install again18:14
rvbaProbably not related, but when I remove the package I see:18:16
rvbauserdel: user maas is currently logged in18:16
rvba/usr/sbin/deluser: `/usr/sbin/userdel maas' returned error code 8. Exiting18:16
roaksoaxrvba: yeah I already fixed that18:16
roaksoaxrvba: update&upgrade18:16
roaksoaxand you should not longer see that18:16
rvbaCool.18:18
rvbaIndeed, I don't see the error message now.18:21
adam_g_at what point in the process of starting a node does its MAAS managed hostname become resolvable?18:29
roaksoaxadam_g_: in mark's lab you are not using maas DNS i believe, so you have to wait till it is installed18:30
adam_g_roaksoax: what happens after it is installed that makes the hostname magically resolve?18:31
roaksoaxadam_g_: dunno TBH... i guess it triggers dchp to tell DNS? i dind't really could investigate18:32
roaksoaxrvba: yeah it is dbconfig-common for sure18:46
* roaksoax lunch19:12
ppetrakiok, so I think I have an bug off the testing ppa, I can't delete a maas node, the button is literally grayed out. I tried using the maas console but hit a wall: http://pastebin.ubuntu.com/1273624/19:18
ppetrakithis node had a problem provisioning, it was installed and all but the credentials didn't seem to make it, I can't login. When I do juju destroy it's able to put the other node in my two node maas back to ready but it has no idea about this node19:19
globini get this error: http://paste2.org/p/2324832 if i try to connect to the web interface right after installing. machine is running quantal. any ideas?20:49
matsubaraglobin, I just got a similar issue21:12
matsubaraglobin, is this on a pristine environment?21:13
globinyep just created new vm21:18
globinmatsubara: tried it twice even21:19
roaksoaxglobin: what version of MAAS are you using?21:19
globin0.1+bzr1243+dfsg-0ubuntu321:21
roaksoaxglobin: weird.. can you upgrade to latest?21:21
roaksoaxglobin: is rabbitmq running?21:22
globinroaksoax: 1 mom please21:26
globinroaksoax: upgrading fixed21:27
roaksoaxglobin: cool!21:27
globinroaksoax: tyvm, thought i'd done that21:27
roaksoax:)21:28
=== lifeless_ is now known as lifeless

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