You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/05/11 07:03:30 UTC

[GitHub] [cloudstack] sureshanaparti opened a new issue, #6374: Next available device id is not picked up, while attaching the disk to VM.

sureshanaparti opened a new issue, #6374:
URL: https://github.com/apache/cloudstack/issues/6374

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   The device id is that is available is not picked up when attaching the disk to VM.
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug / Enhancement 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 main branch.
   -->
   
   ~~~
   4.17 RC2
   ~~~
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   MS: CentOS 7 + Hypervisor: KVM
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   The device id is that is immediately available is not picked up when attaching the disk to VM.
   
   ```
   MariaDB [cloud]> SELECT id, uuid, name, instance_id, device_id, pool_id, size, updated FROM cloud.volumes WHERE instance_id = 3 ORDER BY device_id;
   +----+--------------------------------------+-------------+-------------+-----------+---------+------------+---------------------+
   | id | uuid                                 | name        | instance_id | device_id | pool_id | size       | updated             |
   +----+--------------------------------------+-------------+-------------+-----------+---------+------------+---------------------+
   |  3 | 91a90516-ba1f-4201-a525-92e0daf8b06f | ROOT-3      |           3 |         0 |       3 | 8589934592 | 2022-05-09 06:14:26 |
   |  8 | 488ece20-a0ba-42a1-928b-0f439bf8717b | DATA02      |           3 |         1 |       3 | 5368709120 | 2022-05-11 05:37:02 |
   | 11 | e0731820-864f-45db-8f7c-bf7a68afa526 | LocalDATA02 |           3 |         2 |       4 | 5368709120 | 2022-05-11 05:43:22 |
   |  7 | 366c1089-0c4a-4059-b300-00dfa50899e1 | DATA01      |           3 |         4 |       4 | 3221225472 | 2022-05-11 05:46:12 |
   +----+--------------------------------------+-------------+-------------+-----------+---------+------------+---------------------+
   4 rows in set (0.00 sec)
   ```
   
   ##### 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.
   -->
   - Create a VM
   - Attach first DATA disk with some device id
   - Attach second/third DATA disk without device id
   - Detach and Attach the first DATA disk without device id
   
   <!-- 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 next available device id should be picked up, to attach the disk to VM.
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   The next  available device is not picked up , while attaching the disk to VM.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] sureshanaparti commented on issue #6374: Next available device id is not picked up, while attaching the disk to VM.

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #6374:
URL: https://github.com/apache/cloudstack/issues/6374#issuecomment-1123354793

   Noticed the max data disks in the latest VMware and Xen versions are set to 59 and 253 in hypervisor capabilites. May be, the device Id support has to be updated accordingly. Closing the ticket, as the next available device id is picked, after skipping the reserved ones.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] sureshanaparti commented on issue #6374: Next available device id is not picked up, while attaching the disk to VM.

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #6374:
URL: https://github.com/apache/cloudstack/issues/6374#issuecomment-1123345798

   Device Ids to 0,1,2,4-33 are are currently allowed. Device id 3 is reserved.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] sureshanaparti closed issue #6374: Next available device id is not picked up, while attaching the disk to VM.

Posted by GitBox <gi...@apache.org>.
sureshanaparti closed issue #6374: Next available device id is not picked up, while attaching the disk to VM.
URL: https://github.com/apache/cloudstack/issues/6374


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org