/srv/irclogs.ubuntu.com/2014/06/16/#juju.txt

=== 20WAAFCU3 is now known as wallyworld
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== Guest79566 is now known as wallyworld
=== CyberJacob is now known as CyberJacob|Away
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== isviridov|away is now known as isviridov
gnuoywallyworld, wow, thanks for the speedy fix to Bug#132980508:43
_mup_Bug #1329805: juju search for image does not find item if endpoint and region are inherited from the top level <juju-core:Fix Committed by wallyworld> <simplestreams:Fix Released> <https://launchpad.net/bugs/1329805>08:43
wallyworldgnuoy: no problem. we didn't expect that the very top level would contain region/endpoint so didn't cater for that. we do now :-)10:38
=== SIGILL_ is now known as SIGILL
=== Ursinha is now known as Ursinha-afk
=== mbruzek changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: mbruzek / tvansteenburgh || News and stuff: http://reddit.com/r/juju
jamespagehazmat, is there a reason that juju-deployer does not support "to: " with arbitary machine numbers other than 0?13:58
=== Ursinha-afk is now known as Ursinha
rick_h_jamespage: because bundles can be deployed over an existing environment and the numbers are not promised14:30
rick_h_jamespage: is my understanding14:30
jamespagerick_h_, right - makes sense14:30
jamespagerick_h_, I figure it out with my manual provider usage - deploy the two services and then target everything else at those.14:31
ali1234does anyone know why my "juju status" has stopped working: http://paste.ubuntu.com/7643749/14:38
ali1234it worked for a bit, then it stopped14:39
ali1234the container is still running14:42
ali1234one of them anyway, the other one never finished setting up14:42
ali1234it tries to open a socket to the orchestration container and fails14:45
hazmatjamespage, its not reproducible14:51
hazmatjamespage, per what rick_h_ said.. i've come around though that there should be an unsafe mode for it, as it useful for a lot of folks14:51
jamespagehazmat, ack14:53
jamespageI worked around it14:53
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
jamespagegnuoy, so I bought up a fresh, two node cinder cluster, and then added another unit to it OK15:53
gnuoyjamespage, let me see if I can reproduce with cinder16:06
gnuoyjamespage, I seem to see the problem with cinder as well. Deploy cinder on trusty with HA. Kick pacemaker and corosync and everything is fine. Add a new unrelated service and cinder pacemaker refuses to stop.16:15
jamespagegnuoy, I don't understand why you are adding a new unrelated service?16:16
gnuoyjamespage, because that's what triggers the breakage16:16
jamespagegnuoy, oh - one second16:17
jamespageit might be crapping itself out16:17
jamespagethe new units will get the existing configuration - however they won't have any of the right bits installed to actually run them16:18
jamespageso maybe that's what's causing the problem?16:18
gnuoyjamespage, the service I add is truly unrelated16:18
jamespagegnuoy, if you add another neutron-api unit does that work OK?16:19
jamespagegnuoy, one second - do you have just one instance of the hacluster charm deployed?16:19
jamespageso you are 'add-relation' to two different services?16:19
gnuoyI don't do anything to the unrelated service. I don;t add the ha charm at all16:20
jamespagegnuoy, you just deploy it?16:20
jamespageso its not running hacluster or anything?16:20
gnuoyyep, let me work up an example with cinder16:21
jamespagegnuoy, please do16:21
=== Ursinha is now known as Ursinha-afk
gnuoyjamespage, http://paste.ubuntu.com/7653811/16:37
jamespagegnuoy, I really don't understand this - how can turning on three arbitary new servers foobar your cluster?16:42
gnuoyI have no inkling of a clue16:42
=== Ursinha-afk is now known as Ursinha
jamespagegnuoy, can you check your serverstack hosts file on your basition pls16:45
jamespagemake sure there are no dupes16:45
gnuoyjamespage, http://paste.ubuntu.com/7653847/ dupefree16:45
jamespagegnuoy, /etc/serverstack-dns/tenant_hosts16:46
jamespagegnuoy, I've just pretty much tried your steps and I'm not seeing the same problem16:46
gnuoyhttp://paste.ubuntu.com/7653850/16:47
gnuoyjamespage, that is interesting16:47
jamespagegnuoy, one second16:47
jamespagegnuoy, sorry - what is interesting?16:49
gnuoyjamespage, that you don't see the issue. I can reproduce it every time16:49
lazyPowerdpb1: ping16:50
jamespagegnuoy, this really has my head scratching16:51
kentbHi juju folks.  Would this be the proper way to include the open-source components for my charm as well as a EULA for the Dell-specific ones?:  http://bazaar.launchpad.net/~kentb/charms/trusty/openmanage/trunk/view/head:/copyright16:52
kentbOMSA = OpenManage Server Administrator16:53
jamespagegnuoy, your other servers are not using the same multicast address are they?16:56
gnuoyjamespage, I don't believe so I'm just redeploying to double check16:56
jamespagegnuoy, following your guide 100%16:58
AskUbuntuMachines required Juju bootstrap | http://askubuntu.com/q/48416617:01
lazyPowerdpb1: i canceled that sync we had. I'm going to retarget @ the charm maintainer17:02
gnuoyjamespage, having terminated the other instances the problem has gone. I'm sorry to have messed you about but I'm not convinced my corosync woes are completely fixed. I'll try and work up another test case in the next few days17:02
gnuoyjamespage, I have a theory. When I was doing the ha testing before it was when other clusters were present (conder and nova-cc) I wonder if thats the problem.17:04
gnuoys/conder/cinder/17:04
jamespagegnuoy, if you configured HA with the same multicast address it probably would be17:04
gnuoydifferent multi cast addresses but maybe they're clashing somehow17:04
jamespagegnuoy, pick a non-conflicting default :-)17:04
gnuoyI did17:04
jamespagegnuoy, hmm - now I see the same issue17:06
gnuoyjamespage, how have you reproduced ?17:06
jamespagegnuoy, I walked through your reproduced step-by-step17:07
gnuoyjamespage, do you have another cluster running in the same env ?17:08
jamespagegnuoy, noodles77517:08
jamespagegnuoy, no17:08
jamespagenoodles775, sorry17:08
gnuoyjamespage, I need to EOD, thanks for the additional eyes17:09
jamespagegnuoy, ditto17:09
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== roadmr is now known as roadmr_afk
ali1234http://paste.ubuntu.com/7654841/ <- what does this mean?20:26
ali1234this is the point where it switched from saying "no tools available" to "too many open files"20:27
ali1234it was printing that "no tools available" message every 10 seconds for about 10 hours20:27
mbruzekHello ali123420:32
ali1234hi20:32
mbruzekHas juju worked before or is this a new environment20:32
ali1234new environment20:32
ali1234remember the other day, when i crashed it?20:32
mbruzekyes20:33
ali1234well we fixed that one. the problem was i ran bootstrap with sudo20:33
ali1234that created root owned files in ~/.juju20:33
mbruzekYou seem to have the touch when it comes to breaking Juju20:33
ali1234so i cleaned all that stuff out20:33
mbruzekhow?20:33
mbruzekapt-get remove -p ?20:33
ali1234juju destroy-environment --force20:33
ali1234rm -rf ~/.juju20:33
mbruzekOk20:33
ali1234then i bootstrapped again without root20:34
ali1234that worked okay20:34
ali1234then i deployed an elasticsearch unit and it worked20:34
mbruzekBut you said this was a new environment.20:34
ali1234yes20:34
ali1234in fact that unit is still working now, i can reach the container20:34
mbruzekSo this is on a different machine ?20:35
ali1234no, this is on the same machine20:35
mbruzekSo Juju was working and now it is broken?20:35
ali1234i guess you could say that20:35
ali1234when i tried to deploy a second machine it broke20:36
ali1234that machine never finished deploying20:36
mbruzekOK sorry for the problems lets troubleshoot what you are seeing now.20:36
mbruzekali1234, would you mind destroying everything and starting "fresh" ?20:36
ali1234that's fine20:37
ali1234however currently juju commands do not work20:37
ali1234because i left it in an error state overnight and now it's exceeded the maximum open files somehow20:37
mbruzeksudo lxc-ls --fancy | pastebinit20:38
ali1234http://paste.ubuntu.com/7654902/20:38
ali1234okay i recognise one of those - machine-1 is the elasticsearch i deployed, which currently works correctly20:38
mbruzeksudo lxc-stop -n al-local-machine-120:40
ali1234okay, it stopped20:40
mbruzeksudo lxc-destroy -n al-local-machine-120:40
ali1234okay, it's gone20:40
mbruzekjuju destroy-environment -y local --force20:41
ali1234okay20:41
mbruzekps -ef | grep mongo20:42
ali1234not running20:42
mbruzekexcellent20:42
ali1234should i always use the juju ppa?20:43
ali1234(seems like now would be a good time to install it if so)20:43
mbruzekYes there is a stable and an devel branch if I am not mistaken20:43
mbruzekstable would be the one I would suggest20:43
mbruzeklets do this first20:43
mbruzeksudo apt-get purge juju-local20:44
pmatulison ubuntu 14.04 i deployed wordpress/mysql and the charm for wordpress is from precise (charm: cs:precise/wordpress-22).  normal?20:44
ali1234that just means the container machine will be running precise, doesn't it?20:45
ali1234purged20:46
mbruzekpmatulis, I get wordpress-22 when I deploy as well20:46
mbruzeksudo add-apt-repository -y ppa:juju/stable20:46
mbruzekali1234, ^20:46
ali1234juju and juju-core are being updated...20:47
mbruzekali1234, just incase something else is broken also purge juju-core20:47
mbruzekbefore installing?20:47
mbruzekali1234, then sudo apt-get install juju-core juju-local20:48
ali1234okay, done20:48
mbruzekjuju init20:48
ali1234ERROR A juju environment configuration already exists.20:49
mbruzekhrmm...20:49
ali1234delete ~/.juju?20:49
mbruzekback up your .juju/environments.yaml file and then delete the .juju directory.20:49
ali1234any reason to back it up?20:50
mbruzekali1234, Only if you have other clouds defined other than local20:50
mbruzekOtherwise rm-rf20:50
ali1234okay, done20:50
mbruzekjuju init20:50
ali1234done20:50
pmatulismbruzek: so normal?20:51
mbruzekpmatulis, From what I saw it looks normal?  What are you concerned about?20:51
mbruzekali1234, can you pastebin your environments.yaml file?20:52
pmatulismbruzek: i just expected everything to be on trusty is all20:52
ali1234the old one or the new one?20:52
mbruzekali1234, new one20:52
ali1234http://paste.ubuntu.com/7654978/20:52
mbruzekpmatulis, Oh.  No we are not auto promulgating charms.  They must have tests and be tested on Trusty before they advance.20:53
mbruzekso pmatulis most of the charms are still on precise.20:53
pmatulismbruzek: ok, fair enough, cheers20:53
mbruzekali1234, you only need http://paste.ubuntu.com/7654994/20:56
mbruzekali1234, you can keep the other stuff in there commented out20:57
ali1234i'm supposed to add that stuff?20:57
ali1234last time i didn't edit the file at all20:58
mbruzekdefault-series must be set20:59
ali1234what happens if it isn't?21:00
mbruzekhttps://juju.ubuntu.com/docs/config-LXC.html21:00
mbruzekproblems21:00
ali1234that page doesn't say anything about default-series...21:01
mbruzekit should21:01
mbruzekSorry I will fix that21:01
ali1234admin-secret is any string?21:03
mbruzekit is, that is just any string to log into juju-gui21:04
ali1234okay i used your paste and i get ERROR couldn't read the environment when i try to juju switch21:04
mbruzekcan you give me uname -a ?21:06
ali1234Linux al-desktop 3.13.0-8-generic #28-Ubuntu SMP Tue Feb 11 17:55:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux21:06
mbruzekali1234, let me see error21:08
ali1234"ERROR couldn't read the environment" is the full output21:08
ali1234it works if i just add those lines into the generated config21:09
mbruzekok21:09
ali1234if i do juju generate-config -f while your version is in place it says: "ERROR cannot parse "/home/al/.juju/environments.yaml": YAML error: line 1: mapping values are not allowed in this context"21:11
=== isviridov is now known as isviridov|away
ali1234okay the problem is environments: should not be indented21:11
mbruzekOK don't use my paste bin then just edit your own file21:12
ali1234so now it works21:12
ali1234right, fixed21:12
mbruzekok21:12
mbruzekjuju deploy ubuntu21:12
ali1234ERROR environment is not bootstrapped21:12
mbruzekjuju bootstrap -e local21:13
ali1234uploading tools for series [trusty precise]21:13
ali1234that's different21:13
ali1234last time i did this it only said trusty21:13
ali1234and then it failed hard when i tried to deploy something on precise21:14
=== roadmr_afk is now known as roadmr
ali1234machine-1 was a trusty instance, machine-2 was precise and gave that "no tools" error21:14
ali1234okay it's bootstrapped21:14
ali1234deployed and pending21:15
mbruzekok21:15
mbruzekali1234, let me know if that works21:17
ali1234i expect it will work now21:17
ali1234tail: inotify resources exhausted21:18
ali1234tail: inotify cannot be used, reverting to polling21:18
ali1234but that's because of the previous "fun" i expect21:18
ali1234i think the AU answer needs updating again21:19
josekentb: I *think* it's good now in terms of the license, up to the ~charmers now :)21:19
ali1234because it doesn't specify to set default-series21:19
josembruzek: taking a look at chamilo and how can I approach it now!21:19
kentbjose, ok thanks!21:19
mbruzekali1234, did you get any errors21:20
ali1234just that one about inotify on the all-machines.log21:21
ali1234the instance hasn't come up yet21:22
ali1234the inotify error is the last thing on the log too21:22
ali1234and there is no cpu usage or network usage... it doesn't appear to be doing anything21:23
ali1234oh hang on21:23
ali1234http://paste.ubuntu.com/7655115/ <- machine-1.log21:24
mbruzekali1234, I also have the kvm support message21:25
ali1234okay it's running now21:25
ali1234i'm ssh'd into the machine-121:26
ali1234lxc-ls --fancy doesn't list any machines though21:26
mbruzekyou will not see any lxc on machine-121:28
ali1234no i mean on the host21:28
mbruzekali1234, Are you running or not?  I see that you can ssh to machine 121:32
ali1234the machine is running21:33
ali1234it just doesn't show on lxc-ls21:33
ali1234http://paste.ubuntu.com/7655165/21:34
ali1234oh okay, it's cos i didn't sudo it21:34
ali1234so that appears to be working fine21:35
ali1234so now i'm going to attempt to "juju deploy solr" which is what broke it all last time21:38
ali1234and it failed21:38
ali1234agent-state-info: '(error: hook failed: "install")'21:38
ali1234but at least it didn't completely ruin the whole environment this time21:38
ali1234oh, it just failed to download the right source tarball (404 error)21:39
mbruzekRight ali1234 it looks like your juju environment is "normal" now21:43
ali1234yeah seems that way21:44
ali1234unfortunately there's no working charm for solr21:44
ali1234they all point to a 404 URL21:44
mbruzekali1234, your lxc-ls did not return any containers because you need sudo before it21:44
ali1234yeah i figured that out already :)21:44
mbruzekali1234, you can open a bug on solr if the urls are incorrect21:45
ali1234already has an open bug21:45
ali1234https://bugs.launchpad.net/charms/+source/solr/+bug/132464121:45
_mup_Bug #1324641: install hook fails (download link inexistant) <solr (Juju Charms Collection):New> <https://launchpad.net/bugs/1324641>21:45
mbruzekali1234, OK21:45
ali1234confirmed it :)21:45
ali1234i did "juju destroy-service solr" and now it says it is dying... will it go away eventually?21:46
ali1234i've bug-reported this experience: https://bugs.launchpad.net/juju-core/+bug/133071921:56
_mup_Bug #1330719: juju-local exceeded open file ulimit <juju-core:New> <https://launchpad.net/bugs/1330719>21:56
ali1234mbruzek: thanks for the help21:58
mbruzekali1234, You are welcome, glad to get you working.21:59
mbruzekali1234, Sorry for all the trouble.22:00
=== CyberJacob is now known as CyberJacob|Away
AskUbuntuOpenstack Neutron - Cannot Access Tenant Router Gateway | http://askubuntu.com/q/48429322:43

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