[00:03] Hello. I am running into bug https://bugs.launchpad.net/charms/+source/postgresql/+bug/1239681 which appears to have been fixed by sinzui. How can I get that fix? [00:03] <_mup_> Bug #1239681: relation-get failing with 'permission denied' [00:05] manjiri: what version of juju are you using? [00:07] marcoceppi_: ii juju-core 1.16.6-0ubuntu1~ubuntu12.04.1~juju1 Juju is devops distilled - client [00:10] manjiri: also, it doesn't say it's been fixed, merely triaged for 1.18 [00:11] I think I recently upgraded juju-core. Do you recommend that I down-grade? To which? [00:14] manjiri, can you reliably reproduce that? [00:15] manjiri, are you running into that with the postgresql charm? [00:16] hazmat: I am not running postresql charm. I am developing my own (set of) charms for deploying Contrail software. I think the symptoms are the same. [00:17] manjiri, namely that relation-get tosses an error? [00:17] hazmat: yes. that is correct. [00:18] hazmat: as to whether I can reproduce the problem - I am seeing it now. I was thinking of rebooting the machine in the hope that the problem would go away. [00:18] manjiri, could you send the log for the unit in /var/log/juju/ [00:18] i'll try reproducing w/ the postgres charm | unit test [00:19] i'm on 1.17/trunk though === marco is now known as Guest19751 === Guest19751 is now known as marcoceppi-bounc [00:19] hazmat: I am new to IRC. When you say "send" the log - what do you mean? [00:20] manjiri, typically pastebin.ubuntu.com if its not sensitive [00:20] (the pastebinit tool is awesome for this) [00:20] manjiri, welcome to irc btw.. also there's a command line client [00:20] sudo apt-get install pastebinit [00:21] you can point it to a file as a param or pipe data into the pastebinit cli [00:22] hazmat: --wait in deployer just subscribes to the event stream from the API, right? It doesn't actually do proper "wait for 'idle' environment", does it? [00:22] marcoceppi, the latter doesn't exist [00:22] atm [00:22] marcoceppi, yes.. its event stream wait and configurable timeout [00:22] hazmat: didn't think so, that's why I got kind of excited when I saw the option [00:22] marcoceppi, and stop/shortcircuit on error [00:23] rephrasing its wait for x seconds without error post action [00:23] hazmat: Please check out http://pastebin.ubuntu.com/6991890/ [00:24] manjiri, are you changing users in your charm? [00:25] manjiri, the juju cli commands use a unix socket owned by root. changing user would be the most likely cause. [00:26] hazmat: no change in user [00:27] hazmat: to which cli commands are you referring? [00:27] manjiri, ok [00:27] manjiri, all the commands used to interact with juju from a hook (relation-ids, relation-list, relation-get, relation-set, config-get, open-port, close-port, etc) [00:28] hazmat: got it. to reconfirm, my charm does everything as 'root' === sidnei_ is now known as sidnei [00:34] hazmat: do you have a recommendation? Downgrade juju-core? [00:37] manjiri, not atm [00:37] still trying to understand root cause, but past eod, so intermixing other things [00:39] manjiri, 1.14 is very old.. not recommened [00:40] hazmat: I have 1.16.6-0ubuntu1~ubuntu12.04.1~juju1 [00:40] understood [00:40] manjiri, is your charm opensource? [00:40] if so where can i find it.. [00:40] hazmat: not yet [00:40] currently trying to run the postgresql charm unit tests per the bug report [00:41] hazmat: I can provide code snippet if you think that it will help [00:44] manjiri, that would be helpful === wgrant_ is now known as wgrant [00:46] hazmat: Is it OK if I email it to you? [00:46] manjiri, sure [00:47] hazmat: Give me a few minutes [00:47] manjiri, np [00:48] stub, ping.. how do you run these postgresql charm tests [01:29] hazmat: Sorry that took so long, but I have sent you the information in an email. I will reboot the machine to see if I can continue to make progress without being hit by this bug [01:33] manjiri, got it.. i'll have to look at in the morning its late here.. and i'm done for the night === timrc is now known as timrc-afk === timrc-afk is now known as timrc === mwhudson is now known as zz_mwhudson [04:54] hazmat: Bootstrap an environment, then 'make test'. tests/00_setup lists packages that might be needed [04:54] hazmat: it has been a while since I tried anything but the local provider === timrc is now known as timrc-afk === freeflying is now known as freeflying_away === CyberJacob|Away is now known as CyberJacob [10:08] stub, thanks [10:09] stub, i use a variation a manual provider variation on local provider with lxc btrfs snapshots.. should be about the same. [10:11] stub, you still have that failing test per the bug report .. http://pad.lv/1239681 [10:11] ? === freeflying_away is now known as freeflying === timrc-afk is now known as timrc === edamato is now known as edu-afk === CyberJacob is now known as CyberJacob|Away === allenap_ is now known as allenap === roadmr_ is now known as roadmr [18:41] i installed LXC container in my ubuntu desktop and when i start my desktop or restart my desktop, why i need to run a2ensite default everytime inside apache2/0 unit??? [18:51] danob: you shouldn't are you setting a vhost template? [19:02] hi, I'm trying local provider with fresh checkout and juju add-machine lxc:0 stays in pending mod, is there any prerequisite to install ? [19:09] chris38home: uh, I don't think you can LXC on LXC [19:12] you can do nested lxc: https://www.stgraber.org/2013/12/21/lxc-1-0-advanced-container-usage/ [19:12] ok then juju add-machine should create a new lxc container ? [19:12] no idea how well juju will handle it though :) [19:13] non nested is also pending [19:18] chris38home: well, non-nested needs to be instarted before nested can work [19:18] chris38home: can you show your juju status in a pastebin? [19:28] marcoceppi, http://pastebin.com/AB8HDfZS === zz_mwhudson is now known as mwhudson [19:43] maybe I have a problem with routing : cannot load index "http://10.0.3.1:8040/tools/streams/v1/index.sjson" [20:21] is this bucket thing still a thing? http://askubuntu.com/questions/425745/maas-juju-bootstrap-404 [20:21] I haven't seen that one in a while === mattgriffin is now known as mattgriffin-quic [20:52] Hello everyone [20:52] o/ Lord_Set [20:55] How is the world of Juju going? [21:05] Lord_Set: really well, imo [21:06] Glad to hear it. I am really enjoying using it as an app deployment platform. I am doing a pretty good sized test today with it. [21:08] Going to be using MAAS and Juju to deploy a rack of 35 servers with Openstack and then a second rack of 20 servers to build a Hadoop Cluster. Also going to doing some multi-cluster controller between different sites tests. The locations are connected via VPN tunnels. [21:08] We are upgrading to 100mbps burstable to 1gbps fiber soon between locations. [21:08] Lord_Set: Sweet! Let us know if we can help in any way [21:10] I will for sure. I got an email from Dustin Kirkland this morning saying he wanted to discuss what my team is doing with MAAS, Juju and Ubuntu. Was after a good and long conversation with Julian Edwards of the MAAS tema. [21:10] err team [21:12] Lord_Set, this is awesome, let us know how it goes for you [21:13] marcoceppi, I hate to sound like a raving nut, but putting the docs on github makes things so easy now with the inline editing. [21:13] jcastro_: you sound like a raving nut ;) [21:14] I will [21:14] Apache Syncope charm incoming to the queue! [21:15] I am hoping with this tech startup I am working with to form an awesome partnership with the MAAS and Juju teams. We have a lot of resources and big plans for deployment with 2 different tech startup companies we are moving forward with. [21:16] Currently 4 geographical sites with a total of 12 racks currently. 2 of which are at Switch SuperNAP in Vegas [21:16] negronjl, I kind of need bug 1267222 fixed, could you possibly update it with what needs to be done and I can ask someone else to fix it? [21:16] <_mup_> Bug #1267222: Race condition when deploying a simple replica set [21:17] jcastro_, sorry about that ... I'll update today [21:17] jcastro_: didn't lazyPower fix that ? [21:18] I dunno, did he? [21:18] * marcoceppi waits for lazyPower [21:19] Nope, i fixed a race condition in mediawiki, and pointed it out back in the day [21:19] but have not applied any patches to mongodb charm === Settite is now known as Lord_Set === CyberJacob|Away is now known as CyberJacob [21:37] lazyPower, marcoceppi, mbruzek: hey when you guys get time can you go through and vote in the juju tag? [21:37] negronjl: I do however have tests in amulet to assert that it works - i think you already patched it. [21:37] dimiter is answering a ton but not really getting any upvotes [21:38] negronjl: latest bzr branch is lp:~lazypower/charms/precise/mongodb/ci-fix === CyberJacob is now known as CyberJacob|Away === CyberJacob|Away is now known as CyberJacob === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying [23:16] mbruzek, marcoceppi: heya, looks like wildfly is ready to go [23:16] what do you say about some promulgation? [23:17] jcastro_: needs a finaly review, but otherwise, sure [23:17] Yeah it needs to be reviewed by a charmer. [23:17] Marco let me know if you have any questions or find anything that I did not.