venkata swamybabu budumuru created CLOUDSTACK-3103:
------------------------------------------------------
Summary: [DR] display flag for default disk_offerings and volumes
is by default set to "0"
Key: CLOUDSTACK-3103
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3103
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Environment: commit # 971c40d98e07ab6cddb8e6db5095c1acea935815
Reporter: venkata swamybabu budumuru
Priority: Minor
Fix For: 4.2.0
Steps to reproduce:
1. Have CloudStack setup with at least one advanced zone
2. verify the default disk offerings
Observations:
(i) all the default disk_offerings are set with display_offering to "0"
mysql> select * from disk_offering where id=3\G
*************************** 1. row ***************************
id: 3
domain_id: NULL
name: Small
uuid: 3971a551-e4b2-4179-ab68-8bf2552a6784
display_text: Small Disk, 5 GB
disk_size: 5368709120
type: Disk
tags: NULL
recreatable: 0
use_local_storage: 0
unique_name: Cloud.Com-Small
system_use: 0
customized: 0
removed: NULL
created: 2013-06-13 10:57:55
sort_key: 0
display_offering: 0
(ii) all the ROOT volumes are set with display_volume to "0".
select * from volumes\G
*************************** 37. row ***************************
id: 37
account_id: 2
domain_id: 1
pool_id: 1
last_pool_id: NULL
instance_id: 39
device_id: 0
name: ROOT-39
uuid: a2165443-7f75-4bc8-bb40-d193b7401bce
size: 2097152000
folder: /export/home/swamy/primary.campo.vmw.1
path: ROOT-39-37
pod_id: 1
data_center_id: 1
iscsi_name: NULL
host_ip: NULL
volume_type: ROOT
pool_type: NetworkFilesystem
disk_offering_id: 7
template_id: 8
first_snapshot_backup_uuid: NULL
recreatable: 1
created: 2013-06-21 00:11:30
attached: NULL
updated: 2013-06-21 00:11:38
removed: NULL
state: Ready
chain_info: NULL
update_count: 2
disk_type: NULL
display_volume: 0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira