Alena Prokharchyk
620eb50941
CLOUDSTACK-4015: don't insert the fake template record when upgrade from 304 to 305
2013-08-01 09:58:12 -07:00
Kelven Yang
7acb023aad
More fixes found in test cases when JVM assertion check is turned on
2013-07-31 17:58:31 -07:00
Kelven Yang
dbc46d0677
Fix problems found in local test when JVM assertion is turned on
2013-07-31 16:25:56 -07:00
Alena Prokharchyk
f09df4c136
CLOUDSTACK-3974: 410-420 db upgrade - exclude is_inline field from the query when insert the entry for the F5 load balancer as this field was dropped as a part of 40-41 upgrade
2013-07-31 13:32:28 -07:00
Bharat Kumar
5c18483d81
Cloudstack-2997 unable to update concurrent_conncetions feild in network_offerin.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-31 15:32:28 +05:30
Harikrishna Patnala
28f04c8ecc
CLOUDSTACK-3969: Upgrade failed from 3.0.3 to 4.2 in KVM host with error 4.2.0 KVM SystemVm template not found though systemvm-kvm-4.2 template is uploaded during 3.0.3 setup
...
This is due to mysql version conflict with '=' and 'LIKE'.
Changing to '=' while searching for new system template.
2013-07-31 15:11:41 +05:30
Nitin Mehta
7894f5541b
CLOUDSTACK-3658
...
Add the upgrade logic to populate the template/volume store ref table from upload table. We wont be using this table anymore.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-31 11:21:24 +05:30
Kelven Yang
065ae7a497
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-07-30 18:05:38 -07:00
Alena Prokharchyk
474a763ee3
CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2
2013-07-30 10:53:34 -07:00
Bharat Kumar
6e9bf56cf1
Fix for incorect capacity displayed at the db.
...
Conflicts:
engine/schema/src/com/cloud/capacity/dao/CapacityDaoImpl.java
server/src/com/cloud/alert/AlertManagerImpl.java
server/src/com/cloud/api/ApiResponseHelper.java
2013-07-30 22:13:44 +05:30
Bharat Kumar
03cbf51e15
Cloudstack-3910 Upgrade from 3.0.6 to 4.2 is failing with DB exceptions.
2013-07-30 19:12:59 +05:30
Kishan Kavala
1550f5e26c
CLOUDSTACK-3439: Include dynamically created nics in Prepare for migration command in KVM
2013-07-30 18:23:56 +05:30
Prasanna Santhanam
6ab5c40eeb
RAT broken from Mice's checkin ( acd2396)
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:34:24 +05:30
Prachi Damle
57099c8f8f
CLOUDSTACK-3904 listHosts API fails in VMware setup when virtualmachineid parameter is passed
...
Changes:
- Pod and Cluster can be null, modified the query to append these only if non-null
2013-07-29 14:08:47 -07:00
Rajesh Battala
78781ff7b8
CLOUDSTACK-3877 Unable to Resize Volume (kvm, vmware)
2013-07-29 17:57:37 +05:30
Mice Xia
acd2396660
fix CLOUDSTACK-3591 add usage recording for VM snapshots
2013-07-29 17:57:20 +08:00
Harikrishna Patnala
4d35d92208
CLOUDSTACK-3779: Support System vm scaling on VMWare
...
Marked the system template new system template as dynamicallyScalable
- handled upgrade case
- moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Bharat Kumar
6f9c26ea49
Cloudstack-2997 Make haproxy maxconn configurable
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-410to420.sql
2013-07-29 10:07:15 +05:30
Alena Prokharchyk
07bf2b2227
CLOUDSTACK-3868: fixed "count" param in listUsageRecords API to return the actual number of records matching the search criteria. Used to return the wrong value - the number of records per page
2013-07-26 15:37:20 -07:00
Alena Prokharchyk
d6af9331d6
DB upgrade: upgraded the bunch of db upgrade files with Apache license header
2013-07-26 13:41:00 -07:00
Min Chen
7589ddbe63
CLOUDSTACK-3856:[ZWPS] Template downloaded from ROOT volume is not seen
...
in the UI because of failure to get hypervisor_type for the ROOT volume
for zone-wide primary storage.
2013-07-26 13:34:10 -07:00
Prachi Damle
6a7d7f6d62
CLOUDSTACK-3491 delete host resulting NPE; Exception caught while handling disconnect: java.lang.NullPointerException
...
Changes:
- During host deletion, host entry in databse gets removed prior to the disconnect task getting processed.
- This causes the disconnect task to get NPE while trying to do the host state transition
2013-07-25 15:25:08 -07:00
Alena Prokharchyk
f1706e2c4b
DB upgrade: added db upgrade paths for CloudPlatform (Citrix) releases 303,304,305,306,307 to 4.2
2013-07-24 14:35:18 -07:00
Likitha Shetty
a71810f705
CLOUDSTACK-3735. Domain deletion fails even when the networks within the domain have been destroyed.
...
When a network is destroyed remove the corresponding network entry from domain_network_ref and account_network_ref table
2013-07-24 20:02:15 +05:30
Saksham Srivastava
d89115b5cf
CLOUDSTACK-2508: Template usage should report both physical and virtual sizes
2013-07-24 18:20:37 +05:30
Anthony Xu
b77723df13
don't update VM state if the state doesn't really change. updating VM state increases the update count, which might cause real VM update fail
2013-07-22 16:17:41 -07:00
Min Chen
1694e53b1d
CLOUDSTACK-3472: [Object_Store_Refactor] System VMs are not coming up in
...
initial attempt, but they are coming up after multiple attempts.
2013-07-19 15:39:15 -07:00
Fang Wang
2b254186b2
CLOUDSTACK-732 Add disk snapshot for KVM 6.3, add the flag in CS.
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-19 13:22:26 -07:00
Alena Prokharchyk
242f46118b
InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
...
Conflicts:
engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
2013-07-19 13:20:46 -07:00
Koushik Das
d9f7c6e531
CLOUDSTACK-3628: [Storage]Migration of data disk from Shared primary to shared/local primary storage is throwing NPE
...
'Long' value was getting passed to a parameter of type 'long' and in case of null was resulting in NPE
2013-07-19 19:15:10 +05:30
Sanjay Tripathi
5de96db81d
CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly.
...
The issue is that while calculating the used primary storage size, the updateResourceCount
API is also calculating the disk size of virtual router VM, created for that account and
because of this, the API is returning the incorrect result.
2013-07-19 16:19:23 +05:30
Harikrishna Patnala
7c664728f7
CLOUDSTACK-3634: Adding router.template.xen/kvm/hyperv/kvm/lxc in upgrade setup
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-07-19 14:29:50 +05:30
Harikrishna Patnala
85e32552a3
CLOUDSTACK-3324: Fix/Improve upgrade system vm template 41 to 42
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-19 12:46:08 +05:30
Alena Prokharchyk
ad112c8254
CLOUDSTACK-3612: fixed missing indexes in some cloud tables. In the bug those tables are addressed as table #4 , table #5 , and table #6
2013-07-18 15:59:59 -07:00
Vijayendra Bhamidipati
9edddf632f
CLOUDSTACK-3598: [Automation] NullPointerException observed while connecting agent
...
Description:
Fixing an NPE when setting resource count.
2013-07-18 08:55:31 -07:00
Nitin Mehta
d1b982e89f
CLOUDSTACK-3605
...
Make the display_offering = true by default in the code.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-18 15:11:25 +05:30
ahuang
c22504a044
Fixed a bunch of asserts
2013-07-17 16:23:02 -07:00
Bharat Kumar
956a2a68ce
Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 16:53:11 +05:30
Bharat Kumar
4fdb177bb6
Cloudstack-2150 DB table entries of phisical network is not proper.Shows Duplicate entries Cloudstack-2980 Adding a VLAN range that overlaps with two existing ranges results in inconsistent DB entries
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 15:10:52 +05:30
Sheng Yang
882982605a
CLOUDSTACK-494: Loose the limition of same ip used by site-to-site vpn
...
Different account can have same remote side IP now. Of course the remote side need
to identify them and configured properly to handle it.
2013-07-16 17:16:58 -07:00
Prachi Damle
d70076e6a5
CLOUDSTACK-2155: Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
...
Changes:
- Locking the group and save reservation mechanism done by DPM
- Added admin operation to cleanup VM reservations
- DPM will also cleanup VM reservations on startup
2013-07-16 13:41:16 -07:00
Prachi Damle
9cb91ba58c
CLOUDSTACK-2155 Anti-Affinity -When Vm deployment is done in parallel , anti-affinity rule is not honored.
...
Changes to check if the destination found does not conflict with any vm reservation
2013-07-16 13:41:12 -07:00
Min Chen
c1b0228f13
After upgrade to 4.2.0, restart of system vms and router vm fails with a
...
NPE
2013-07-15 15:55:53 -07:00
Edison Su
7e6c1a0bf7
CLOUDSTACK-3400: add swift support
2013-07-13 01:52:03 -07:00
Edison Su
c888fc6b75
add inital swift support
2013-07-13 01:52:03 -07:00
Likitha Shetty
87df51356b
CLOUDSTACK-2757. When configs are added the value of the property 'category' is not persisted.
2013-07-12 16:48:40 +05:30
Harikrishna Patnala
8816d41d3b
CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update template API Previuos commit: 7b6b8d7a07 This fix is due to some changes made by the merges after this commit.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-12 15:27:25 +05:30
Saksham Srivastava
87a2a95445
CLOUDSTACK-3094: Adding a shared network to already deployed VM is failing.
...
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-07-12 14:30:40 +08:00
Sanjay Tripathi
5dda98c3a0
CLOUDSTACK-1768: Ability to delete Events and Alerts: Delete by a time period is required.
...
User should be able to delete/archive alerts and events by selecting a time period or by
choosing the alerts and events older than a date. Added the ability to choose a time period
too.
2013-07-11 14:28:51 +05:30
Koushik Das
a81cc8a12d
CLOUDSTACK-2918: In a scaled up environment, hosts fail to come up after Management server restart in clustered set up
...
Summary of changes in the fix
- Optimized host scan logic, now instead of iterating over each cluster host scan is done for a batch of clusters
- Made host scan task interval configurable
2013-07-10 12:22:39 +05:30
Mike Tutkowski
be6bc2b681
Changes related to Review Board comments
2013-07-09 23:19:44 -06:00
Sheng Yang
a3792fd9cf
CLOUDSTACK-3417: Prevent conflict of existed foreign keys of baremetal when upgrade
...
Now we dropped the keys(if any) then re-add them.
2013-07-09 16:36:22 -07:00
Kishan Kavala
d4ed20b0d3
CLOUDSTACK-2429: Multiple private gateways are allowed within a VPC. Check for conflicting routes in all gateways when adding a new static route
2013-07-09 17:18:23 +05:30
Murali Reddy
fe568fefd3
CLOUDSTACK-234: create/delete firewa/lb/pf rule: send ip assoc command
...
only on first rule is created on the IP and last rule is revoked on the
IP
Current suboptima logic of IP Assoc
- On associate IP to GuestNetwork there is an IPAssoc command sent to
corresponding network service providers of the network
- On every rule apply on IP associated with the network send IP assoc
to the network service providers
- On every rule deletion on IP associated with a network sernd IP assoc
command to the network service providers
With this fix logic of IP assoc is changed as below which eliminates
executio of unnessary and expensive IpAssocCommand resource command
- On associate IP to GuestNetwork, associate IP only to the network,
Untill any service is associated with the IP dont send IP Assoc
- On creation of first rule on the IP send IPAssoc to corresponding
network service provider. Since IP is used for a service, IPAssoc
need to be sent to correpondign service provider
- On deletion of last rule on the IP send IPAssoc to corresponding
network service provider. When last rule is deleted, IP has no
service associated with it, so send IP assoc to service provider to
remove the IP association
2013-07-09 13:31:39 +05:30
Murali Reddy
93090aa7c5
CLOUDSTACK-1959: GSLB: add capability to provide weights to the sites
...
involved in the GSLB
add weights to each site participating in the GSLB. Traffic will be load
balanced across the sites based on the weigths associated with each
site. If not specified weight of site is defaulted to 1.
2013-07-02 17:57:00 +05:30
Alena Prokharchyk
b1a34ef335
41-42 DB upgrade: fixed physicalNetworkUpdate method - one of the preparedStatement elements wasn't set
2013-07-01 11:54:30 -07:00
Min Chen
87c401aaaf
CLOUDSTACK-3144: [Automation] Deletion of templates failing. Fails to
...
find image store housing template.
2013-06-28 17:57:42 -07:00
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Prachi Damle
02ab2eb384
Revert "Cloudstack-2150 DB table entries of phisical network is not proper.Shows Duplicate entries Cloudstack-2980 Adding a VLAN range that overlaps with two existing ranges results in inconsistent DB entries"
...
This reverts commit 7f2f25d640 .
2013-06-28 14:58:32 -07:00
Bharat Kumar
6b0df2566d
Cloudstack-3106 Delete all ips except ipAlias. Cloudstack-3119 Shared network removal doesn't cleanup corresponding IP ranges
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-06-28 19:05:55 +05:30
Bharat Kumar
7f2f25d640
Cloudstack-2150 DB table entries of phisical network is not proper.Shows Duplicate entries Cloudstack-2980 Adding a VLAN range that overlaps with two existing ranges results in inconsistent DB entries
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-06-28 19:05:54 +05:30
Kishan Kavala
87a5dc582e
encrypt vnc_password for removed Vms also. Snapshots of removed Vms still refer Vm VOs
2013-06-28 11:13:02 +05:30
Alena Prokharchyk
5437a0d058
CLOUDSTACK-3126: don't count system network (private gateway's network) when calculate networks count in the vpc
2013-06-27 17:10:14 -07:00
Kishan Kavala
f96442a45b
CLOUDSTACK-3231: Update service offering Id of allocated Vm usage whem service offering changes for a Vm
2013-06-27 16:01:39 +05:30
Murali Reddy
ff167134e4
CLOUDSTACK-3214: transferring portable IP across zones with enableStatic
...
NAT does not work
making an exception for portabe IP, so that if the current datacenter with
portable IP is associated is different from destiantion data center
also on transfer on to new zone, transfer the portable ip association to
new data center, physical network id's
2013-06-26 19:29:55 +05:30
Nitin Mehta
1c102a0589
CLOUDSTACK-2835: Change function from execute to executeUpdate
2013-06-26 17:47:17 +05:30
Harikrishna Patnala
c0591531d8
CLOUDSTACK-3187: cluster.(cpu/memory).allocated.capacity.disablethreshold in not considering overcommit factor. cluster is getting disable based on actual use
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-26 16:02:21 +05:30
Harikrishna Patnala
9385cf0453
CLOUDSTACK-2835: VR Deployement from admin registered template is failing because registered template type is user. Additional parameter "isrouter" in register/update template API for the root admin. True if registered template is of type ROUTING.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-26 16:00:12 +05:30
Kishan Kavala
da0006618f
CLOUDSTACK-3124: Deletion of ACL associated with a tier/ pvt gateway should not be allowed. Check for associated tiers/gateways before deletion
2013-06-24 17:58:29 +05:30
Jayapal
6a7ae637dd
CLOUDSTACK-1578 Egress default policy configurable using network offering in xenserver with VR as firewall provider
2013-06-24 13:37:00 +05:30
Alena Prokharchyk
ae6e8b448f
CLOUDSTACK-3085: network implement - deploy internal lb vm for the ip only when:
...
* the load balancer contains lb rule in state "Active"
* when lb rule has at least one vm assigned to it
2013-06-20 13:01:32 -07:00
Edison Su
205722aabf
fix nonoss build
2013-06-20 10:47:19 -07:00
Edison Su
97f8c524b8
merge object_store
2013-06-20 00:18:00 -07:00
Harikrishna Patnala
7b6b8d7a07
CLOUDSTACK-2987 Ensure XStools to be there in template inorder to enable dynamic scaling of vm
...
CLOUDSTACK-3042 - handle Scaling up of vm memory/CPU based on the presence of XS tools in the template
This also takes care of updation of VM after XS tools are installed in the vm and set memory values accordingly to support dynamic scaling after stop start of VM
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:08:38 +05:30
Edison Su
9aec9c605c
merge to master
2013-06-19 18:16:47 -07:00
Wei Zhou
10e80afdeb
remove duplicated VPC router in return value of functions in DomainRouterDaoImpl
2013-06-18 15:29:46 +02:00
Wei Zhou
882220e802
CLOUDSTACK-1301: VM Disk I/O Throttling
2013-06-18 10:02:55 +02:00
Alena Prokharchyk
5d0a1cee13
CLOUDSTACK-2883: create default network offering with internal lb support (if doesn't exist already)
2013-06-17 16:13:19 -07:00
Jessica Wang
880029844b
CLOUDSTACK-3016: remove zonetype parameter from listTemplates, listIsos API.
2013-06-17 16:08:38 -07:00
Min Chen
cf43344541
Fix build error
2013-06-17 13:48:02 -07:00
Likitha Shetty
770cf02ccf
Global config to disable an account from acquiring public ips and guest vlans from the system if the account
...
has dedicated resources and the dedicated resources have all been consumed - use.system.public.ips and use.system.guest.vlans
Both configs are configurable at the account level too.
2013-06-17 17:54:36 +05:30
Edison Su
f41c800d88
merge to master
2013-06-14 19:06:33 -07:00
Min Chen
bb85a564da
Remove state from vm_template table, we should use template_store_ref
...
state column to represent the state of a template in each zone.
2013-06-14 15:14:09 -07:00
Min Chen
c5083a385f
Migrate NFS secondary storage data from 4.1 to 4.2.
2013-06-14 10:54:41 -07:00
Min Chen
80ed9254b6
Fix db creation issue caused from merge conflict.
2013-06-12 15:37:21 -07:00
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Harikrishna Patnala
a30f9fa64a
Fix for CLOUDSTACK-1704 and CLOUDSTACK-1622
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-12 15:01:59 +05:30
Min Chen
40982ccef2
drop all alert indice on column last_sent created up to 4.1 version
2013-06-10 11:04:50 -07:00
Nitin Mehta
5b48ec24d8
CLOUDSTACK-2924
...
Recurring snapshot schedule not showing up in UI
For some of the volumes Recurring snapshot schedule was not showing up in UI because the active column was set to false. Since we dont use this column anymore I am removing the active=true check in the listSnapshotPolicies call.
2013-06-10 20:00:16 +05:30
Wei Zhou
76ce304411
CLOUDSTACK-2707: use executeBatch instead of persist in Usage Server
2013-06-10 15:00:08 +02:00
Jayapal
c8d607eae5
CLOUDSTACK-2650 setting vm ip null in user_ip_address when static nat ip
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-10 12:14:34 +05:30
Jayapal
c1ad3b7974
CLOUDSTACK-2604 Fixed deleting secondary ip when no PF rules set
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-10 12:13:08 +05:30
Murali Reddy
c0d894346a
CLOUDSTACK-2874: fix the upgrade for the deployment with F5/SRX
...
combination prior to 3.0 release
Fix does following:
- add F5 network service provider into a physical network if there if F5
deployed in the zone
- add instance of F5 network service provider
- add SRX network service provider into a physical network if there if
SRX deployed in the zone
- add instance of SRX network service provider
- upgrade all the guest networks to network offering '"Isolated with
external providers"
2013-06-06 17:49:47 +05:30
Alena Prokharchyk
54481d0b7b
listLoadBalancingRules: when list by networkId, no need to pass the dataCenterId to the call
2013-06-05 10:25:25 -07:00
Harikrishna Patnala
9fe7846d72
CLOUDSTACK-2728: 41-42 DB upgrade: add step to upgrade system templates
2013-06-05 15:14:04 +05:30
Sanjay Tripathi
52a901099c
CLOUDSTACK-2824: API:MS:Ability to delete events and alerts-Auto Purge for Alerts doesn't work
2013-06-05 14:37:11 +05:30
Alena Prokharchyk
90df4e4df0
CLOUDSTACK-2840: get the latest information from the DB about the number of rules in non-revoked state for the ip address when figuring out if the internal lb vm needs to be destroyed. Instead of relying on the information passed down by the NetworkManager as the network manager might pass only rules in transition state omitting the Active rules
2013-06-04 14:41:23 -07:00
Wei Zhou
f714d26039
Revert "CLOUDSTACK-1301: Add VM Disk I/O Throttling"
...
This reverts commit 6dad8adf8f .
2013-06-03 07:48:03 +02:00
Wei Zhou
6dad8adf8f
CLOUDSTACK-1301: Add VM Disk I/O Throttling
2013-06-01 08:03:02 +02:00
Wei Zhou
b9b0168da4
CLOUDSTACK-1192: Add Disk I/O Statistics
2013-06-01 08:00:48 +02:00