← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377797] [NEW] VMware: Can't use the datastore under Folder / Datastore Cluster

 

Public bug reported:

We should support the datastore under Folder / Datastore Cluster.
It is a common usage to use Folder / Datastore Cluster under a DataCenter.
Currently, only support storing glance images on the datastore under top of datacenter path.
---Current---
Inventory Path: /${vmware_datacenter_path}/${vmware_datastore_name}/
-------------

Supporting Folder / Datastore Cluster improves datastore management (Default: None).
---After---
Inventory Path: /${vmware_datacenter_path}/${vmware_folder_path}/${vmware_datastore_name}/
-----------

To realize it, we should add valiable on glance-api.conf
---glance-api.conf---
...

# Inventory path to a datacenter (string value)
# Value optional when vmware_server_ip is an ESX/ESXi host: if specified
# should be `ha-datacenter`.
vmware_datacenter_path = DC1

+ # Folder / Datastore Cluster path (string value)
+ # Optional value: Default None
+ vmware_folder_path = openstack

# Datastore associated with the datacenter (string value)
vmware_datastore_name = datastore01

...

---------------------
Add "+" bullet lines.

Add "vmware_folder_path" valiable and define default value as "None".

** Affects: glance
     Importance: Undecided
     Assignee: Kentaro SASAKI (mathomd)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Kentaro SASAKI (mathomd)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1377797

Title:
  VMware: Can't use the datastore under Folder / Datastore Cluster

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  We should support the datastore under Folder / Datastore Cluster.
  It is a common usage to use Folder / Datastore Cluster under a DataCenter.
  Currently, only support storing glance images on the datastore under top of datacenter path.
  ---Current---
  Inventory Path: /${vmware_datacenter_path}/${vmware_datastore_name}/
  -------------

  Supporting Folder / Datastore Cluster improves datastore management (Default: None).
  ---After---
  Inventory Path: /${vmware_datacenter_path}/${vmware_folder_path}/${vmware_datastore_name}/
  -----------

  To realize it, we should add valiable on glance-api.conf
  ---glance-api.conf---
  ...

  # Inventory path to a datacenter (string value)
  # Value optional when vmware_server_ip is an ESX/ESXi host: if specified
  # should be `ha-datacenter`.
  vmware_datacenter_path = DC1

  + # Folder / Datastore Cluster path (string value)
  + # Optional value: Default None
  + vmware_folder_path = openstack

  # Datastore associated with the datacenter (string value)
  vmware_datastore_name = datastore01

  ...

  ---------------------
  Add "+" bullet lines.

  Add "vmware_folder_path" valiable and define default value as "None".

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1377797/+subscriptions


Follow ups

References