/srv/irclogs.ubuntu.com/2014/11/11/#maas.txt

=== CyberJacob is now known as CyberJacob|Away
navidadI'm having trouble commissioning. Everything seems to work fine until the very end and I get repeating messages of "request to http://mymaasserverip/MAAS/metadata/2012-03-01/ failed. sleeping 1.: '' " .. and then the number increments every few minutes00:17
bigjoolscouple of things to check:L00:17
bigjoolss/L//.00:17
bigjools1. Can your commissioning node reach the maas server ip?  Routing?00:18
navidadit started happening after I upgraded from trusty -> utopic ie maas1.5 to 1.700:18
bigjools2. Is the server up?00:18
navidadYeah the routing is good, all pings work. Server is definitely up as it PXE serves and gets 99% thru the commissioning.00:19
bigjoolsdo you have the cluster and the region on the same host?00:19
navidadyes I do00:19
bigjoolsok can you check the maas.log and the maas-django.log on the host00:20
navidadtwo things I noticed, not sure if they're relevant. For some reason MAAS started giving the hosts a random two word hostname instead of the 5digit alphanumeric hostname00:20
bigjoolsthat's expected00:20
bigjools(and sometimes hilarious)00:20
navidadsecondly, its not registering said hostname into dns, i can ping all the old hosts created in 1.5 but none of the new ones00:20
navidadyeah i was laughing at some of the bizaare combinations it comes up with00:21
bigjoolsok, something's not upgraded properly00:21
bigjoolscheck the logs00:21
navidadyeah so im looking at the bind upstart and its running fine .. it returns dns for the old ones like i said00:21
bigjoolssomething is wrong with the region controller00:21
bigjoolsit handles metadata requests (failing here) and writes the dns zone file (failing again)00:22
bigjoolshowever00:22
navidadthe django log has a few lines about python stuff being deprecated00:22
bigjoolsone thing to note in 1.7 that's different is that hosts don't get any IP until *started*00:22
bigjoolsdid you add a static IP range in the cluster interface?00:23
bigjools(and did you read the release notes?)00:23
bigjoolswell, it's not quite released yet, but they're available00:23
navidadI have a dynamic IP range in the cluster interface, if thats what you mean.. a /2400:24
bigjoolswith 1.7 you need to add another range00:24
bigjoolswell, from 1.6 onwards00:25
navidadfor the maas host IP?00:25
bigjoolsfor each cluster interface00:25
bigjoolsthe old range is used for DHCP allocations; the new range is static allocations done by MAAS itself for allocated nodes00:25
bigjoolsonce you put that in place it will start giving you IPs and DNS entries for nodes you allocate00:26
bigjoolsand start00:26
navidadis this in the release notes? i never saw this00:26
navidadOh I kinda see what you mean. Can you put the same range in the dhcp+static range fields? Or should I just switch it to static only, if i want dns entries?00:33
bigjoolsno, needs to be different00:34
navidadnm it wont let me do the former, answered my own Q00:34
bigjoolsyou need both ranges defined00:34
bigjoolsdynamic is now used only for commissioning and enlistments00:34
navidadthat's confusing. So I could make the dhcp range a very small range, since i'll only be commissioning a few at one time??00:35
navidadhmm so I moved the dhcp range to a smaller range, and tacked on a static range as well, but comissioning is still giving the same error with metadata failing. DNS also not updating still00:52
bigjoolsAs I said, DNS won't update until a node is allocated and started00:52
navidadI guess it doesnt add DNS until it starts like you said, so that makes sense. But the metadata error is the problem00:53
bigjoolsand I asked you for the logs....00:53
navidadcloud-init.log?00:54
bigjoolsnavidad: maas.log and maas-django.log on the host01:03
=== menn0 is now known as menn0-afk
=== menn0-afk is now known as menn0
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
roadmrhello maas folks. I have maas 1.7.0~rc3+bzr3299-0ubuntu1~trusty1 and I think there may be a bug with the boot-resource create functionality (uploading a custom image)08:46
roadmrI pass a "name" parameter when doing boot-resources create, but this name is not visible anywhere in the web UI08:47
roadmras a result, I just have e.g. 2 custom images with no name, so when selecting one to deploy, I can't tell which is which :/ so I'm doing it blind essentially08:48
bigjoolsroadmr: please file a bug08:50
roadmrbigjools: will do. The name is visible if I list boot resources in the command line, so it looks strictly like a UI issue. Filing now...08:50
bigjoolsok08:52
roadmrbigjools: https://bugs.launchpad.net/maas/+bug/139142108:59
ubot5Ubuntu bug 1391421 in MAAS "Names of custom boot-resources not visible in the web UI" [Undecided,New]08:59
bigjoolsthanks roadmr09:10
roadmrbigjools: np, I could take a stab at fixing it myself but I probably won't have time this weel :/09:11
roadmrweek even09:11
bigjoolsroadmr: hopefully blake_r will see it and fix it :)09:11
roadmr\o/09:12
=== roadmr is now known as roadmr_afk
bigjoolsgmb: an easy one https://code.launchpad.net/~julian-edwards/maas/release-host-maps-fix-bug-1391411/+merge/24138509:18
=== roadmr_afk is now known as roadmr
gmbbigjools: On it.09:45
gmbGah, too late.09:45
jtvgmb: :-P09:47
jtvallenap: David is right that the effective serialisation of transactions doesn't _have_ to be the commit order.09:48
jtvAll that's required IIRC is that the database be left in a state that would be consistent with transactions being executed sequentially — in *some* order.09:49
jtvAnd until savepoints came along, that meant that failed transactions were basically hors concours.09:49
jtvAFAIK you could technically implement "serializable" by failing any transaction that came in while another was in progress...09:50
jtv(as long as either of them was serializable)09:50
gmbAha! Power monitor! J'accuse!09:53
allenapjtv: Right, that's a good point.09:53
allenapNot what I want, but a good point nonetheless :)09:53
gmbAh, mm, well, no exactly. Still, j'accuse a bit.09:53
jtvallenap: but I think your observation that this is really a serialisation failure was very powerful and might sway some people.09:54
jtv(At least, it's a serialisation failure if the conflicting row is not visible in your transaction.)09:55
allenapjtv: That would be what I would expect to see, yep.09:55
jtvOf course getting it implemented is a different story.  If it would involve MVCC indexes, well, those have been a wishlist item for a long time I think.09:56
allenapjtv: For our case it would be enough to "upgrade" the duplicate key error to a serialization failure, which, finger in the air, might be doable without major plumbing.09:57
allenapjtv: But we can do that in the application too, for now. There are points at which we know the transaction is doomed, though we may have to discover some of them from use.09:59
jtvQuite.10:00
gmballenap: Ping us when you've got a few mins, would you?10:24
* gmb went all Lanky there.10:24
gmbPing *me*10:24
libsysguyI can't seem to find any info on adding custom user data to the commissioning script.  Does anybody know how to do that?  Basically I want to add chef to the cloud-init process14:05
=== jfarschman is now known as MilesDenver
=== robbiew is now known as robbiew-afk
=== robbiew-afk is now known as robbiew
=== jfarschman is now known as MilesDenver
=== CyberJacob|Away is now known as CyberJacob
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== CyberJacob is now known as CyberJacob|Away

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