slavkap opened a new issue #5531:
URL: https://github.com/apache/cloudstack/issues/5531


   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   -->
   ~~~
   Ceph storage
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   -->
   
   ~~~
   4.15.3.0/main but may exist on previous versions
   ~~~
   
   ##### OS / ENVIRONMENT
   <!--
   
   -->
   CentOS 7
   KVM hypervisors
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   After deploying a VM with a `DATADISK` (both volumes - ROOT/DATADISK  are on 
Ceph) the `DATADISK` gets `QCOW2` format
   
   ```
   select id, pool_type, storage_provider_name from storage_pool where id=203;
   +-----+-----------+-----------------------+
   | id  | pool_type | storage_provider_name |
   +-----+-----------+-----------------------+
   | 203 | RBD       | DefaultPrimary        |
   +-----+-----------+-----------------------+
   1 row in set (0.00 sec)
   
   SELECT format, pool_id, name, instance_id FROM cloud.volumes where 
instance_id=5360;
   +--------+---------+-----------+-------------+
   | format | pool_id | name      | instance_id |
   +--------+---------+-----------+-------------+
   | RAW    |     203 | ROOT-5360 |        5360 |
   | QCOW2  |     203 | DATA-5360 |        5360 |
   +--------+---------+-----------+-------------+
   2 rows in set (0.00 sec)
   ```
   
   ##### STEPS TO REPRODUCE
   
   ~~~
   Deploy a virtual machine with a `datadisk` on Ceph
   ~~~
   
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   The format of the volume should be in `RAW` format
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   in the database, the volume's format is `QCOW2`
   ~~~
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to