=== chuck_ is now known as zul | ||
=== wgrant_ is now known as wgrant | ||
bigjools | mwhudson: we never had that chat. Remind me in the morning! | 06:22 |
---|---|---|
mwhudson | bigjools: will try | 06:45 |
bigjools | mwhudson: in other news, I will be at the Reds vs Lions game on Saturday \o/ | 06:46 |
mwhudson | bigjools: nice | 06:46 |
mwhudson | bigjools: going to watch state of origin tonight? | 06:47 |
bigjools | mwhudson: not if I can help it | 06:47 |
mwhudson | heh | 06:47 |
mwhudson | it you're going to watch one league game, it should be origin i think | 06:47 |
bigjools | that's one too many? | 06:48 |
mwhudson | heh | 06:48 |
=== rbasak_ is now known as rbasak | ||
bbcmicrocomputer | how do you add a file to file storage via maas-cli? | 14:02 |
bbcmicrocomputer | I keep doing 'maas-cli maas files add filename=x file=y' and getting 'File not supplied' | 14:02 |
bbcmicrocomputer | looking at http post request, it sends multipart request with filename and file components (not file data) | 14:03 |
jtv | bbcmicrocomputer: 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 |
jtv | bbcmicrocomputer: ISTR it can do it, but don't remember how. I've asked allenap, who may be able to help. | 14:49 |
bbcmicrocomputer | jtv: ok, thanks | 14:50 |
allenap | bbcmicrocomputer: 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 |
jtv | allenap: I'm not finding anything... maybe it's not something we ever got around to building after all. :( | 14:57 |
bbcmicrocomputer | allenap: k, thanks | 14:58 |
allenap | bbcmicrocomputer: 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 |
bbcmicrocomputer | allenap: ok, thanks! | 15:12 |
allenap | bbcmicrocomputer: Here's a script that'll work for now: http://paste.ubuntu.com/5736203/ | 16:14 |
allenap | bbcmicrocomputer: Use it like: upload.py http://example.com/MAAS/api/1.0/ my:api:key: my_filename < my_file | 16:15 |
bbcmicrocomputer | allenap: ah, awesome.. thanks! | 16:16 |
allenap | bbcmicrocomputer: No problem. I'm really sorry you didn't Just Work before. | 16:16 |
allenap | s/you/ :) | 16:16 |
bbcmicrocomputer | allenap: :) | 16:18 |
bbcmicrocomputer | allenap: works perfectly, thanks | 16:30 |
bbcmicrocomputer | allenap: although oddly, maas-cli get and get-by-key always add an extra line break on stdout of the file | 16:31 |
allenap | bbcmicrocomputer: I'll file a but about that. | 16:31 |
bbcmicrocomputer | allenap: cool, thanks | 16:31 |
allenap | bbcmicrocomputer: https://bugs.launchpad.net/maas/+bug/1187851 | 16:34 |
ubot5 | Launchpad bug 1187851 in MAAS "Newline added to end of files obtained with maas-cli" [High,Triaged] | 16:34 |
bbcmicrocomputer | allenap: cool, thanks for all your help | 16:35 |
allenap | bbcmicrocomputer: You're very welcome. | 16:36 |
=== jamespag` is now known as jamespage | ||
hazmat | does maas work in lxc? | 17:51 |
hazmat | i run into a dbus/avahi issue w/ packages ootb on raring.. trying to access maas ui.. http://pastebin.ubuntu.com/5736459/ | 17:53 |
roaksoax | hazmat: yeah we saw that yesterday too, is dbus running? | 18:09 |
hazmat | roaksoax, i just disabled it from starutp and moved on.. avahi-daemon is installed.. | 18:10 |
hazmat | roaksoax, yes dbus is running | 18:10 |
roaksoax | hazmat: try restarting dbus and/or avahi-daemon | 18:11 |
roaksoax | that seems to be the issue | 18:11 |
hazmat | k.. i'lll try that.. context switched already.. but i assume its just for advertising itself for the server installer | 18:12 |
roaksoax | yeah | 18:12 |
hazmat | roaksoax running into an odd issue with maas | 18:58 |
hazmat | its got 30 machines registered, but bootstrap says.. no matching node available | 18:58 |
hazmat | roaksoax, Campbell is running into this | 18:59 |
roaksoax | hazmat: i'd need to see logs (maas.log for now) | 19:02 |
hazmat | Campbell, could you send over the maas.log .. email or pastebin' | 19:04 |
Campbell | ok | 19:04 |
roaksoax | pastebin much easier :) | 19:05 |
Campbell | OK | 19:05 |
Campbell | http://pastebin.com/FfJ63G3K | 19:11 |
Campbell | there you go | 19:11 |
roaksoax | Campbell: where you able to bootstrap? | 19:14 |
roaksoax | Campbell: what are the nodes specs? | 19:16 |
Campbell | Nodes are Poweredge M620s | 19:25 |
Campbell | no bootstrap | 19:25 |
Campbell | openstack@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 |
roaksoax | Campbell: go to the webui and see if the nodes are in Ready status and tell me what does it say there about CPU, RAM, etc | 19:34 |
Campbell | I'm maybe doing something wrong | 19:35 |
roaksoax | CPU count and Memory | 19:35 |
Campbell | the nodes are all in declared state | 19:35 |
roaksoax | Campbell: ah that's the reason the | 19:36 |
Campbell | Do I need to commission them | 19:36 |
Campbell | :) | 19:36 |
roaksoax | Campbell: you need to "Accept & COmmission" all the nodes | 19:36 |
Campbell | I figured juju would do that, my bad | 19:36 |
Campbell | OK | 19:36 |
Campbell | and lay them down with precise? | 19:36 |
roaksoax | Campbell: once the nodes are in 'Ready' state they will be availablefor juju | 19:36 |
roaksoax | Campbell: once you do juju bootstra, it will install precise and start settings things wup | 19:37 |
Campbell | Mint. I'll get on it | 19:37 |
roaksoax | Campbell: this overview will help you understand a bit btter how maas works: http://www.roaksoax.com/2013/05/getting-started-with-maas-and-juju | 19:37 |
Campbell | Thanks | 19:38 |
hazmat | roaksoax, he's not able to bootstrap in a juju sense hence the error, the nodes are beefy blades | 20:03 |
roaksoax | hazmat: yeah the nodes were in 'Declared' state, which is why there were no available nodes | 20:10 |
Campbell | I'm good and bootstrapped | 20:27 |
Campbell | All the nodes are available and I've bootstrapped them | 20:27 |
Campbell | Question: can juju handle the .local FQDNs? I'm getting an error wrt SSH when I try and do a juju status | 20:28 |
Campbell | Hmm, maybe need to leave it a while before this will work, just rememebred that the bootstrap can take quite a while :) | 20:32 |
Campbell | put the IPs in the hosts. Working. Really should have configured DNS :) | 21:32 |
roaksoax | Campbell: yeah maas manages DNS/DHCP | 21:46 |
Campbell | we arleady had a DHCP server in the environment so wanted to use that | 21:47 |
Campbell | i'm still in the bootstrap. taking a while but I guess that can happen | 21:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!