/srv/irclogs.ubuntu.com/2020/07/03/#juju.txt

* stephencheng[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/UmJRfYpxKKIsZmUmAMaDKbmM >01:01
wallyworldkelvinliu: here's a small vsphere fix https://github.com/juju/juju/pull/1180002:44
kelvinliulooking now02:44
kelvinliuwallyworld: so this fix is to fix the workaround of /MyFolder/MyDC/vm/juju-root02:55
kelvinliubut not fix the vm-fold sets to `juju-root`, right?02:55
wallyworldkelvinliu: i  used the same logic from their on site patch - it's just for handling  a vmfolder that is not a subpath of the DC folder03:00
kelvinliudcfolders.VmFolder.InventoryPath == /MyDC/vm but03:00
kelvinliuthe real dc folder is /MyFolder/MyDC/03:01
wallyworldyeah https://github.com/nobuto-m/juju/commit/26ab58c38fb3bc41905f8085c6939bc3628181b503:01
kelvinliuyeah, I know03:01
kelvinliuthat's just a workaround03:01
wallyworldthe vmfolder should be able to point anyhwere though right?03:02
kelvinliuwith current fix, if the vmfold sets to juju-root, we will still get the error `folder path "/MyDC/vm/juju-root" not found`03:04
wallyworldso they need to set the vmfolder correctly03:04
wallyworldif an absolute path is needed, they should provide that03:05
wallyworldor no?03:05
kelvinliu$ govc find | grep juju-root03:05
kelvinliu/MyFolder/MyDC/vm/juju-root03:05
kelvinliuvsphere API thinks the dc fold is /MyDC/vm/juju-root03:06
kelvinliuI think this might be fix for their particular issue with the workaround, but we will need find why the API tells the wrong datacentre path03:08
kelvinliuwallyworld: so we will just ask them to test ur branch or?03:08
wallyworldkelvinliu: yeah, we can ask them to test th edge snap. i thought juju just appended "jju-root" to whatever the folder ended up as?03:10
kelvinliuyeah, that's what Juju does currently03:10
kelvinliuthe problem here is the root DC fold was wrong in the API03:11
wallyworldso i think this will be ok - they have the option of a relative or absolute path, their choice03:11
wallyworldi don't know why the DC fold was wrong03:11
kelvinliuwallyworld: did u see petro's comment?03:12
kelvinliuIt seems govmomi is not returning the entire absolute path with03:13
wallyworldi did see them but don't understand the api enough03:13
kelvinliu[/MyFolder/]MyDC/vm/juju-root03:13
kelvinliuwallyworld: just approved to allow them to test it.03:16
wallyworldsgtm ty03:16
kelvinliuty for the fix03:18
=== ionutbalutoiu_ is now known as ionutbalutoiu
=== mpontillo_ is now known as mpontillo

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