/srv/irclogs.ubuntu.com/2019/10/15/#juju.txt

wallyworldthumper: PR to move proxy update worker to common manifold set for use in caas and iaas https://github.com/juju/juju/pull/1073100:00
anastasiamacwallyworld: and PTAL https://github.com/juju/juju/pull/10732 - fixes for 'regions' command03:10
wallyworldok, real soon03:10
wallyworldanastasiamac: worries about the yaml change since we try not to do that. remind me, was that something we said was ok this time?03:51
anastasiamacwallyworld: so yaml has to change coz we previously did not have controller side info04:03
anastasiamacwallyworld: the most yaml changes that r concerning r the ones that feed back into a correpsonding command04:03
anastasiamacfor example if we had to update regions using this output04:03
wallyworldtrue, although pople to script stuff also04:03
anastasiamachowever... this is more of a show than a list04:03
wallyworldbut yeah, not much choice here04:03
anastasiamacwallyworld: i srsly doubt many ppl scripted that but we are adding more info that did not exist so yes, have to change yaml...04:04
wallyworldanastasiamac: lgtm, ty04:07
anastasiamacwallyworld: \o/04:08
wallyworldbabbageclunk: what's status on vsphere role checK? still having "fun with groups"? i prefer "fun with flags"04:10
babbageclunkwallyworld: still fun with groups - I think I've nearly cracked it04:16
wallyworld\o/04:20
babbageclunkwallyworld: ok, I think I've got it - went down a few wrong alleys first. Also there's the weird thing where if you don't have the read permission you also don't have permission to check to see if you have the permission, so you have to use the nopermission fault as the answer.05:48
babbageclunkI'll finish coding it up tomorrow - have to go to choir.05:48
wallyworldok, ty05:48
anastasiamacwallyworld: m inclined to lmit lists and show to just list and show rather than also do a diff... i feel like it's a different concern06:04
wallyworldporbs, just on a call atm06:05
anastasiamacwallyworld: besides we r only doing it in one, human readable format as it makes no sense in other formats...06:05
anastasiamacwallyworld: ack06:05
stickupkidis there away to make `--debug` flag be true all the time via an env var? I want it for some CLI integration testing, and it's very verbose to do that in every place09:41
stickupkidjam, thoughts?09:41
achilleasastickupkid: how about 'alias juju=juju --debug' ?09:42
stickupkidsick09:42
stickupkidthat might work09:42
stickupkidachilleasa, nice, that worked09:50
stickupkidanyone want to review the left overs from CI day, this ensures that we handle logging and bootstrap reuse correctly https://github.com/juju/juju/pull/1072909:52
stickupkidit actually fixes an issue in one of the test suites, where underscores in model names failed to bootstrap09:53
nammn_demanadart: controller do count as agents? If I want to run updatesteps on the controller and machines, in generall all agents I add those to targets?  []Target{AllMachines, DatabaseMaster} Or would be "allMachines" correct? I know we talked aobut this briefly yesterday..10:23
manadartnammn_de: AllMachines should do it.10:37
nammn_degot it thanks10:45
nammn_dedid any of you ever came across this err message? 'juju.worker.dependency "uniter" manifold worker returned unexpected error: subnet'11:00
achilleasamanadart: can you take a look at https://github.com/juju/juju/pull/10734? I don't think it causes any conflict with hml's changes but I will wait till her PR lands to merge this in.11:03
manadartachilleasa: Yep. Just grabbing a bite.11:05
manadartachilleasa: Approved. One comment.12:10
hmlmanadart:  can you take a look at a test for me pls?  https://jenkins.juju.canonical.com/job/github-make-check-juju/1563/consoleText  TestReplaceSpaceNameWithIDEndpointBindings - the data isn’t getting into the db for endpointbindings so fails.  I’m just not sure what’s wrong with the bson insert.12:18
hmlmanadart: https://github.com/juju/juju/pull/10718/files#diff-dd4ab00ea08f5a35293ab48af332ba38R395812:18
hmlmanadart:  another set of eyes would be great12:19
manadarthml: Looking.12:25
nammn_demanadart do you know what "JUJU_K8S_MODEL" in the makefile refers to?12:26
manadartnammn_de: It looks like an env var that needs to be set as the model that "make local-operator-update" will run against.12:31
rick_hmanadart:  heads up, in talking with thumper last night this topic came up and might be of great interest to the ATOS conversations https://discourse.jujucharms.com/t/little-known-feature-workload-juju-communication/221812:32
rick_hheh looks like you've already seen/replied in it. cool12:32
manadartrick_h: I also posted it to the Atos Slack.12:32
rick_hmanadart:  <312:32
* manadart got you yo.12:33
manadarthml: I think you have to add a model-uuid to the test docs that you create. None of them are found by the test.12:49
hmlmanadart:  okay, i’ll take a look,12:51
hmlI thought _id was sufficient12:51
nammn_demanadart: just to make sure for bug report https://bugs.launchpad.net/juju/+bug/1848149 , does an error occur while deploying? Was the err msg.: "version string generation failed"?13:51
mupBug #1848149: Charm Deployed or Upgrade from Dir Ignores "version" <juju:Triaged> <https://launchpad.net/bugs/1848149>13:51
hmlstickupkid: reworded the CMR scenario, hopefully more clear13:52
manadartnammn_de: There is no error. One way gets a version and the other does not.13:52
stickupkidta13:52
nammn_demanadart: ahh, okay interesting. Maybe both bug reports where different nature I will update that thanks13:53
nammn_dehml: do you have the PR at hand which I should run QA?14:10
hmlnammn_de: they should be linked from the trello cards in general.   here’s the specific one in this case: https://github.com/juju/juju/pull/1071814:11
nammn_dehml: ah right, thanks!14:11
nammn_de@jam you were saying we should add an acceptance test because of pathing. Isn't there one used? https://github.com/nammn/juju/blob/088736ee1fea11a6d85eb4511e26239cc688dc43/tests/suites/cli/use_local_charm.sh#L4314:16
rick_hnammn_de:  the idea was to test deploying a charm now in the cwd, e.g. ./path/to/charm14:24
rick_hnammn_de:  along with the test for juju deploy .14:24
rick_hnammn_de:  so we'd have both scenarios vs just the one14:25
nammn_derick_h: you mean adding a test with a relative path? Current test uses a absolute one14:25
rick_hnammn_de: yes14:26
nammn_derick_h: ahhh I missunderstood initially. Got it14:26
nammn_derick_h hml: i just configured guimaas and would love to help QA the PR but a lot of things are new to me (Space bindings, CMR, bindings) someone has time to give me an introduction/give me links to some things to read up on?16:22
nammn_dejust ping me up if thats the correct documentation for the current system: https://jaas.ai/docs/deploying-advanced-applications#heading--deploying-to-network-spaces16:24
killcityHi all. Does anyone know what else i need to do when trying to set config values to env vars on a centos box via an install hook? they dont seem to be populating. works fine on ubuntu.17:01
killcityie: MYVALUE=$(config-get myvalue)17:02
killcitythe rest of the hook that doesnt rely on config values/vars works fine. ie: yum installs, etc17:02
rick_hnammn_de:  will make time tomorrow we can run through stuff17:11
pmatulis1when i use option `--metadata-source` with the 'bootstrap' command i don't see where this value is exposed. should it not show up in the output to 'show-controller' command?17:34
rick_hpmatulis1:  I think it's controller-config?17:35
killcityis there a chat log anywhere we can reference?17:38
killcityanyone know if they are planning on moving to slack instead?17:38
killcityirc is cool and old school, but...17:39
rick_hkillcity:  we're not looking to move to slack anytime.17:39
rick_hkillcity:  let me see if we have logs. We used to but I can't recall the url.17:40
rick_hkillcity:  https://irclogs.ubuntu.com/2019/17:41
rick_hhml:  looks like jenkins is back up and happy-ish17:42
hmlrick_h: ty17:42
* rick_h rekicks last build17:42
killcityany reason in particular you dont want to move to slack? not having to ask the same question over again because someone already asked it (because there is a convo history) is huge.17:45
killcityrick_h thanks17:47
rick_hkillcity:  mainly not a fan of slack myself and I've avoided it so far personally. I understand not everyone agrees. I think that the main thing is it's standard for canonical projects to have a public IRC channel on freenode and it would be a large undertaking to migrate everyone/everything.17:52
killcitylooks like #juju isnt being logged.17:54
pmatulis1rick_h, i forgot about controller-config. these two commands have always been confusing. anyway, metadata-source is in neither of them17:54
rick_hpmatulis1:  :( ok17:54
=== pmatulis1 is now known as pmatulis
rick_hkillcity:  oh, I saw it one one of the days.17:54
rick_hkillcity:  https://irclogs.ubuntu.com/2019/10/15/%23juju.txt (today)17:54
killcityi just dont see the benefit to irc over slack, but fair enough. this is coming from a guy that used to work at concentric.net17:54
rick_hkillcity:  understand. It's just not something I've pushed on because of my own slack reluctance I guess. I'm sure there are others that would <3 it17:55
rick_hkillcity:  but hey, what can I help you with?17:55
rick_hoic, you've got a charm hook question above. Hmmm, there's nothing specific on that I can think of. Just bash at that point.17:56
hmlpmatulis: doesn’t metadata-source get turned into agent-metadata-url and image-metadata-url in model-config?17:57
killcityThanks Rick, I appreciate the response and thoughts. Im excited to move all of our provisioning over to maas and juju from stacki. The one thing Im trying to figure out is how to set get-config values to an env when deployed onto a centos box. seems to work fine with ubuntu (tested on bionic). not so much on centos7. im sure im doing something17:57
killcitywrong.17:57
rick_hkillcity: gotcha, welcome to the party17:58
killcityhmmm. ill have to test a little more then. just wanted to make sure there wasnt anything special i needed to do for centos :)17:58
killcitythanks17:58
pmatulishml, no. i get null values for each of those17:59
rick_hkillcity:  hmm yea, I can't think of anything. I guess can you log/dump debug traces in there to see if it's set, if the value is coming out correctly from the config-get call?17:59
killcityah good idea. ill add some debugging in there. thanks :)17:59
killcitybtw, this channel seems a lot more active than #maas.18:00
killcitywhich is great.18:00
rick_hkillcity:  cool, glad we're alive and kicking here. MAAS folks are definitely a bit queiter as they're a smaller team in a tighter set of timezones (we go across almost all of them)18:00
rick_hkillcity:  but I will say the MAAS stuff is awesomesauce and they've got a discourse going as well which is worth hitting up if you hit questions/etc.18:01
killcitysaw that, so far its looking really nice and stable. the biggest hurdle is understanding the workflow, etc. which isnt a huge deal. most of the docs look very thorough.18:04
nammn_derick_h: yeah thanks!18:06
hmlpmatulis:  weird…. you checked all models?18:09
rick_hnammn_de:  k, have a good night and feel free to ask around of EU folks in the morning and when I come online we can sync up and catch up on any gaps/knowledge share that's helpful18:13
nammn_derick_h: you as well, will do!18:14
pmatulishml, i check both the 'default' and 'controller' models18:17
pmatulishttps://bugs.launchpad.net/juju/+bug/1848241 <--- hml18:25
mupBug #1848241: [bootstrap] metadata-source option is not exposed <juju:New> <https://launchpad.net/bugs/1848241>18:25
hmlpmatulis:  can you please add the version of juju to the bug18:32
pmatulishml, done18:33
killcitydoes anyone know how to set the vlan and create bond via juju commands + maas?18:45
killcityso when i deploy a specific charm, any unit under that application gets the same network configuration?18:45
rick_hkillcity:  so the idea is that you create the network setup in MAAS. There's docs around creating bonds/etc18:46
rick_hkillcity:  as the underlying cloud it knows the network topology/etc18:47
rick_hkillcity:  then in Juju, it'll read that data from MAAS and you'll end up doing things like using spaces, and endpoint bindings onto spaces, to manage which networks applications are talking through/over18:47
rick_hkillcity:  welcome to the "deep end"18:47
rick_hkillcity:  some reading material from the Juju perspective - https://discourse.jujucharms.com/t/network-spaces/1157 and https://discourse.jujucharms.com/t/deploying-applications-advanced/106118:48
killcityExcellent, thanks Rick :)18:49
killcityThe last hurdle we have is understanding how to set specific software raid configurations on certain models of hw. some of our nodes dont have raid controllers18:49
rick_hkillcity:  yea, there's some disk management config you can do on machines in MAAS (though I've not tweaked that myself)18:51
killcityI saw some custom stuff done in a single posting somewhere, but theres not any reference material ive found concerning software raid in particular.18:52
killcityBtw, I ran my test deploy again and vars were working fine :)  It was an issue with the script itself18:52
rick_hkillcity:  woot, glad to hear18:53
killcity*facepalm...18:53
* killcity facepalms18:53
rick_hkillcity:  interesting google search https://docs.mirantis.com/mcp/q4-18/mcp-deployment-guide/deployment-customizations-guidelines/maas/custom-disk-layout.html18:53
rick_hhas a section "To define software raid"18:53
rick_hmight be worth a bug to the maas docs if that's what you're looking for and couldn't find it in the maas docs18:54
* rick_h has to run and get his son from school, back in a bit18:54
killcityrick_h thanks! i will definitely look at those docs.19:05
roadmrthis is a software raid! put all your floppies and CDs in the bag and don't get any funny ideas about downloading any apps... we'll know.20:10
pmatulisgulp20:23
killcitydoes anyone know if maas/juju require machines to be set on a specific space before they can be used or can you have the space set at the time of deployment?20:31
killcityi would prefer to have a bunch of hw sitting there unallocated and not explicitly added to a specific space so they can land on whatever subnet they need to be on.20:31
thumperno, I don't think that is a prerequisite20:32
killcityim trying to better understand how to automatically enable bonding and a vlan subinterface on deployment. all our nodes receive trunked/tagged interfaces, so we can put them on whatever vlan we choose when they are built.20:33
killcityi can configure nodes via MAAS ui for this, but not sure how to make it happen automatically during deployment...cant seem to find any docs on it.20:33
killcity(also maas cli)20:34
thumpermy understanding is that you configure how you want the network devices set up in maas, and then when you deploy with juju they get set up that way20:39
thumpereffectively it is the maas instantiation of the machine that sets up the networking20:40
thumperthere isn't another step20:40
thumperas far as I understand it20:40
babbageclunkwallyworld: tested out the precheck, all working - just writing a unit test now.21:36
thedacthumper: rick_h: Nevermind on the juju run problem. Test on latest 2.7 edge looks good. I'll let you know if I ever see it again.21:46
wallyworldbabbageclunk: just got out of morning meetings. i'll review once done, ty22:27
anastasiamac_wallyworld: PTAL https://github.com/juju/juju/pull/10736 - list clouds changes22:56
anastasiamac_wallyworld: yes all is the breakage and so is non display of clouds that do not have creds registered. both were discsussed and insitented on in paris by both jam and rick_h23:24
anastasiamac_wallyworld: the removl of color was discussed and agreed onin paris too coz it was obscure for users and has no valud now23:25
anastasiamac_value*23:25
killcitythumper thanks. ill see if i can figure out how to create the different profiles for interface configs in maas.23:29
rick_hthedac:  ok cool ty23:33
anastasiamacwallyworld: rick_h : udated PR to only filter public clouds based on whether creds are present... PTAL?23:52
anastasiamacreally want to land this asap as there is more in pipeline and no time left23:53

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