Alena Prokharchyk
8cac1e0443
DB upgrade: upgraded the bunch of db upgrade files with Apache license header
2013-07-26 15:37:07 -07:00
Alex Huang
f5e5b39c9b
Moved the DB layer code into framework-db and change only the necessary projects to refer to it. Cut down on the dependencies introduced with all the code in utils.
2013-07-26 15:02:10 -07:00
Min Chen
199e861a51
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:41:58 -07:00
Alex Huang
9aaa378b08
Moved ClusterManager into it's own package. Removed the agent load balancing code.
2013-07-25 19:00:26 -07:00
Alena Prokharchyk
6a916b9e82
DB upgrade: added db upgrade paths for CloudPlatform (Citrix) releases 303,304,305,306,307 to 4.2
2013-07-25 16:39:16 -07:00
Prachi Damle
08bbfbdc4a
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:57:39 -07:00
Alex Huang
555211a080
Moved Configuration from api to utils and moved the package. This was done by eclipse so I only ran the unit test to verify everything is fine
2013-07-25 03:57:12 -07:00
Likitha Shetty
b7a483608f
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:03:51 +05:30
Saksham Srivastava
135a2e66c5
CLOUDSTACK-2508: Template usage should report both physical and virtual sizes
2013-07-24 18:17:09 +05:30
Anthony Xu
eff27e1f83
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 15:56:37 -07:00
Edison Su
cd6853cc1a
CLOUDSTACK-732 Add disk snapshot for KVM 6.3, add the flag in CS.
...
Signed-off-by: Edison Su <sudison@gmail.com>
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-07-19 13:26:19 -07:00
Alena Prokharchyk
823c72552e
InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
2013-07-19 13:20:57 -07:00
Koushik Das
c202142a1e
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:08:03 +05:30
Sanjay Tripathi
539eb38908
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:04:10 +05:30
Harikrishna Patnala
499b78bf09
CLOUDSTACK-3601: Adding router.template.xen/vmware/kvm/lxc/hyperv parameters in upgrade setup
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-07-19 14:40:13 +05:30
Alena Prokharchyk
ca1f8a6632
CLOUDSTACK-3612: fixed missing indexes in some cloud tables. In the bug those tables are addressed as table #4 , table #5 , and table #6
...
Conflicts:
setup/db/db/schema-410to420.sql
2013-07-18 16:00:19 -07:00
Vijayendra Bhamidipati
dfa612d1fe
CLOUDSTACK-3598: [Automation] NullPointerException observed while connecting agent
...
Description:
Fixing an NPE when setting resource count.
2013-07-18 08:55:57 -07:00
Nitin Mehta
551fdd7df4
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:12:29 +05:30
ahuang
ee4d067c12
Fixed a bunch of asserts
2013-07-17 16:20:53 -07:00
Bharat Kumar
f76bf5b053
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:22:33 +05:30
Bharat Kumar
d73bb22802
Incorportaed the review changes Now dhcpservice IPs are removed when last vm from the subnet is removed. Rebased with master.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 12:35:06 +05:30
Bharat Kumar
dd33abffbe
Cloudstack-2997 Make haproxy maxconn configurable
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-17 10:06:11 +05:30
Sheng Yang
86bbe211f2
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:26:51 -07:00
Prachi Damle
fa9ca72f36
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 10:53:06 -07:00
Prachi Damle
661088927d
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 10:53:02 -07:00
Min Chen
2d30f42d0f
After upgrade to 4.2.0, restart of system vms and router vm fails with a
...
NPE.
2013-07-15 15:37:08 -07:00
Edison Su
8f4575e877
CLOUDSTACK-3400: add swift support
2013-07-13 02:07:15 -07:00
Edison Su
0c1ae20e77
add inital swift support
...
Conflicts:
server/src/com/cloud/resource/ResourceManagerImpl.java
server/test/com/cloud/resource/MockResourceManagerImpl.java
2013-07-13 02:07:03 -07:00
Likitha Shetty
aaaf168f5a
CLOUDSTACK-2757. When configs are added the value of the property 'category' is not persisted.
2013-07-12 16:50:30 +05:30
Harikrishna Patnala
5dd1a1dd8e
CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update template API Previuos commit: 7b6b8d7a077478620232ea1ac4ec2304289e8661 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:19:25 +05:30
Saksham Srivastava
bdc7e4ce33
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:10 +08:00
Sanjay Tripathi
429e6bd4bb
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:12:17 +05:30
Koushik Das
aed49572c7
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:13:24 +05:30
Mike Tutkowski
06f73092fb
Changes related to Review Board comments
2013-07-09 22:50:14 -06:00
Sheng Yang
7d8f6c7022
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:52 -07:00
Kishan Kavala
acb4a19633
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:27:06 +05:30
Murali Reddy
ea8b85af2a
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-08 14:52:12 +05:30
Harikrishna Patnala
e63ac5512e
CLOUDSTACK-3324: Fix/Improve upgrade system vm template 41 to 42
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-03 17:18:25 +05:30
Murali Reddy
2f3764ef94
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:55:58 +05:30
Alena Prokharchyk
4f89c88985
41-42 DB upgrade: fixed physicalNetworkUpdate method - one of the preparedStatement elements wasn't set
2013-07-01 12:00:54 -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 7f2f25d640b47c8e72381bfc318a7bbbb1ca2bfd.
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