[07:32] <danwee> hello people, i need help with juju, i m stuck at a corner and cant find a solution. can anyone help  ?
[07:32] <SpamapS> danwee: did you ask on askubuntu.com yet?
[07:33] <SpamapS> danwee: most of the regular juju users/contributors are generally in here between 9am and 5pm in the US (so 1400 UTC - 0800 UTC)
[07:34] <danwee> SpamapS, i didnt, i figured here is the officail support for juju,
[07:34] <danwee> SpamapS, can you help ?
[07:34] <SpamapS> danwee: definitely, but it seems you've asked at very off times for us, so we keep missing you . :-p
[07:35] <SpamapS> danwee: I have about 10 minutes then I need to go to bed... I'm all yours for the 10 minutes though. What seems to be the trouble?
[07:35] <danwee> SpamapS, thans alot , can u take alook at this and tell me what u think http://paste.ubuntu.com/857589/
[07:36] <SpamapS> danwee: first question, what version of juju?
[07:37] <SpamapS> danwee: second question, does your cobbler setup include full power control or are you turning systems on/off manually?
[07:37] <danwee> SpamapS: mmm... lastest i suppose, i dowloaed juju over orchestra server, i manually  turn on and off the systems
[07:38] <SpamapS> danwee: apt-cache policy juju will show you the version of juju
[07:38] <SpamapS> danwee: has the system you're trying to connect to completed its installation?
[07:38] <danwee> SpamapS: juju:   Installed: 0.5+bzr398-0ubuntu1   Candidate: 0.5+bzr398-0ubuntu1   Version table:  *** 0.5+bzr398-0ubuntu1 0         500 http://jo.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages         100 /var/lib/dpkg/status
[07:39] <SpamapS> danwee: ok, that explains some of it.
[07:39] <SpamapS> danwee: I'd recommend you enable the juju PPA, and use the latest version from the PPA. The one in Ubuntu 11.10 has a lot of bugs and we haven't been able to update it yet.
[07:40] <danwee> Spamaps: hmm , so you think it might be a bug
[07:41] <danwee> SpamapS: can u explain to me please what exactly going on between juju, orchestra server and the machines,
[07:41] <danwee> SpamapS: where do you recommend i shoud start digging
[07:43] <danwee> SpamapS: i still have two minutes :)
[07:43] <SpamapS> danwee: the first step, bootstrap, has your client machine interrogating cobbler about available systems, and then allocating one, and feeding data into cobbler to boot and install that system.
[07:44] <SpamapS> danwee: until that machine boots and runs the juju agent (which it will do after installation), juju will basically be unaware of its progress installing.
[07:47] <SpamapS> danwee: so, I need to go, but basically if you have cobbler (the main piece of orchestra-provisioning-server) setup right, then on rebooting the system that you've allocated, it should net-boot via PXE, and start installing Ubuntu
[07:47] <danwee> Spamaps: on the cobbler web interface, i edit the system , and mark it as orchestra-juju-available, then i juju bootstrap, it shows a msg that bootstrap completed succefully, and when i check cobber web interface, it shows that the system orechstra-juju-aquired
[07:47] <SpamapS> danwee: once it is done installing and reboots, it should run the agent, and juju status should be able to connect to it.
[07:47] <danwee> SpamapS: thanks for your time , and have a good night sleep, i lll try to catch you guys in a better time
[07:48] <SpamapS> danwee: good. Cobbler also should have generated a PXE configuration (based on the MAC address of the first network interface) that will cause it to boot into the installer.
[07:49] <danwee> SpamapS: hmm i ll check this also, it doesnt boot by itself
[07:49] <SpamapS> danwee: if you don't have a PXE capable system, you can also just boot with url=http://cobblerserver/cobbler/kickstart/systemname  .. I forget the exact url.. but you can see it by viewing the system's kickstart file.
[07:50] <SpamapS> danwee: good luck. Be encouraged, what you're attempting has many many pages of documentation that need to be written on top of the few that are already in existence, and a huge effort is under way to make the whole thing much simpler!
[07:50]  * SpamapS heads to bed
[07:50] <danwee> SpamapS: piece out and thanks agian :)
[08:11] <koolhead17> hello SpamapS
[10:07] <TeTeT> using juju/lxc my machines do not get a public ip, see http://pastebin.ubuntu.com/858965/
[10:07] <TeTeT> anything I need to enable this?
[10:08] <TeTeT> guess state: pending is not too good
[10:09] <koolhead17> TeTeT: it does take sometime :)
[10:11] <TeTeT> hmm, ok
[10:11] <TeTeT> any place to monitor progress on setting up the container, e.g. logs or so?
[10:12] <TeTeT> ~/juju/ubuntu-sample it seems
[10:13] <TeTeT> koolhead17: thanks, was not patient enough
[10:19] <koolhead17> TeTeT: yes thats where things are
[10:20] <koolhead17> you have logfiles there
[10:20] <TeTeT> koolhead17: yeah, they are somewhat populated now, some d/l seem to have happened.
[10:20] <koolhead17> and also you can go inside state and  units to see more!! :)
[10:22] <TeTeT> koolhead17: though in units a log file to a non existing log under lxc points to.
[10:22] <TeTeT> hmm, state is actually empty too
[10:22] <koolhead17> TeTeT: ooh :(
[10:23] <koolhead17> first state gets populated and then unit
[10:24] <koolhead17> are you on oneiric
[10:24] <TeTeT> koolhead17: no, precise
[10:24] <koolhead17> TeTeT: i have not played with juju on precise yet, am still on oneiric
[10:24] <TeTeT> koolhead17: I have two new nics, vethw7LG25 and vethAluklw
[10:24] <TeTeT> koolhead17: guess they are used for the containers
[10:25] <koolhead17> hmm possible
[10:26] <koolhead17> TeTeT: http://paste.ubuntu.com/858979/  this is what i used to get my Juju envirnment working without any pain on a physical machine running oneiric
[10:27] <koolhead17> also in precise i think default-series: oneiric     default-series: oneiric will change to precise
[10:27] <TeTeT> koolhead17: looks about the same, I use the contains in oneiric as well, maybe that's the problem, no oneiric containers inside precise?
[10:28] <koolhead17> TeTeT: i don`t know much about juju/precise :(
[10:28] <TeTeT> koolhead17: let me issue a juju destroy-environment and start with all precise again
[10:29] <koolhead17> TeTeT: sounds cool :P
[10:29] <koolhead17> TeTeT: also you have not used PPA correct?
[10:31] <TeTeT> koolhead17: correct, just the precise repo
[10:31] <koolhead17> hmm.
[10:33] <TeTeT> gonna install oneiric in another vm and see if it works there. would you recommend a ppa for use with oneiric?
[10:34] <koolhead17> TeTeT: i have used the default repo and it just worked with the config and manual i shared with u  via ubuntu paste
[10:35] <koolhead17> i have configured it all on a physical machine with oneiric on it not in a Vm, so i have no idea how will it work/behave in the VM env
[10:35] <TeTeT> koolhead17: ok, we'll see then if the virt env makes any differenc
[11:11] <TeTeT> koolhead17: with an oneiric vm juju bootstrap on the virtual net start :( I have seen this before in precise, guess it's fixed there now
[11:30] <TeTeT> koolhead17: installed juju on my precise running laptop, lxc worked just fine, must be a prob with the vms then
[11:32] <TeTeT> I wonder if it's a generic problem with lxc inside a vm or a juju specific one
[12:04] <_mup_> Bug #941873 was filed: upgrading charms that use symbolic links fails <juju:New> < https://launchpad.net/bugs/941873 >
[12:05] <koolhead17> TeTeT: congrats!! :P
[14:19] <jcastro> SpamapS: we should probably work on our slides today
[16:18] <SpamapS> jcastro: I am free after 14:00 EST
[16:19] <jcastro> SpamapS: ok
[16:19] <jcastro> it's a date, also, we have a rehearsal tomorrow so we can't keep procastinating.
[16:19] <jcastro> even though I enjoy not writing slides.
[16:19] <SpamapS> jcastro: :)
[16:19] <jcastro> that we will put in U1
[16:19] <jcastro> and then lose.
[16:19] <jcastro> again.
[16:19] <SpamapS> they're not lost, they're "merged"
[16:58] <jcastro> marcoceppi: nijaba: FYI, m_3 is going to strata this week and gets on a plane soon, so any help reviewing incoming charms would be <3
[17:15] <jcastro> anyone else getting an install error on the mysql charm?
[17:15] <andrewsmedina> jcastro: what error?
[17:16] <jcastro> I am looking now, I was just hoping someone knew before I had to do the work myself. :)
[17:23] <jcastro> ok weird, it installed this time.
[17:48] <jcastro> hazmat: where's the code to the charm browser?
[18:03] <hazmat> jcastro, on the site
[18:14] <danwee> hello, anybody free to talk about juju ?
[18:19] <SpamapS> danwee: did you get any further?
[18:19] <SpamapS> jcastro: 5 minutes?
[18:20] <jcastro> SpamapS: sure
[18:23] <danwee> SpamapS: hello SapmapS, hmm yeah kinda, ubuntu doesnt explain deploying openstack on juju using orchestra, there page is really missed up, so after i talk to you, i find out that u have to install juju first on orchestra then bootstrap the enviroment and boot the machine, i did and didnt work yet, maybe cause i manually booted it i dont know, and i installed juju from ppa
[18:24] <danwee> SpamapS: but at least i m getting the idea now
[18:27] <danwee> check it out, its really upside down, if someone deosnt know what hes doing , he will get nowhere with these steps https://help.ubuntu.com/community/UbuntuCloudInfrastructure
[18:28] <jcastro> our docs on that are pretty horrible unfortunately
[18:32] <danwee> very horrible man, first i had to get back to frdora docs, to read a bout cobbler, then i got the RSA key thing, so i have read even more on ssh keys, and then i find out that you have to add it in the evnirnments.yaml by hazmat, and that i have to make it available on cobbler
[18:33] <danwee> and now i find out that you have to make it avialable to juju and then bootstrap it, just by luck
[18:33] <danwee> and still didnt manage to deploy juju yet , i m stand still
[18:37] <SpamapS> danwee: part of the reason there's not more information available on this is that it is being so heavily changed
[18:38] <SpamapS> danwee: in many ways, the 11.10 story for this is a proof of concept, and a tech preview.. and the preview has revealed that we had to change a few things :)
[18:39] <SpamapS> jcastro: by 5, I meant 30 ;) almost ready
[18:39] <jcastro> SpamapS: it's ok, I am cloud scale, I am used to elastic time.
[18:40] <danwee> SpamapS: you know if i manage to deploy juju, i will right it step by step so windows guys will find it even easier to deploy
[18:40] <danwee> with explination pictures
[18:41] <SpamapS> danwee: so where are you stuck now?
[18:41] <SpamapS> danwee: when you say you bootstrapped it.. did you then boot it into the installer with the pre-seed URL?
[18:47] <danwee> SpamapS: ok thats what i did, i installed orchestra with all the distros and profiles it comes with, then i installed juju , made an environments.yaml, went to cobbler web interface and made a new system with precise profile persay, from management i chose > juju-orchestra-available > then juju bootstrap > i went back to the web interface and it was juju-orchestra aquired > ok now the node machine is still off power but configured for pix
[18:47] <danwee> the whole thing started , then when machine finished installing, i juju statused it with a big disappointment
[18:48] <SpamapS> danwee: when it booted up, did it show juju starting on the console?
[18:49] <danwee> which console? the orchestra ?
[18:50] <danwee> on orchestra just connecting to environment
[18:50] <danwee> then connection refused
[18:50] <SpamapS> danwee: no on the machine
[18:50] <danwee> although i chose a profile with juju preseed
[18:51] <danwee> on the machine i just saw it pixie booting the OS
[18:51] <danwee> i didnt notice a msg about juju
[18:51] <SpamapS> danwee: did you upgrade to the latest juju?
[18:52] <danwee> yes i did
[18:52] <danwee> but i didnt boot it from the URL, couldnt find it, so i manually powered on the machine
[18:53] <SpamapS> danwee: the url is critical
[18:53] <SpamapS> danwee: if you PXE booted though, then the installer booted with that url
[18:53] <SpamapS> danwee: the install proceeded automatically, right?
[18:53] <danwee> yes
[18:54] <danwee> and there is a post installation preseed i saw at the end on installation
[18:54] <danwee> and the last key command were executed
[18:54] <SpamapS> danwee: ok, you should be able to ssh to the machine
[18:55] <danwee> checked the kickstart for the system , it was all executed
[18:55] <danwee> yes but after i add authrized_keys to the machine
[18:55] <danwee> otherwaise will ask for a password
[18:56] <SpamapS> danwee: ok thats evidence that something went wrong then
[18:56] <SpamapS> danwee: juju installs your key on all the machines
[18:57] <SpamapS> danwee: once you ssh to the machine, is juju installed already?
[18:57] <danwee> ok where is that key located exactly? /var/lib/orchestra/.ssh/id_rsa.pub ?
[18:58] <danwee> u mean on the machine ? there is no sign for juju whatsoever
[18:59] <danwee> what user should i use on orchestra when i juju bootstrap? root user ?
[18:59] <SpamapS> danwee: ok, so something failed during the automatic install
[18:59] <SpamapS> danwee: ubuntu
[18:59] <danwee> on the orchestra server ?
[19:00] <SpamapS> danwee: no, from your machine, to the bootstrapped machine
[19:00] <SpamapS> danwee: what profile is the machine in?
[19:01] <danwee> precise-juju
[19:01] <danwee> tried oneiric also with and without juju
[19:02] <danwee> i have two machines , orchestra with juju , and the node(machine )
[19:02] <danwee> on the node i have ubuntu user
[19:02] <danwee> on the orchestra/juju what user should i use when i juju stuff
[19:05] <danwee> SpamapS: when orchestra server installed by default, it creates and RSA key on var/lib/orchestra/.ssh
[19:05] <danwee> and a system user : orchestra
[19:06] <danwee> i gave orchestra a pass and login with it , juju bootstrap with it , and i tried root and ordinary user, no luck
[19:07] <danwee> since you have a create .juju folder in the home directory of a user , which user ?
[19:12] <bac> hi m_3, could i ask you some questions about your review of the buildbot charms?
[19:14] <SpamapS> danwee: you actually don't need to use the orchestra server for anything.
[19:15] <SpamapS> danwee: it just hosts cobbler and the webdav server that juju uses to install/boot machines
[19:15] <SpamapS> danwee: everything should work fine from your client
[19:18] <danwee> SpamapS: where is juju installed? on what machine?
[19:19] <SpamapS> danwee: your client machine, and all machines that are bootstrapped or provisioned using your client machine
[19:19] <SpamapS> danwee: bootstrap installs the "juju server" so to speak
[19:20] <danwee> SpamapS: thats how you lost me conpletely
[19:20] <danwee> completely
[19:22] <SpamapS> danwee: juju consists of about 5 parts
[19:22] <SpamapS> danwee: juju the client CLI program, and then some agents
[19:22] <SpamapS> danwee: juju bootstrap provisions a machine to run the 'provisioning agent' ..
[19:23] <SpamapS> danwee: all machines that are provisioned by juju run a 'machine agent'
[19:23] <SpamapS> danwee: and any service units that are deployed run a 'unit agent'
[19:24] <SpamapS> danwee: at the center of all of that, lies zookeeper, which is not really "part" of juju, but is used as the system of record that the agents inspect to find out what they should do
[19:25] <_mup_> Bug #942179 was filed: Spec needed for subordinates <juju:In Progress by bcsaller> < https://launchpad.net/bugs/942179 >
[19:25] <SpamapS> danwee: so your first step in running juju is to run 'juju bootstrap' to allocate a machine to run the provisioning agent and zookeeper
[19:25] <SpamapS> danwee: with EC2, you do this by making EC2 API calls
[19:25] <SpamapS> danwee: with orchestra, you do this by making Cobbler API calls
[19:26] <SpamapS> danwee: the cobbler API call you  make tells cobbler to allocate the machine, and sets some values that will be fed into the installer
[19:26] <SpamapS> danwee: those values install juju on the server
[19:27] <SpamapS> danwee: *and* they install your SSH key
[19:27] <SpamapS> danwee: so, if your SSH key is not appearing on the server (under the ubuntu user) then its likely the automated install failed in some way.
[19:27] <SpamapS> danwee: make sense?
[19:28] <SpamapS> danwee: and also, does it then make sense why we would try to change this so its not so mind-blowingly complicated?
[19:28] <danwee> SpamapS: i m gonna have to read couple of times and think about it
[19:30] <danwee> SpamapS: would we see changes on 12.04 ?
[19:30] <SpamapS> danwee: yes
[19:31] <danwee> SpamapS: well what are you waiting for, go and do your thing, u only have till spring :)
[19:33] <danwee> SpamapS : thanks for the explination, wish i couldve helped somehow
[19:40] <SpamapS> danwee: you have helped.. you've helped confirm that it needed work. :)
[19:45] <danwee> SpamapS: thanks mate, i m still not giving up on juju, i ll try different things tomorrow , time to take my leave, sleep time , you take care and thanks again really
[19:47] <danwee> peace out
[21:53] <hazmat> SpamapS, re doc merges, people seem to be having trouble hitting the right places for merges, i'm thinking we should just merge them for people if needed
[21:56] <SpamapS> hazmat: Sure. I think that one was just done before the switchover