/srv/irclogs.ubuntu.com/2014/06/25/#maas.txt

=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
bigjoolsjtv: I still haven't worked out where to put my API endpoints for IP allocation.  Sending an email to the list to talk about it.06:24
jtvThere is an added niggle: IPv6.  We can't really keep identifying an NGI by cluster plus network interface name.06:25
bigjoolsjtv: does ipv6 make a new interface?06:26
jtvIt's going to have to — a single NIC may be attached to multiple networks.06:26
bigjoolsyes06:27
bigjoolsjtv: so this is just a NIC alias?06:27
bigjoolsfor which I added support recently ;)06:27
jtvWhat is?06:27
bigjoolsdoesn't help cluster interfaces though06:27
jtvA NIC can be directly on multiple networks now, without aliasing.06:28
bigjoolshow is that represented to the user?06:28
bigjoolsassuming ipv4 is eth006:28
jtvThen you've also got eth0 on one IPv6 network, and eth0 on another IPv6 network, but they're all IPv6.06:28
bigjoolsdoes it create multiple interfaces for each?  like eth0:1, eth0:2 ?06:29
jtvNo, they're all one network interface.06:29
jtvIf you're talking about _cluster_ interfaces, then we'll have to create multiple, yes.06:29
bigjoolsjtv: no I mean, if I havea machine which has an ipv6 and an ipv4 interface on the same NIC, how do I see that?06:30
bigjoolswhat interfaces are present?06:30
jtvAre you talking about network interfaces or cluster interfaces?06:31
bigjoolsjtv: ignore maas for now06:32
bigjoolson an actual machine06:32
jtvSo network interfaces.06:32
bigjoolsyes06:32
jtvThen like I said: you get one network interface, which has one IPv4 address, plus any number of IPv6 addresses.06:32
jtvGenerally you'll have a few IPv6 addresses on network A,06:33
=== jfarschman is now known as MilesDenver
jtvand a few IPv6 addresses on network B,06:33
jtvand so on.06:33
bigjoolsjtv: so you still just get eth0?06:34
jtvYes.06:34
bigjools(for example)06:34
jtvNo aliasing.06:34
bigjoolsok06:34
jtvJust lots of addresses.06:34
bigjoolsthat's a little bizarre06:34
jtvIt's a data modeler's nightmare.06:35
bigjoolsso presumably the output from ifconfig shows multiple addresses?06:35
jtvYes.06:35
bigjoolsyegads06:35
bigjoolsthis is *horrible*06:35
jtvA bit.06:35
jtvBut I think we'll be able to deal with it.06:36
jtvThe big known problem is cluster interfaces.06:36
jtvA cluster interface is tied too closely to a network interface.  It's really a "managed network."06:37
jtvSo in my ideal dream world, I'd make it a relationship between a cluster and a network, with added attributes for managing DHCP.06:37
jtvHowever the API currently identifies the silly thing by its network interface name.06:38
bigjoolsjtv: some of my proposed modelling changes for static IPs did this06:38
bigjoolsnot implemented yet but the door is open06:39
bigjoolswe should move the net info out of NGI and FK to Network06:39
jtvYes.06:39
cobradevilhi06:39
bigjoolsit's in the google doc, if you read that06:39
bigjoolshello06:39
cobradevili have a problem using maas without internet connection06:40
cobradevili have setup a maas instance with an internet connection and imported pxe and ephemeral images06:41
cobradevilnow i copied /var/lib/maas/tftp and /var/lib/maas/ephemeral internally and i can add nodes and commision them06:42
cobradevilbut i always get tests failed06:42
bigjoolscommissioning downloads packages from the archive06:42
bigjoolsso you need to set up an archive mirror, or a proxy to one06:43
jtvYou should be able to work around it by commissioning one node while still online, to prime the caching proxy, I think.06:43
cobradevili have an internal mirror available but there is an open bug using that06:43
jtvAh yes, the commissioning script fails to use that.  Drat.06:43
bigjoolsah yes06:43
bigjoolspatches welcome :)06:43
jtvAnother thing we might not have to do with IPv6, where the ip neighbours list will show your routers...06:44
jtvThe obstacle is in passing the proxy setting to the node.06:44
jtvDustin mentioned this in Austin.06:45
cobradevili have worked around it by openening the disk.img and edited the cloud.cfg06:45
bigjoolsyou should be able to edit a preseed and inject the proxy06:46
cobradevilis there a way to block the poweroff so i can troubleshoot the image?06:46
bigjoolsthere is but I can't recall how06:47
cobradevilthe block-poweroff in /tmp does not work06:47
bigjoolsI think you can edit curtin_userdata06:48
bigjoolsoh wait you said commissioning06:48
cobradevilyes or should i use the fast installer06:49
cobradevilfor the record i use precise maas with the cloud-archive ppa06:49
cobradevilso running maas 1.4 now06:49
bigjoolsok06:49
jtvYes, use the fast installer.06:50
bigjoolsnot sure if 1.5 is available on the cloud archive yet06:50
jtvSome of this stuff gets easier in 1.5: the UI will show the output from commissioning steps.06:50
bigjoolscobradevil: the block-poweroff is more of a wait-60-seconds-then-poweroff06:51
cobradevilbigjools: thanx for that. i can use the cloud-next with maas 1.506:52
bigjoolsnot sure if it works yet06:52
bigjoolsthey had backport problems06:53
bigjoolsjtv: so, how are we going to identify a cluster interface now?06:53
bigjoolsit might mean we have to use network details06:53
jtvExactly.  And using network addresses is going to be a pain.06:53
bigjoolsyep06:54
bigjoolsI am asking this precise question on the mailing list, feel free to follow up06:55
bigjoolssending in a few minutes06:55
jtvWe could invent our own syntax (yuck), accept that pain (ouch), or go with a surrogate key (eww)06:55
bigjoolsthere is no good solution :)06:56
bigjoolswe could implement all of them and let the user decide06:56
bigjoolsapi user, I mean06:56
bigjoolsjtv: ok email sent07:03
=== jfarschman is now known as MilesDenver
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
bigjoolsjtv: did you see it yet?08:02
jtvNope.  Different traceback.08:03
bigjoolsjtv: the email!08:03
jtvYes, saw it.  Got a follow-up in the works.08:03
bigjoolscool08:03
rvbajtv: any comments about https://code.launchpad.net/~rvb/maas/rev-zone-generation-ipv6/+merge/224316 ?08:05
jtvGive me a minute!08:05
jtvOr several.  Can I have several?08:06
bigjoolsjtv: work faster!08:06
bigjoolswork harder!08:06
jtvIt's not a competition, Julian.08:06
jtv:-P08:06
jtvrvba: it'd be nice to have a bit more explanation inside compose_zone_name about what you're computing and why.08:07
bigjoolsemprise moi08:07
rvbajtv: okay08:11
jtvIs the floating-point math not needed for the IPv6 version of that function?  No nibble splits?08:13
rvbajtv: good question, I'll look into it.08:18
jtvThat's it from me, for that branch.08:19
rvbaOkay, ta.08:20
rvbajtv: actually, the floating-point math is not needed for IPv6, because the reverse name of an IP is of the form: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.1.f.1.0.8.a.b.0.1.0.0.2.ip6.arpa08:27
jtvCould you connect the dots for me?08:28
jtvPretend that I've never worked out a reverse zone name.08:28
jtvJust for argument's sake.08:28
jtvYou don't really have to believe it.08:28
jtvBut it's true.08:28
rvbaheh08:29
rvbaSo, we want to drop the part (in that reverse name) that corresponds to the IP addresses this reverse zone file will be populated with.08:29
jtvRight.08:30
jtvAnd the numbers between the dots in this case (unlike IPv4) are hex digits, right?08:31
rvbaIn IPv6 the reverse name is represented as hexadecimal digits separated by dot.08:31
rvbadots*08:31
rvbaExactly.08:31
rvbaAs a result, there is no need to split hairs/octets as in IPv4.08:32
jtvAnd the floating-point was to compute how many of those digits should be included in the reverse zone name?08:32
rvbaYep.08:32
rvba(I've added a comment about that.)08:32
jtvThat might be worth mentioning in the comments.08:32
jtvAh good.  :)08:32
jtvAre you implying that IPv6 only allows network sizes that are divisible by 4 bits?08:33
jtvOr is it that you're just not stripping off zero digits?08:33
=== CyberJacob is now known as CyberJacob|Away
=== jfarschman is now known as MilesDenver
bigjoolsrvba: did you try your experimental DNS branch with my new static ip code?09:13
rvbabigjools: I merged trunk into my branch yesterday and ran it in the lab.  With success.09:13
bigjools\o/09:14
bigjoolstry again today :)09:14
rvbaokay :)09:16
* bigjools EODs09:17
=== jfarschman is now known as MilesDenver
rvbajtv: you were right, the network size doesn't have to be divisible by 4 (although it seems this case would be a bit uncommon).  I've updated the code and added a test to cope with that.09:36
* jtv chuckles09:45
jtvrvba: it would seem very weird to me, so I wouldn't particularly mind rejecting it in validation — but of course if it's easy to support, why not.09:46
=== jfarschman is now known as MilesDenver
=== roadmr is now known as roadmr_afk
=== wallyworld__ is now known as wallyworld
=== roadmr_afk is now known as roadmr
=== jfarschman is now known as MilesDenver
jtvgmb: thanks for the dhcp notes...  I guess we'll also need separate configs & packaging?12:17
jtvAh, configs is in there of course.12:17
=== jfarschman is now known as MilesDenver
jtvgmb: I fleshed out your notes some more.  Do you see anything wrong or missing?12:41
gmbjtv: Looking...12:52
gmbOr I would be if Google were letting me in.12:53
=== jfarschman is now known as MilesDenver
=== deegee__ is now known as drussell
blake_rjtv: got another spurios failure15:16
blake_rjtv: https://code.launchpad.net/~blake-rouse/maas/opensuse-curtin-support/+merge/22434415:16
AskUbuntuMAAS JUJU cloud-init-nonet waiting for network device | http://askubuntu.com/q/48811416:40
=== CyberJacob|Away is now known as CyberJacob
=== jfarschman is now known as MilesDenver
AskUbuntuMAAS / Juju bootstrap - ubuntu installation stuck at partitioner step | http://askubuntu.com/q/48817020:30
=== matsubara is now known as matsubara-afk
=== vladk is now known as vladk|offline
=== CyberJacob is now known as CyberJacob|Away

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