deploying to cluster for vsphere as provider

Bug #1590143 reported by Larry Michel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Horacio Durán

Bug Description

I am not able to locate a cluster option for vsphere as a provider. I only see datacenter. Am I missing a config option or shouldn't it also provide the user with a cluster option so user can specify which cluster to deploy to rather the datacenter which may contain multiple clusters?

  vsphere:
    type: vsphere
    host: '**.***.*.***'
    user: '<email address hidden>'
    password: '**********'
    datacenter: 'dc0'
    bootstrap-timeout: 1800
    logging-config: "<root>=DEBUG;juju=DEBUG;golxc=TRACE;juju.container.lxc=TRACE"
    agent-stream: released

The issue I am running into while deploying a bundle is as following: services are being deployed on the first Hypervisor that was added which happens to be the Hypervisor that hosts the vCenter Appliance. Some of the later VMs which are deployed from OVFs cannot be powered on because there is not enough CPU resources to satisfy the reservation. The Hypervisors are part of a cluster with DRS enabled so it doesn't look like there is any attempt of distributing the VMs across the hosts in the cluster.

Revision history for this message
Larry Michel (lmic) wrote :
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.1.0
tags: added: oil-2.0
affects: juju-core → juju
Changed in juju:
milestone: 2.1.0 → none
milestone: none → 2.1.0
Changed in juju:
assignee: nobody → Horacio Durán (hduran-8)
status: Triaged → In Progress
Revision history for this message
Horacio Durán (hduran-8) wrote :

This can now (2.0.1) be achieved by
juju bootstrap --to zone=<cluster> vsphere/<datacenter> <controllername>
Without the placement directive (--to) juju will choose between all available clusters and hosts in the datacenter.

Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Larry Michel (lmic) wrote :

To verify this, I need to test that VMs will get distributed across all hosts in a cluster. I'll update this bug with results.

Revision history for this message
Larry Michel (lmic) wrote :

I attempted to test but VMs kept deploying on single host in the cluster and they eventually failed. I am in the process of setting up shared storage to enable HA on the cluster then I'll retest to see whether that works.

Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1.0 → 2.1-beta2
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.