I'm deploying on an on premise vsphere. All datastores and vm's in use are cleared after a juju run, so no dragons here.
I'm running juju on macOS 10.13.2 High Sierra and now did a rerun with a clean install and an uninstall beforehand. Outcome: same error.
@see detailed_log_run_after_cleanup.txt
-------------------------------------------------------------------------------------
$ brew uninstall juju juju-quickstart juju-wait
$ rm -rf /Users/test01/.local/share/juju
$ brew install juju juju-quickstart juju-wait
-------------------------------------------------------------------------------------
$ juju add-cloud vsphere vsphere.yml
Since Juju 2 is being run for the first time, downloading latest cloud information.
Fetching latest public cloud list...
Updated your list of public clouds with 4 cloud regions deleted:
deleted cloud region:
- google/europe-west2
- google/europe-west3
- google/southamerica-east1
- google/us-east4
-------------------------------------------------------------------------------------
$ juju clouds
Cloud Regions Default Type Description
aws 14 us-east-1 ec2 Amazon Web Services
aws-china 1 cn-north-1 ec2 Amazon China
aws-gov 1 us-gov-west-1 ec2 Amazon (USA Government)
azure 26 centralus azure Microsoft Azure
azure-china 2 chinaeast azure Microsoft Azure China
cloudsigma 5 hnl cloudsigma CloudSigma Cloud
google 9 us-east1 gce Google Cloud Platform
joyent 6 eu-ams-1 joyent Joyent Cloud
oracle 5 uscom-central-1 oracle Oracle Compute Cloud Service
rackspace 6 dfw rackspace Rackspace Cloud
localhost 1 localhost lxd LXD Container Hypervisor
vsphere 1 esx.power.lab vsphere
Try 'list-regions <cloud>' to see available regions.
-------------------------------------------------------------------------------------
$ juju add-credential vsphere
Enter credential name: test01
Using auth-type "userpass".
Enter user: <email address hidden>
Enter password:
Credentials added for cloud vsphere.
-------------------------------------------------------------------------------------
$ juju set-default-credential vsphere test01
Default credential for vsphere set to "test01".
-------------------------------------------------------------------------------------
$ juju list-credentials
Cloud Credentials
vsphere test01*
-------------------------------------------------------------------------------------
$ juju bootstrap vsphere jujucontroller --config primary-network="VM Network" --config external-network="VM Network" --config datastore=ds00 --debug
Hi, to clarify this whole story a bit:
I'm deploying on an on premise vsphere. All datastores and vm's in use are cleared after a juju run, so no dragons here.
I'm running juju on macOS 10.13.2 High Sierra and now did a rerun with a clean install and an uninstall beforehand. Outcome: same error.
@see detailed_ log_run_ after_cleanup. txt
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - test01/ .local/ share/juju ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
$ brew uninstall juju juju-quickstart juju-wait
$ rm -rf /Users/
$ brew install juju juju-quickstart juju-wait
-------
$ juju add-cloud vsphere vsphere.yml
Since Juju 2 is being run for the first time, downloading latest cloud information.
Fetching latest public cloud list...
Updated your list of public clouds with 4 cloud regions deleted:
deleted cloud region: southamerica- east1 ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
- google/europe-west2
- google/europe-west3
- google/
- google/us-east4
-------
$ juju clouds
Cloud Regions Default Type Description
aws 14 us-east-1 ec2 Amazon Web Services
aws-china 1 cn-north-1 ec2 Amazon China
aws-gov 1 us-gov-west-1 ec2 Amazon (USA Government)
azure 26 centralus azure Microsoft Azure
azure-china 2 chinaeast azure Microsoft Azure China
cloudsigma 5 hnl cloudsigma CloudSigma Cloud
google 9 us-east1 gce Google Cloud Platform
joyent 6 eu-ams-1 joyent Joyent Cloud
oracle 5 uscom-central-1 oracle Oracle Compute Cloud Service
rackspace 6 dfw rackspace Rackspace Cloud
localhost 1 localhost lxd LXD Container Hypervisor
vsphere 1 esx.power.lab vsphere
Try 'list-regions <cloud>' to see available regions. ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - credential vsphere test01 ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - network= "VM Network" --config datastore=ds00 --debug
-------
$ juju add-credential vsphere
Enter credential name: test01
Using auth-type "userpass".
Enter user: <email address hidden>
Enter password:
Credentials added for cloud vsphere.
-------
$ juju set-default-
Default credential for vsphere set to "test01".
-------
$ juju list-credentials
Cloud Credentials
vsphere test01*
-------
$ juju bootstrap vsphere jujucontroller --config primary-network="VM Network" --config external-
...