/srv/irclogs.ubuntu.com/2015/09/16/#juju.txt

=== CyberJacob is now known as zz_CyberJacob
=== wwitzel3_ is now known as wwitzel3
ennobleI just ran into panic, "panic: runtime error: invalid memory address or nil pointer dereference" how do I go about root causing this. I've got a bunch of backtraces in different co-rounties, but I can't figure out where the nil dereference occurred.00:26
=== rcj` is now known as rcj
amit213<amit213> hello everyone.. I have an Ubuntu 14.04 with stock kernel.   Installed juju from stable repo.  juju-local environment.  Attempting to deploy "juju deploy nova-compute"  (it's using LXC underneath) -- I run into this error :    Hook failed "install"05:03
amit213<amit213> juju-log server.go:254 Couldn't acquire DPKG lock. Will retry in 10 seconds.05:04
amit213<amit213> any tips?05:04
=== jam1 is now known as jam
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob
jamespagegnuoy, hey - I'm setting up a sync process to push /next branches to https://code.launchpad.net/~openstack-charmers-next08:23
jamespageso that they can be addressed via the charm store rather than people having to directly use the branches08:23
gnuoyjamespage, ok, sounds good08:24
jamespagegnuoy, it would mean we can publish a liberty bundle earlier than we might with just /next branches08:24
gnuoykk08:25
jamespagegnuoy, some reviews for liberty fixes:08:26
jamespagehttps://code.launchpad.net/~james-page/charms/trusty/neutron-gateway/liberty/+merge/27124508:26
jamespageand08:28
jamespagehttps://code.launchpad.net/~james-page/charms/trusty/neutron-api/liberty/+merge/27124708:28
jamespagegnuoy, if you have a few cycles08:28
gnuoysure, just need to clear a couple of things first08:28
gnuoyjamespage, looks like you have a lint fail for https://code.launchpad.net/~james-page/charms/trusty/neutron-api/liberty/+merge/27124709:16
jamespagegnuoy, urgh - sorry09:16
gnuoynp09:17
jamespagegnuoy, fixed09:23
gnuoyjamespage, approved (assuming osci +1's too)09:26
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
coreycbjamespage, the merge conflicts are fixed up for the action-managed upgrade code:  https://code.launchpad.net/~corey.bryant/charm-helpers/action-managed-upgrade/+merge/27099815:07
=== natefinch-afk is now known as natefinc
=== natefinc is now known as natefinch
natefinchrick_h_: juju quickstart requires the bundle file to be .yaml but not .yml?  juju-quickstart: error: unable to open the bundle: invalid bundle URL: /home/nate/bundle.yml15:58
natefinchrenaming it to .yaml makes it work16:00
frankbannatefinch: yes, it must have yaml ext16:01
natefinchfrankban: why?16:02
frankbannatefinch: for disambiguation, an arbitrary /x/y is considered to be a jujucharms bundle url, like /mediawiki-single or /u/myuser/mybundle16:03
frankbannatefinch: it's trivial to add .yml to that list, but currently it's .yaml and .json16:04
natefinchfrankban: why not just see if there's a valid bundle file at that local location, and if not, then look on jujucharms?  or make the disambiguation explicit, like it is with charms, ie cs:mysql vs. local:mysql ?16:05
frankbannatefinch: "juju-quickstart --help" for all the supported forms16:05
frankbannatefinch: how to disambiguate all the possible entity identifiers is currently under discussion. a local bundles is different than a local bundle yaml though. please feel free to add a bug to quickstart with what you'd expect16:08
natefinchfrankban: will do.  Thanks.16:09
frankbannatefinch: ty!16:09
natefinchfrankban: while I have you.  I'm trying to repro a bug... I'm trying to pare down a bundle to only deploy the stuff I need to repro the bug... but I'm getting unexpected results. http://pastebin.ubuntu.com/12427722/16:12
natefinchfrankban: that bundle doesn't actually deploy haproxy16:12
natefinchfrankban: but also doesn't post an error16:12
frankbannatefinch: are you doing that with quickstart?16:13
natefinchfrankban: yes16:13
natefinchfrankban: 2.2.116:13
natefinchw/ juju 1.2416:13
mgznatefinch: have you determined that quickstart is needed to get the bug?16:13
frankbannatefinch: so quickstart uses the GUI server to deploy the bundle, and the GUI server in turns uses the juju deployer16:13
mgznatefinch: I was going to try just deployer-ing the bundle to then cut it down16:13
frankbannatefinch: do you have errors in the GUI?16:13
natefinchmgz: that's a good idea.  I don't know how to deployer stuff though16:14
natefinchfrankban: looking16:14
frankbannatefinch: and what's the content of https://{juju-gui-address}/gui-serve-info ?16:14
frankbannatefinch: sorry  https://{juju-gui-address}/gui-server-info16:15
natefinchfrankban: {"uptime": 6266, "deployer": [{"Status": "completed", "DeploymentId": 0, "Error": "'NoneType' object has no attribute 'items'", "Time": 1442413931}], "apiversion": "go", "sandbox": false, "version": "0.6.0", "debug": false, "apiurl": "wss://10.0.3.1:17070"}16:16
frankbannatefinch: "NoneType' object has no attribute 'items'" is your error as returned by juju-deployer :-/16:17
natefinchfantastic16:18
natefinchprobably doesn't like my empty list of relations or something16:18
frankbannatefinch: using the deployer directly would show at least a traceback, so that you can find out what the deployer expects and juju-core does not provide (I am trying to guess here)16:18
natefinchfrankban: is there documentation on how to use deployer?  I've never used it.16:19
frankbannatefinch: http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/README  and http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/view/head:/HACKING16:20
natefinchfrankban: looks like it just doesn't like the empty relations value at the end of my bundle16:35
frankbannatefinch: in this case, this is a bug of deployer, it should handle that more gracefully16:36
natefinchfrankban: indeed16:37
cholcombeaisrael, is the juju benchmarker able to do continuous performance monitoring?17:28
aisraelcholcombe: Not at the moment, no. Benchmarks are executed as actions, so they're point in time performance snapshots17:30
cholcombei see17:30
cholcombei'll have to modify my approach a little for that.  no big deal :)17:30
=== natefinch is now known as natefinch-afk
=== natefinch-afk is now known as natefinch
thomitvansteenburgh: Hi, I wonder if I could ask you to review a couple of MPs for juju-deployer please?19:55
tvansteenburghthomi: sure19:58
thomitvansteenburgh: thanks! I have https://code.launchpad.net/~thomir/juju-deployer/trunk-remove-env-log/+merge/271229 and https://code.launchpad.net/~thomir/juju-deployer/trunk-remove-charm-error/+merge/27136819:58
thomiBoth fix small, but annoying bugs19:58
hermanbergwerfAnyone who successfully installed the juju client on a slackware distro? I'm on openSUSE and I got to make install-dependencies but there are Ubuntu/Debian commands there.20:04
tvansteenburghthomi: for the 2nd one, what's an example of a charm path from the deployer file?20:21
thomilet me find one...20:22
thomitvansteenburgh: the charm is specified as: "charm: apache2" for example20:23
thomiI can send you an entire services file if you like20:23
tvansteenburghnah, that's enough, thanks20:24
thomino worries20:24
=== natefinch is now known as natefinch-afk
=== lukasa is now known as lukasa_away
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob

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