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

vmware_guest_disk: add IDE disk support #1616

Merged

Conversation

Tomorrow9
Copy link
Collaborator

@Tomorrow9 Tomorrow9 commented Feb 3, 2023

Signed-off-by: Diane Wang [email protected]

SUMMARY

We want to use vmware_guest_disk module to add or reconfigure IDE disk on VM.

Fixes #1428
Fixes #1617

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

vmware_guest_disk

ADDITIONAL INFORMATION
- name: add new ide disk
   vmware_guest_disk:
        validate_certs: false
        hostname: "{{ vcenter_hostname }}"
        username: "{{ vcenter_username }}"
        password: "{{ vcenter_password }}"
        datacenter: "{{ datacenter_name }}"
        name: test_vm
        disk:
          - size_gb: 1
            type: thin
            datastore: Datastore1
            state: present
            controller_type: ide
            controller_number: 0
            unit_number: 1

@softwarefactory-project-zuul
Copy link

Build failed.

✔️ ansible-tox-linters SUCCESS in 3m 59s
✔️ build-ansible-collection SUCCESS in 4m 18s
ansible-test-sanity-docker-devel FAILURE in 8m 19s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 8m 02s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 40s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 8m 24s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 4m 27s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 17m 52s
ansible-test-cloud-integration-vcenter7_2esxi-stable212 FAILURE in 19m 20s
⚠️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 CANCELED
⚠️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 CANCELED
✔️ ansible-galaxy-importer SUCCESS in 3m 41s

@mariolenz
Copy link
Collaborator

recheck

@softwarefactory-project-zuul
Copy link

Build succeeded.

✔️ ansible-tox-linters SUCCESS in 4m 08s
✔️ build-ansible-collection SUCCESS in 4m 32s
ansible-test-sanity-docker-devel FAILURE in 8m 03s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 25s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 7m 26s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 8m 25s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 4m 45s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 18m 23s
✔️ ansible-test-cloud-integration-vcenter7_2esxi-stable212 SUCCESS in 22m 53s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 48m 09s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 51m 51s
✔️ ansible-galaxy-importer SUCCESS in 3m 42s

@mariolenz
Copy link
Collaborator

Since you're working on vmware_guest_disk, do you think you could do something about some other issues about this module while you're at it?

Some of them might be easy (like #1617) and some a bit harder (like #1595), but it would be really great if you could do something about at least some of them.

Signed-off-by: Diane Wang <[email protected]>
Signed-off-by: Diane Wang <[email protected]>
Signed-off-by: Diane Wang <[email protected]>
@Tomorrow9
Copy link
Collaborator Author

Since you're working on vmware_guest_disk, do you think you could do something about some other issues about this module while you're at it?

Some of them might be easy (like #1617) and some a bit harder (like #1595), but it would be really great if you could do something about at least some of them.

It seems #1617 is easy to fix so I can fix it in this merge request. Thanks.

Signed-off-by: Diane Wang <[email protected]>
@softwarefactory-project-zuul
Copy link

Build succeeded.

✔️ ansible-tox-linters SUCCESS in 4m 06s
✔️ build-ansible-collection SUCCESS in 4m 18s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 04s (non-voting)
ansible-test-sanity-docker-milestone POST_FAILURE in 8m 25s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 8m 14s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 10m 38s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 4m 40s
✔️ ansible-test-cloud-integration-vcenter7_only-stable212 SUCCESS in 18m 57s
✔️ ansible-test-cloud-integration-vcenter7_2esxi-stable212 SUCCESS in 20m 30s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_1_of_2 SUCCESS in 47m 48s
✔️ ansible-test-cloud-integration-vcenter7_1esxi-stable212_2_of_2 SUCCESS in 57m 05s
✔️ ansible-galaxy-importer SUCCESS in 3m 35s

@mariolenz
Copy link
Collaborator

It seems #1617 is easy to fix so I can fix it in this merge request. Thanks.

Great! Thanks!

Copy link
Collaborator

@mariolenz mariolenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mariolenz mariolenz added feature This issue/PR relates to a feature request mergeit labels Feb 6, 2023
@softwarefactory-project-zuul
Copy link

Build succeeded (gate pipeline).

✔️ ansible-tox-linters SUCCESS in 4m 00s
✔️ build-ansible-collection SUCCESS in 3m 32s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 30s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 8m 42s
✔️ ansible-test-units-community-vmware-python38 SUCCESS in 4m 34s
✔️ ansible-galaxy-importer SUCCESS in 3m 37s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request mergeit
Projects
None yet
2 participants