[03:25] <ThiagoCMC> What should I type at "DNS master zone" in "Edit Cluster Controller"? My domain?
[03:25] <ThiagoCMC> I'm seeing "master" there...
[03:53] <ThiagoCMC> Guys... I'm facing this BUG: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1067929 - What do you guys recommends?
[03:54] <ThiagoCMC> Not fixed for me.
[04:31] <ThiagoCMC> So, the BUG 1067929 want's fixed. How can I use MaaS from Ubuntu 12.10?! Is it working smoothly regardless this problem?!
[04:31] <ThiagoCMC> shut up bot!
[04:31] <ThiagoCMC> :-P
[05:11] <ThiagoCMC> bigjools, can you help me?! I'm facing this BUG: https://launchpad.net/bugs/1067929
[05:11] <ThiagoCMC> That message does not disappear...
[05:12] <ThiagoCMC> Is MaaS working even with that message?
[05:22] <bigjools> ThiagoCMC: there is a workaround for that bug
[05:23] <bigjools> but I see you already saw and decided to change the bug status ...
[05:24] <ThiagoCMC> It 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] <ThiagoCMC> Message is gone...
[05:24] <ThiagoCMC> YAY!
[05:26] <bigjools> how are you getting on otherwise?
[05:26] <ThiagoCMC> I think that, this file must be edited before running imports-pex etc...
[05:27] <ThiagoCMC> Also, under "Cluster Edit", what should I type in "DNS zone name"? Is filled with "master" there... It is my "domain.com", right?
[05:29] <bigjools> editing it any time and restarting the service is enough
[05:29] <ThiagoCMC> Not for me...
[05:29] <ThiagoCMC> :(
[05:29] <bigjools> well something else was going wrong then because I know for a fact what is broken :)
[05:30] <ThiagoCMC> I tried a lot this... wait 5, 10 minutes... nothing... anyway, it is fine now, I think...
[05:30] <ThiagoCMC> no problem...
[05:30] <bigjools> the job only runs every 15 minutes
[05:30] <bigjools> IIRC
[05:30] <ThiagoCMC> :-P
[05:30] <ThiagoCMC> About "DNS zone name", is my domain that I should type there... ?
[05:31] <bigjools> the 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 nodes
[05:31] <ThiagoCMC> ok
[05:31] <ThiagoCMC> tks
[05:31] <bigjools> because juju will look up the exact name
[05:32] <ThiagoCMC> Mmmm...
[05:32] <ThiagoCMC> Nice info!
[05:33] <ThiagoCMC> BTW, launchpad.net must have some kind of "undo", because I accidentally change the "status" of it...  :-/
[05:39] <bigjools-afk> ThiagoCMC: 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:40] <shang> has anyone seen the duplicate mac address error in the 12.04 maas? https://pastebin.canonical.com/76900/
[05:41] <shang> I tried to delete the node in cobbler, but the error still there
[05:41] <ThiagoCMC> bigjools-afk, yep, that is a problem...  Sorry about this mistake...
[05:42] <bigjools-afk> shang: deleting things in cobbler directly will completely hose things as its DB gets out of sync with MAAS's
[05:43] <shang> bigjools-afk: oops
[05:43] <bigjools-afk> shang: also not many people can see paste.canonical.com :)
[05:43] <ThiagoCMC> bigjools-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-afk> ThiagoCMC: yes, there are preseed files you can edit
[05:44] <ThiagoCMC> awesome!
[05:44] <bigjools-afk> I think they are in /usr/share/maas somewhere
[05:44] <ThiagoCMC> okay...
[05:44] <shang> sorry, re-paste: http://pastebin.ubuntu.com/1288574/
[05:44] <bigjools-afk> shang: it's ok I can see it of course :)
[05:44] <shang> bigjools-afk: that's why I am trying to do the same on maas side too
[05:45] <ThiagoCMC> Is there any plans to pre-setup the HD layouts through MaaS Web Interface?
[05:45] <shang> bigjools-afk: yeah, just for the sake of everyone else :)
[05:45] <bigjools> ThiagoCMC: no plans
[05:45] <bigjools> patches welcome, as they say :)
[05:46] <ThiagoCMC> =P
[05:46] <bigjools> shang: 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 now
[05:46] <bigjools> shang: or update to 12.10 :)
[05:46] <ThiagoCMC> Well, if it was manual, I would be happy.
[05:47] <bigjools> cobbler is a dead dodo in 12.10
[05:47] <shang> bigjools: I actually just done that. maas flush, delete all the nodes from cobbler system list
[05:47] <shang> bigjools: do you recommend the newer version of the maas?
[05:47] <bigjools> shang: what does cobbler's log say?
[05:47] <ThiagoCMC> After much work, I'm afraid that I'll not be able to use MaaS because of this lack of "manual" node disk partition...   =(
[05:48] <bigjools> shang: hell yes, it's a lot better
[05:48] <ThiagoCMC> Anyway, I'll look for the presseds before quit
[05:48] <bigjools> shang: we're in the middle of backporting some of the 12.10 stuff to a 12.04 PPA so it will also be without cobbler
[05:48] <bigjools> ThiagoCMC: you can certainly edit partitions via the preseed
[05:48] <ThiagoCMC> ok
[05:49] <shang> bigjools: nice!
[05:49] <shang> bigjools: any ETA ? :)
[05:49] <ThiagoCMC> I know that, but I prefer manual because I already know how to do that...  ehhehe
[05:49]  * shang cannot wait
[05:49] <bigjools> ThiagoCMC: look for a preseed_master file
[05:49] <ThiagoCMC> ok
[05:49] <bigjools> shang: hope to get it done in a month or less
[05:50] <ThiagoCMC> BTW, I really appreciate your help!
[05:50] <bigjools> shang: uds will interfere :)
[05:50] <bigjools> ThiagoCMC: my pleasure
[05:50] <shang> bigjools: right.
[05:51] <shang> bigjools: any other way that we can sync both system? cobbler log didn't say much: http://pastebin.ubuntu.com/1288589/
[05:52] <shang> bigjools: with the newer maas, is there going to be an easier way to track done which node is which?
[05:52] <bigjools> shang: 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 log
[05:52] <bigjools> shang: why is it hard now?
[05:54] <shang> it is node+<random string> afterwards
[05:55] <shang> bigjools: or maybe I miss something?
[05:56] <bigjools> shang: 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:59] <shang> bigjools: 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 tho
[06:14] <ThiagoCMC> Can 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:27] <bigjools-afk> ThiagoCMC: yes
[06:27] <ThiagoCMC> OK
[06:28] <bigjools-afk> shang: 12.10 maas uses macs, and you can also rename the nodes if you want
[06:32] <shang> bigjools: ok
[07:00] <ThiagoCMC> Huston, we have a problem!
[07:02] <ThiagoCMC> http://pastebin.com/E5G5rtN3 <- maas.maasserver #...# Exception: No user data available for this node.
[07:05] <ThiagoCMC> another 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:06] <ThiagoCMC> and my arp table says 192.168.50.1 too... for that MAC...
[07:06] <ThiagoCMC> So, MaaS is not ready for production... right?! On every step, I saw errors and bugs...    =(
[07:07] <ThiagoCMC> I would LOVE to use this but... I'm feeling now, after a week of work, that it is not ready yet...   snif...
[07:08] <jtv> ThiagoCMC: did you enable dhcp management (and install maas-dhcp)?
[07:08] <ThiagoCMC> of course...
[07:08] <ThiagoCMC> and maas-dns
[07:09] <ThiagoCMC> Something is wrong.
[07:09] <bigjools> ThiagoCMC: the host name gets set only once
[07:09] <bigjools> if the IP changes then the host name does not change
[07:09] <ThiagoCMC> But what changes it?
[07:09] <bigjools> this release of maas is production ready
[07:10] <ThiagoCMC> I wans't me.
[07:10] <bigjools> DHCP
[07:10] <bigjools> the hostname is irrelevant in a cloud environment, really
[07:11] <jtv> But we do need dhcp.  We fish the IP address out of the dhcp leases file.
[07:11] <jtv> It's not simply two machines, one with the ".1" address and the other with ".2"?
[07:12] <ThiagoCMC> When I ping the FQDN that I'm seeing at MaaS interface, it does not respond.
[07:12] <ThiagoCMC> It is wrong...
[07:12] <ThiagoCMC> =(
[07:12] <bigjools> hang on
[07:12] <bigjools> what does it resolv to?
[07:12] <bigjools> reso;lve
[07:12] <bigjools> bah
[07:13] <ThiagoCMC> 192-168-50-2.teste.com resolv to: 192.168.50.2.
[07:13] <ThiagoCMC> But the IP is .1 now...
[07:13] <ThiagoCMC> after installation...
[07:14] <ThiagoCMC> I'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:16] <ThiagoCMC> I 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] <jtv> Yes, but it's all one-way from the DHCP code to the DNS code.
[07:17] <jtv> That's also why you can enable DHCP management without DNS management, but not the other way around.
[07:17] <ThiagoCMC> Sounds logic...
[07:17] <ThiagoCMC> Anyway, it is wrong now.
[07:17] <ThiagoCMC> hehehhe
[07:17] <ThiagoCMC> :-P
[07:17] <jtv> So... it's the same MAC address that was first 192.168.50.1 and later 192.168.50.2?
[07:18] <jtv> The code should deal just fine with 2 IP addresses pointing to the same MAC, actually.
[07:18] <ThiagoCMC> ok...
[07:18] <ThiagoCMC> Well...
[07:18] <ThiagoCMC> I'll start from scratch again...
[07:19] <ThiagoCMC> One node at a time...
[07:19] <jtv> Baby steps...  Good idea.
[07:20] <bigjools> ThiagoCMC: check the /var/lib/maas/dhcp/dhcpd.leases
[07:20] <bigjools> and verify that the MACs for your nodes match up with what you think the IP is
[07:21] <ThiagoCMC> 1 sec...
[07:21] <bigjools> MAAS keeps track of that file to see what the IPs are
[07:22] <jtv> It may also be worthwhile for us to have a look at the current sections in the leases file that pertain to this host.
[07:23] <jtv> Unexpected syntax, unexpected time, that sort of thing.
[07:25] <jtv> ThiagoCMC: 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:27] <bigjools> they are utc
[07:27] <jtv> *If* things are set up right, and we know something isn't right.  :)
[07:28] <jtv> Oh, I see now -- I was referring to my uncertainty w.r.t. Thiago's timezone
[07:32] <jtv> I'm going to try and fix up a system problem now.  Should be back in a few minutes.
[07:33] <ThiagoCMC> BTW, my second node 192-168-50-4.teste.com has the IP 192.168.1.3... lol
[07:33] <ThiagoCMC> let me check my leases...
[07:37] <ThiagoCMC> My MAC address (of .2 which is in fact .1), appear more than 1 time within it...
[07:39] <ThiagoCMC> look: http://pastebin.com/8RYjGe5D
[07:40] <bigjools> ThiagoCMC: it's normal for them to appear multiple times
[07:40] <ThiagoCMC> ok
[07:40] <ThiagoCMC> no problem with that...
[07:41] <ThiagoCMC> bigjools, have you read my pastebin?
[07:41] <ThiagoCMC> 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:43] <bigjools-afk> ThiagoCMC: did you get my last message? "that's the only one maas reconciled with a known node"
[07:43] <bigjools-afk> I'm on a very flaky 3g connection
[07:43] <ThiagoCMC> =)
[07:44] <ThiagoCMC> bigjools, 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] <ThiagoCMC> sorry, don't know if you receive it too...
 you'll notice the host block
 maas sets that up to force the same IP on future leases
 so your 52:54:00:cd:6b:a2 is the .1
 that's the only one maas reconciled with a known node
