/srv/irclogs.ubuntu.com/2013/04/26/#juju.txt

mwhudsonhah00:22
mwhudson+ wget --no-verbose -O - http://localhost/MAAS/api/1.0/files/?key=8a8b1d56-ae02-11e2-a65a-ac162d8ba8b8&op=get_by_key00:22
mwhudsonin cloud-init-output.log00:22
mwhudsoni can see two problems here: 1) i put localhost in the environment config00:22
mwhudson2) this is an armhf node...00:22
mwhudson+ tar xz -C /var/lib/juju/tools/1.10.0-precise-amd6400:23
ahasenackmwhudson: how did the bootstrap go?00:24
mwhudsonahasenack: getting there00:24
ahasenackah, it fetched the amd64 tarball?00:24
mwhudsonwell00:24
mwhudsonit didn't00:24
mwhudsonbut for reasons that are pebkac00:25
mwhudsonif i hadn't made that mistake, i don't think the next bit would have gone very well though00:25
ahasenackok00:25
mwhudsonthumper: oy, are you here?00:25
sarnolddo the tools exist for armhf? I thought I saw in #ubuntu-release earlier that juju-core had incorrect architecture lines...00:26
mwhudsonsarnold: not that i can tell00:26
mwhudsonsync-tools just grabs stuff for amd64 and i38600:27
mwhudsonso i guess i wasn't expecting the bootstrap to _work_00:27
mwhudsonbut i also wasn't expecting it to blithely try to grab the amd64 tools00:27
mwhudsoni guess i should try pyju again, i hear this actually works with armhf...00:28
thumpermwhudson: oh hai00:29
mwhudsonthumper: i'm having fun with juju-core on (well, deploying to) armhf00:30
mwhudsonthumper: would you expect this to work?  or am i rubbing myself across the bleeding edge again?00:30
thumpermwhudson: hmm...00:30
thumpermwhudson: which version of go are you using?00:30
mwhudsonthumper: no idea00:31
mwhudsoni don't think i have go installed actually00:31
mwhudsonhm no i do00:31
thumpergolang is the package00:31
mwhudsonmwhudson@lava-leg01:~$ dpkg -l golang00:31
mwhudsonNo packages found matching golang.00:31
thumperwell, since we don't build for arm yet, I'd be very surprised if you got juju-core working on arm00:32
mwhudsonah00:32
mwhudsonii  golang-go                                     2:1-5                                         Go programming language compiler00:32
thumperhmm... mine is 2:1.0.200:32
mwhudsonthis is precise fwiw00:32
thumpermwhudson: I've been told by davecheney that go prior to 1.1 is crackful on arm00:32
mwhudsonwhy does this matter though?00:33
thumperso no, I wouldn't expect it to work00:33
mwhudsondoes stuff get compiled on the fly?00:33
thumperwe don't build arm binaries00:33
thumperso how are you running it if not compiling yourself?00:33
mwhudsoni'm running on an intel box00:33
mwhudsonpointed at maas00:33
mwhudsonthat has a bunch of arm nodes enlisted00:33
thumperhmm...00:36
thumperthere are no arm tools built00:36
thumperso no, I don't think it will work00:36
mwhudsonok00:36
thumperyou'd have to build your own00:36
thumperwhich is a bit more work00:37
mwhudsonit seems to try to fetch the amd64 tools on my node00:37
mwhudsonwhich i guess is a bug?00:37
thumperyeah, that's kinda hard coded :(00:37
mwhudsonok00:38
thumperso, yes a bug, arm isn't supported yet00:38
thumperthrough the wonders of a compiled lanuage00:38
thumperlanguage00:38
mwhudsonwho can i talk to to find out if this is a priority?00:38
thumpermramm00:38
mwhudsonok00:38
thumpernp00:39
davecheneycan I get some help with the juju gui ?07:07
gnuoy`Hi, I'm trying to debug an issue I'm seeing between 2 charms I'm testing on lxc. I have a debug-hooks session running and if I remove-relation between the charms the debug-hooks session immediately kicks in and gives me a session in the charm dir. However add-relation does not, the debug hooks session is silent as if there is no attempt to run any hooks.10:45
gnuoy`http://paste.ubuntu.com/5604164/10:45
gnuoy`hmm, I'm going to redeploy and try and recreate.10:56
=== wedgwood_away is now known as wedgwood
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
idiotequeclear15:56
idiotequeexit15:56
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
marcoceppiShould a charm ever need to "require" a juju-info interface? I thought that subordinates were supposed to provide it, but all "other" communication was to be done via other interfaces17:10
SpamapSmarcoceppi: nothing provided is useful without at least one requirer17:45
jcastrohey marcoceppi19:52
marcoceppihey jcastro19:52
jcastronow that your charm tools stuff got merged maybe you can post the status on the list?19:52
jcastroin my transition thread?19:52
marcoceppijcastro: we still haven't figure out what to do about the PPA. Adding the juju/pkgs ppa will "break" go-juju installs19:53
marcoceppiI'd hate to say "Yeah, charm-tools update, break your juju to install"19:53
jcastrocore is in backports, maybe we should put charm-tools there too?19:54
marcoceppijcastro: probably19:54
jcastronon-PPA workflow for everything would be quite nice.19:54
marcoceppiI know we talked briefly about just putting charm-tools in it's own ppa, but backporting would be nice19:54
jcastromarcoceppi: ok so that would be either Daviey, mgz, or jamespage, all in the UK and probably at the bar, can you sync up with them on Monday?19:55
marcoceppijcastro: yeah19:55
m_3marcoceppi: I think juju/pkgs ppa wonn't break juju-core once 0.7 lands in the ppa20:09
marcoceppim_3: ah, any idea when that'll happen? I know it's failed to build in there the last few times20:09
* m_3 looks to see if that's done20:09
m_3ah that's why then20:09
m_3I was wondering what the deal was20:09
m_3marcoceppi: so, no, no clue20:10
* marcoceppi nods20:10
marcoceppilooks like quantal built, but raring is still no-go20:10
m_3marcoceppi: precise still no20:11
m_3at least it doesn't show up on my updates20:11
marcoceppiunfortunate20:12
ali1234i have a dedicated server with 12.04. can i manage it using juju?20:21
sarnoldali1234: it's not exactly ideal for that; you can definitely use the 'local' lxc provider to deploy services into lxc containers on that one machine, but juju really shines at allocating machines and services from clouds, like from MAAS or EC2 or rackspace...20:42
ali1234why is there even a difference?20:45
sarnoldali1234: you -can- use the 'jitsu deploy-to' command to force a deployment on a specific machine, without forcing containers, but that's not exactly promoted with the python version of juju; the go version is supposed to do that 'natively', without using the same kinds of hacks, but I haven't followed that closely enough to know if it will work that way or not20:49
ali1234i want to use juju to manage virtual machines in a cloud20:49
ali1234the only caveat being i want the cloud to run on my server20:49
ali1234so i guess i need lxc for that20:50
ali1234but how is that really different than using AWS?20:50
marcoceppiali1234: You'll need an underlying provider for juju to talk to. The difference between AWS and just running VMs on a machine is AWS offers a channel for juju to talk to. Juju doesn't actually do the heavy lifting of turning on and provisioning machines, it simply requests them. There are already tools out there (re: Amazon, OpenStack, MAAS) to manage machine instances20:51
ali1234ah yes, openstack20:51
ali1234why does it need a minimum of 7 machines?20:51
marcoceppiJuju is really more interested in setting up those instances and then orchestrating communication between the services and units deployed20:51
marcoceppiali1234: why does what need a minimum of 7 machines?>20:52
ali1234openstack20:52
marcoceppiWell, if you're using devstack, you only need one machine. 7 machines is the "recommended minimum hardware" for running openstack. You'll need "computer" nodes, servers for management, servers for authentication, storage, etc etc20:52
marcoceppis/computer/compute/ nodes20:53
ali1234no, the recommended minimum is 10. 7 is the absolute minimum according to the document i read, and now cannot find20:53
marcoceppiIt's not recommended (for HA, etc) to have everything for openstack on one machine. It doesn't scale very well20:53
marcoceppiIf you're looking to play around with OpenStack you can do so on one machine: http://devstack.org/ as for reasons why OpenStack says this or that I'd give #openstack a go :)20:54
ali1234i'm not looking to play around20:54
ali1234this is a production server20:54
ali1234i want a better way to manage it20:54
ali1234preferably one that won't increase the cost by a factor of 10...20:55
marcoceppiOpenStack isn't really a tool to just manage a server, it's a tool to build cloud environments20:55
sarnoldmarcoceppi: wow, devstack needs to be better advertised :)20:55
ali1234the way i see it, a cloud environment just means running virtual machines20:56
marcoceppiali1234: that's a really simplistic view of it20:56
ali1234perhaps20:56
marcoceppiJust off the top of my head, you have things like: storage management, networking management, images to build virtalmachines, and actual "compute" nodes you deploy vms to20:57
marcoceppiAll of that and more go in to building a cloud environment. It all takes hardware to do so20:57
marcoceppiI'm not OpenStack expert, the people over in #openstack would be far better equiped to answer questions about how it may or may not help you20:58
ali1234and there is nothing else that could do it?20:58
marcoceppiali1234: could do what?20:59
ali1234give me a private cloud on a single server20:59
ali1234which is suitable for production use20:59
sarnoldali1234: fiddle around with juju's local provider on your workstation for a little bit and see what you think. You could use it to manage lxc instances on your server; that'd probably be the least-overhead sort of setup like this, short of just running all the services on the one machine as we have for the last 30 years....21:02
ali1234i'm running all the services on the one machine now, the problem is they all conflict with each other21:03
sarnoldaha :) darn21:04
marcoceppiali1234: Someone was able to get Juju local provider to work on a server and map public ips to different machines http://askubuntu.com/a/282415/4121:04
marcoceppithat may or may not work for what you're doing21:04
ali1234it's running 4 wordpress, 2 drupal, moinmoin, some random ecommerce site...21:04
ali1234a gitlab (which needs a load of unpackaged ruby gems), and several static pages21:05
ali1234oh and a git server, and a bitcoind21:05
sarnoldno wonder you want something better :)21:06
sarnoldmarcoceppi: nice.21:06
ali1234it costs 60 euros/month... last time i checked that will get me 4 instances on amazon...21:07
sarnoldhetzner? :)21:07
ali1234right21:07
sarnoldhehe, I've thought about that too. ridiculous amouts of hardware for cheap cheap cheap.21:07
ali1234and the thing is we're only using about 10% of the resources it has21:07
ali1234but adding more services just makes it unmanagable21:08
ali1234so i'd like to be able to spin up VMs on it, please21:08
marcoceppiI don'21:08
marcoceppiI don't know if I'd call LXC production vm/containerization, but it's certainly worth a shot21:08
marcoceppiBut that might be splitting hairs at this point21:09
sarnoldali1234: I've heard the MAAS group uses libvirt VMs for their testing... it's not exactly the intentional usage of MAAS on a pile of VMs but it might also work. At least on21:11
sarnoldali1234: at least on my laptop, I often run ten or so VMs simultaneously (lighjtly loaded..) and things mostly work fine, those hetzner machines are bonkers compared to my laptop...21:11
marcoceppisarnold: the only thing I'd be worried about using MAAS out in the ether is it kind of gets network hungry (last I checked it) and tries to own everything21:13
sarnoldmarcoceppi: heh, true, hosts wouldn't be pleased to find that thing aimed outwards :)21:14
ali1234got a 10TB soft bandwidth limit...21:15
=== wedgwood is now known as wedgwood_away
=== defunctzombie_zz is now known as defunctzombie

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