Commit Graph

24770 Commits

Author SHA1 Message Date
Antonio Fornie 3d16a407c9 Temporary put state info in a state object 2014-10-03 06:21:25 +02:00
Daan Hoogland 0a08829153 package rename
Conflicts:
	server/src/com/cloud/network/rules/DhcpEntryRules.java
	server/src/com/cloud/network/rules/DhcpSubNetRules.java
2014-10-03 06:21:25 +02:00
Antonio Fornie 6188adb970 Fix offering setup 2014-10-03 06:21:25 +02:00
Wilder Rodrigues 5b60394a3a adding Ip Association and VPN Rules
Conflicts:
	server/src/com/cloud/network/topology/AdvancedNetworkVisitor.java
	server/src/com/cloud/network/topology/BasicNetworkTopology.java
	server/src/com/cloud/network/topology/NetworkTopologyVisitor.java
2014-10-03 06:21:25 +02:00
Wilder Rodrigues 91dfad4a97 adding apache license headers 2014-10-03 06:21:25 +02:00
Wilder Rodrigues 7b59dce792 we have to check if VPC is null bfore calling it. VPC is not used in gest networks, so deploying a new VM was broken. 2014-10-03 06:21:24 +02:00
Wilder Rodrigues 00f39e6b51 adding static nat rules. Deploying new VMs is not working due to the appliance refactory, will check the changes with Antonio tomorrow.
Conflicts:
	server/src/com/cloud/network/element/VirtualRouterElement.java
	server/src/com/cloud/network/topology/AdvancedNetworkVisitor.java
2014-10-03 06:21:24 +02:00
Daan Hoogland 08cf6b11a1 TODO 2014-10-03 06:21:24 +02:00
Wilder Rodrigues 1365acd200 finished firewall rules and load balancing rules; fixed all the injection problems; added VirtualMachineManager to the appliance factory to be injected.
Conflicts:
	server/src/com/cloud/network/element/VirtualRouterElement.java
	server/src/com/cloud/network/router/NEWVirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/topology/BasicNetworkTopology.java
2014-10-03 06:21:24 +02:00
Wilder Rodrigues b56b62b9d4 fixing checkstyles
Conflicts:
	server/src/com/cloud/network/topology/AdvancedNetworkVisitor.java
	server/src/com/cloud/network/topology/BasicNetworkTopology.java
2014-10-03 06:21:24 +02:00
Wilder Rodrigues 5f5bbe1988 changing accessor modifier in instance variables 2014-10-03 06:21:24 +02:00
Wilder Rodrigues db844438b4 Adding Firewall Rules to comply with the Visitor pattern implementation; refactoring the applyRules so we can reuse it.
Conflicts:
	server/src/com/cloud/network/rules/LoadBalancingRules.java
	server/src/com/cloud/network/topology/AdvancedNetworkVisitor.java
	server/src/com/cloud/network/topology/BasicNetworkTopology.java
	server/src/com/cloud/network/topology/NetworkTopology.java
2014-10-03 06:21:24 +02:00
Antonio Fornie 705ced3a84 Fix dependency problem. Extract and unify router deployment stuff
Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-10-03 06:21:24 +02:00
Antonio Fornie bca81b0573 Extract general behavior to Router and Vpc delegates
Conflicts:
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2014-10-03 06:21:24 +02:00
Antonio Fornie 105ee89f47 Rules and visitors for Load Balance Rules
Conflicts:
	server/src/com/cloud/network/element/VirtualRouterElement.java
2014-10-03 06:21:24 +02:00
Jessica Wang 97768b2657 CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows > fix it by declaring the variables beforehand. 2014-10-02 17:07:57 -07:00
Anthony Xu 3201251256 ccp should not check public ip resource when deploy a vm on shared network 2014-10-02 16:03:34 -07:00
Jessica Wang 53d5e8af18 CLOUDSTACK-7668: UI > When UI is loaded the first time, sometimes a blank screen instead of a login screen shows. Only after clicking Refresh button(i.e. loaded again) will the login screen show. 2014-10-02 14:43:22 -07:00
amoghvk 0ef6cd36c4 Revert "CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect"
This reverts commit 39fe766c2b.
2014-10-02 13:28:52 -07:00
amoghvk 53db8c725c Revert "Remove adding implicit tags in DB schema so that management server starts, original commit 39fe766c2b needs review"
This reverts commit 597d3d7037.
2014-10-02 13:27:59 -07:00
amoghvk dfe2bfefb1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2014-10-02 11:18:54 -07:00
amoghvk 597d3d7037 Remove adding implicit tags in DB schema so that management server starts, original commit 39fe766c2b needs review 2014-10-02 11:18:41 -07:00
Mihaela Stoica 0646588fc6 CLOUDSTACK-7645: [UI] Fixing incorrect labels, including instances of "???label.*???"
- removed duplicate entries in dictionary
- added dictionary entries that have been missed during the dictionary split
- added missing entries in messages.properties
- fixed other localization issues
2014-10-02 10:51:52 -07:00
Hugo Trippaers d46251fab6 Merge branch 'bugfix/CS-7665' 2014-10-02 09:59:08 +02:00
Hugo Trippaers fe325ab576 CLOUDSTACK-7624 The value field of the configuration table is not big enough for some values
(cherry picked from commit 9eb86560c9)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-10-02 09:58:45 +02:00
Hugo Trippaers 47ac3e4fd1 CLOUDSTACK-7665 File.separator shouldn't be used in this case, the
separator is fixed just like the rest of the path
2014-10-02 09:54:53 +02:00
Anthony Xu 70efe1507c added more log for create vm snapshot 2014-10-01 16:18:28 -07:00
Mihaela Stoica ea5c8eed0c CLOUDSTACK-7664: [UI] Handle change in API response for listloadbalancer
- replaced all occurrences of "listloadbalancerssresponse" with "listloadbalancersresponse" in ui\scripts\vpc.js, following the change in the listLoadBalancers API response string.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-10-01 21:29:20 +02:00
Sanjay Tripathi 39fe766c2b CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.

