Commit Graph

2985 Commits

Author SHA1 Message Date
Sheng Yang 576aec60e0 Skip the null Host for CheckRouterTask 2011-08-11 13:22:47 -07:00
Sheng Yang 333510db0e Fix redundant router switch back to single router
The existed redundant router network didn't change.
2011-08-11 12:49:44 -07:00
keshav 4da9b6bfb4 Added parameter to enable the firewall rule UI to the list capabilities API. 2011-08-11 11:54:41 -07:00
Alex Huang 6e7ad8830f bug 11043: Propagating fix 2011-08-11 10:30:03 -07:00
Nitin 56ce65710d bug 5370: copy Template/Iso - generating the started and completed events.
status 5370: resolved fixed
2011-08-11 16:14:27 +05:30
Sheng Yang 76a8738227 Fix existed single router network after enable redundant router feature 2011-08-10 18:08:20 -07:00
keshav 57f1ee7ca1 Added configuration parameter to enable/disable the firewall rule UI. 2011-08-10 16:06:32 -07:00
Sheng Yang 94f93a60c3 Clean up restart Network 2011-08-10 15:02:58 -07:00
Sheng Yang 9569a7bbee Clean up VirtualRouterElement.restart() 2011-08-10 13:24:00 -07:00
Sheng Yang 2d958c5d23 bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
status 11021: resolved fixed
2011-08-10 12:52:10 -07:00
Sheng Yang 39452967b9 bug 11045: Fix exception exit of CheckRouterTask
Catch all the exception and come back to work.

status 11045: resolved fixed
2011-08-10 12:06:13 -07:00
kishan 219336e07c bug 4282: Initial Checkin. Added new parameters expires, signatureversion. Checking expires time and storing used signatures in-memory locally implemented. 2011-08-10 19:52:43 +05:30
Nitin 93204ae862 bug 4957: copyTemplate: should compare template_host_ref.size to configuration.max.template.iso.size values before sending command to the backend .
status 4957: resolved fixed
2011-08-10 18:18:35 +05:30
anthony 33b3e02c17 bug 10695: add XCP 1.0 support
status 10695: resolved fixed
2011-08-09 19:49:12 -07:00
Sheng Yang 5f31d5008e bug 10640: Update redundant virtual router allocation algorithm
Try to put routers to two different primary storages with two hosts, not the same
host.
2011-08-09 18:25:47 -07:00
keshav 1761024fda Changed RuleTO classes to carry the source VLAN tag. Added guest network gateway to NetworkElementCommand. 2011-08-09 16:38:24 -07:00
frank f377ac1cf7 Use class.getSimpleName in ResourceListener 2011-08-09 15:56:17 -07:00
alena 56d5054e39 Revert "bug 10561: Allowing ICMP traffic through static NAT"
This reverts commit 5e74e24bb359456967866cb2c6cc0f6f73570f97.

Conflicts:

	server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:57 -07:00
alena 4c4bff1c1e Fixed restarNetwork for networks of type Direct - was broken with checkin bfdb4d2d989ed00adcbbf5455731cc2980afcb7b 2011-08-09 15:51:57 -07:00
alena 2fef12e3ac Fixed the bug when domR was re-created as a part of implement() method in network gurus with sourceNatIp address belonging to incorrect user (System user instead of network owner).
Conflicts:

	server/src/com/cloud/network/element/DhcpElement.java
	server/src/com/cloud/network/element/VirtualRouterElement.java
2011-08-09 15:51:57 -07:00
alena 6b9603bc4c bug 10561: intermidiate checkin for FirewallRuleFeature
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl

Conflicts:

	api/src/com/cloud/api/BaseCmd.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
frank 433fe1c9da Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- reconfigure OCFS2 nodes when delete host
2011-08-09 14:06:51 -07:00
Kelven Yang eb28549e6c Seperate template cleanup control to enable template preloading 2011-08-09 13:42:50 -07:00
Sheng Yang 071a67dcb8 Change router to FAULT state if anything goes wrong on fail-over 2011-08-09 11:09:44 -07:00
Nitin d763d809cc bug 10848: Introducing an api - ListCapacityByType. Add the basic DB layer in the command. 2011-08-09 18:12:37 +05:30
Kelven Yang bf13273889 adjust to merged changes 2011-08-08 18:46:00 -07:00
Kelven Yang 02e64f90de Add prepareTemplate command(admin only) to allow pre-loading template into primary storage 2011-08-08 18:45:47 -07:00
anthony 455f9f642c bug 11014:
1. if there is no storage pool, don't try to start system VM
2. not use "consoleproxy.restart" as other meaning

