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

resize_ex Operation in appliance_system_storage module Does Not Return new_size and old_size for Partition Resizing #571

Open
1 task done
prabinovRedhat opened this issue Dec 23, 2024 · 0 comments

Comments

@prabinovRedhat
Copy link
Collaborator

Summary

Bug Description:
The resize_ex operation in the vmware.vmware_rest.appliance_system_storage module does not return the expected new_size and old_size for the resized partition. The value dictionary in the response is empty, which contradicts the module's documentation.

Actual Result:

The response contains an empty dictionary for value:

{
  "resize_ex_result": {
    "changed": false,
    "failed": false,
    "value": {}
  }
}

Expected Result:

The value dictionary should include before and after keys with the states of the partition before and after the resize operation:

{
  "resize_ex_result": {
    "changed": true,
    "failed": false,
    "value": {
      "lv_root_0": {
        "new_size": 104312832,
        "old_size": 53985280
      }
    }
  }
} 

Steps to Reproduce:

Execute the resize_ex operation using the following task:

- name: Resize the first partition and return the state before and after the operation
  vmware.vmware_rest.appliance_system_storage:
    state: resize_ex
  register: resize_ex_result

Observe the returned value in the result.

Issue Type

Feature Idea

Component Name

appliance_system_storage

Additional Information

No response

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant