/srv/irclogs.ubuntu.com/2018/03/21/#juju.txt

=== frankban|afk is now known as frankban
=== salmankhan1 is now known as salmankhan
magicaltrout so16:33
magicaltroutthe juju gui16:33
magicaltrouttells me 2 charms are blocked16:33
magicaltroutjuju status tells me all is green16:33
magicaltrouton jaas16:33
magicaltroutwho broke it?16:34
rick_h_magicaltrout: hmm, reload the browser? maybe something got missed in the websocket coms?16:34
magicaltroutdid that16:34
magicaltroutwent back to the control page went back to the model16:34
magicaltroutetc16:34
zeestratHey rick_h_, did you ever manage to scrounge together any of the backend folks regarding CI and the charm store?16:36
rick_h_zeestrat: yes, sorry. one sec16:39
rick_h_magicaltrout: so where's it say it's blocked? In the inspector floaty box thing on the left?16:40
rick_h_zeestrat: so, we were at a sprint and we had some sessions on it and so the team's working on changes to enable what has been called "agents" that we've used for communication between microservices but allowing users to create and manage agents themselves16:41
rick_h_zeestrat: so that's ongoing work from the sprint the teams doing and some of the terms might change up as we move from an internal details to a feature for all users16:41
rick_h_zeestrat: when we've got something test-able you can be sure I'll reach out and show off to folks in a juju show/blog post about using it16:41
magicaltroutrick_h_: https://imagebin.ca/v/3vetcUjfVsrQ16:45
magicaltrouthttps://imagebin.ca/v/3vettfOo8Psf16:46
rick_h_magicaltrout: bugging hatch (who's not in here that punk) to see if he knows anything to check there.16:46
rick_h_magicaltrout: sounds like a buggy bug, but not sure how it got into that state16:47
magicaltroutthanks rick_h_16:49
rick_h_gotta love it "did he reload" yea...we got that16:50
zeestratrick_h_: Thanks. That sounds good. Please don't hesitate to ask if they would like some direct feedback on use cases before things land.16:50
rick_h_zeestrat: so the goal is going to be to expose the current stuff as a form of unblocking with a path forward that's cleaner I think.16:50
rick_h_zeestrat: so there will be some room for testing stuff out and then refining16:50
rick_h_zeestrat: otherwise we're starting from scratch which will take longer16:50
rick_h_magicaltrout: so he's going to check something and get back in a bit. Are the images ok to go into a bug?16:51
rick_h_magicaltrout: though I think he's going to ask for the actual wss coms to see if it's juju lying or us16:52
magicaltroutyeah i'm just trying to finish off the jaas bundles so nothing top secret in there16:52
rick_h_magicaltrout: ok16:52
rick_h_magicaltrout: do you know how to view the web socket messages in chrome?16:52
magicaltrouthmm16:54
magicaltroutit seems to have sync'd up rick_h_16:54
magicaltroutcause i refreshed for the websocket stuff16:55
magicaltroutand not it all green16:55
magicaltroutnot much to show any more =/16:55
rick_h_magicaltrout: not/now?16:55
magicaltrouter16:55
magicaltroutyeah16:55
rick_h_magicaltrout: hmm, yea my bet is that the websocket that updated the status  got missed/dropped somehow16:55
magicaltroutfair enough16:55
magicaltroutother random question16:55
rick_h_magicaltrout: and that a fresh stack with the current status cleared up the confusion16:55
magicaltroutis it just me who feels the import export icons and the wrong way around? :)16:56
rick_h_magicaltrout: lol, issue filed. I always have to double check. I'll have to bug the design folks again as it's been a while16:56
rick_h_magicaltrout: at one point they were looking at more clear images to use16:57
zeestratrick_h_: Gotcha. Looking forward to it. Thanks again!17:02
=== frankban is now known as frankban|afk
=== daniel is now known as Guest77671
=== Guest77671 is now known as Odd_Bloke
bdxcory_fu, reactive-peeps: https://github.com/juju-solutions/charms.reactive/issues/new21:03
bdxGEHHHH21:03
bdxhttps://github.com/juju-solutions/charms.reactive/issues/16621:03
cory_fu:)21:03
cory_fubdx: Can you not use venv?  And does it fail if you do?21:04
bdxyeah, not using venv21:05
bdxit seems to fail in both situations21:05
cory_fubdx: I feel like I ran into this before and found some workaround21:06
cory_fuBut I don't recall what it was21:06
cory_fubdx: Can you try adding setuptools_scm to the start of the wheelhouse.txt in a copy of layer:basic?21:07
bdxyes21:07
cory_fubdx: Is this failing during build or during deploy?21:09
bdxcory_fu: deploy21:09
cory_fubdx: From this comment https://github.com/pypa/pypi-legacy/issues/322#issuecomment-291733676 it sounds like we need to bump the pip version in layer:basic's wheelhouse.txt: https://github.com/juju-solutions/layer-basic/blob/master/wheelhouse.txt#L121:11
bdxcory_fu: nice find!21:12
cory_fubdx: Would you mind testing that and submitting a PR if it works?21:12
cory_fuI'm in the middle of something else21:12
bdxnp21:12
cory_fuThanks!21:13
bdxcury_fu: with your workaround https://paste.ubuntu.com/p/DG7PC9DGHj/21:14
bdxlooks like its still failling down the line21:14
bdxI'll play with upgrading pip now21:15
bdxupdating to pip>=9.0.2 still gives the same error21:32
bdxwhen I build the charm its using pip-10.0.0.dev0-py3.5.egg21:33
bdxhttps://paste.ubuntu.com/p/pYDyCdtfFg/21:33
bdxI'm guessing I need to find a way to get that version of pip into the wheelhouse of layer-basic then21:34
bdxthat pip looks like it ships with the snap https://paste.ubuntu.com/p/ZdcYwJ2Yry/21:37
bdxhmmmm21:38
bdxthere is some jiggery going on here21:39
bdxcory_fu: what have you gotten me into :)21:39
cory_fulol21:40
cory_fubdx: Have you tried specifying pip==10.0.0dev0 explicitly?  I'm not sure if that will allow dev versions or if you have to get charm-build to use --pre when building the charm21:42
bdxno, neither21:44
cory_fubdx: Though, I don't understand why it's still failing with 9.x21:44
bdxI don't see that version as a release of pip, or a branch, or anything about it in the pip repo ... I'll try what you've suggested21:45
cory_fubdx: I suspect that using pip==10.0.0dev0 won't work, anyway.  I wonder if we need an explicit `pip install setuptools_scm` in layer:basic just prior to it trying to install the wheelhouse.21:47
cory_fuI swear I remember hitting this before and having some sort of work-around21:47
bdxyeah it barfed on the version https://paste.ubuntu.com/p/8xP92Q87bv/21:47
bdxcory_fu: do you know how, and or why 10.0.0dev0 is used?21:48
cory_fubdx: Yeah, it's used because of https://github.com/juju/charm-tools/blob/master/charmtools/build/tactics.py#L819-L82121:49
cory_fubdx: Which points to https://github.com/pypa/pip/blob/master/news/4320.bugfix21:50
cory_fuWhich is something we specifically had to fix for the snap21:50
cory_fuWait, we didn't fix that, someone else had first, that's right21:50
cory_fuAnyway, it was something we hit in the snap21:51
bdxok21:54
bdxI'm wondering if I use non-snap version if I would still hit this .... testing21:56
bdxfails the same no matter what version of charm I build with ... don't think thats the issue22:09
bdxcory_fu: https://paste.ubuntu.com/p/7hNPqVvmQc/ - could this be the root of this evil?22:09
cory_fubdx: It could be but you said it happened even when using a venv22:10
bdxtotally, doesnt the venv get system packages?22:10
bdxoooh, thats another option possibly22:11
cory_fubdx: Yeah, there's a separate option for include_system_packages which defaults to false22:12
cory_fubdx: Can I ask why you can't use a venv?  It's a better idea in general22:12
bdxcory_fu: https://github.com/juju-solutions/layer-basic/blob/master/layer.yaml#L1422:12
cory_fubdx: Oh, yes, I'm dumb.  I forgot we went with true by default to make it more backwards compatible22:13
bdxcory_fu: I have cron jobs that the charm sets up that need to run at the system level22:13
cory_fuTry changing that to false and use_venv to true and see if it helps22:14
cory_fubdx: Just run them with charm-env22:14
bdxoh I can use that in any python file?22:14
cory_fu#!/usr/local/sbin/charm-env python22:14
bdxthe shebang?22:14
cory_fuYep22:14
bdxoh saaweeeet!22:14
cory_fubdx: Hrm.  I just realized, though, that if it doesn't have the hook context clues, it will have to guess on the charm path.  It will be fine if there is only one principle, and if your charm isn't a subordinate, but I might need to add a way to specify which charm, to be more explicit22:15
bdxahh totally, its a principle22:16
bdxgood to keep in mind though22:16
cory_fuOk, so as long as you're not hulk-smashing charms together, it'll be fine.  And I'll add an option to disambiguate22:17
bdxok sweet22:17
bdxcory_fu: I still got the error after changing include_system_packages to false and use_venv to true, I'm trying another deploy with setuptools specified in my wheelhouse.txt22:30
cory_fubdx: Pretty sure that specifying it in wheelhouse.txt will be too late.  I think it has to be an explicit call to pip in layer:basic just before the wheelhouse install22:30
bdxahh ok22:31
cory_fui.e., right before this line: https://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L8122:31
cory_fuActually, no.  Before line 8522:31
cory_fuhttps://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/basic.py#L8522:31
cory_fubdx: I have to head out for the evening.  Good luck, and let me know if you figure anything out22:58
bdxwill do23:01

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