/srv/irclogs.ubuntu.com/2013/06/05/#maas.txt

=== chuck_ is now known as zul
=== wgrant_ is now known as wgrant
bigjoolsmwhudson: we never had that chat.  Remind me in the morning!06:22
mwhudsonbigjools: will try06:45
bigjoolsmwhudson: in other news, I will be at the Reds vs Lions game on Saturday \o/06:46
mwhudsonbigjools: nice06:46
mwhudsonbigjools: going to watch state of origin tonight?06:47
bigjoolsmwhudson: not if I can help it06:47
mwhudsonheh06:47
mwhudsonit you're going to watch one league game, it should be origin i think06:47
bigjoolsthat's one too many?06:48
mwhudsonheh06:48
=== rbasak_ is now known as rbasak
bbcmicrocomputerhow do you add a file to file storage via maas-cli?14:02
bbcmicrocomputerI keep doing 'maas-cli maas files add filename=x file=y' and getting 'File not supplied'14:02
bbcmicrocomputerlooking at http post request, it sends multipart request with filename and file components (not file data)14:03
jtvbbcmicrocomputer: I don't know off the top of my head what maas-cli does about file uploads...  they're a very different thing from how we construct the rest of the requests.14:49
jtvbbcmicrocomputer: ISTR it can do it, but don't remember how.  I've asked allenap, who may be able to help.14:49
bbcmicrocomputerjtv: ok, thanks14:50
allenapbbcmicrocomputer: I can't remember off the top of my head. Istr that it's a little ugly right now. I'm looking it up.14:56
jtvallenap: I'm not finding anything...  maybe it's not something we ever got around to building after all.  :(14:57
bbcmicrocomputerallenap: k, thanks14:58
allenapbbcmicrocomputer: It's not possible with maas-cli, which sucks. I'm filing a bug about that. We never got round to it during the last phase of work on MAAS, but we will this time. Sorry about that. I'm finding a workaround for you.15:11
bbcmicrocomputerallenap: ok, thanks!15:12
allenapbbcmicrocomputer: Here's a script that'll work for now: http://paste.ubuntu.com/5736203/16:14
allenapbbcmicrocomputer: Use it like: upload.py http://example.com/MAAS/api/1.0/ my:api:key: my_filename < my_file16:15
bbcmicrocomputerallenap: ah, awesome.. thanks!16:16
allenapbbcmicrocomputer: No problem. I'm really sorry you didn't Just Work before.16:16
allenaps/you/ :)16:16
bbcmicrocomputerallenap: :)16:18
bbcmicrocomputerallenap: works perfectly, thanks16:30
bbcmicrocomputerallenap: although oddly, maas-cli get and get-by-key always add an extra line break on stdout of the file16:31
allenapbbcmicrocomputer: I'll file a but about that.16:31
bbcmicrocomputerallenap: cool, thanks16:31
allenapbbcmicrocomputer: https://bugs.launchpad.net/maas/+bug/118785116:34
ubot5Launchpad bug 1187851 in MAAS "Newline added to end of files obtained with maas-cli" [High,Triaged]16:34
bbcmicrocomputerallenap: cool, thanks for all your help16:35
allenapbbcmicrocomputer: You're very welcome.16:36
=== jamespag` is now known as jamespage
hazmatdoes maas work in lxc?17:51
hazmati run into a dbus/avahi issue w/ packages ootb on raring.. trying to access maas ui.. http://pastebin.ubuntu.com/5736459/17:53
roaksoaxhazmat: yeah we saw that yesterday too, is dbus running?18:09
hazmatroaksoax, i just disabled it from starutp and moved on.. avahi-daemon is installed..18:10
hazmatroaksoax, yes dbus is running18:10
roaksoaxhazmat: try restarting dbus and/or avahi-daemon18:11
roaksoaxthat seems to be the issue18:11
hazmatk.. i'lll try that..  context switched already.. but i assume its just for advertising itself for the server installer18:12
roaksoaxyeah18:12
hazmat roaksoax running into an odd issue with maas18:58
hazmatits got 30 machines registered, but bootstrap says.. no matching node available18:58
hazmatroaksoax, Campbell is running into this18:59
roaksoaxhazmat: i'd need to see logs (maas.log for now)19:02
hazmatCampbell, could you send over the maas.log .. email or pastebin'19:04
Campbellok19:04
roaksoaxpastebin much easier :)19:05
CampbellOK19:05
Campbellhttp://pastebin.com/FfJ63G3K19:11
Campbellthere you go19:11
roaksoaxCampbell: where you able to bootstrap?19:14
roaksoaxCampbell: what are the nodes specs?19:16
CampbellNodes are Poweredge M620s19:25
Campbellno bootstrap19:25
Campbellopenstack@openstack-maas-test:~$ juju bootstrap 2013-06-05 12:25:15,813 INFO Bootstrapping environment 'maas' (origin: ppa type: maas)... 2013-06-05 12:25:16,350 ERROR No matching node is available. openstack@openstack-maas-test:~$19:25
roaksoaxCampbell: go to the webui and see if the nodes are in Ready status and tell me what does it say there about CPU, RAM, etc19:34
CampbellI'm maybe doing something wrong19:35
roaksoaxCPU count and Memory19:35
Campbellthe nodes are all in declared state19:35
roaksoaxCampbell: ah that's the reason the19:36
CampbellDo I need to commission them19:36
Campbell:)19:36
roaksoaxCampbell: you need to "Accept & COmmission" all the nodes19:36
CampbellI figured juju would do that, my bad19:36
CampbellOK19:36
Campbelland lay them down with precise?19:36
roaksoaxCampbell: once the nodes are in 'Ready' state they will be availablefor juju19:36
roaksoaxCampbell: once you do juju bootstra, it will install precise and start settings things wup19:37
CampbellMint. I'll get on it19:37
roaksoaxCampbell: this overview will help you understand a bit btter how maas works: http://www.roaksoax.com/2013/05/getting-started-with-maas-and-juju19:37
CampbellThanks19:38
hazmatroaksoax, he's not able to bootstrap in a juju sense hence the error, the nodes are beefy blades20:03
roaksoaxhazmat: yeah the nodes were in 'Declared' state, which is why there were no available nodes20:10
CampbellI'm good and bootstrapped20:27
CampbellAll the nodes are available and I've bootstrapped them20:27
CampbellQuestion: can juju handle the .local FQDNs? I'm getting an error wrt SSH when I try and do a juju status20:28
CampbellHmm, maybe need to leave it a while before this will work, just rememebred that the bootstrap can take quite a while :)20:32
Campbellput the IPs in the hosts. Working. Really should have configured DNS :)21:32
roaksoaxCampbell: yeah maas manages DNS/DHCP21:46
Campbellwe arleady had a DHCP server in the environment so wanted to use that21:47
Campbelli'm still in the bootstrap. taking a while but I guess that can happen21:49

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