/srv/irclogs.ubuntu.com/2013/04/24/#maas.txt

mwhudsonwhuh01:14
mwhudsonmaas-cluster-celery is failing to start for me01:14
mwhudson    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)01:14
mwhudsonOSError: [Errno 13] Permission denied01:14
mwhudson[2013-04-24 02:13:58,398: INFO/MainProcess] process shutting down01:14
bigjoolswha01:15
mwhudsondailybuilds ppa installed on precise01:15
mwhudsonseems to be inside celery's start up code :(01:16
mwhudsonpython -c "import multiprocessing.queues; multiprocessing.queues.SimpleQueue()" fails the same way01:17
mwhudsonhm, seems to be /run/shm permissions01:19
* mwhudson tries rebooting the server (needs doing anyway)01:22
mwhudsonok that fixed it01:26
mwhudsonbigjools: argh02:43
bigjoolsruh roh02:43
mwhudsonbigjools: pserv doesn't appear to be serving a pxelinux.0 file02:43
bigjoolsdid you import images?02:44
mwhudsonyes02:44
mwhudsonbut i had that celery oddness02:44
bigjoolsarm is a bit different here02:44
mwhudsonso maybe something didn't happen that shoulda orta02:44
bigjoolsmebbe02:44
mwhudsonthe "region controller doesn't know about images" went away eventually though02:45
mwhudsonre run the import pxe script?02:45
bigjoolsmmmm if that's gone then it;s imported them02:47
bigjoolsbut some of it could have failed02:47
bigjoolsdid you run it manually or use the UI?02:47
mwhudsonmanually02:47
mwhudsonoh02:47
mwhudsonright, so the symptom i have of this is that the automatic pxe boot fails in uboot02:48
mwhudsonif i set ipaddr and serverip and run pxe get; pxe boot it works and the node gets commissioned02:48
bigjoolstrying to remember how arm works ...02:48
mwhudsonso it's really just pxelinux.0 not being there that trips it up02:48
bigjoolsit ignores that though, I thought?02:49
mwhudsonmwhudson@lava-leg01:~$ tftp localhost02:49
mwhudsontftp> get pxelinux.002:49
mwhudsonReceived 26837 bytes in 0.0 seconds02:49
mwhudsonwhat02:49
mwhudsonadsadasdasdsada02:49
bigjoolsit just uses the location of it as a base directory for eveything else02:49
mwhudsonright02:49
mwhudsonbut if it returns file not found it complains02:49
bigjoolsok02:49
bigjoolsbut you can get it as you just showed :)02:49
mwhudsoni can /now/02:50
bigjoolshowever, the tftp server is sensitive to where the request comes from02:50
mwhudsonprobably because i re-ran maas-import-pxe-files02:50
mwhudson        exceptions.AssertionError: No PXE template found in '/usr/lib/python2.7/dist-packages/provisioningserver/pxe'!02:51
mwhudsonnow i get that ^02:51
bigjoolsvart da furk02:51
mwhudsonoh02:52
mwhudsoni think this is https://bugs.launchpad.net/maas/+bug/106421202:52
ubot5Launchpad bug 1064212 in MAAS "If a machine is booted manually when in status "declared", TFTP server tracebacks" [Low,Triaged]02:52
mwhudsonit's booting ok now02:52
bigjoolscould be yes02:52
bigjoolsmaas has to know it's required to boot02:52
bigjoolsideally we'd send something that shuts it down again02:53
mwhudsonok nodes are declaring themselves now02:55
bigjoolsyay03:06
mwhudsonand now i can't get juju to work :)03:13
mwhudson(juju-go this time)03:14
=== rbasak-test is now known as rbasak
AskUbuntuHow to cat the `MAAS Key` of a user via `maas shell`? | http://askubuntu.com/q/28493913:39
=== kentb-out is now known as kentb
rvbaHi mgz, would you mind having a quick look at this when you'll get a chance: https://code.launchpad.net/~rvb/maas/empty-tag-bug-131232/+merge/160672 ?15:28
rvbaI just want to know if it seems sane to you because you know that code probably better than I do.15:28
mgzrvba: sure15:42
rvbata15:42
allenaproaksoax: Have you seen https://bugs.launchpad.net/maas/+bug/1172303? Do you know if this is just a difference between the packaging in quantal and raring?16:56
ubot5Launchpad bug 1172303 in MAAS "MAAS_URL on maas_cluster.conf is quoted on quantal but not quoted on raring" [Undecided,New]16:56
roaksoaxallenap: i think is packaging.. IIRC matsubara made a change recently and that might have changed the behavior16:57
roaksoaxallenap: this might be the cause: http://bazaar.launchpad.net/~maas-maintainers/maas/packaging/revision/17316:59
roaksoaxmatsubara: ^^16:59
roaksoaxallenap: yeah that's what has changed17:00
roaksoaxmatsubara: your fix broke something :)17:00
roaksoaxallenap: we want it quoted right?17:05
roaksoaxallenap: this would fix it: http://paste.ubuntu.com/5598853/17:15
allenaproaksoax: What branch is used for the raring package then, if not that one?17:15
allenaproaksoax: That change in r173 looks like it's adding the quotes that the integration test is expecting to find, but it's odd that they're in quantal but not raring. I would have expected the other way round if anything.17:17
roaksoaxallenap: that's the branch that's being used. I think the reason why its not being seen on quantal is because the affected change is in the SRU , with is in -proposed and not in -updates17:19
roaksoaxallenap: so matsubara miught be comparing to that17:20
roaksoaxallenap: oh hold on, what's on -updates doe snot have maas_url17:21
roaksoaxallenap: so something has changed then17:21
roaksoaxallenap: ont he dpkg-reconfigure it seems that the quotes never get added17:21
allenapmatsubara: ^ I have to go now, but perhaps that'll lead to the root problem. Thanks roaksoax.17:22
matsubarathanks allenap and roaksoax17:23
roaksoaxmatsubara: i think this is the appropriate fix: http://paste.ubuntu.com/5598853/17:23
roaksoaxmatsubara: manually applying this fix gives me: http://pastebin.ubuntu.com/5598866/17:25
matsubararoaksoax, cool. so I just need to merge propose that against lp:~maas-maintainers/maas/packaging  and packaging.quantal?17:26
roaksoaxmatsubara: and precise.sru17:26
roaksoaxrvba: still around?17:28
matsubararoaksoax, ah ok. I'll mp it17:29
allenaproaksoax: I'm not sure that's the right fix. That changes the quotes from single to double, but the test is looking for single quotes, and the failure is that there are no quotes at all.17:29
* allenap really goes.17:31
roaksoaxallenap: http://pastebin.ubuntu.com/5598887/17:32
roaksoaxallenap: yeah, so we should standarize and make the test not look for single quotes, but look for double quotes17:33
roaksoaxbecause that's how everything is being done17:33
matsubararoaksoax, ok. I'll update the tests as well17:33
roaksoaxallenap: the initial change was driven becuase a test was broken due to a leading whitespace17:33
roaksoaxso we never noticed that there were no quotes in the first place17:33
roaksoaxwhich would have been providing the above fix instead of the commited fix17:34
matsubararoaksoax, https://code.launchpad.net/~matsubara/maas/fix-MAAS_URL-quotes/+merge/160722 https://code.launchpad.net/~matsubara/maas/fix-MAAS_URL-quotes-quantal/+merge/160723  https://code.launchpad.net/~matsubara/maas/fix-MAAS_URL-quotes-precise/+merge/16072517:42
matsubaraI need to go for a dentist appointment and should be back in ~1h17:42
=== matsubara is now known as matsubara-afk
=== cmagina_away is now known as cmagina
=== matsubara-afk is now known as matsubara
=== kentb is now known as kentb-out

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