/srv/irclogs.ubuntu.com/2018/07/13/#juju.txt

veeberswallyworld, kelvin : ahh, I think I get it, the jujud run in the operator pod is from the operator image right? So if I want to update the logging on the client end I need to build an image, push it and overwrite the one used somehow right?00:07
kelvinveebers, there is a handy cmd in makefile to replace the image cache on k8s node. so u just build the image on ur host, then push to the k8s node, k8s will use the cache always if it represents00:09
veeberskelvin: mean thanks!00:09
kelvinveebers, or u can kubectl exec into the pod, then change the python source code, and test it.00:10
veeberskelvin: its jujuc code I've added logging00:10
kelvinif it's charm py lib00:10
veebersand now thinking about it, I think I have some ideas as to whats going wrong00:10
kelvinok00:10
veebersugh me need type faster00:10
kelvinyeah 1st thing is for go bin, the 2nd is for py charm00:13
anastasiamac_wallyworld: ping00:14
veebersWTF, does anyone else see this error when 'make install'-ing? service/systemd/service.go:61: syntax error: unexpected = in type declaration00:15
veebershmm, seems an env issue?00:15
veeberskelvin, wallyworld can I set controller config caas-operator-image-path to point at a local docker?00:32
veebers(my juju status -m ${JUJU_K8S_MODEL} kubernetes-worker has no machines :-\ want to use the image from the start)00:33
veebersnw, pushing to docker hub, will use that00:37
kelvinveebers, i don't know how to do that. what i would do is either to ensure the node image cache is ur build or scp ur jujuc into the operator pod(assume ur image build host is Ubuntu same as the operator os)00:38
veeberskelvin: ack, if this fails (or if I need to operator quicker) I can do that cheers, need to fully get my head around the operator pod etc.00:38
veeberskelvin: yay I now get the logging I was expecting, cheers!00:41
kelvinveebers, or u can work on the k8s node directly, clone juju to the host, change, build bin, build image, and redeploy the charm, then u don't need to push then pull images00:41
veebersnow to actually figure out and fix the issue00:41
kelvinveebers, awesome00:41
wallyworldanastasiamac_: hi, sorry was immersd in code, missed ping00:56
wallyworldveebers: operator pod logs don't go to controller00:57
wallyworldi think i gave you the command yesterday?00:57
wallyworldkubectl log -f ....00:58
veeberswallyworld: aye, sorted now, needed the operator image updated with the new jujud00:59
wallyworldok00:59
wallyworldveebers: you figured out that caas-operator-image-path can point to your own image on dh?01:02
veeberswallyworld: yep, I can get the new image and juju there fine, so I have my loggin now, just need to determine why it's complaing01:03
wallyworldgr8 ok01:03
veeberswallyworld: I have this error message, I wonder if it's something to do with how a caas model httpgetter does something? https://pastebin.canonical.com/p/pfP3dMDY2M/01:03
wallyworldveebers: it is, i can explain, HO?01:04
veeberswallyworld: yay yep standup omw01:04
balloonsHappy Friday to all you people from the future!01:05
babbageclunkyay! Happy Friday balloons!01:06
blahdeblah\o balloons - how's it going?  Where are you working now?01:10
balloonsI hope you're still keeping veebers on his toes babbageclunk.01:10
balloonshey blahdeblah, heh, never forget that handle :p01:11
balloonsI'm enjoying my time presently working for DO. And yes, no provider for DO means I've been juju free for several months now01:12
balloonsI'm clean, I swear it.01:12
blahdeblahcool01:12
veebershey balloons o/01:31
anastasiamac_wallyworld: PTAL https://github.com/juju/juju/pull/8929 - disabled users access check01:57
thumperballoons: I thought you'd be writing a DO provider?02:03
blahdeblahhaha02:04
anastasiamac_or thumper, PTAL at https://github.com/juju/juju/pull/8929? would b awesome to land it in 2.4.1..02:32
wallyworldanastasiamac_: lgtm ty02:32
anastasiamac_wallyworld: \o/02:32
anastasiamac_wallyworld: fco... apiserver tests fail coz apparently disabled users have login access... as it makes no sense to me - disabled users should not be able to login, m fixing the tests.... i might need u to have another look unless u r happy as-is02:44
wallyworldhmmm, i sort think they should have no access02:48
anastasiamac_wallyworld: exactly :)02:48
wallyworldveebers: i want to keep some aws instances running for demo under the juju-qa account, remind me, so i just go in and mark them in aws console as don't termnate or something02:49
veeberswallyworld: yep, set termination protection02:50
veeberswallyworld: if you wanted to be super extra sure you could just disable the aws cleanup job for now02:50
wallyworldta. i think i just lost them all02:50
veeberswallyworld: oh shit :-( hopefully not a biggie to get back?02:50
wallyworldit's juju, just redeploy :-)02:50
veebershah true ^_^02:51
anastasiamac_wallyworld: and disabled users do not have access to application offers either, right? oh well, shouldn't since they do now...03:19
wallyworldyeah, shouldn't03:19
veeberswallyworld: is "Labels:    map[string]string{labelApplication: appName}}," important for a secret? (if so I'll pass in app name to EnsureSecret too03:51
wallyworldyeah, we should label it with app name03:51
veeberscool, can do03:51
anastasiamac_wallyworld: updated PR to ensure no access for disabled user, PTAL?03:53
wallyworldok03:53
anastasiamac_wallyworld: also i think we have a bug in that we still should be able to provide means to list access for disabled users when admins want to see what they'd have when re-enabled... currently i don't think it'll work: t'll come back with "none"... i'll file a bug and work on it accroding to my pririties :D03:54
wallyworldsgtm03:54
wallyworldanastasiamac_: just a typo03:58
anastasiamac_phew! that's good news \o/ tyvm for review :D03:58
veeberswallyworld: FYI have pushed the fixes and the requested changes to the PR04:10
wallyworldlooking04:10
wallyworldveebers: just a couple of small things04:21
veeberswallyworld: cool, on it04:22
veeberswallyworld: hub.docker.io or just docker.io?04:26
wallyworlddocker.io04:26
veeberscheers04:26
wallyworldi tested with docker pull04:26
veebersah right, I can see that in my terminal backscroll. /me wonders if hub.docker.com redirects to docker.io04:27
wallyworldkelvin: lgtm, just a couple of small things04:33
veeberswallyworld: ok just fixing a couple of unit test failures that fell out of that and will squash && push && merge04:33
wallyworldty04:33
kelvinwallyworld, yup thanks04:34
veebersIt seems there are occasional test issues with github.com/juju/juju/cmd/juju/machine.TestPackage (from github.com_juju_juju_cmd_juju_machine)05:22
anastasiamac_wallyworld: m pretty sure we de-dup local charms when they r deployed multiple times, right? i seem to reacll ppl doing the work...06:54
wallyworldthe blob contents i think so06:55
=== frankban|afk is now known as frankban
stickupkidmanadart: you go 5 minutes?09:06
stickupkids/go/got/ ?09:07
manadartstickupkid: Sure HO?09:08
stickupkidsure09:08
stickupkidone sec got to restart09:09
rick_h_stickupkid: I do want to say let's keep this method around though. This feels like the right autoload-credentials type thing where if you've got it, great!10:34
manadartNeed a review for: https://github.com/juju/juju/pull/893310:42
valentina_Hello All,11:40
valentina_would anyone give me a hint please: I'm using pylxd in my charm: https://git.launchpad.net/charms-6wind/tree/charm-layers/6wind-common/lib/charm/openstack/utils.py11:40
valentina_I want to add a constraint: that my charm installs and uses only pylxd>=2.2.7 from PyPy repository not python3-pylxd from official ubuntu's repos.11:40
valentina_I've found small notice about wheelhouse.txt file in official doc11:40
valentina_I'm hesitating, where I should put this constraint, shall I create wheelhouse.txt in 6wind-common layer directory: https://git.launchpad.net/charms-6wind/tree/charm-layers/6wind-common11:40
valentina_Or I should put it in charm's dir here:  https://git.launchpad.net/charms-6wind/tree/virtual-accelerator-compute11:40
valentina_The second question: actually there is no any wheelhouse.txt files in charms-6wind repo, but when I build the charm, the build folder is created and I can see wheelhouse.txt generated here. How it is generated by charm build and which template it takes, how it takes decision which python libraries it have to put to wheelhouse.txt as a needed dependencies ?11:41
valentina_Thanks for any help11:41
stickupkidmanadart: that worked11:55
stickupkid* goes for lunch with joy11:55
manadartstickupkid: Nice.11:55
stickupkidmanadart: i need to just make sure, it seems rather convoluted tbh, but it is what it is11:56
stickupkid:)11:56
alephnullCould someone point me to some explanatory guide about relations? I'm looking at https://jujucharms.com/rabbitmq-server/ and it extracts information from relations and I am not entirely sure where this information is coming from.12:40
stickupkidrick_h_: after finalize cloud when adding a credential, do you think we should update the credential file?16:04
stickupkidrick_h_: the issue we have is that trust.password isn't assured to be always available, it might be turned off because of security reasons16:04
stickupkidrick_h_: we have the server cert, so we should remove the trust.password and swap it with that16:05
rick_h_stickupkid: hmm, so we go through add-credential and ask for the trust password, setup the keys. Do we setup the keys on bootstrap? Or as part of the add-credential call?16:24
rick_h_stickupkid: e.g. do we actually need to write out that trust pass to anything persistent?16:24
=== frankban is now known as frankban|afk
stickupkidrick_h_: the problem is, we don't finalize the cloud, if you're not in interactive mode. It's only when we bootstrap that we finalise the cloud...16:41
stickupkidrick_h_: so we need to either finalize the cloud when we add-credentials for all credentials added (maybe add it optionally so i don't break other providers) or a re-write the credentials at bootstrap16:42
stickupkidrick_h_: that latter feels wrong16:42
rick_h_stickupkid: yea, I wouldn't expect us to wait until bootstrap to do something with creds16:43
stickupkidrick_h_: i'll propose it, see if people hate it :)16:44
rick_h_stickupkid: can you raise an email to the team about finalizing at add-credential time? It feels like the right place but if we've never messed with that...I mean what does azure do?16:44
rick_h_it has an interactive add-credential that walks back/forth and such16:44
rick_h_I wonder if there's lessons/style to crib from there16:44
rick_h_stickupkid: kk, on the propose and get feedback method16:45
stickupkidrick_h_: so interactive works nicely, it's when you pass a file it assumes that you know what you're doing?16:45
stickupkidrick_h_: quick HO?16:46
rick_h_stickupkid: sec16:55
rick_h_stickupkid: I see...yea the file path. Hmmm16:55
rick_h_stickupkid: still around?17:00
rick_h_actually, just go have a good weekend stickupkid17:00
stickupkidrick_h_: haha, i'm still around, if i get this sorted, i want have to think about it all weekend :)17:01
rick_h_stickupkid: sounds like a plan17:01
rick_h_stickupkid: with a cool beverage in hand to assist the thinking :)17:01
stickupkidHO if you want17:01
rick_h_stickupkid: no, I want you go to enjoy your weekend and get out of here17:02
rick_h_stickupkid: appreciate your thinking on the problem.17:02
stickupkidrick_h_: muhahaha - got it working17:29
rick_h_stickupkid: lol17:29

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