/srv/irclogs.ubuntu.com/2012/10/19/#maas.txt

=== matsubara is now known as matsubara-afk
ThiagoCMCWhat should I type at "DNS master zone" in "Edit Cluster Controller"? My domain?03:25
ThiagoCMCI'm seeing "master" there...03:25
ThiagoCMCGuys... I'm facing this BUG: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1067929 - What do you guys recommends?03:53
ubot5Ubuntu bug 1067929 in maas (Ubuntu) "maas-region-celeryd connects to the wrong queue." [Critical,Fix committed]03:53
ThiagoCMCNot fixed for me.03:54
ThiagoCMCSo, the BUG 1067929 want's fixed. How can I use MaaS from Ubuntu 12.10?! Is it working smoothly regardless this problem?!04:31
ubot5Launchpad bug 1067929 in maas (Ubuntu) "maas-region-celeryd connects to the wrong queue." [Critical,Fix committed] https://launchpad.net/bugs/106792904:31
ThiagoCMCshut up bot!04:31
ThiagoCMC:-P04:31
ThiagoCMCbigjools, can you help me?! I'm facing this BUG: https://launchpad.net/bugs/106792905:11
ubot5Ubuntu bug 1067929 in maas (Ubuntu) "maas-region-celeryd connects to the wrong queue." [Critical,Fix committed]05:11
ThiagoCMCThat message does not disappear...05:11
ThiagoCMCIs MaaS working even with that message?05:12
bigjoolsThiagoCMC: there is a workaround for that bug05:22
bigjoolsbut I see you already saw and decided to change the bug status ...05:23
ThiagoCMCIt works! I edited that file right after Ubuntu finish the installation, by entering under /target/usr/sbin and editing it before first reboot.05:24
ThiagoCMCMessage is gone...05:24
ThiagoCMCYAY!05:24
bigjoolshow are you getting on otherwise?05:26
ThiagoCMCI think that, this file must be edited before running imports-pex etc...05:26
ThiagoCMCAlso, under "Cluster Edit", what should I type in "DNS zone name"? Is filled with "master" there... It is my "domain.com", right?05:27
bigjoolsediting it any time and restarting the service is enough05:29
ThiagoCMCNot for me...05:29
ThiagoCMC:(05:29
bigjoolswell something else was going wrong then because I know for a fact what is broken :)05:29
ThiagoCMCI tried a lot this... wait 5, 10 minutes... nothing... anyway, it is fine now, I think...05:30
ThiagoCMCno problem...05:30
bigjoolsthe job only runs every 15 minutes05:30
bigjoolsIIRC05:30
ThiagoCMC:-P05:30
ThiagoCMCAbout "DNS zone name", is my domain that I should type there... ?05:30
bigjoolsthe zone name can be anything you like - if you are managing DNS with MAAS then set it to a zone name you want to use locally, otherwise set it to an another zone which is able to provide hostnames for your nodes05:31
ThiagoCMCok05:31
ThiagoCMCtks05:31
bigjoolsbecause juju will look up the exact name05:31
ThiagoCMCMmmm...05:32
ThiagoCMCNice info!05:32
ThiagoCMCBTW, launchpad.net must have some kind of "undo", because I accidentally change the "status" of it...  :-/05:33
bigjools-afkThiagoCMC: ubuntu's policy is to stop that happening so people can't re-open bug.  the problem is that it lets anyone mark it fixed :(05:39
shanghas anyone seen the duplicate mac address error in the 12.04 maas? https://pastebin.canonical.com/76900/05:40
shangI tried to delete the node in cobbler, but the error still there05:41
ThiagoCMCbigjools-afk, yep, that is a problem...  Sorry about this mistake...05:41
bigjools-afkshang: deleting things in cobbler directly will completely hose things as its DB gets out of sync with MAAS's05:42
shangbigjools-afk: oops05:43
bigjools-afkshang: also not many people can see paste.canonical.com :)05:43
ThiagoCMCbigjools-afk, is it possible/easy to use my own preseed?! I need my nodes with RAID+LVM but, MaaS just do the "Guided Partitioning" without asking...   :-/05:43
bigjools-afkThiagoCMC: yes, there are preseed files you can edit05:43
ThiagoCMCawesome!05:44
bigjools-afkI think they are in /usr/share/maas somewhere05:44
ThiagoCMCokay...05:44
shangsorry, re-paste: http://pastebin.ubuntu.com/1288574/05:44
bigjools-afkshang: it's ok I can see it of course :)05:44
shangbigjools-afk: that's why I am trying to do the same on maas side too05:44
=== bigjools-afk is now known as bigjools
ThiagoCMCIs there any plans to pre-setup the HD layouts through MaaS Web Interface?05:45
shangbigjools-afk: yeah, just for the sake of everyone else :)05:45
bigjoolsThiagoCMC: no plans05:45
bigjoolspatches welcome, as they say :)05:45
ThiagoCMC=P05:46
bigjoolsshang: ummm your best bet is to delete all the data in both cobbler and maas. you'll need to use the shell interface to do it in maas as the web ui will complain every time now05:46
bigjoolsshang: or update to 12.10 :)05:46
ThiagoCMCWell, if it was manual, I would be happy.05:46
bigjoolscobbler is a dead dodo in 12.1005:47
shangbigjools: I actually just done that. maas flush, delete all the nodes from cobbler system list05:47
shangbigjools: do you recommend the newer version of the maas?05:47
bigjoolsshang: what does cobbler's log say?05:47
ThiagoCMCAfter much work, I'm afraid that I'll not be able to use MaaS because of this lack of "manual" node disk partition...   =(05:47
bigjoolsshang: hell yes, it's a lot better05:48
ThiagoCMCAnyway, I'll look for the presseds before quit05:48
bigjoolsshang: we're in the middle of backporting some of the 12.10 stuff to a 12.04 PPA so it will also be without cobbler05:48
bigjoolsThiagoCMC: you can certainly edit partitions via the preseed05:48
ThiagoCMCok05:48
shangbigjools: nice!05:49
shangbigjools: any ETA ? :)05:49
ThiagoCMCI know that, but I prefer manual because I already know how to do that...  ehhehe05:49
* shang cannot wait05:49
bigjoolsThiagoCMC: look for a preseed_master file05:49
ThiagoCMCok05:49
bigjoolsshang: hope to get it done in a month or less05:49
ThiagoCMCBTW, I really appreciate your help!05:50
bigjoolsshang: uds will interfere :)05:50
bigjoolsThiagoCMC: my pleasure05:50
shangbigjools: right.05:50
shangbigjools: any other way that we can sync both system? cobbler log didn't say much: http://pastebin.ubuntu.com/1288589/05:51
shangbigjools: with the newer maas, is there going to be an easier way to track done which node is which?05:52
bigjoolsshang: when you try to delete and get the maas stack track about the "uknown cobbler error" there should be a corresponding error in the cobbler log05:52
bigjoolsshang: why is it hard now?05:52
shangit is node+<random string> afterwards05:54
shangbigjools: or maybe I miss something?05:55
bigjoolsshang: ah ok - it will be based on MAC unless we also know the IP in which case it will be like an IP but with - instead of .05:56
shangbigjools: I always get the string like: node-595f0016-199d-11e2-98c5-525400c570c8, I can;t really tell where the mac or the ip sits in the string tho05:59
ThiagoCMCCan I ignore this: /var/log/apache2/error.log: [alert] (2)No such file or directory: mod_wsgi (pid=1428): Unable to change working directory to '/home/maas'. ?06:14
bigjools-afkThiagoCMC: yes06:27
ThiagoCMCOK06:27
bigjools-afkshang: 12.10 maas uses macs, and you can also rename the nodes if you want06:28
=== bigjools-afk is now known as bigjools
shangbigjools: ok06:32
ThiagoCMCHuston, we have a problem!07:00
ThiagoCMChttp://pastebin.com/E5G5rtN3 <- maas.maasserver #...# Exception: No user data available for this node.07:02
ThiagoCMCanother problem... At the MaaS interface, I'm seeing: 192-168-50-2.teste.com but, the IP allocated to it is NOT 192.168.50.2, is 192.168.50.1, according to dhcp log.07:05
ThiagoCMCand my arp table says 192.168.50.1 too... for that MAC...07:06
ThiagoCMCSo, MaaS is not ready for production... right?! On every step, I saw errors and bugs...    =(07:06
ThiagoCMCI would LOVE to use this but... I'm feeling now, after a week of work, that it is not ready yet...   snif...07:07
jtvThiagoCMC: did you enable dhcp management (and install maas-dhcp)?07:08
ThiagoCMCof course...07:08
ThiagoCMCand maas-dns07:08
ThiagoCMCSomething is wrong.07:09
bigjoolsThiagoCMC: the host name gets set only once07:09
bigjoolsif the IP changes then the host name does not change07:09
ThiagoCMCBut what changes it?07:09
bigjoolsthis release of maas is production ready07:09
ThiagoCMCI wans't me.07:10
bigjoolsDHCP07:10
bigjoolsthe hostname is irrelevant in a cloud environment, really07:10
jtvBut we do need dhcp.  We fish the IP address out of the dhcp leases file.07:11
jtvIt's not simply two machines, one with the ".1" address and the other with ".2"?07:11
ThiagoCMCWhen I ping the FQDN that I'm seeing at MaaS interface, it does not respond.07:12
ThiagoCMCIt is wrong...07:12
ThiagoCMC=(07:12
bigjoolshang on07:12
bigjoolswhat does it resolv to?07:12
bigjoolsreso;lve07:12
bigjoolsbah07:12
ThiagoCMC192-168-50-2.teste.com resolv to: 192.168.50.2.07:13
ThiagoCMCBut the IP is .1 now...07:13
ThiagoCMCafter installation...07:13
ThiagoCMCI'm trying to install two nodes at the same time... I'll format my MaaS again... And to one node at a time... All from scratch...07:14
ThiagoCMCI think that MaaS with DHCP and DNS management enabled, must have some kind of "glue" between DHCP and DNS... Don't you think?!07:16
jtvYes, but it's all one-way from the DHCP code to the DNS code.07:16
jtvThat's also why you can enable DHCP management without DNS management, but not the other way around.07:17
ThiagoCMCSounds logic...07:17
ThiagoCMCAnyway, it is wrong now.07:17
ThiagoCMChehehhe07:17
ThiagoCMC:-P07:17
jtvSo... it's the same MAC address that was first 192.168.50.1 and later 192.168.50.2?07:17
jtvThe code should deal just fine with 2 IP addresses pointing to the same MAC, actually.07:18
ThiagoCMCok...07:18
ThiagoCMCWell...07:18
ThiagoCMCI'll start from scratch again...07:18
ThiagoCMCOne node at a time...07:19
jtvBaby steps...  Good idea.07:19
bigjoolsThiagoCMC: check the /var/lib/maas/dhcp/dhcpd.leases07:20
bigjoolsand verify that the MACs for your nodes match up with what you think the IP is07:20
ThiagoCMC1 sec...07:21
bigjoolsMAAS keeps track of that file to see what the IPs are07:21
jtvIt may also be worthwhile for us to have a look at the current sections in the leases file that pertain to this host.07:22
jtvUnexpected syntax, unexpected time, that sort of thing.07:23
jtvThiagoCMC: don't be surprised if the start/end times on the dhcp lease are weird -- they should be in UTC and I believe your timezone is far removed from UTC.07:25
jtv(Faint memory, so don't freak out if I got that wrong :)07:25
bigjoolsthey are utc07:27
jtv*If* things are set up right, and we know something isn't right.  :)07:27
jtvOh, I see now -- I was referring to my uncertainty w.r.t. Thiago's timezone07:28
jtvI'm going to try and fix up a system problem now.  Should be back in a few minutes.07:32
ThiagoCMCBTW, my second node 192-168-50-4.teste.com has the IP 192.168.1.3... lol07:33
ThiagoCMClet me check my leases...07:33
ThiagoCMCMy MAC address (of .2 which is in fact .1), appear more than 1 time within it...07:37
ThiagoCMClook: http://pastebin.com/8RYjGe5D07:39
bigjoolsThiagoCMC: it's normal for them to appear multiple times07:40
ThiagoCMCok07:40
ThiagoCMCno problem with that...07:40
ThiagoCMCbigjools, have you read my pastebin?07:41
ThiagoCMCYou saw there?! It start with .1... becomes .2 (and registered at DNS as .2)... and in the end of the day, if was fixed in DHCP as .1.07:41
bigjools-afkThiagoCMC: did you get my last message? "that's the only one maas reconciled with a known node"07:43
bigjools-afkI'm on a very flaky 3g connection07:43
ThiagoCMC=)07:43
ThiagoCMCbigjools, have you read my pastebin? You saw there?! It start with .1... becomes .2 (and registered at DNS as .2)... and in the end of the day, if was fixed in DHCP as .1.07:44
ThiagoCMCsorry, don't know if you receive it too...07:44
bigjools-afk<bigjools> you'll notice the host block07:44
bigjools-afk<bigjools> maas sets that up to force the same IP on future leases07:44
bigjools-afk<bigjools> so your 52:54:00:cd:6b:a2 is the .107:44
bigjools-afk<bigjools> that's the only one maas reconciled with a known node07:44
bigjools-afkI saw the paste07:44
bigjools-afkI see the .2 for some of the leases - I wonder wtf DHCPD is doing allocating a new IP when there's an existing lease ...07:46
bigjools-afkvery strange07:46
bigjools-afkI've never seen this behaviour before and I've enlisted stuff a LOT07:47
ThiagoCMCYou don't know my friend... I am the Master of the Bugs!! ahhaha07:52
dimiternallenap: hey I pushed a fix for the failing test, can you have a look pls?07:57
bigjools-afkThiagoCMC: well let us know how you get on with starting from scratch.  Can you join and email maas-devel@lists.launchpad.net07:58
ThiagoCMCI pull milk from stone ... lol07:58
ThiagoCMCbigjools-afk, yes!07:58
bigjools-afkI have to go shortly07:58
ThiagoCMCI'll join there...07:58
ThiagoCMCI'm staring again now... I'll let you know...07:58
ThiagoCMCTks again bro!07:58
bigjools-afkgreat07:58
bigjools-afkno problem - out of interest, where are you based?07:58
ThiagoCMCSao Paulo, Brazil...07:59
ThiagoCMCI'm building a public cloud provider...07:59
bigjools-afknice07:59
bigjools-afkI know someone else there :)07:59
ThiagoCMCCool!08:00
bigjools-afkyou're either up very late or very early!08:00
ThiagoCMChehehe08:00
ThiagoCMCIt is 5 AM here...08:00
ThiagoCMCCan't sleep...08:00
bigjools-afk!08:00
bigjools-afkThiagoCMC: well I'd love to help you more - let us know how you get on on the list08:00
ThiagoCMCAlso, sorry about my english... It is hard to me to understand you guys sometimes...08:00
ThiagoCMCok08:01
bigjools-afknot a problem, I am very used to Portuglish :)08:01
ThiagoCMCihhihihihi08:01
ThiagoCMC^^08:01
jtvdimitern: https://plus.google.com/hangouts/_/fc64b594dda8f0525e45e08072fe34ceaa325cc0?hcb=2&hii=113299378710739086834&hit=1350635423981&htp=0&hmv=008:33
rvbaallenap: care to review that branch? https://code.launchpad.net/~rvb/maas/bulk-load/+merge/13053512:06
allenaprvba: Yes indeed!12:53
=== frankban_ is now known as frankban
=== fjlacoste is now known as flacoste
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
=== lifeless_ is now known as life
=== life is now known as lifeless

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