[
https://issues.apache.org/jira/browse/CLOUDSTACK-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sanjeev N reopened CLOUDSTACK-5563:
-----------------------------------
Verified this bug on the latest build from 4.3 with commit:
6f309b8a87d3376950a60234d399c6e3749ad1c7.
Path filed is set only for the root disks. It is still set to NULL for the
attached data disks.
Steps to reproduce:
================
1.Bring up CS with hyperv
2.Deploy guest vm with only root disk
3.Create a data disk and attach it to vm created above
4.Verify path filed in volumes table for the data disk created and attached in
step3
Result:
======
Path field is set to null.
mysql> select * from volumes where id in (5,6)\G;
*************************** 1. row ***************************
id: 5
account_id: 2
domain_id: 1
pool_id: 1
last_pool_id: NULL
instance_id: 3
device_id: 1
name: custom1
uuid: a3900081-e6d7-4d77-9d4d-de09c0ede46f
size: 1073741824
folder: NULL
path: NULL
pod_id: NULL
data_center_id: 1
iscsi_name: NULL
host_ip: NULL
volume_type: DATADISK
pool_type: NULL
disk_offering_id: 6
template_id: NULL
first_snapshot_backup_uuid: NULL
recreatable: 0
created: 2014-01-06 11:18:45
attached: 2014-01-06 11:19:18
updated: 2014-01-06 11:19:18
removed: NULL
state: Ready
chain_info: NULL
update_count: 2
disk_type: NULL
vm_snapshot_chain_size: NULL
iso_id: NULL
display_volume: 1
format: VHD
min_iops: NULL
max_iops: NULL
hv_ss_reserve: 0
*************************** 2. row ***************************
id: 6
account_id: 2
domain_id: 1
pool_id: 1
last_pool_id: NULL
instance_id: 3
device_id: 2
name: custom2
uuid: 1dbf6e35-ad26-4645-bbc1-057ec5a012f9
size: 2147483648
folder: NULL
path: NULL
pod_id: NULL
data_center_id: 1
iscsi_name: NULL
host_ip: NULL
volume_type: DATADISK
pool_type: NULL
disk_offering_id: 6
template_id: NULL
first_snapshot_backup_uuid: NULL
recreatable: 0
created: 2014-01-06 11:20:45
attached: 2014-01-06 11:21:08
updated: 2014-01-06 11:21:08
removed: NULL
state: Ready
chain_info: NULL
update_count: 2
disk_type: NULL
vm_snapshot_chain_size: NULL
iso_id: NULL
display_volume: 1
format: VHD
min_iops: NULL
max_iops: NULL
hv_ss_reserve: 0
2 rows in set (0.00 sec)
ERROR:
No query specified
> path field is set to null in volumes table
> -------------------------------------------
>
> Key: CLOUDSTACK-5563
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5563
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Hypervisor Controller, Management Server, Volumes
> Affects Versions: 4.3.0
> Environment: Latest build from 4.3 with commit
> :197ef921f7b3c80998359f376fe045b13558633c
> Reporter: Sanjeev N
> Assignee: Rajesh Battala
> Labels: hyper-V,
> Fix For: 4.3.0
>
>
> path field is set to null in volumes table
> Steps to Reproduce:
> =================
> 1.Bring up CS in advanced zone with hyper-v host using CIFS for both primary
> and secondary storage
> 2.Deploy a vm using default cent-os template
> 3.Check root volume details in volumes table.
> Following is the volume details from cloud DB:
> mysql> select * from volumes where instance_id=6\G;
> *************************** 1. row ***************************
> id: 8
> account_id: 2
> domain_id: 1
> pool_id: 1
> last_pool_id: NULL
> instance_id: 6
> device_id: 0
> name: ROOT-6
> uuid: 70c71522-16ec-4329-a91d-c6006534078d
> size: 5368709120
> folder: NULL
> path: NULL
> pod_id: NULL
> data_center_id: 1
> iscsi_name: NULL
> host_ip: NULL
> volume_type: ROOT
> pool_type: NULL
> disk_offering_id: 1
> template_id: 6
> first_snapshot_backup_uuid: NULL
> recreatable: 0
> created: 2013-12-19 10:04:33
> attached: NULL
> updated: 2013-12-19 10:04:38
> removed: NULL
> state: Ready
> chain_info: NULL
> update_count: 2
> disk_type: NULL
> vm_snapshot_chain_size: NULL
> iso_id: NULL
> display_volume: 1
> format: NULL
> min_iops: NULL
> max_iops: NULL
> hv_ss_reserve: NULL
> 1 row in set (0.00 sec)
> ERROR:
> No query specified
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)