/srv/irclogs.ubuntu.com/2013/09/07/#juju.txt

zradminHi guys, trying to get juju 1.12 working properly, but I'm getting an error wehere the /var/log/all-machines.log just fills up the bootstraps whole drive. I'm on 12.03 currently and I have to remove the file and restart the bootstrap node to get new clients enlisted etc.01:53
hazmatzradmin, there's bugs open to do rotation and limit the excess in the logs02:41
hazmatzradmin, was there anything particular repetitious in the log ?02:41
=== CyberJacob|Away is now known as CyberJacob
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
mattrae_let me know if i can help with details on this bug i'm hitting :) https://bugs.launchpad.net/juju-core/+bug/121911607:50
_mup_Bug #1219116: juju-deployer fails against juju-core: dial tcp 127.0.0.1:17070: connection refused <cts-cloud-review> <juju-core:Triaged by natefinch> <https://launchpad.net/bugs/1219116>07:50
=== CyberJacob is now known as CyberJacob|Away
davecheneymattrae_: i know that bug09:04
davecheneythe problem is the provisioning agent, which runs on the bootstrap node09:04
davecheneykeeps restarting09:04
davecheneyit'll get there eventually09:05
davecheneybut it currently slows down provisioning and juju access a lot09:05
=== defunctzombie is now known as defunctzombie_zz
=== freeflying_away is now known as freeflying
diegonathi guys... I have juju and maas. However, although ive got two machines, when I bootstrap juju, it lists only one. Why? How can I add a machine after bootstrapping ??11:49
davecheneydiegonat: either deploy a service, juju deploy $CHARM12:01
davecheneyor add a machine, juju add-machine12:01
diegonati dont have the option add-machine12:02
diegonatdavecheney,12:06
davecheneydiegonat: which version are you using ?12:06
diegonat0.712:07
davecheneydiegonat: then deploy a service12:08
davecheneyjuju deploy $CHARM12:08
diegonatyes but ive got 3 machines and only one is listed in juju status12:09
diegonati dont understand why12:09
davecheneydiegonat: juju defines what it calls an environment12:10
davecheneyan environment consumes a subset of the macines available to a provider12:10
davecheneyso int he case of maas12:10
davecheneyif you have three machines enrolled with maas master12:10
diegonatyes i do12:10
davecheneyit is normal for a new juju environment to consume one machine12:10
davecheneywhen you deploy a new service (a charm)12:11
davecheneyjuju will request maas create a new machine to host that service12:11
diegonatdavecheney, what about the first node? as u said i deployed a service and a new machine started. however, can't i use the first node for services?12:29
davecheneydiegonat: not in juju 0.712:30
davecheneywe call it the bootstrap node12:30
diegonatok12:30
davecheneyin later versions, 1.12 or later12:30
davecheneyyou can use12:30
davecheneyjuju deploy --to 012:30
davecheneyto put a service on the bootstrap machine12:30
davecheneyHOWEVER12:31
davecheneythis is not recommended12:31
davecheneyas it distables all the safty guards12:31
diegonatk12:42
diegonatdavecheney, juju: error: unrecognized arguments: --to13:28
davecheneydiegonat: sorry, that must only be available on the development branch13:29
davecheneywe're going to be doing a 1.14 release quite soon13:30
davecheneyit'll be available there13:30
diegonatthe problem is that whenever i add a service, it requires a new machine13:30
diegonat:-/13:30
davecheneydiegonat: yes, currently13:31
davecheneywe're working on a solution to use lxc containers inside machines13:31
diegonatthat would be absolutely fantastic13:31
davecheneybut there are a number of networking issues to solve before that can happen13:31
diegonatwhere can i find the logs of juju installation?13:32
diegonatwhatever i try to install i receive an error13:32
diegonat        agent-state: install-error13:32
marcoceppidiegonat: you can juju ssh to the unit and check /var/log/juju/unit-*.log13:33
marcoceppio/ davecheney13:33
diegonatHook error: /var/lib/juju/units/mysql-1/charm/hooks/install Error processing '/var/lib/juju/units/mysql-1/charm/hooks/install': exit code 1.13:33
marcoceppidiegonat: go a few lines up, it should say why13:34
diegonat2013-09-07 15:31:35,441: hook.output@ERROR: There are problems and -y was used without --force-yes13:35
diegonatWARNING: The following packages cannot be authenticated!13:36
diegonathook.output@ERROR: W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be ve13:36
diegonatrified because the public key is not available: NO_PUBKEY 0272AC9B468AFDED13:36
diegonatinverse order =D13:36
marcoceppithat's your problem13:36
marcoceppithe gpg key error13:37
diegonathow can i solve it?13:37
marcoceppidiegonat: do you have limited network connectivity to thes machines? is this Maas and juju?13:39
diegonatyep, maas and juju13:41
diegonatok i fixed13:41
diegonati downloaded the key13:41
diegonatlet's try now13:41
marcoceppidiegonat: you can run juju resolved --retry13:42
marcoceppito have it try again13:42
diegonati destroyed the service13:42
diegonatyeah, now it works13:42
diegonatsweet13:42
marcoceppidiegonat: cool13:42
diegonatmarcoceppi, r u italian?13:43
diegonatim installing juju.gui13:44
diegonat:)13:44
marcoceppidiegonat: my family is, but I was born in the states13:48
diegonatnice13:48
diegonathow many machines would i need to set up a openstack environment with juju?13:51
marcoceppidiegonat: I think the minimum is 713:54
diegonati dont have enough power to try13:54
diegonatsh*t! :D13:54
marcoceppidiegonat: you can co locate a few services to cut that down13:55
diegonati absolutely love juju13:56
diegonatok ill try then13:56
diegonatjuju-gui is hanging on saying "connecting to the Juju environment"13:58
diegonat:-/13:58
diegonatmarcoceppi, any idea why?14:02
marcoceppidiegonat: nope. it should work after a few seconds14:04
diegonati cannot see anything from logs14:05
diegonathelp please!! :)14:24
mattrae_diegonat: hey you can enlist vms into maas to use to deploy openstack if you need more machines.. http://askubuntu.com/questions/292061/how-to-configure-maas-to-be-able-to-boot-virtual-machines14:34
mattrae_diegonat: i'm using only one physical server with vms on it to deploy openstack with juju + maas14:34
mattrae_diegonat: also you can even juju deploy a hypervisor to a physical node, which will enlist vms into maas: http://javacruft.wordpress.com/2013/06/25/virtme/14:35
diegonatmattrae coold14:36
diegonatmattrae cool14:36
mattrae_diegonat: i'd suggest testing with maas in raring or saucy though.. some issues with maas in precise14:36
diegonatk14:37
diegonatnow im having problems with juju-gui14:37
diegonatmattrae_, can u help me with juju-gui?14:40
mattrae_hmm i haven't played with juju gui.. but maybe.. what's happening?14:40
diegonatbasically it hangs on when I open the webpage14:42
diegonatconnecting to the Juju environment14:42
diegonatit hangs forever14:43
mattrae_diegonat: hmm.. can you juju ssh juju-gui/0 and maybe there will be info in /var/log?14:43
diegonatim in14:43
diegonatbut i cannot find anything14:43
diegonatmaybe im not looking in the right place14:43
mattrae_hmm, yeah i might not be help.. i dont know where to look either14:43
mattrae_diegonat: you could try sending an email to the juju mailing list.. the developers might not be online on irc right now14:46
diegonatmattrae_, do u have any idea what "rapi running" could mean?14:50
mattrae_diegonat: not sure.. but just guessing maybe rapi means remote-api?14:53
mattrae_i dunno14:53
diegonatin a chat log i found somebody saying that the error was due to rapi not running14:53
diegonat:-/14:53
mattrae_ahh.. that could make sense. maybe its trying to connect but the remote api is not running? just guessing though14:54
mattrae_maybe it can't connect14:54
diegonatremote api where?14:54
mattrae_i would guess that the juju-gui wuild be connecting to the bootstrap node (machine 0)14:55
diegonatok on machine 0 there is no juju-api-agent service14:56
diegonatinstalled14:56
diegonaton the machine where juju-gui is installed, there is this service14:57
mattrae_diegonat: hmm not sure then.. i believe the services are jujudb and jujud-machine-014:57
=== freeflying is now known as freeflying_away
jackweirdyCan I deploy a natty machine with juju? I've tried juju add-machine --series=natty but get the error agent-state-info: "error: no matching tools available"17:18
jackweirdyI know it's unsupported now but http://aichallenge.org depends on it17:18
jackweirdy(the software that is; hosting it locally for a 1st year CS hack afternoon)17:19
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== freeflying_away is now known as freeflying
=== CyberJacob|Away is now known as CyberJacob
=== freeflying is now known as freeflying_away
=== CyberJacob is now known as CyberJacob|Away
=== freeflying_away is now known as freeflying
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away

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