Commit Graph

3047 Commits

Author SHA1 Message Date
Sheng Yang 898051ecff Fix NPE when a router is fail to start
Also enforce the check for restartNetworkCommand
2011-08-16 11:41:59 -07:00
alena bc8c78f102 Fixed spelling mistake 2011-08-16 09:51:48 -07:00
Kelven Yang 73c642ec59 re-enable HA logic on VM state synchronization for VMware 2011-08-15 16:58:54 -07:00
alena de3662405b Added missing license headers 2011-08-15 14:24:05 -07:00
alena 87cde3e73c bug 10567: In Basic zone, throw an exception with Pod scope when vm failed to be added to the network - so we retry to start it in a different pod 2011-08-15 11:20:09 -07:00
alena 0b11a835af Fixed the bug in allocator where cluster was added to avoid set as pod 2011-08-15 10:41:31 -07:00
alena 829ee7b241 Improved logging in 229 to 2210 upgrade 2011-08-13 00:53:29 -07:00
Sheng Yang d4990c82ca bug 11122: Fix router startup
The new created router got hostId = 0.

status 11122: resolved fixed
2011-08-13 00:15:34 -07:00
alena 1b799a2792 Fixed db upgrade issue for 229-2210 firewall rules 2011-08-12 19:29:26 -07:00
Sheng Yang 70be9c6ed1 bug 11105: Fix router with disconnected host
We keep the stopped router there, but continue with the ones we can use.

status bug 11105: resolved fixed
2011-08-12 19:15:31 -07:00
alena e76a8d7f8a bug 11114: when release static nat as a part of vm expunge, do searchIncludingRemoved in nics table as the nics are marked as Removed before static nat is released
status 11114: resolved fixed
2011-08-12 19:11:51 -07:00
alena 9253860347 Fixed error message 2011-08-12 18:16:21 -07:00
alena 78849c2959 Revert "fix NPE when listvolume if vm got destroyed"
This reverts commit 9bdaa9d967a6390cc1655ce7344d5af474890e4c.
2011-08-12 17:27:08 -07:00
alena 4a3635ee34 Remove firewall rule along with pf/staticNat/lb rule if the pf/staticNat/lb failed to create due to network rule conflict 2011-08-12 16:19:36 -07:00
Edison Su 1ee9afd8df fix NPE when listvolume if vm got destroyed 2011-08-12 14:41:23 -07:00
alena 671b360df7 Resend firewall rules on domR restart 2011-08-12 12:39:09 -07:00
Murali Reddy ba9a127d3e bug 10923: changes for snapshot command to carry primary storage pool path 2011-08-12 17:30:01 +05:30
Nitin e7a199e253 bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now. 2011-08-12 14:46:12 +05:30
Naredula Janardhana Reddy 00dbaf0954 bug 10561: allowing to create a firewall rule with sameport range but different protocols 2011-08-12 12:54:41 +05:30
Sheng Yang b560880907 Add alert and log for redundant router state change 2011-08-11 23:36:31 -07:00
alena 4530d35bc5 bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
status 11029: resolved fixed

Commit also includes the following:

* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-11 18:09:08 -07:00
Kelven Yang a3ad26ed89 Disable HA in CloudStack HA manager under VMware 2011-08-11 18:07:57 -07:00
Sheng Yang 0387b6e802 Redundant router script fix, also fix CheckRouterTask 2011-08-11 17:56:28 -07:00
Chiradeep Vittal e4092e8084 do not release ip for advanced networking / regular LB usage 2011-08-11 17:44:03 -07:00
alena 5080e8ba33 No need to apply static nat for ip which is not static nat enabled 2011-08-11 16:00:16 -07:00
Sheng Yang b63b3fcf05 Skip the null Host for CheckRouterTask 2011-08-11 14:29:49 -07:00
Kelven Yang 9e1ee30ea3 bug 11019: Let VM sync to coordinate with possible VM-relocation under VMware when VM is in starting time 2011-08-11 14:28:39 -07:00
alena 10034bc196 Fixed rule validation for static nat rules 2011-08-11 14:03:49 -07:00
Sheng Yang f28291cedb Fix redundant router switch back to single router
The existed redundant router network didn't change.
2011-08-11 12:48:56 -07:00
keshav d47eb46faf Added parameter to enable the firewall rule UI to the list capabilities API. 2011-08-11 11:42:02 -07:00
alena 477e5d6389 bug 10561: reapply static nat on the backend as a part of domR restart and network restart 2011-08-11 11:19:09 -07:00
Alex Huang 1079a77024 bug 11043: rverted the bad fix 2011-08-11 10:27:02 -07:00
alena 278f2a401f bug 10561: intermediate checkin for enable/disableStaticNat.
1) On enableStaticNat command we actually send the command to the backend (we used to just upgrade the DB in the past). The backend command carries sourceIp and destIp, and creates IP to IP mapping on the domR.
2) On disableStaticNat for the Ip address in addition to cleaning up port ranges, we also delete IP to IP mapping on the domR.
2011-08-11 10:19:22 -07:00
Chiradeep Vittal 17a8234140 should be able to apply firewall rules to static natted ips 2011-08-10 22:53:07 -07:00
Chiradeep Vittal b33f08053c bug 11072: one more 2011-08-10 22:04:21 -07:00
Chiradeep Vittal 375da4da1a bug 11072: icky icky icky 2011-08-10 20:40:13 -07:00
alena e874109839 bug 11071: when elb service is enabled, don't check supported protocols as the provider is NULL in data_center table
status 11071: resolved fixed
2011-08-10 19:25:04 -07:00
alena 0805dbd3fb Fixed rule validation for ICMP protocol 2011-08-10 19:11:26 -07:00
alena 13a9c1d589 Fixed capability check in rule validation 2011-08-10 18:23:13 -07:00
Sheng Yang 8c70e06572 Fix existed single router network after enable redundant router feature 2011-08-10 18:07:42 -07:00
alena 3c29f00de1 bug 11013: Basic zone setup - pass domRs from other pods to addVirtualMachineToNetwork() method only when network.dns.basiczone.updates is set to "all"
status 11013: resolved fixed
2011-08-10 16:03:48 -07:00
keshav 1bb057d113 Added configuration parameter to enable/disable the firewall rule UI. 2011-08-10 15:56:01 -07:00
Sheng Yang 18f2df44a1 Clean up restart Network 2011-08-10 15:02:08 -07:00
Sheng Yang bcf5058eda Clean up VirtualRouterElement.restart() 2011-08-10 13:23:30 -07:00
alena 956445960a Throw ResourceUnavailableException when rules/ips fail to apply on the backend 2011-08-10 12:56:25 -07:00
alena fe3dd44bec ICMP protocol is supported in createFirewallRule command only; throw an error if specified in createPF/StaticNat/LB rule 2011-08-10 12:56:25 -07:00
Sheng Yang 58a13c0d5a bug 11021: Add ReservationStrategy.Managed to prevent sourceNat from release
status 11021: resolved fixed
2011-08-10 12:51:43 -07:00
Sheng Yang 6e0eeb132e bug 11045: Fix exception exit of CheckRouterTask
Catch all the exception and come back to work.

status 11045: resolved fixed
2011-08-10 12:05:22 -07:00
alena 32b53351ff Fixed response processing in createFirewallRule command 2011-08-10 11:36:34 -07:00
Chiradeep Vittal 3f3c64025b change it back to false since ui now handles false 2011-08-10 10:20:45 -07:00