vsphere: cache VMDKs in datastore to avoid repeated downloads and firewalled hosts
Bug #1711019 reported by
Andrew Wilkins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
The vSphere provider currently downloads images from cloud-images.
Changed in juju: | |
milestone: | none → 2.2.3 |
Changed in juju: | |
milestone: | 2.2.3 → 2.3.0 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Another issue is that the host is firewalled off so our images should be uploaded to the datastore regardless.
From IRC:
```
sure, but it tries to contact the vsphere *host*
which is firewalled off, as it should be juju.commands bootstrap.go:492 failed to bootstrap model: cannot start bootstrap instance: failed to create instance in any availability zone: uploading ubuntu- xenial- 16.04-cloudimg. vmdk to https:/ /10.32. 252.51/ nfc/52774700- 37f1-4a46- cc1f-de20c50f94 e5/disk- 0.vmdk: Post https:/ /10.32. 252.51/ nfc/52774700- 37f1-4a46- cc1f-de20c50f94 e5/disk- 0.vmdk: Service Unavailable`
`juju.cmd.
that IP is the host, the API is accessible
our vsphere guy says it should upload it to the datastore, then create a VM from that vmdk in the datastore
```
it shouldn't be uploading anything to 10.32.252.51 as far as I can tell