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

Secondary disks created on incorrect datastore #2056

Open
Yannik opened this issue Apr 26, 2024 · 0 comments
Open

Secondary disks created on incorrect datastore #2056

Yannik opened this issue Apr 26, 2024 · 0 comments

Comments

@Yannik
Copy link
Contributor

Yannik commented Apr 26, 2024

SUMMARY

When creating a VM with multiple disks, secondary disks are not created on the correct datastore specified in the datastore key of the disk configuration, but the datastore of the first disk. The same thing occurs when adding disks to an existing vm.

Example:

      disk:
      - datastore: DEHAM07_LUN_A
        size_gb: 100
      - datastore: DEHAM07_LUN_B
        size_gb: 100

Both disks are incorrectly created on DEHAM07_LUN_A.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

vmware_guest

ANSIBLE VERSION
ansible [core 2.16.5]
  config file = /home/yannik/projects/xxx/ansible/ansible.cfg
  configured module search path = ['/home/yannik/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.12/site-packages/ansible
  ansible collection location = /home/yannik/projects/xxx/ansible/vendor_collections
  executable location = /usr/local/bin/ansible
  python version = 3.12.2 (main, Feb 21 2024, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] (/usr/bin/python3)
  jinja version = 3.1.3
  libyaml = True
COLLECTION VERSION
Collection       Version
---------------- -------
community.vmware 4.3.0     

CONFIGURATION
ANSIBLE_NOCOWS(/home/yannik/projects/xxx/ansible/ansible.cfg) = True
COLLECTIONS_PATHS(/home/yannik/projects/xxx/ansible/ansible.cfg) = ['/home/yannik/projects/xxx/ansible/vendor_collections']
CONFIG_FILE() = /home/yannik/projects/xxx/ansible/ansible.cfg
DEFAULT_HOST_LIST(/home/yannik/projects/xxx/ansible/ansible.cfg) = ['/home/yannik/projects/xxx/ansible/inventory']
DEFAULT_ROLES_PATH(/home/yannik/projects/xxx/ansible/ansible.cfg) = ['/home/yannik/projects/xxx/ansible/vendor_roles']
DIFF_ALWAYS(/home/yannik/projects/xxx/ansible/ansible.cfg) = True
EDITOR(env: EDITOR) = vim
INTERPRETER_PYTHON(/home/yannik/projects/xxx/ansible/ansible.cfg) = auto_silent
PAGER(env: PAGER) = less
RETRY_FILES_ENABLED(/home/yannik/projects/xxx/ansible/ansible.cfg) = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant