/srv/irclogs.ubuntu.com/2013/10/18/#maas.txt

=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== CyberJacob|Away is now known as CyberJacob
darkmantahi everybody, I'm new here, I'd like to pose some questions about maas. how to do it?07:11
bigjoolsask away07:12
darkmantathank you. I'm trying MAAS on Virtualbox virtual machines. One of the problems I have met is that ALL ephemeral .tgz look crc-corrupted. I've tried to download the images through maas service and wget but the result is always the same07:14
bigjoolsdarkmanta: is this the latest maas in saucy by any chance?07:15
bigjoolshttps://bugs.launchpad.net/maas/+bug/124065207:17
ubot5Ubuntu bug 1240652 in simplestreams (Ubuntu T-series) "maas-import-ephemerals crashes with "unexpected checksum 'sha256'" when using a proxy" [High,In progress]07:17
darkmantaI've tried 12.04.3, 12.10, 13.04 versions (desktop and server versions) for the virtual maas server. the result is always the same. can't complete the 'import boot images' procedure from web interface and from maas-import-pxe07:21
bigjoolslog please07:21
darkmantai'm not on the right PC so I can't send the logs. but if anybody tries to download and check the ephemeral image...07:31
bigjoolsdarkmanta: we see this only on saucy - it's the bug above07:38
darkmantaok thank you07:40
darkmantaat the moment I'm unable to try MAAS at all.07:40
darkmantatrying to start a client machine not by PXE but through a ubuntu boot cd, following the MAAS procedure menu, fails again. the procedure ends up with a machine reset.07:44
darkmantabigjools thank you for helping me. do you know a configuration that works well?07:45
darkmantaat the moment it seems I've tried all possible combinations of ubuntu versions, server/desktop included...07:49
darkmantaanybody knows a MAAS configuration that simply works?08:00
rvbadarkmanta: the only configuration with a known blocking problem is 13.10.  And a fix is coming up soon.  If you have problems with another versions, it's not normal, but we need the error log to help you as it's probably related to your particular setup.08:04
gmbrvba, allenap: Can you take another quick look at https://code.launchpad.net/~gmb/maas/fix-stray-newlines-bug-1187851/+merge/191611 please?08:05
gmbNow complete with isatty() goodness.08:06
darkmantarvba: thank you. I've set up a 12.04.03 virtual machine following the procedure at http://maas.ubuntu.com/docs/install.html08:09
darkmantathe problems i've found are: maas-install-pxe-images always fails with 404 file not found08:11
darkmanta2) client PC never receive PXE booting image08:12
darkmanta3) client PC booting by CD procedure always fail with a system reboot after selecting the IP of the MAAS server08:13
rvbaAll of the problems seem related to the import script not running correctly.08:13
rvbaThis smells like bug 1212434 but this bug has been fixed.08:14
ubot5bug 1212434 in MAAS "maas-import-pxe-files breaks on 404" [Critical,Fix released] https://launchpad.net/bugs/121243408:14
rvbaSo I'd like to know which version you're using exactly (apt-cache policy maas) and the error message you're getting when you run the import script.08:15
allenapgmb: You can avoid the buf.seek(0); buf.read() with buf.getvalue().08:15
gmballenap: You remind me of Benji sometimes. And I mean that as a compliment.08:16
allenapgmb: Otherwise, looks grand :)08:16
gmbThanks08:16
allenapgmb: I don't know benji well enough to know :)08:16
darkmantayes, iv'e patched the import script by removing the non-AMD63/non-i386 images downloads so the script continues with ephemeral images. but after the download these images always fail due CRC-error08:16
gmballenap: I learnt more about Python from getting him to review my code than I have anywhere else… Looks like you're a more than worthy successor :)08:17
rvbadarkmanta: CRC error?  That, as far as we know, is only happening on Saucy.08:17
rvbadarkmanta: if you're using Saucy as the host of the MAAS server and seeing a checksum error, then there is a workaround (which is nothing more than that fix that is coming up shortly).08:18
darkmantatry to download the ephemeral images by wget... you can't expand it because of crc-error08:18
rvbaI just downloaded all the images on a test system and all went fine.08:19
rvbadarkmanta: can you confirm you're seeing the error described on bug 1240652 ?08:20
ubot5bug 1240652 in simplestreams (Ubuntu T-series) "maas-import-ephemerals crashes with "unexpected checksum 'sha256'" when using a proxy" [High,In progress] https://launchpad.net/bugs/124065208:20
darkmantathe problem i have found seems different. anyway i see there is a patch committed 12 hours ago. I will try again to see if it's reproducible08:23
rvbadarkmanta: I just added a comment on that bug.  It shows how to apply the fix manually if you don't want to wait for the package to be published :).08:24
darkmantarvba: thank you so much08:26
rvbaWelcome.08:26
baffleHi, does MAAS acutally support defining multiple DHCP ranges on one controller that are not directly connected? I.e. so that I can PXE boot servers on different L2 networks, that have an L3 router with dhcp/tftp/etc proxying?09:25
rbasakI think that could be made to work. I assume that you'd make everything route right on the MAAS server(s), and provided that you proxy everything, what support would MAAS need for that? Everything would be transparent to it, right?09:27
bafflerbasak: Yes, everything would be transparent. I have this running using TheForeman right now, and have various manual setups earlier.09:29
bafflerbasak: The only "obstacle" is that MAAS requires an interface. And also seem to only allow one subnet pr. interface. :)09:29
rbasakWhat makes you say that MAAS only allows one subnet per interface?09:30
bafflerbasak: Guessing. :)09:30
bafflerbasak: It looks like tht from the GUI at least.09:30
bafflerbasak: But I guess I could just be wrong.09:31
rbasakI would expect the MAAS server to be on an L3 network that can route to all the others, and for you to sort that routing out, together with the network configuration on the MAAS server itself.09:31
rbasakSo the MAAS server would have a single IP, and everything would route to that.09:31
rbasakI don't see why the MAAS GUI would need to be any different to normal.09:32
rbasakAlternatively you could have separate region controllers but I'm not familiar with that side of MAAS.09:32
bafflerbasak: Currently in the GUI I need to specify an interface and the IP MAAS should have on this interface.09:32
rbasakI don't understand the details then, sorry. But I don't see it as a big hurdle unless I'm missing something.09:33
bafflerbasak: I think you understand it; Everything network-wise works as it should (dhcp-requests arrive at the IP for the MAAS server) but configuration-wise there doesn't seem to be any way to define subnets without also configuring the interface on the server.09:35
baffleISC DHCP handles stuff perfectly, as long as it has proper configuration. :)09:36
rvbabaffle: you can always config the dhcp server managed by maas manually.09:36
bafflervba: Doesn't MAAS use omapi etc to control dhcp/dns?09:39
rvbabaffle: it does, but this doesn't mean you cannot change the configuration manually.09:39
rvbabaffle: well, you cannot configure it any way we want.  For instance MAAS relies on the dhcp information it has to figure out to which cluster a connecting node belongs.09:40
rvbas/way we want/way you want/09:41
bafflebaffle: Yes, I would assume I would have to add the DHCP scopes into MAAS someway. I just can't really see where. :-/09:41
rvbaRight, I think you've hit something that MAAS does not currently support.09:42
baffleI kindof assumed this would be a quite normal usecase, to be honest. :-) Is everyone using a dedicated cluster controller for every subnet/rack of servers?09:42
rvbaYeah, that's the current recommended way to do this.  But we have plans to extend this.09:43
bafflervba: Hmm, should be fairly straight forward...09:45
rvbaYes indeed.09:45
baffleInstead of having an "Interfaces" section under "CLuster Controller" it should just say "Networks". And the "interface" part of a network definition (I.e. wich physical network interface + IP address to configure (should be network address if no interface "selected")) should be optional. And it would be nice to have an option to override the "DNS zone name" pr. Network, instead of having one master zone.09:49
baffleWould also be nice to actually query/browse the current leases on DHCP as well. :)09:49
rvbabaffle: true… could you please put that in a bug?09:50
baffleActually, an "advanced" field where you can specify extra options for the dhcp-scope would be nice too.. :)09:51
baffleSure.09:51
rvbaTa.09:51
bafflehttps://bugs.launchpad.net/maas/+bug/124147310:05
ubot5Ubuntu bug 1241473 in MAAS "Support non-local DHCP scopes" [Undecided,New]10:05
baffleDoes this seem OK?10:05
baffleHmm. I'm a bit at a loss now, I guess I'll just jump on Cobbler instead for now.. I use TheForeman currently, but it is also a bit lacking and has tight Puppet integration. Razor seems to be in a state of flux, so that probably can't be used as well. Ideas?10:08
baffleHmm, why does maas use pxelinux instead of ipxe? Is there compatability issues?10:12
baffleFor previous setups, I've always loved how ipxe supports things like http:// and variables... I.e. having it chainloading deployment configuration from something like http://deployserver.com/deploy?mac=$mac is always nice. :)10:14
rbasakARM compatibility with ipxe would be harder, but I don't think that's the reason since pxelinux was used before then.10:19
bafflerbasak: That's true. I see there is no ARM port for iPXE yet.10:28
baffleSo I guess the current model is to dynamically create pxelinux.0/<macaddress> files?10:29
rbasakRight10:54
=== freeflying_away is now known as freeflying
=== Spideyman is now known as Spideyman_afk
=== Spideyman_afk is now known as Spideyman
=== freeflying is now known as freeflying_away
=== Spideyman is now known as Spideyman_afk
=== Spideyman_afk is now known as Spideyman
=== Spideyman is now known as Spideyman_afk
=== Spideyman_afk is now known as Spideyman
=== Spideyman is now known as Spideyman_afk
=== Spideyman_afk is now known as Spideyman
=== Spideyman is now known as Spideyman_afk
=== Spideyman_afk is now known as Spideyman
=== cmagina_ is now known as cmagina
Nik_marcoceppi: remember when I was saying that LSHW was out of sync with maas so tags wouldn't apply... I found out why - We added disks to the machines and the machines needed to be recommissioned so that lshw output would be picked up for purposes of tagging.20:28
Nik_This could technically be a bug or an enhancement that can be submitted. Not sure how to check...20:29
Nik_http://askubuntu.com/questions/353814/maas-out-of-sync-with-lshw ^20:29
fizzi_Hi all20:37
fizzi_a question ...20:37
fizzi_is possible to install maas + nodes on vmware esx 4/5 ?20:37
Nik_Not an expert, but I don't see why not20:39
Nik_I think there's only a technicality regarding pxe booting a VM20:40
Nik_so I see why there may be issues20:40
fizzi_the pxe works fine20:40
fizzi_but when i start machine from maas20:40
Nik_Maas assumes IPMI also20:40
fizzi_the machine dont start20:41
Nik_for bare metal20:41
Nik_Yeah, it uses IPMI to boot up metal20:41
Nik_Hmm I guess I dunno20:41
marcoceppiNik_: fizzi_ there is "vMAAS" (Virtual MAAS) that might help20:44
marcoceppiNik_: thanks for the information, probably an enhancement, but open a bug against maas anyways20:44

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