Also added FirstFitPlannerTest unit test file.
2014-10-01 17:25:41 +05:30
Saksham Srivastava e7134b82f9 CLOUDSTACK-7663: Fix typo in response name string: there is an extra 's' 2014-10-01 16:03:17 +05:30
Likitha Shetty bca71ec169 CLOUDSTACK-6969. Data Volume Shrink operation failing with "Unexpected Exception". 2014-10-01 15:41:50 +05:30
Likitha Shetty 65ed25b7a6 BUG-ID: CLOUDSTACK-7662. Resize of detached volume fails.
Support offline volume resize on ESX by creating a worker VM to attach the unattached volume to and then resize it.
2014-10-01 15:41:50 +05:30
Kishan Kavala ce5c35b193 For network stats aggregation job, get the most recent mgmt server id to do the aggregation. Set dao filter to descending. 2014-10-01 14:24:50 +05:30
Saksham Srivastava 3e02bfa74f CLOUDSTACK-7657: cloud.log is being rotated by multiple rotation policies on SSVM and CPVM 2014-10-01 13:39:09 +05:30
Edison Su 8db4f197ef fix checkstyle 2014-09-30 17:08:59 -07:00
Edison Su 6de4dcb10a speed up template download: don't sync io for each write 2014-09-30 16:52:36 -07:00
Brian Federle 9c56b3d4db Undo "Revert "CLOUDSTACK-7647"
This reverts commit 38bd1b934e.
2014-09-30 15:05:49 -07:00
Anthony Xu fe1a53b0e0 add guest OS Centos 7 and Oracle Linux 7 2014-09-30 14:49:54 -07:00
Jessica Wang 38bd1b934e Revert "CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default"
This reverts commit ef4b5d41b7.
2014-09-30 12:54:16 -07:00
Anthony Xu 847e1e47ae when system VM ping times out, stop system VM 2014-09-30 12:35:44 -07:00
Hugo Trippaers 783ed9be98 "Fixing" a Coverity/Findbugs finding. 2014-09-30 14:42:08 +02:00
Hugo Trippaers ec56ee9eb8 Merge branch 'bugfix/CID-1241966' 2014-09-30 14:21:14 +02:00
Kishan Kavala d1e0a8972b CLOUDSTACK-7197: Added new system template DB changes in 4.5 upgrade. Removed 4.3 DB upgrade code for system template 2014-09-30 16:46:28 +05:30
Likitha Shetty f1e3e83bbf BUG-ID: CLOUDSTACK-7653. VM's are not getting deleted from hypervisor after deleting from UI when using zone wide primary storage.
While expunging a volume, CS chooses the endpoint to perform delete operation by selecting any host that has the storage containing the volume mounted on it.
Instead, if the volume to be deleted is attached to a VM, the endpoint chosen by CCP should be the host that contains the VM.
2014-09-30 15:20:15 +05:30
Likitha Shetty 6b06970366 BUG-ID: CLOUDSTACK-7652. [VMware] 'SOAPFaultException: The object has already been deleted or has not been completely created' exceptions.
If CCP thread local context which is used to handle connections to a vCenter is being re-used, validate that the context corresponds to the right vCenter API session.
2014-09-30 15:20:14 +05:30
Hugo Trippaers 2bf72a7810 Merge branch 'bugfix/CID-1241967' 2014-09-30 11:45:35 +02:00
Hugo Trippaers 586e00cee1 CID-1241965 Fix potential NPE 2014-09-30 11:43:02 +02:00
Hugo Trippaers 1c94017ff6 CID-1241966 Fix potential null deref 2014-09-30 11:27:51 +02:00
Hugo Trippaers eb7bfb2783 Small optimization possibility reported by Coverity 2014-09-30 10:12:09 +02:00
Brian Federle ef4b5d41b7 CLOUDSTACK-7647: Fix 'isReverse' checkboxes which are checked by default 2014-09-29 12:58:40 -07:00