/srv/irclogs.ubuntu.com/2014/02/25/#juju.txt

manjiriHello. 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' <regression> <juju-core:Triaged> <postgresql (Juju Charms Collection):Triaged> <https://launchpad.net/bugs/1239681>00:03
marcoceppi_manjiri: what version of juju are you using?00:05
manjirimarcoceppi_: ii  juju-core                                    1.16.6-0ubuntu1~ubuntu12.04.1~juju1              Juju is devops distilled - client00:07
marcoceppi_manjiri: also, it doesn't say it's been fixed, merely triaged for 1.1800:10
manjiriI think I recently upgraded juju-core. Do you recommend that I down-grade? To which?00:11
hazmatmanjiri, can you reliably reproduce that?00:14
hazmatmanjiri, are you running into that  with the postgresql charm?00:15
manjirihazmat: 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:16
hazmatmanjiri, namely that relation-get tosses an error?00:17
manjirihazmat: yes. that is correct.00:17
manjirihazmat: 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
hazmatmanjiri, could you send the log for the unit in /var/log/juju/00:18
hazmati'll try reproducing w/ the postgres charm | unit test00:18
hazmati'm on 1.17/trunk though00:19
=== marco is now known as Guest19751
=== Guest19751 is now known as marcoceppi-bounc
manjirihazmat: I am new to IRC. When you say "send" the log - what do you mean?00:19
hazmatmanjiri, typically pastebin.ubuntu.com if its not sensitive00:20
sarnold(the pastebinit tool is awesome for this)00:20
hazmatmanjiri, welcome to irc btw.. also there's a command line client00:20
hazmatsudo apt-get install pastebinit00:20
hazmatyou can point it to a file as a param or pipe data into the pastebinit cli00:21
marcoceppihazmat: --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
hazmatmarcoceppi, the latter doesn't exist00:22
hazmatatm00:22
hazmatmarcoceppi, yes.. its event stream wait and configurable timeout00:22
marcoceppihazmat: didn't think so, that's why I got kind of excited when I saw the option00:22
hazmatmarcoceppi, and stop/shortcircuit on error00:22
hazmatrephrasing its wait for x seconds without error post action00:23
manjirihazmat: Please check out http://pastebin.ubuntu.com/6991890/00:23
hazmatmanjiri, are you changing users in your charm?00:24
hazmatmanjiri, the juju cli commands use a  unix socket owned by root. changing user would be the most likely cause.00:25
manjirihazmat: no change in user00:26
manjirihazmat: to which cli commands are you referring?00:27
hazmatmanjiri, ok00:27
hazmatmanjiri, 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:27
manjirihazmat: got it. to reconfirm, my charm does everything as 'root'00:28
=== sidnei_ is now known as sidnei
manjirihazmat: do you have a recommendation? Downgrade juju-core?00:34
hazmatmanjiri, not atm00:37
hazmatstill trying to understand root cause, but past eod, so intermixing other things00:37
hazmatmanjiri, 1.14 is very old.. not recommened00:39
manjirihazmat: I have 1.16.6-0ubuntu1~ubuntu12.04.1~juju100:40
hazmatunderstood00:40
hazmatmanjiri, is your charm opensource?00:40
hazmatif so where can i find it..00:40
manjirihazmat: not yet00:40
hazmatcurrently trying to run the postgresql charm unit tests per the bug report00:40
manjirihazmat: I can provide code snippet if you think that it will help00:41
hazmatmanjiri, that would be helpful00:44
=== wgrant_ is now known as wgrant
manjirihazmat: Is it OK if I email it to you?00:46
hazmatmanjiri, sure00:46
manjirihazmat: Give me a few minutes00:47
hazmatmanjiri, np00:47
hazmatstub, ping.. how do you run these postgresql charm tests00:48
manjirihazmat: 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 bug01:29
hazmatmanjiri, got it.. i'll have to look at in the morning its late here.. and i'm done for the night01:33
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== mwhudson is now known as zz_mwhudson
stubhazmat: Bootstrap an environment, then 'make test'. tests/00_setup lists packages that might be needed04:54
stubhazmat: it has been a while since I tried anything but the local provider04:54
=== timrc is now known as timrc-afk
=== freeflying is now known as freeflying_away
=== CyberJacob|Away is now known as CyberJacob
hazmatstub, thanks10:08
hazmatstub, i use a variation a manual provider variation on local provider with lxc btrfs snapshots.. should be about the same.10:09
hazmatstub, you still have that failing test per the bug report .. http://pad.lv/123968110:11
hazmat?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
danobi 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:41
marcoceppidanob: you shouldn't are you setting a vhost template?18:51
chris38homehi, 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:02
marcoceppichris38home: uh, I don't think you can LXC on LXC19:09
sarnoldyou can do nested lxc: https://www.stgraber.org/2013/12/21/lxc-1-0-advanced-container-usage/19:12
chris38homeok then juju add-machine should create a new lxc container ?19:12
sarnoldno idea how well juju will handle it though :)19:12
chris38homenon nested is also pending19:13
marcoceppichris38home: well, non-nested needs to be instarted before nested can work19:18
marcoceppichris38home: can you show your juju status in a pastebin?19:18
chris38homemarcoceppi,  http://pastebin.com/AB8HDfZS19:28
=== zz_mwhudson is now known as mwhudson
chris38homemaybe I have a problem with routing : cannot load index "http://10.0.3.1:8040/tools/streams/v1/index.sjson"19:43
jcastro_is this bucket thing still a thing? http://askubuntu.com/questions/425745/maas-juju-bootstrap-40420:21
jcastro_I haven't seen that one in a while20:21
=== mattgriffin is now known as mattgriffin-quic
Lord_SetHello everyone20:52
marcoceppio/ Lord_Set20:52
Lord_SetHow is the world of Juju going?20:55
marcoceppiLord_Set: really well, imo21:05
Lord_SetGlad 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:06
Lord_SetGoing 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
Lord_SetWe are upgrading to 100mbps burstable to 1gbps fiber soon between locations.21:08
marcoceppiLord_Set: Sweet! Let us know if we can help in any way21:08
Lord_SetI 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
Lord_Seterr team21:10
jcastro_Lord_Set, this is awesome, let us know how it goes for you21:12
jcastro_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
marcoceppijcastro_: you sound like a raving nut ;)21:13
Lord_SetI will21:14
jcastro_Apache Syncope charm incoming to the queue!21:14
Lord_SetI 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:15
Lord_SetCurrently 4 geographical sites with a total of 12 racks currently. 2 of which are at Switch SuperNAP in Vegas21:16
jcastro_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 <audit> <mongodb (Juju Charms Collection):New for negronjl> <https://launchpad.net/bugs/1267222>21:16
negronjljcastro_, sorry about that ... I'll update today21:17
marcoceppijcastro_: didn't lazyPower fix that ?21:17
jcastro_I dunno, did he?21:18
* marcoceppi waits for lazyPower21:18
lazyPowerNope, i fixed a race condition in mediawiki, and pointed it out back in the day21:19
lazyPowerbut have not applied any patches to mongodb charm21:19
=== Settite is now known as Lord_Set
=== CyberJacob|Away is now known as CyberJacob
jcastro_lazyPower, marcoceppi, mbruzek: hey when you guys get time can you go through and vote in the juju tag?21:37
lazyPowernegronjl: I do however have tests in amulet to assert that it works - i think you already patched it.21:37
jcastro_dimiter is answering a ton but not really getting any upvotes21:37
lazyPowernegronjl: latest bzr branch is lp:~lazypower/charms/precise/mongodb/ci-fix21:38
=== 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
jcastro_mbruzek, marcoceppi: heya, looks like wildfly is ready to go23:16
jcastro_what do you say about some promulgation?23:16
marcoceppijcastro_: needs a finaly review, but otherwise, sure23:17
mbruzekYeah it needs to be reviewed by a charmer.23:17
mbruzekMarco let me know if you have any questions or find anything that I did not.23:17

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