/srv/irclogs.ubuntu.com/2013/03/05/#maas.txt

roaksoaxallenap: howdy!! so the cluster_host thing didn't really work unfortunately :(15:21
allenaproaksoax: Hi there. Because of the get_managed_interface() thing?15:31
roaksoaxallenap: yeah, it wont get the address of the cluster15:35
allenaproaksoax: Look at the implementation of get_managed_interface(). You can use a similar approach to getting the address of the cluster, i.e. get any interface of the cluster.15:37
roaksoaxallenap: right, but the thing is that it seems that if we are not managing any interface, it wont return the address15:44
roaksoaxallenap: so from what I udnerstood, if we dont configure DHCP/DNS, then it wont return the address15:44
roaksoaxbut we still need itr15:44
roaksoaxregardless of whether we manage it or not15:44
allenaproaksoax: http://pastebin.ubuntu.com/5588071/15:45
roaksoaxallenap: ack, i'll look into that15:46
allenaproaksoax: Yeah, get_managed_interface() won't work then, but I meant for you to follow its approach. Afaik, all interfaces are recorded.15:46
roaksoaxallenap: yeah, the difficulty is finding out what interface it PXE booted from15:46
roaksoaxallenap: but the difficulty is really finding out what interface it PXE booted from.15:51
roaksoaxallenap: and thanks btw :)15:51
allenaproaksoax: Okay, so I could update lp:~allenap/maas/preseed-cluster-host to find an interface on the cluster that's on the same network as the node. I guess that would be better?15:57
=== kentb is now known as kentb-afk
=== kentb-afk is now known as kentb
roaksoaxbigjools: let me know when around :)22:53
bigjoolsroaksoax: o/23:02
roaksoaxbigjools: howdy!! so I think i found an issue with maas and nodegroups :(23:03
bigjoolsgo on ...23:03
roaksoaxbigjools: so while trying to work on the cluster_host thing, I first did this:http://pastebin.ubuntu.com/5589024/ to basically obtain all the interfaces of a cluster, instead of the 'managed' interface23:04
roaksoax(extending what allenap did)23:04
bigjoolsroaksoax: that won't do that23:05
bigjoolsit's returning the first23:05
roaksoaxbigjools: right :)23:05
roaksoaxbigjools: i guess I should have said get any of the interfaces23:05
bigjoolsthere's a better way of doing it as well :)23:05
bigjoolsbut go on23:05
roaksoaxbigjools: but anyways, that's not really the issue though23:05
roaksoaxbigjools: the thing is that I installed 2 cluster controllers23:06
roaksoaxone in the region, and one external23:06
roaksoax1 first enlisted/commissioned node01 with external cluster in 192.168.123.3. Then node02 with local (in region) cluster in 192.168.123.223:06
roaksoaxbigjools: and then I noticed this: http://pastebin.ubuntu.com/5589031/23:07
roaksoaxbigjools: both nodes seem to be in the same nodegroup, when they enlisted/commissioned in a different nodegroup23:07
roaksoaxbigjools: note that the local cluster running in the region was registered to maas *after* the external23:08
roaksoaxbut I;ve tested the other way around (local cluster registered first, then external), and the adddress returned there is 192.168.123.2.23:08
bigjoolslet me lool, I think your code is buggy23:08
bigjoolslook23:08
roaksoaxthis leads me to believe that all nodes are said to belong to the same nodegroup23:09
bigjoolscheck in the DB23:09
roaksoaxbigjools: http://pastebin.ubuntu.com/5589038/23:10
roaksoaxbigjools: unless my logic is incorrect, how else would I check to what nodegroup the node belogs to23:10
bigjoolshmmm23:11
roaksoaxbigjools: this is what I did to get the cluster_host btw: http://paste.ubuntu.com/5589041/ (in get_node_preseed_context)23:11
bigjoolsroaksoax: multi clusters were tested in the lab and worked ok, so either something regressed recently or your setup is not doing what you think it is23:12
bigjoolsare you sure your nodes are on separate lans?23:13
bigjoolsand cluster controllers23:13
roaksoaxbigjools: my nodes are in the same lan, but they do register themselves with a different cluster controller. I tell it where to PXE boot from so I know they are pxe booting from different clusters23:14
bigjoolsroaksoax: are you sure? :)23:15
roaksoaxbigjools: 100%. It is a controlled environment and DHCP is managed by libvirt, which tells it where to pxe boot from23:15
roaksoaxlet me re-test23:15
bigjoolsroaksoax: if you disable the DHCP that you think it is using, does it still boot?23:16
roaksoaxbigjools: nope23:16
bigjoolsok23:16
roaksoaxbigjools: it is a clean environment with no DNS/DHCP being managed by maas23:17
roaksoaxnor dhcp is running in any nore23:17
bigjoolsroaksoax: ok file a bug23:17
bigjoolsnot sure we'll get to it right away quite frankly23:17
roaksoaxright23:18
roaksoaxthis does affect the FPI though23:18
=== kentb is now known as kentb-out
bigjoolswe're getting the FPI done23:31
bigjoolsroaksoax: what's the cutoff for raring?23:31
roaksoaxbigjools: FF is this thursday :)23:32
bigjoolsyay23:32
bigjoolswhen you say "final" ...23:32
roaksoaxbigjools: so I'm planning on uploading and then just doing FFe's for what's important23:32
roaksoaxbigjools: so yeah we have like 1 extra month to request FFe;s23:32
bigjoolsok23:33

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