Cannot bootstrap with vSphere data center under a folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Low
|
Unassigned |
Bug Description
The bottom line of the error is:
failed to bootstrap model: folder path "/MyDC/
when we have a directory structure as "/MyFolder/
[Environment]
vSphere 6.5
$ juju version
2.8.0-xenial-amd64
$ govc ls
/MyFolder/MyDC/vm
/MyFolder/
/MyFolder/MyDC/host
/MyFolder/
$ govc find | grep juju-root
/MyFolder/
[Juju config]
$ juju show-cloud vsp-cloud
Client cloud "vsp-cloud":
defined: local
type: vsphere
auth-types: [userpass]
endpoint: myendpoint.
credential-count: 3
regions:
MyFolder/MyDC: {}
$ juju show-credentials vsp-cloud vsp-cloud-creds
credentials:
vsp-cloud:
vsp-
auth-type: userpass
password: ********
user: ********
vmfolder: juju-root
[Bootstrap]
$ juju bootstrap vsp-cloud vsp-controller \
--config primary-
--config datastore=
--credential vsp-cloud-creds \
--debug
Full output: https:/
excerpt:
...
17:43:51 INFO cmd bootstrap.go:762 Creating Juju controller "vsp-controller" on vsp-cloud/
...
17:43:54 INFO cmd bootstrap.go:513 Starting new instance for initial controller
17:43:55 DEBUG juju.provider.
17:43:55 DEBUG juju.provider.
17:43:55 ERROR juju.cmd.
17:43:55 DEBUG juju.cmd.
17:43:55 DEBUG juju.cmd.
Changed in juju: | |
milestone: | none → 2.8.1 |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: vsphere-provider |
Changed in juju: | |
milestone: | 2.8.1 → 2.8.2 |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Changed in juju: | |
milestone: | 2.8.2 → 2.8.4 |
Changed in juju: | |
importance: | High → Low |
status: | Incomplete → Triaged |
milestone: | 2.8.4 → none |
assignee: | Ian Booth (wallyworld) → nobody |
I cannot say how common having one folder above a data center in vSphere setup, but I saw the structure with two customers so far.