status 11014: resolved fixed
2011-08-08 18:31:14 -07:00
frank 7e1fc2ca1a Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- use cluster name as OCFS2 cluster name
2011-08-08 18:22:43 -07:00
frank 6969d95784 Introduce new resource life cycle listener 2011-08-08 17:05:27 -07:00
frank e8c2fa4e8e Remove baremetal specific parameters from AddHostCmd 2011-08-08 15:01:26 -07:00
frank 6aaf3d5ae0 Merge branch 'cvm'
Conflicts:
	api/src/com/cloud/api/BaseCmd.java
	api/src/com/cloud/storage/Storage.java
	cloud.spec
	core/src/com/cloud/storage/template/DownloadManagerImpl.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/deploy/FirstFitPlanner.java
	server/src/com/cloud/host/dao/HostDao.java
	server/src/com/cloud/storage/StorageManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
	utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-08 14:14:09 -07:00
frank c89425325b Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- add files
2011-08-08 13:32:27 -07:00
frank c881bae64e Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- use ComponentLocater to load OCFS2 manager
2011-08-08 13:30:15 -07:00
Nitin 01582fcd40 bug 10848: Introducing an api - ListCapacityByType. 2011-08-06 20:09:07 +05:30
frank c6fba0fd42 Bug 8966 - Oracle VM (OVM) support
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00
keshav 0165f915b6 Changed findOrCreateDhcpServers() to check if start IP is null before retrieving an IP address object 2011-08-05 16:54:03 -07:00
alena 6eacc11222 bug 10994: Fixed NPE in destroySystemVm api
status 10994: resolved fixed
2011-08-05 12:46:20 -07:00
Sheng Yang ee62361250 Fix missing lock releasing in VirtualNetworkApplianceManagerImpl.java 2011-08-05 12:15:20 -07:00
Sheng Yang 12bd2180a1 bug 10991: Determine existing redundant router using both state and host id
Seems in some condition, when a router is stopped, it's host_id != null.

status 10991: resolved fixed
2011-08-05 11:37:13 -07:00
kishan 695abd5c5a bug 7826: Check for correct date range. Make DateFormat strict (turn off lenient)
status 7826: resolved fixed
2011-08-05 19:44:44 +05:30
Nitin c009b56a60 bug 6653: Extract Api's - No need to encode the url's forward slash with %2F as we have the latest version of gson which doesnt err out on forward slash anymore.
status 6653: resolved fixed
2011-08-05 18:44:41 +05:30
Abhinandan Prateek 59d5080718 bug 10969: name of VM is instance name, instead of display name
status 10969: resolved fixed
2011-08-05 13:18:42 +05:30
Abhinandan Prateek dae2f4d958 bug 10748: fixed it when the VM acts as a dhcp server only
status 10748: resolved fixed
2011-08-05 12:07:59 +05:30
Kelven Yang d10c8e2a1d bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into 2011-08-04 18:30:50 -07:00
Kelven Yang 83a9e74927 guard GlobalLock lock with finally clause 2011-08-04 16:20:31 -07:00
anthony 7958ab566e bug 10964: if snapshot's volume's templateId is NULL, change snapshot version from 2.1 to 2.2 directly, not upgrade snapshot is needed.
status 10964: resolved fixed
2011-08-04 16:09:22 -07:00
anthony 5fbd0a7a5f bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
status 9255: resolved fixed
2011-08-04 15:32:45 -07:00
Edison Su c37d75fc00 release capacity if current state is in starting and not transit to running 2011-08-04 14:28:40 -07:00
Edison Su e5478457ee don't put cpu/mem into reserved capacity if failed to start/stop vm 2011-08-04 14:28:33 -07:00