Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsphere: Remove code to delete cached VMDKs from all datastores #11439

Merged
merged 1 commit into from Apr 14, 2020

Conversation

babbageclunk
Copy link
Contributor

Checklist

  • Checked if it requires a pylibjuju change?
  • Added integration tests for the PR?
  • Added or updated doc.go related to packages changed?
  • Do comments answer the question of why design decisions were made?

Description of change

This is vestigial code that should have been removed a while ago - we no longer cache VMDKs in the datastore, instead they're used to create a template VM that new VMs are cloned from.

This deletion is causing problems if the user doesn't have access to the datastore - in that case it fails and blocks controller teardown.

QA steps

Bootstrap a vsphere controller. Tear it down with --debug - there shouldn't be any logging from juju.provider.vmware about deleting from datastores.

Documentation changes

None

Bug reference

https://bugs.launchpad.net/juju/+bug/1872552

We no longer cache them in the datastore, instead they're used to
create a template VM that new VMs are cloned from.

This deletion is causing problems because if the user doesn't have
access to the datastore it fails and blocks controller teardown.
@babbageclunk babbageclunk removed the request for review from ycliuhw April 14, 2020 02:25
@babbageclunk
Copy link
Contributor Author

$$merge$$

@jujubot jujubot merged commit d540e42 into juju:2.7 Apr 14, 2020
@babbageclunk babbageclunk deleted the 2.7-vsphere-vmdk-cleanup branch April 14, 2020 03:59
jujubot added a commit that referenced this pull request Apr 14, 2020
#11440

## Description of change

This brings the vsphere change from #11439 into the develop branch. No conflicts.

## QA steps

Bootstrap on vsphere, destroy the controller with `--debug` - there shouldn't be any logging about deleting files from datastores.

## Documentation changes

None

## Bug reference

None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants