sureshanaparti opened a new issue #4101:
URL: https://github.com/apache/cloudstack/issues/4101
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and master branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
Maximum data volumes limit is picked from default version of hypervisor for
VMware as the "product_version" parameter is not found in the host details.
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
Volume
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on master
branch.
-->
~~~
4.13.0
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
VMware hypervisor
##### SUMMARY
<!-- Explain the problem/feature briefly -->
Attach disk is failing with error "The specified VM already has the maximum
number of data disks (13) attached. Please specify another VM." even thought
the hypervisor version supports more than 13 disks, which is specified in the
_max_data_volumes_limit_ of _hypervisor_capabilites_ table for that hypervisor
version. The data volumes limit is being picked from "default" version of
hypervisor instead of the actual version.
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
1) Create a VM (in VMware hypervisor)
2) Attach upto 14 data disks to the VM
<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
The data disks limit from the actual hypervisor version has to be considered
while attaching the disks
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
The data disks limit from the "default" hypervisor version is picked up
while attaching the disks
~~~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]