Naredula Janardhana Reddy
0e4de58d4e
bug 11191:
...
Added global config to enable/disable rp_filter for domR.
previous commit: d966906374d4a0cb8fa57326a1f7625c871f64fd
Test Case-1 :
1) Set network.disable.rpfilter global config to true
2) Restart the domR
3) check the settings reflected in proc filesystem
- for public interface like eth2,eth3 : /proc/sys/net/ipv4/conf/eth2/rp_filter should have 0 , and rest other interfaces should have value of 1
Test Case-2 :
1) set network.disable.rpfilter global config to false
2) Restart the domR
3) check the settings reflected in proc filesystem
- for public interface like eth2,eth3 : /proc/sys/net/ipv4/conf/eth2/rp_filter should have 1 , and rest other interfaces should also have value of 1
2011-08-24 13:36:43 +05:30
Naredula Janardhana Reddy
b78f66f597
bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)
2011-08-24 13:36:16 +05:30
Sheng Yang
f5e939b4a5
bug 11214: Don't try to start the running router again
...
It's very like caused by StartRouterCmd sent to the running router. I can
reproduce it by issue a StartRouterCmd to a running redundant router. And this
patch should the following exception:
Exception: com.cloud.exception.ResourceUnavailableException: Resource
[VirtualNetworkApplianceManagerImpl$$EnhancerByCGLIB$$565b4d45:0] is
unreachable: There are already two redundant routers with IP 10.91.32.126, they
are r-5-VM(5) and r-4-VM(4)
status 11214: resolved fixed
2011-08-23 18:20:28 -07:00
Sheng Yang
4bdd56a63e
Add more debug info
2011-08-23 17:59:38 -07:00
alena
ac47c87c40
bug 11204: when search for domR/dhcp, include Role to the corresponding search to eliminate getting "LB" network element in the response
...
status 11204: resolved fixed
2011-08-23 12:00:50 -07:00
Sheng Yang
a961dd913f
Update redundant router status even router is down
...
We need to update the status to UNKNOWN if router is down(also ensure we can't
contact the router if the state is Stopped in our database).
2011-08-18 22:51:13 -07:00
Sheng Yang
b10f560be5
Fix NPE when a router is fail to start
...
Also enforce the check for restartNetworkCommand
2011-08-16 11:43:36 -07:00
alena
8f3e83d2bc
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:45 -07:00
Sheng Yang
d1721669ea
bug 11122: Fix router startup
...
The new created router got hostId = 0.
status 11122: resolved fixed
2011-08-15 10:21:20 -07:00
Sheng Yang
23674a5386
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-15 10:20:34 -07:00
alena
891f02f4d4
Resend firewall rules on domR restart
2011-08-15 10:18:10 -07:00
Sheng Yang
08a2f30785
bug 11122: Fix router startup
...
The new created router got hostId = 0.
status 11122: resolved fixed
2011-08-13 00:15:53 -07:00
Sheng Yang
ee90c51a77
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:52 -07:00
Sheng Yang
932f8a7144
Add alert and log for redundant router state change
2011-08-11 23:37:01 -07:00
Sheng Yang
23e6b96c98
Redundant router script fix, also fix CheckRouterTask
2011-08-11 17:57:00 -07:00
Chiradeep Vittal
51af0db682
mass merge 2.2.10
2011-08-11 16:41:52 -07:00
Sheng Yang
b63b3fcf05
Skip the null Host for CheckRouterTask
2011-08-11 14:29:49 -07:00
Sheng Yang
d6e99567ce
Skip the null Host for CheckRouterTask
2011-08-11 13:22:31 -07:00
Sheng Yang
0f0d705ae0
Fix redundant router switch back to single router
...
The existed redundant router network didn't change.
2011-08-11 12:49:26 -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
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
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
Sheng Yang
81a6de4eb7
Fix existed single router network after enable redundant router feature
2011-08-10 18:08:05 -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
alena
956445960a
Throw ResourceUnavailableException when rules/ips fail to apply on the backend
2011-08-10 12:56:25 -07:00
Sheng Yang
87041202c0
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:44 -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
Sheng Yang
c76bfbaf15
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:36 -07:00
Sheng Yang
501dc0d9f4
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:21:28 -07:00
Sheng Yang
f85880c2a6
Revert "Catch domr creation exception"
...
This reverts commit 6d55408e1f0e1c98fe2a9d4cf51babc6a3308a14.
2011-08-09 15:58:10 -07:00
Sheng Yang
15cad8ba8e
Revert "Catch domr creation exception"
...
This reverts commit 2eff1d0eb9e39e4a8d702bb9867b9e95bb276b3e.
2011-08-09 15:57:46 -07:00
Sheng Yang
f558f74863
Catch domr creation exception
2011-08-09 15:03:27 -07:00
Sheng Yang
bfaa56d471
Catch domr creation exception
2011-08-09 15:03:04 -07:00
Sheng Yang
8249c072ee
Add more detail log for startVirtualRouter
2011-08-09 11:16:33 -07:00
Sheng Yang
980c4b9120
Change router to FAULT state if anything goes wrong on fail-over
2011-08-09 11:09:20 -07:00
Abhinandan Prateek
311afeae23
bug 10731: reverting back source cidr changes for loadbalancer and portforwarding
2011-08-09 16:01:48 +05:30
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
06d007337a
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
2011-08-08 20:59:40 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
keshav
b8c9205000
Changed findOrCreateDhcpServers() to check if start IP is null before retrieving an IP address object
2011-08-05 17:03:20 -07:00
Sheng Yang
7a3edd74d5
Fix missing lock releasing in VirtualNetworkApplianceManagerImpl.java
2011-08-05 12:14:42 -07:00
Sheng Yang
7638f8e7a7
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:36:35 -07:00
Abhinandan Prateek
0f2a9b6a69
bug 10748: fixed it when the VM acts as a dhcp server only
...
status 10748: resolved fixed
2011-08-05 12:02:54 +05:30
Abhinandan Prateek
c460a1b80b
bug 10748: fixed it when the VM acts as a dhcp server only
...
status 10748: resolved fixed
2011-08-05 11:58:48 +05:30
Sheng Yang
a46c2cb650
Send CheckRouter command only when router is running
2011-08-03 16:57:43 -07:00
Abhinandan Prateek
cd78c5cb9b
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:32:28 +05:30
Abhinandan Prateek
6dd519ddd4
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:16:08 +05:30
Abhinandan Prateek
7e727be42c
bug 10748: use external dnses if set thru global config (dhcp otpion 6)
2011-08-03 12:34:02 +05:30
alena
8d47c53735
Revert "bug 10435: removed vpn feature"
...
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00