/srv/irclogs.ubuntu.com/2019/08/13/#juju.txt

timClicks_babbageclunk: hey sorry to bother you again, would you mind helping me out with an interface/type coercion issue I've encountered02:12
babbageclunktimClicks_: sure sure!02:12
timClicks_I'm 90% sure that I've identified the cause of the import issues02:12
babbageclunkoh awesome02:12
thumpertimClicks_, babbageclunk: what's the tl;dr on vsan?02:14
timClicks_thumper: tell you in a few minutes02:14
thumperack02:15
timClicks_thumper: we've identified what's causing the cloud-init the issue; specifying user-data is available into a VirtualApp (container for 1 or more VMs) rather than a VM02:37
timClicks_annoyingly, the call to ImportVApp (which we02:38
timClicks_we have been using) returns a VM if the OVF only defines a VM02:38
timClicks_it looks like we need to customise the OVF XML file that we embed02:39
timClicks_babbageclunk: it looks like we need to wrap the <VirtualSystem> tag within a <VirtualSystemCollection>02:47
babbageclunktimClicks_: yeah that makes sense02:47
timClicks_babbageclunk: tweaking the ovf is creating a vapp03:07
timClicks_*babbageclunk: tweaking the ovf is working, currently creating a vapp03:07
babbageclunktimClicks_: I got distracted by the following rabbit-hole: VirtualMachineConfigSpec.VAppConfig.Property (which looks like it would let you edit the fields on that form in the clone VM wizard)03:30
timClicks_babbageclunk: that looks promising03:30
timClicks_using a vapp directly doesn't seem like a good option03:31
babbageclunkHaving dug around a bit I think extraConfig is still actually what we want though - trying that now03:31
babbageclunktimClicks_: bums - yeah, I was worried about that03:31
timClicks_babbageclunk: we have a method to modify extra config in our vsphereclient code03:32
babbageclunkbugger, looks like I'm still uploading a vmdk03:32
babbageclunklooking for that03:32
timClicks_babbageclunk: it looks like you've been able to power on a machine?03:49
babbageclunkyeah, but no dice - it still lists the same values in its vapp options03:50
babbageclunkok, I'm going to have a go at changing the VAppConfig stuff. It's all a bit black magic though03:55
babbageclunktimClicks_: trying using govc to extract info about the vm so I can feed that back in04:08
wallyworldkelvinliu_: there's a k8s bug :-( https://github.com/juju/juju/pull/1051505:17
kelvinliu_wallyworld: looking05:18
kelvinliu_wallyworld: lgtm, thanks!05:25
wallyworldty05:25
wallyworldstupid typo05:25
kelvinliu_[Facepalm]05:28
stickupkidrick_h, achilleasa here is the output of a bash cmr bundle example https://paste.ubuntu.com/p/k2S8gTbBJk/14:03
stickupkidachilleasa, it works really nicely14:03
stickupkidthe great thing is, that test from e2e ran in 2m28s which beats the hell out of the python one14:08
gizmo693Hi Guys. Newbie question. I am working the the docs on https://jaas.ai/docs/getting-started-with-charm-development and when I get to the charm build command it is failing14:20
gizmo693According to magicaltrout there is a missing series in the metadata.yml ?14:20
gizmo693Any pointers/advice?14:20
rick_hgizmo693:  the metadata.yaml needs a series key to say what ubuntu series the charm works on.14:21
gizmo693I have a trout that is magical in my office so will be able to ask what that means14:22
stickupkidgizmo693, example https://api.jujucharms.com/charmstore/v5/~jameinel/ubuntu-lite-7/archive/metadata.yaml14:22
gizmo693From a newbies perspective how would I (anyone) know that14:23
stickupkidgizmo693, good shout tbh14:23
rick_hgizmo693:  if you're using a starting template I think it defaults to the latest stable series for you14:23
rick_hgizmo693:  but the question is what os/version does the software your charm works against work on?14:23
gizmo693I'm just trying to work through the getting started guide as opposed to actually building a charm of my own14:25
stickupkidachilleasa, export bundle test https://github.com/SimonRichardson/juju/blob/tests-suite/tests/suites/cmr_bundles/export_overlay.sh#L1-L3614:25
gizmo693magicaltrout said is it charm build or charm create I should be using?14:26
achilleasastickupkid: looks nice! One neat trick that I like to use is to pipe the output to something like "sed -e 's/^/ |/g'" so you can get it indented14:27
rick_hgizmo693:  ok, if you've got comments/feedback/edits please note the link at the bottom which goes to the discourse post for the page you're on. https://discourse.jujucharms.com/t/getting-started-with-charm-development/111814:27
rick_hgizmo693:  charm create will let you start with a known template14:27
rick_hgizmo693:  charm build is the command to build your charm (compile it really)14:27
stickupkidachilleasa, i was thinking about that, but then i'm wondering if we should do it everywhere?14:28
achilleasastickupkid: possibly; or create library functions that you include in your script (ala init.d's functions)14:29
stickupkidachilleasa, yeah, that's easy to do, anything in side this folder gets included across all tests https://github.com/SimonRichardson/juju/tree/tests-suite/tests/includes14:30
achilleasastickupkid: any plans for handling timeouts? (for juju deploy)14:34
stickupkidachilleasa, we could easily use timeout14:35
achilleasastickupkid: +114:35
stickupkidachilleasa, i.e. `timeout -k 10m juju bootstrap lxd test`14:35
rick_hachilleasa:  time to catch up?14:36
achilleasarick_h: sure14:36
rick_hachilleasa:  k, meet you in daily14:37
rick_hstickupkid:  "no description provided" boooooo :P15:05
stickupkidrick_h, for?15:05
rick_hstickupkid:  your PR15:05
stickupkidrick_h, ah, i'll fill that in now15:05
stickupkidrick_h, done15:12
rick_hstickupkid:  k, review done15:13
rick_hstickupkid:  anything else you needed in particular for today?15:13
stickupkidrick_h, sometime to quickly have a look at the bash stuff15:14
rick_hstickupkid:  k, that's going to go up as a PR of sort right?15:15
stickupkidrick_h, yeah15:15
rick_hstickupkid:  ok, let me know when that's up and will peek at it15:15
stickupkidrick_h, i'll make that PR then, let me close out the pylib juju15:15
stickupkidrick_h, sure15:15
stickupkidrick_h, looks like https://github.com/juju/python-libjuju/pull/336 is good to me15:19
rick_hstickupkid:  cool, aisrael going to hit merge on that then15:21
aisraelrick_h: stickupkid: ta, thanks!15:22
achilleasarick_h: the async charm stuff works with macaroons as well :-)15:58
stickupkidthis annoys me https://paste.ubuntu.com/p/Yxq6sjpg93/ - juju returns something on stderr in none json format when I ask it to do so16:20
stickupkiddoing this makes me sad "juju status --format=json 2> /dev/null"16:21
rick_hachilleasa:  woot16:31
rick_hstickupkid:  seems less than ideal16:31
stickupkidrick_h, esp. considering we're now hiding error messages :(16:32
stickupkidrick_h, at some point in the future it would be nice to add better ux/design to the CLI - it's a bit rough and showing it's age esp. when comparing snap, kubectl etc16:35
rick_hstickupkid:  yea, I think that's goals for the 3.x flow16:35
stickupkidrick_h, let's go mental and add graphs https://github.com/gizak/termui16:35
stickupkid:wink:16:35
rick_hlmao16:35
thumpermorning20:31
rick_hmorning thumper20:31
wallyworldbabbageclunk: timClicks: what's the goss on vsan?21:27
babbageclunkwallyworld: some progress - but have hit another snag, not sure what the issue is21:36
wallyworldok, i'll try and organise access to a vsphere technical person whom we can enage with21:37
babbageclunkwallyworld: that would be awesome21:37
babbageclunkwallyworld: things are looking pretty good21:57
babbageclunkwallyworld: charmed-k8s seems to be deploying happily22:06
babbageclunk(all machine agents are up, waiting for charm installs)22:06
timClickswallyworld, thumper: looks like babbageclunk's nailed it22:32
wallyworldoh, goody. i'll catch up  and get the details soon22:32
babbageclunkwallyworld: it looks like our vsphere machines can't install snaps though22:32
babbageclunkmight need a network change22:33
wallyworldcan you create an RT?22:33
timClickson it22:33
wallyworldty22:33
timClicksjust confirming that we haven't somehow introduced it via the patch by reproducing on 2.6.722:33
thumperwhat snaps are we installing?22:34
wallyworldcdk uses snaps22:35
thumperah, right22:35
timClicksas a side issue, using juju 2.6.7 to deploy multiple new units feels comically slow compared to the new patch23:18
timClicksbabbageclunk: the cdk install issue isn't due to us23:36
babbageclunktimClicks: woot23:37

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