[07:44] <bigjools-afk> I saw the paste
[07:46] <bigjools-afk> I 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-afk> very strange
[07:47] <bigjools-afk> I've never seen this behaviour before and I've enlisted stuff a LOT
[07:52] <ThiagoCMC> You don't know my friend... I am the Master of the Bugs!! ahhaha
[07:57] <dimitern> allenap: hey I pushed a fix for the failing test, can you have a look pls?
[07:58] <bigjools-afk> ThiagoCMC: well let us know how you get on with starting from scratch.  Can you join and email maas-devel@lists.launchpad.net
[07:58] <ThiagoCMC> I pull milk from stone ... lol
[07:58] <ThiagoCMC> bigjools-afk, yes!
[07:58] <bigjools-afk> I have to go shortly
[07:58] <ThiagoCMC> I'll join there...
[07:58] <ThiagoCMC> I'm staring again now... I'll let you know...
[07:58] <ThiagoCMC> Tks again bro!
[07:58] <bigjools-afk> great
[07:58] <bigjools-afk> no problem - out of interest, where are you based?
[07:59] <ThiagoCMC> Sao Paulo, Brazil...
[07:59] <ThiagoCMC> I'm building a public cloud provider...
[07:59] <bigjools-afk> nice
[07:59] <bigjools-afk> I know someone else there :)
[08:00] <ThiagoCMC> Cool!
[08:00] <bigjools-afk> you're either up very late or very early!
[08:00] <ThiagoCMC> hehehe
[08:00] <ThiagoCMC> It is 5 AM here...
[08:00] <ThiagoCMC> Can't sleep...
[08:00] <bigjools-afk> !
[08:00] <bigjools-afk> ThiagoCMC: well I'd love to help you more - let us know how you get on on the list
[08:00] <ThiagoCMC> Also, sorry about my english... It is hard to me to understand you guys sometimes...
[08:01] <ThiagoCMC> ok
[08:01] <bigjools-afk> not a problem, I am very used to Portuglish :)
[08:01] <ThiagoCMC> ihhihihihi
[08:01] <ThiagoCMC> ^^
[08:33] <jtv> dimitern: https://plus.google.com/hangouts/_/fc64b594dda8f0525e45e08072fe34ceaa325cc0?hcb=2&hii=113299378710739086834&hit=1350635423981&htp=0&hmv=0
[12:06] <rvba> allenap: care to review that branch? https://code.launchpad.net/~rvb/maas/bulk-load/+merge/130535
[12:53] <allenap> rvba: Yes indeed!