7076 Commits

Author SHA1 Message Date
Sheng Yang
b73861061a Copy missed getRouterStatus.sh to XenServer FP1 host 2011-08-16 14:21:20 -07:00
anthony
6d29cba58c fixed script 2011-08-16 12:26:04 -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
356728ae19 Fixed spelling mistake 2011-08-16 09:52:00 -07:00
kishan
1b6f583748 Added sql queries and script to update new template and restart networks 2011-08-16 19:51:11 +05:30
Kelven Yang
ced9e1b25e bug 11137: don't start HTTP listen if it is already started 2011-08-15 18:57:06 -07:00
Chiradeep Vittal
e72dbbeeee how to generate api spec file 2011-08-15 17:44:56 -07:00
Kelven Yang
5fc66d1c61 re-enable HA logic on VM state synchronization for VMware 2011-08-15 17:00:43 -07:00
alena
5fd0ff5610 Added missing license headers 2011-08-15 14:24:28 -07:00
anthony
4b3f57fd28 VLAN patch for XenServer 5.6 2011-08-15 13:54:43 -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
alena
3945eec0df Fixed the bug in allocator where cluster was added to avoid set as pod 2011-08-15 10:43:59 -07:00
alena
6f436b6b0b Improved logging in 229 to 2210 upgrade 2011-08-15 10:21:20 -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
alena
5fcc2616a1 bug 11120: elb/load balancer config values should be the part of 229 to 2210 db upgrade, not 228 to 229
status 11120: resolved fixed
2011-08-15 10:20:35 -07:00
alena
73fe2cbb89 Fixed db upgrade issue for 229-2210 firewall rules 2011-08-15 10:20:34 -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
05713a20e8 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-15 10:18:45 -07:00
alena
47e8d2b29c Fixed error message 2011-08-15 10:18:44 -07:00
alena
d72200bbfc If one of the static nat rules failed to apply on the backend, the end result should be false 2011-08-15 10:18:44 -07:00
Chiradeep Vittal
779989ce6b bug 11103: create firewall chains on ipassoc
status 11103: resolved fixed
bug 11106: this is somehow fixed / cannot reproduced
status 11106: resolved fixed
2011-08-15 10:18:44 -07:00
alena
c8cf17f6da Revert "fix NPE when listvolume if vm got destroyed"
This reverts commit 9bdaa9d967a6390cc1655ce7344d5af474890e4c.
2011-08-15 10:18:44 -07:00
alena
d8a9612ef7 Remove firewall rule along with pf/staticNat/lb rule if the pf/staticNat/lb failed to create due to network rule conflict 2011-08-15 10:18:44 -07:00
Jessica Wang
eb18d6dd55 bug 10977: cloudStack - instance page - provide "Migrate Instance" action to all hypervisors. 2011-08-15 10:18:43 -07:00
Edison Su
ec978f0716 fix NPE when listvolume if vm got destroyed 2011-08-15 10:18:10 -07:00
alena
891f02f4d4 Resend firewall rules on domR restart 2011-08-15 10:18:10 -07:00
anthony
02aec3b3ef revert pool vm sync to host vm sync in startupcommand in 2.2.10.
then XenServer upgrade is supported in 2.2.10
2011-08-15 10:18:10 -07:00
Naredula Janardhana Reddy
c63f9fbca2 bug 10561: allowing to create a firewall rule with sameport range but different protocols 2011-08-15 10:18:10 -07:00
Chiradeep Vittal
51f4485143 bug 11084: ensure AH and ESP protocols are allowed in when creating a VPN 2011-08-15 10:18:09 -07:00
alena
803255b0ba 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-15 10:18:09 -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
frank
6c98aa9173 Fix typo in cloud-management script 2011-08-12 18:16:40 -07:00
alena
25ddb22724 Revert "fix NPE when listvolume if vm got destroyed"
This reverts commit b6518399987a17c791f22b991dcea36d57866269.
2011-08-12 17:30:13 -07:00
Jessica Wang
a8424da076 bug 11108: cloudStack - IP Address page - Port Range tab - Create Port Range row - Make "Add" link under actions column instead of state column. 2011-08-12 16:17:03 -07:00
Edison Su
2548269238 fix NPE when listvolume if vm got destroyed 2011-08-12 14:40:46 -07:00
Alex Huang
7ac3c818a9 bug 11079: fixed a bug with autoboxing 2011-08-12 14:14:15 -07:00
Sheng Yang
11dfba635c Fix ping in cloud-early-config
The old ping don't have -w option
2011-08-12 13:47:01 -07:00
Murali Reddy
cc60989a68 bug 10923: changes for snapshot command to carry primary storage pool path 2011-08-12 17:43:18 +05:30
Nitin
5ef0c96e70 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:30:34 +05:30
Sheng Yang
ccdd7ce17f bug 11083: Fix broadcast address is 0.0.0.0
The reason is:
1. In redundant router, we won't enable eth2(public network interface) until
keepalived determine the router is MASTER.
2. ipassoc.sh normally kick in before keepalived process running. And it would
set eth2's IP address using "ip addr add $dev $ip"
3. "ip addr add $dev $ip" won't add mask for the device, then there is no way to
update broadcast address for eth2. Then broadcast address is 0.0.0.0.
4. As long as "ip addr add $dev $ip" executed, later executed "ifconfig $dev $ip
netmask $mask" won't calculated the broadcast address from $ip and $mask.

To fix this, we enable and configure eth2 temporaily when cloud-early-config
executed, then disable eth2 interface. By this way, broadcast address of should
be calculated and set correctly.

status 11083: resolved fixed
2011-08-12 00:11:39 -07:00
Sheng Yang
932f8a7144 Add alert and log for redundant router state change 2011-08-11 23:37:01 -07:00
Kelven Yang
c498cf3ec6 Disable HA in CloudStack HA manager under VMware 2011-08-11 18:09:11 -07:00
Sheng Yang
23e6b96c98 Redundant router script fix, also fix CheckRouterTask 2011-08-11 17:57:00 -07:00
Chiradeep Vittal
d7f332d16b do not release ip for advanced networking / regular LB usage 2011-08-11 17:42:50 -07:00
Chiradeep Vittal
ba3bb68035 fix merge issues 2011-08-11 16:53:08 -07:00
Jessica Wang
2ef10a5993 bug 10977: cloudStack - instance page - limit "Migrate Instance" action to be only available for XenServer and VMware (because KVM does not support Migrate Instance). 2011-08-11 16:51:54 -07:00
Chiradeep Vittal
51af0db682 mass merge 2.2.10 2011-08-11 16:41:52 -07:00
Jessica Wang
6d9faceaa2 bug 10977: cloudStack - instance page - provide "Migrate Instance" action to all hypervisors. 2011-08-11 16:31:26 -07:00
Jessica Wang
0c1d89b357 bug 10843: cloudStack - Instance page - statistics tab - show "N/A" when NetworkRead/NetworkWrite is null or equal to zero. 2011-08-11 16:30:56 -07:00