/srv/irclogs.ubuntu.com/2014/05/01/#juju.txt

josetvansteenburgh: I actually forgot to do bzr add and lost the info, BUT had pastebinned it :)01:43
jose(for the nyancat tests)01:43
=== CyberJacob|Away is now known as CyberJacob
=== negronjl-afk is now known as negronjl
=== CyberJacob is now known as CyberJacob|Away
=== lazyPower 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
rharperin an openstack environment, can I configure what ssh keys juju uses when deploying services?  I'd like to provide the keypair instead of juju generating one13:50
stokachurbasak: do you maintain python-websocket?14:10
josemarcoceppi: ping, I'm having some problems with my tests14:15
josethey seem to not pass anymore, not sure why... even though they *did* pass when I wrote them14:15
rbasakstokachu: I did TIL14:26
rbasakstokachu: what's up?14:27
stokachurbasak: we recently got python3 support in the main source tree14:27
stokachurbasak: should i open a bug to get python3 packages built?14:27
rbasakstokachu: in the websocket-client source tree?14:28
stokachurbasak: yea14:28
rbasakstokachu: ah OK. Yeah we probably need a bug to update to latest upstream then, and to add Python 3 packages.14:28
stokachuok ill file one this week for that14:28
rbasakLooks like Debian need one too14:29
stokachuok ill follow up with the Debian maintainer as well14:29
rbasakstokachu: thanks! Just noticed that https://pypi.python.org/pypi/websocket-client still says 2.7 only - I guess you want to fix that?14:30
stokachurbasak: yea ill ask the upstream guy to release a new version14:31
rbasakAh14:31
rbasakRight - I see. 0.13.0 is latest release which we haven't updated either, and 0.14 has Python 3 and needs a release. I get it now :)14:32
stokachurbasak: looks like 0.14 will be release may 15th14:32
stokachuso i can follow up with those bugs after that14:32
stokachuonce this is done then we could look at making the jujuclient python314:33
stokachui think the websocket part was the only blocker14:33
rbasakSounds great!14:36
rbasakThough I wonder if you still want to support 2, for other platforms that don't have 3 yet? Or do they all have 3 now?14:36
* rbasak only uses Ubuntu14:36
stokachurbasak: that's a hazmat question re: py2 support :)14:43
stokachui dont think any other distro support python3 websocket-client yet14:43
mhall119jose: marcoceppi: is there a way for me to check the current relation value between 2 services?15:05
josemhall119: `relation-get value` will return it15:05
mhall119jose: from my host, not the instance?15:05
joseoh15:06
josehmm, I think not, maybe Marco will be able to help with that15:06
josebut if you want to check a consistent value, `juju debug-hooks unit/#` and then `juju set servicename` will get you in a hook environment15:06
joseactually, debug-hooks and then join the relation or destroy it15:07
josemhall119: I'm checking the README and just a few things:15:25
josewe've moved to Markdown so that won't render properly15:25
joseand `charm add readme` should give you the boilerplate README to just copy and paste that15:25
josealso, Contact Information listed there is for upstream (which is good) but we also want people to be able to report bugs on the charm itself15:26
tvansteenburghjose: ack. thanks for all the contributions man, you're rockin' it15:36
josetvansteenburgh: oh, you have a min?15:38
josetests are not going well :(15:38
tvansteenburghjose: yep, i got time15:38
josewell, I'm using *exactly* the same tests as before (which passed) but they're now giving a timeout error15:38
tvansteenburghhrm. if you pastebin the test i can try to help debug15:39
tvansteenburghor push the branch (if you haven't yet)15:39
* jose does15:39
* tvansteenburgh pulls branch15:41
jose\o/15:41
tvansteenburghjose: had some vm issues, running test now15:50
josecool, thank you!15:50
joseI'm really surprised - the rev queue is now short!15:58
mattrae_hi guys, i'm using the openstack provider with juju 1.18.. i'm able to bootstrap after doing the metadata setup.. but i'm wondering if i'm doing it the recommended way if someone can review: http://pastebin.com/hERMpCiA16:05
tvansteenburghjose: still investigating16:09
josenp, I have time :)16:09
tvansteenburghjose: changing conference rooms, i'll brb16:10
joseok!16:10
tvansteenburghjose: this is where things are failing for me: http://pastebin.ubuntu.com/7374048/16:27
josehmm, maybe you hit a server during downtime?16:28
tvansteenburghjose: when your test times out, what's the tail of ~/.juju/local/log/unit-nyancat-0.log ?16:29
joseI use ec2 for testing :P16:29
tvansteenburghah16:30
joselocal would literally take an hour16:30
=== vladk|offline is now known as vladk
joseit does throw an error, though, let me try and run the test right now16:31
tvansteenburghyeah, or ssh to the ec2 instance and check the log there16:32
josebefore it dies16:33
josewill do16:33
mhall119just wasted over an hour trying to figure out why my hooks were failing....because I used /bin/sh instead of /bin/bash :(16:40
josetvansteenburgh: I think I now found the error16:46
josefor some reason it's not opening the correct port16:46
joseit installed correctly, so looks like that prob was on your side16:49
tvansteenburghko16:49
tvansteenburghok16:49
mhall119jose: `charm add` says invalid subcommand16:50
josemhall119: charm add readme?16:50
joseare you using an updated version of charm-tools?16:51
mhall119mhall@mhall-thinkpad:~/projects/Ubuntu/summit/charms/trusty/go-pronto$ charm add readme16:51
mhall119Error: add is not a valid subcommand16:51
joselooks like charm-tools needs some updating16:51
mhall119jose: charm-tools: Installed: 1.0.0-0ubuntu2 Candidate: 1.0.0-0ubuntu216:51
josehmm, that's the one I'm using16:52
josemhall119: oh, can you try with `juju charm add readme`?16:53
joseanyways, http://paste.ubuntu.com/7374204/ has the contents16:54
d3lxahello, during a juju bootstrap on azure, it does apt-get aptitude but it never returns, any idea please?16:57
josed3lxa: can you explain a little bit more, please?16:59
d3lxajose: we are using trusty, juju 1.18.2-trusty-amd6416:59
josed3lxa: I mean, about the error16:59
d3lxawhen I do a juju debootstrap -e azure, where azure was correctly configured17:00
josedebootstrap?17:00
d3lxajose: there is no error, I looked at the bootstrap logs but nothing expect debug and regular noise17:00
d3lxasorry bootstrap*17:00
josedoes 'juju status' show a bootstrapped environment?17:00
tvansteenburghjose: nyancat config-changed hook isn't symlinked17:01
d3lxajose: yes, it is even usuable as if nothing was wrong17:01
josed3lxa: can you go a little bit more in detail about what the *exact* error is?17:01
josetvansteenburgh: let me check17:01
d3lxabut it is hanging somewhere17:01
josed3lxa: can you post some logs?17:01
josetvansteenburgh: good catch! thanks a lot!17:02
tvansteenburghjose: you bet - we both missed the obvious :P17:02
d3lxajose: cloud init output on the remote vm http://sprunge.us/BDYU17:03
josetvansteenburgh: I'm sure I also missed that one when I forgot bzr adding17:03
josed3lxa: checking now17:03
tvansteenburghjose: ah, yeah that makes sense17:03
josed3lxa: let's be honest, I don't find any errors there17:04
joseit looks like everything's running smoothly17:04
d3lxajose: that's what I'm saying, there is no error but juju bootstrap hang17:04
joseoh17:04
d3lxait never returns after printing "apt-get update"17:05
josecan you paste the log of the terminal where you ran the bootstrap, please?17:05
d3lxaso what I've done to bypass, is: to kill juju hardly with -9 or to just put it into backgrond (^Z) and live with that17:05
d3lxa(kill the juju bootstrap of course, not jujud)17:05
d3lxabut it wasn't doing this in the old version, so I guess this is a regression17:06
josed3lxa: ^17:06
d3lxasorry, doing it right now17:06
josenp :)17:06
d3lxajose: http://sprunge.us/hVSC17:06
d3lxait was upgrade, my bad17:07
joseyou know what, let me go ahead, get that free azure credit and test for you :)17:07
d3lxajose: you have one and you can test? would be great thx17:08
josed3lxa: I'll be using their free trial, I'll test as soon as I get it17:09
joseI'll let you know if I find something17:09
d3lxajose: great thx, in that case, will have to report?17:09
josed3lxa: yeah, if it repeats here then we'll report a bug17:10
josed3lxa: if you give me a moment I'll go ahead and test17:19
joseI'm finishing to set up17:19
josed3lxa: question, still around?17:24
d3lxajose: so it doesn't hang on yours?17:24
josed3lxa: no, I have a question17:25
d3lxayes?17:25
josewhat should I put in storage-account-name? a random value?17:25
* jose has never used azure before17:25
d3lxajose: there is a quick guide https://juju.ubuntu.com/docs/config-azure.html very easy17:26
joseblargh, that happens to me for not checking the docs17:26
josethanks!17:26
d3lxa:)17:30
=== roadmr is now known as roadmr_afk
mattrae_hi, i exported abundle from juju-gui.. 'juju bundle proof openstack-bundle.yaml' errors with 'FATAL: Not a bundle'17:33
mattrae_is that supposed to work?17:33
josemattrae_: can you please pastebin the contents of the bundle?17:35
josetvansteenburgh: around?17:36
mattrae_jose: here's the bundle http://pastebin.com/ED30UJKg17:36
josemattrae_: oh, I think you didn't export a bundle, but exported the environment itself17:37
josenot sure if it's the same thing17:37
bachi mattrae_, the export is jus the yaml file.  to be an actual bundle you've got to put it in a directory17:37
mattrae_jose: hmm the juju button in juju-gui says "export bundle"17:37
josethere you go :)17:38
mattrae_bac: ahh cool17:38
bacin that dir you have the yaml file named bundles.yaml and you need a README17:38
mattrae_sweet, i'll give that a try17:38
bacmattrae_: you can look at some existing bundles to see examples17:38
mattrae_cool i'll check out some existing bundles. thanks jose and bac17:38
bacmattrae_: also, you'll need to rename 'envExport' in the yaml file to be a real name17:38
=== roadmr_afk is now known as roadmr
joseguys, I'm having a problem when bootstrapping with azure17:46
josehttp://paste.ubuntu.com/7374531/17:46
d3lxajose: tried?17:55
josed3lxa: I get ^ when bootstrapping17:55
sarnoldjose: it might be a good idea to file a bug on that one, I dunno what your configuration looked like but it'd be nice if the parser were extended to handle it better than that :) hehe17:56
josesarnold: you mean, for the error I got?17:57
josewith all that LP stuff?17:57
sarnoldjose: yeah17:57
josewill do now :)17:57
josethanks!17:57
josed3lxa: I also recommend you file a bug against that problem, and if anyone else is able to replicate it we'll confirm17:57
josesorry for not being able to help right now17:57
josesarnold: do you by chance know if destroy-relation == remove-relation?18:09
sarnoldjose: no idea, sorry18:09
josenp18:09
josed3lxa: hey, I'm bootstrapping on azure right now, will see if it presents the same error18:23
josed3lxa: I think I reproduced it. congratulations, you found a bug18:26
mattrae_hmm following the 'juju quickstart bundles.yaml' example from the docs gives error 'unrecognized command; juju quickstart'.. is there a suggested way to deploy bundles?18:36
mattrae_aha appears there is a juju-bundle command18:39
=== negronjl is now known as negronjl-afk
magicrobotmonkeywhats it mean when my node doesn't reboot after cloud-init?18:43
d3lxajose: ok, so I'll need to report the bug?18:44
magicrobotmonkeyI'm having a problem with the cinder charm. My block device isn't in /dev18:47
josed3lxa: yep, just go ahead18:48
tvansteenburghjose: don18:57
tvansteenburghdon18:57
tvansteenburghdammit18:57
tvansteenburghdon't forget to push that config-changed symlink18:57
josetvansteenburgh: yeah, will do, but looks like it doesn't fix the problem18:57
tvansteenburgh:(18:57
joseI'm going to grab lunch and check what's going on after that18:58
tvansteenburghkk18:58
joseshould be something pretty easy to fix18:58
josetvansteenburgh: symlink pushed anyways19:00
=== vladk is now known as vladk|offline
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
stokachuis the password in the configuration for juju-gui the password for actually logging into the site?20:38
stokachuor is it for the api20:38
lazyPowerstokachu: do you mean the admin-secret: value in environments.yaml?20:49
=== CyberJacob|Away is now known as CyberJacob
stokachulazyPower: yea i believe so20:50
stokachuin local.jenv its just password:20:50
=== vladk|offline is now known as vladk
lazyPowerstokachu: its the password for the GUI20:50
stokachulazyPower: ok cool thanks!20:51
lazyPowernp20:52
stokachuhmm doesn't seem to like that21:12
=== roadmr is now known as roadmr_afk
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== roadmr_afk is now known as roadmr
=== CyberJacob is now known as CyberJacob|Away

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