/srv/irclogs.ubuntu.com/2019/07/16/#juju.txt

timClickshpidcock: hey I might get your advice on some go codegen stuff if you have a minute?01:38
hpidcocksure, want to HO?01:38
timClickscool01:38
timClicksthe file I'm looking at is https://github.com/juju/juju/blob/a5ab92ec9b7f5da3678d9ac603fe52d45af24412/provider/vsphere/internal/vsphereclient/ovf_ubuntu.go01:39
timClicksI'm concerned that we're hard coding xenial in there01:39
timClicksit's built from https://github.com/juju/juju/blob/a5ab92ec9b7f5da3678d9ac603fe52d45af24412/provider/vsphere/internal/vsphereclient/ubuntu.ovf01:39
timClickshpidcock: the VM we're trying to create has the same MAC address as the tmp VM that creates it "04:16
timClicks    The static MAC address (00:50:56:04:71:0c) of juju-4e9d86-0 conflicts with MAC assigned to juju-4e9d86-0.tmp04:16
timClicks"04:16
hpidcockIs that just a side affect of not deleting the tmp vm?04:17
timClickstrying to figure that out04:18
hpidcockIdeally the provider should: "Download the OVA", "Upload the OVA to the datastore", "Create a VM from the OVA", "Update tuneables like mem/cpu", "Extend vmdk", "Start"04:19
hpidcockpossibly the reason it mutates the ovf before creating the vm, is that vsphere might have some bin-packing algorithm maybe to find a suitable esxi host04:21
timClicksI think the VM cloning operation also clones the MAC address as it's been provided in "hardcoded" form by Juju04:26
manadarthml: That WiP: https://github.com/juju/juju/pull/10442. Still a few packages to get green; diff will be > 100 files I think.14:04
hmlmanadart: ta14:06

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