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

=== matsubara-dinner is now known as matsubara
ThiagoCMCGuys, the MaaS server really needs two ethernet interfaces?! Even if it is not the default gateway of the nodes?!03:57
bigjoolswhy do you think it needs two interfaces?04:00
ThiagoCMCWeel, I think I misunderstood this: https://help.ubuntu.com/community/UbuntuCloudInfrastructure -> "...has all nodes with two network interfaces..."... Sorry for the buzz...04:02
* bigjools reads04:02
bigjoolshuh, I don't know why it says that, I run it with one interface on my server/nodes04:03
ThiagoCMCDamn... I'm trouble to find a good network topology for MaaS -> Juju -> OpenStack... I'll try it again...04:05
ThiagoCMCBTW, I also liked this: http://people.canonical.com/~gavin/docs/lp%3Amaas/orientation.html#setup04:05
ThiagoCMCKISS04:05
ThiagoCMClol04:05
ThiagoCMCAll my nodes have two gigabit eth...04:05
ThiagoCMCI'm thinking about enabling the BOND interfaces before deploying my MaaS nodes on top of it (BOND)... What do you think?! My network will be very busy when in production...04:07
bigjoolsI fixed the wiki04:07
* bigjools has to run, back later04:07
ThiagoCMCAwesome!   :-D04:08
ThiagoCMCWhat the "Ready" status after commissioning means?! I think that "Ready" means "ready to use" but, it is the beginning of the Installation process... Is that normal?05:00
ThiagoCMCAlso, how can I manually edit my node's harddisks partitions?! The MaaS node installation just do "guided partiutioning" but I do not like it. Any tips?05:01
ThiagoCMCNow my newest node is "allocated to root" but, still installing...05:04
ThiagoCMCWhen I click "start node", MaaS starts the node automated-installation...    Have no idea if this is right...05:05
ThiagoCMCI'll start from scratch again... Damn...     =(05:05
ThiagoCMCThis is hard...05:05
bigjoolsThiagoCMC: Ready means "in the pool of commissioned nodes and ready for users to allocate and deploy"05:09
bigjoolsThiagoCMC: generally, you want to use juju with maas05:10
bigjoolsmakes life much easier05:10
ThiagoCMCMmm... Okay... Gotcha!05:13
ThiagoCMCAnd about node's harddisk partitioning? I want to do it manually.05:13
ThiagoCMCIs that possible?05:13
ThiagoCMCOr Juju/OpenStack expect it (HD partitions) the way MaaS deploy it? I'm familiarized with nodes that have: two HDs -> raid1 -> LVM -> lv_swap / lv_root / lv_vps1_disk0 / lv_etc...05:16
ThiagoCMCWhere can I find the IP of my fresh MaaS node?05:52
ThiagoCMCI'm using managed DHCP/DNS and using my MaaS DNS server to resolve but, it does not resolve by names...  :-/05:53
ThiagoCMCSo, there is only one way to figure out the IP of my node: "grep -i MAC /var/log/syslog"  ???07:02
ThiagoCMCon maas server?07:02
melmoth ThiagoCMC what about /var/lib/misc/dnsmasq.leases ?07:14
ThiagoCMCI'm using Ubuntu 12.10... There is no dnsmasq installed...07:17
ThiagoCMCAlso, this isn't a expected solution, right?!07:18
ThiagoCMCSeems more or less like a "workaround"... I would like to know the IP of a node by MaaS CLI or GUI interfaces... Not this...    =(07:19
melmothi havent used 12.10 nor do i know if there s a more convenient way.07:28
melmothhmmm, what about juju status ? It should list all the machine and their names07:28
melmothat least it does on 12.0407:28
ThiagoCMCI still do not have touched Juju...07:32
ThiagoCMCI'm learning about MaaS first...07:32
ThiagoCMCBut tks! I'll take a look into it now...07:33
ThiagoCMCThe point is, somebody told me that MaaS can be used without Juju, so, I'm trying it...07:33
ThiagoCMCAlso07:33
ThiagoCMCDid you know if it is possible to add a already installed Ubuntu Server 12.04 within MaaS (not installing "through" it)?!07:34
melmothhmm, i think you need juju to deploy nodes. (at least i never did deployment in another way with maas)07:42
melmothyou can add a node manually if you know its ip, but i do not know how to have it in ready state without letting maas reinstall stuff on it from scratch07:42
melmothwhen i added node manually, they ended up in enlisted state i think, so i still had to comission them (wich involve booting and installing stuff on the box)07:43
ThiagoCMCMmm... Okay! Thanks for the info...07:44
ThiagoCMCI'm a bit concerned about MaaS HD partitions and RAID1... It just do guided-partitioning... Which sucks...07:45
dimiternhey, guys, I'm getting this error after restarting a make run session: setlock: fatal: unable to lock /run/lock/maas.dev.database: temporary failure08:20
dimiternany idea?08:20
dimiternI just deleted all /run/lock/maas* files and it works now..08:23
jamdimitern: that has been my experience. I filed a bug on it, which had the comments 'the locks should go away on reboot', but that has been broken in my experience.08:34
jamallenap: bug #106666808:50
ubot5Launchpad bug 1066668 in MAAS "No indication if cluster controller is failing to connect" [High,Triaged] https://launchpad.net/bugs/106666808:50
allenapjam: Ta!08:50
rvbarbasak: here is what juju status gives me: http://paste.ubuntu.com/1283078/08:56
rvbarbasak: I'm interested in what you have instead of dns-name: 192-168-10-10.master08:57
rbasakrvba: I'm just bootstrapping a node now08:58
rbasakrvba: will be about 20 minutes08:58
rvbaOk, thanks.08:58
=== jtv1 is now known as jtv
rbasakrvba: http://paste.ubuntu.com/1284658/09:14
rbasakrvba: something must be fundamentally different with the way I'm doing it09:15
rvbarbasak: you;re not using MAAS' DNS service.09:15
rbasakrvba: I'm installing the maas package only (and juju), and have an external dhcp server09:15
rbasakthat'll be it09:15
rvbaThanks for checking rbasak.09:15
mgzfun, `rm -rf db; make sampledata` -> http://pastebin.ubuntu.com/1284868/11:51
mgzthat did not happen earlier today11:54
mgzrvba: is this a known issue with a workaround?^12:01
rvbamgz: the dev fixture data relies on the fact that the master nodegroup has id 1.  Which should happen when creating the db from scratch.13:22
rvbamgz: wait Problem installing fixture 'src/maasserver/fixtures/dev_fixture.yaml.bz2'13:22
rvbaWhy dev_fixture.yaml.bz2 ?13:22
rvbamgz: are you modifying the dev fixture in that branch?13:22
rvbamgz: I'm getting the same problem on trunk.  I'm investigating.13:39
mgzthanks rvba, confirms it's not just my local setup13:48
rvbamgz: I found the problem.  MP coming up.13:48
rvbamgz: care to review? https://code.launchpad.net/~rvb/maas/fixture-error/+merge/13012013:55
flacosteThiagoCMC: you could customize the partioning by modifying the preseed data14:01
dimiternrvba: I decided to pick up https://bugs.launchpad.net/maas/+bug/102772014:02
ubot5Ubuntu bug 1027720 in MAAS ""maas-nodegroup-worker" is declared in two places" [Low,Triaged]14:02
dimiternrvba: so I just set it to in progress and I can begin?14:02
rvbadimitern: yep14:02
rvbadimitern: that's a good one to get started ;)14:02
dimiternrvba: ok :) I have no idea yet, but I'll dig in and ask if needed14:04
mgzrvba: looking14:04
rvbata14:04
mgzone question, the 'null' behaviour is specified where?14:04
mgzbecause the testing factory.make_node behaviour is different without a nodegroup to what I guess the migration stuff does?14:05
rvbamgz: yeah, as I say on the MP, the ensure_master method will take care of the nodes without a nodegroup.14:06
flacosteevilnick_: another question/task we should document: how do I modify the partioning done by MAAS14:06
flacostesee ThiagoMC questions earlier today in the logs: http://irclogs.ubuntu.com/2012/10/17/%23maas.html14:06
flacosteevilnick_: the answer lies in changing the preseed data, but you'll need to chase one of the server guys to get some actual example configuration changes14:07
flacosteevilnick_: smoser, roaksoax or Daviey would probably be able to answer that14:07
mgzwhen does that happen though?14:08
evilnick_flacoste: ok, thats a great help. I shall check the logs and add it to my list.14:08
mgzbecause if I just make sampledata then look in the db, the nodes don't have a linked nodegroup14:08
rvbamgz: indeed, that happens in src/maasserver/start_up.py14:09
dimiternrvba: src/maasserver/models/nodegroup.py does not contain any reference to maas-nodegroup-worker or I'm missing something..14:10
rvbamgz: maybe we can add a call to ensure_master when make sampledata is run.14:11
rvbadimitern: you're right, this was apparently cleaned up in r853.14:12
dimiternrvba: :) I figured something like that and started looking at the history to confirm it14:13
mgzI think this way is fine, generally sampledata is followed make run or something else for like testing, and that does do the population14:13
rvbamgz: Yes, that was my thought.14:13
mgzrvba: approved.14:15
dimiternrvba: so I commented that and changed the status to Fix Committed14:15
rvbadimitern: cool,  that was a very easy one ;).14:15
rvbadimitern: I changed is to fix released because r853 has been released already.14:16
rvbas/changed is/changed it/14:16
dimiternok cool14:16
dimiternI'm picking up #984117 then14:17
rvbadimitern: that involves JS stuff.  I'd suggest going after 1061870 (which also is High priority)14:18
rvbaBut it's really up to you.14:19
dimiternrvba: after you mean after I do #984117 or instead do #106187014:19
rvbadimitern: I'd suggest doing the API stuff first unless you really like JS :).14:20
dimiternrvba: I actually really like JS :) not used YUI though, mostly jquery14:20
rvbadimitern: all right then.  Up to you.14:22
dimiternrvba: I'm not sure though how to push my changes, etc. when I run bzr status it shows most of the files in the working dir are changed (?!) I'm new to bzr in fact, but I used both git and hg14:24
rvbadimitern: that's weird, you've branched off lp:maas, modified a bunch of files… and now most of the files are 'modified' (bzr st)?14:25
dimiternrvba: I branched of lp:maas trunk, didn't really modify anything yet, just run make (install-deps, run)14:26
rvbadimitern: can you paste the result of 'bzr st'?14:26
dimiternrvba: just a sec14:26
dimiternrvba: http://paste.ubuntu.com/1285115/14:28
rvbadimitern: !?14:28
dimiternrvba: if I run bzr diff it shows a bunch of properties changes -x to +x14:29
mgzheh14:29
mgzyou're using dodgy filesystems again? :)14:29
rvbaI was about to ask the same question :)14:30
dimiternI remember doing chmod -R before :)14:30
dimiternno, this time is a normal fs14:30
dimiternin fact chmod -R ug=rwX,o=rX or something :)14:30
dimiternbecause I was not sure what's not working initially with the installation14:30
dimiternhow I can revert all these changes?14:31
rvbabzr revert14:31
dimiternok :) now it looks ok 10x14:32
dimiternrvba: is there an easier way to change node statuses instead of working directly with the models from a py shell in django?14:45
rvbadimitern: that is really the easiest way if you want to tweak the statuses.14:46
dimiternrvba: running bin/maas shell right?14:46
rvbadimitern: make harness14:47
rvbadimitern: same as bin/maas shell but with the right settings loaded.14:47
dimiternrvba: ok 10x :)14:47
dimiternrvba: where should this information show (node_views.js) - on the front page with the wheel?15:05
rvbadimitern: let me have a look at that bug again first.15:10
rvbadimitern: well, we still don't support reserving nodes.15:11
dimiternrvba: I saw the https://code.launchpad.net/~allenap/maas/hide-retired-reserved-bug-979902 was merged into trunk, so it should be possible now15:12
dimiternat least to show it, if not change it from the ui15:12
rvbadimitern: yeah, but there is no point in showing it if it's not possible for a node to be 'reserved'.15:13
rvbaThe branch you mentioned hides the 'reserved' nodes.  And then the bug says: "Once MAAS supports reserving nodes this line can be shown. "15:13
rvbaThis has not happened yet.15:13
dimiternI see, so then probably I should pick something else?15:14
dimiternlike #1061870 you mentioned?15:14
rvbaYep, I'm afraid you're back to that APi bug I mentioned.  That's a real one :).15:14
dimiternok :) no sweat15:14
dimiternrvba: so I'll set 984117 back to nobody, but what status should I set? Confirmed? I does not seem to have Triaged in the list..15:18
rvba5~15:19
rvbaarg15:19
rvbadimitern: Triaged is in the list, just on top of 'In progress'… sure you don't see it?15:20
dimiternrvba: once it's already In Progress it does not show it15:20
mgzdimitern might not be in all the correct launchpad groups still?15:21
rvbadimitern: I've set it back to 'Triaged'15:21
dimiternrvba: could be, who should I ask?15:21
dimitern10x15:21
mgznot in ~launchpad yet.15:21
rvbaI guess flacoste is your man here.15:21
dimiternok15:22
=== hazmat is now known as kapilt
roaksoaxrvba: so I will be uploading a release to PPA that should be 0-day SRU'ed to quantal for you guys to test and make sure it doesn't introduce any regressions16:10
roaksoaxallenap: ^^16:10
roaksoaxsince I can test it, you guys will have to help with that16:11
allenapOkay.16:14
flacostematsubara: can you help there as well^^^16:26
flacosteroaksoax: did you use the branch that Julian created yesterday?16:27
matsubaraflacoste, sure16:27
roaksoaxflacoste: in the process of doing so16:27
flacosteawesome16:27
matsubararoaksoax, let me know when the package is published16:27
roaksoaxflacoste: network is not really a fun thing here :)16:27
flacosteroaksoax: like most non-elmo run conference :-)16:27
roaksoaxindeed :)16:28
roaksoaxflacoste: what about bug #1067261 ? It hasn't been merged to the quantal branch16:37
ubot5Launchpad bug 1067261 in maas (Ubuntu) "Web reference in UI points to wrong place" [Undecided,New] https://launchpad.net/bugs/106726116:37
=== matsubara is now known as matsubara-lunch
=== kapilt is now known as hazmat
rvbaroaksoax: is the new package in the experimental ppa?  I don't see it there.17:39
roaksoaxrvba having trouble uploadib17:42
rvbak17:45
flacosteroaksoax: that's probably an invonlatary omission by bigjools17:45
roaksoaxflacoste: alright, will take care of it right before uploading to archive since it is really not a big deal17:53
roaksoaxbig change*17:53
roaksoaxrvba: should take ~10 mins to be fully uploaded into the archive...17:53
roaksoaxerrexperimental ppa17:53
=== matsubara-lunch is now known as matsubara
roaksoaxmatsubara it has been uploaded not yet built18:42
matsubararoaksoax, ok18:43
matsubarathanks18:43
ThiagoCMCGuys, how to disable guided partitioning during the node installation?! Tks!19:12
ThiagoCMCI want to do it manually...19:13
ThiagoCMCbecause of my "raid1 -> LVM" setup...19:13
flacosteThiagoCMC: you need to edit the pressed template used to tell d-i how you want your partitioning to take place19:37
flacosteThiagoCMC: unfortunately, i can't provide exact guidance on what you need to put in there19:37
evilnick_ThiagoCMC: This probably isn't much help right now, but I am going to find out how to do this and write up the appropriate instructions. Hopefully i'll have something  tomorrow.19:47
rvbaroaksoax: your package just finished building (I /think/).20:45
rvbaroaksoax: not yet published apparently.20:46
rvbaroaksoax: it seems to be stuck :/20:53
rvbaflacoste: any idea what's happening with the ppa package?  Looks like it's stuck.20:57
flacostervba: no idea21:02
roaksoaxyeah stuck in publishing21:04
martinx_flacoste, okay... thanks!21:21
martinx_BTW, where can I find the IPs of my fresh installed nodes?! Since the managed DNS do not resolv the named that appear in MaaS web GUI...21:22
martinx_flacoste, I think that if I use "dpkg get/set selections" I can generate my own preseed... So, MaaS just need to provide a way to import my own preseed, right?!21:24
martinx_I'm talking about doing RAID1 -> LVM and copying it to MaaS as a template for same kind of hardware...21:25
flacostemartinx_: no, that's a package selection, the preseed is a d-i format which includes package selection but has a special syntax to specify partitoinaing21:31
martinx_Mmm... Okay21:33
=== martinx_ is now known as ThiagoCMC
ThiagoCMCWould be very nice if MaaS provides a way to customize its preseeds (hardware related) before starting node installation... Is this kind of feature in the roadmap?21:35
ThiagoCMCDo you guys recommends juju PPA repository even if I'm using Ubuntu 12.10 ?21:45
ThiagoCMCAs I'm reading here: https://juju.ubuntu.com/docs/getting-started.html ... ?21:47
ThiagoCMCGuys, the hostname that I'm seeing at MaaS Web GUI is intended to be resolved (with managed DNS enabled)? I'm trying to figure out the IPs of my nodes but I can't... The only way I find my IP is looking into DHCP syslog...   =(22:20
roaksoaxbug #106792923:27
ubot5Launchpad bug 1067929 in maas (Ubuntu) "maas-region-celeryd connects to the wrong queue." [Undecided,New] https://launchpad.net/bugs/106792923:27

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