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

Allow absolute vmfolder paths #11800

Merged
merged 1 commit into from Jul 3, 2020
Merged

Conversation

wallyworld
Copy link
Member

Description of change

The vSphere vmfolder was not able to be set as an absolute path - it was always being interpreted as a subfolder of the DC folder. We now allow absolute paths to be handled.

QA steps

A version of the fix was tested on site.

Bug reference

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

Copy link
Member

@ycliuhw ycliuhw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be a fix for the workaround of setting the vm-folder to an absolute path, but we will need find why the API tells the wrong datacentre path later

@ycliuhw
Copy link
Member

ycliuhw commented Jul 3, 2020

$ govc ls
/MyFolder/MyDC/vm
/MyFolder/MyDC/network
/MyFolder/MyDC/host
/MyFolder/MyDC/datastore

# but the `dcfolders.VmFolder.InventoryPath` == /MyDC/vm

@wallyworld
Copy link
Member Author

$$merge$$

@jujubot jujubot merged commit 639a379 into juju:2.8 Jul 3, 2020
@manadart manadart mentioned this pull request Jul 8, 2020
jujubot added a commit that referenced this pull request Jul 8, 2020
#11808

Merge from 2.8 to bring forward:
- #11807 from manadart/2.8-machiner-lld
- #11802 from hpidcock/update-testing-dep
- #11806 from wallyworld/dump-model-partial
- #11805 from jameinel/2.8-dispatch-relative-1885543
- #11796 from SimonRichardson/model-config-input
- #11804 from achilleasa/2.8-manual-provisioning-on-non-amd64-instances-backport
- #11800 from wallyworld/vsphere-absolute-vmfolder
- #11786 from SimonRichardson/juju-config-new-line
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