Commit Graph

7020 Commits

Author SHA1 Message Date
alena 0c8dfb2dc3 bug 11133: field size should be declared in VO object explicitly if it's greater than 255
status 11133: resolved fixed
2011-08-16 14:38:43 -07:00
Sheng Yang 5d66603813 Copy missed getRouterStatus.sh to XenServer FP1 host 2011-08-16 14:07:50 -07:00
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
kishan ee724fc12f Added sql queries and script to update new template and restart networks 2011-08-16 19:49:48 +05:30
Kelven Yang ba5dd131db bug 11137: don't start HTTP listen if it is already started 2011-08-15 18:56:15 -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
anthony 63219277ec VLAN patch for XenServer 5.6 2011-08-15 13:53:55 -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 b9217f85e4 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-12 22:52:50 -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
Sheng Yang 20e28d67bf Fix ping in cloud-early-config
The old ping don't have -w option
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
frank 98386a6c00 Fix typo in cloud-management script 2011-08-12 18:18:01 -07:00
alena 9253860347 Fixed error message 2011-08-12 18:16:21 -07:00
alena 716e305355 If one of the static nat rules failed to apply on the backend, the end result should be false 2011-08-12 18:08:34 -07:00
Chiradeep Vittal 5bd0ffa80a 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-12 17:47:16 -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
Jessica Wang ecf9c37f7e 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:14:35 -07:00
Jessica Wang 6fb2c6ca43 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-12 15:37:13 -07:00
Jessica Wang 989d862c57 bug 10977: cloudStack - instance page - provide "Migrate Instance" action to all hypervisors. 2011-08-12 15:37:12 -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
anthony d32ca5ae45 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-12 10:59:53 -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 c30faf8b53 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:04:57 -07:00
Sheng Yang b560880907 Add alert and log for redundant router state change 2011-08-11 23:36:31 -07:00
Chiradeep Vittal 34ffbdfceb bug 11084: ensure AH and ESP protocols are allowed in when creating a VPN 2011-08-11 18:24:02 -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
Jessica Wang e3b35e8d95 bug 10843: cloudStack - Instance page - statistics tab - show "N/A" when NetworkRead/NetworkWrite is null or equal to zero. 2011-08-11 16:26:47 -07:00
Jessica Wang 1205206ed2 bug 10843: cloudStack - Instance page - statistics tab - show "N/A" when NetworkRead/NetworkWrite is equal to zero. (2) 2011-08-11 16:11:59 -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
Jessica Wang 4d86929eb5 bug 10843: cloudStack - Instance page - statistics tab - show "N/A" when NetworkRead/NetworkWrite is equal to zero. 2011-08-11 15:42:38 -07:00
Jessica Wang edcc962a3b bug 8053: cloudStack - volume page - hide Download Volume action for volume whose state is Allocated (newly created volume). 2011-08-11 15:23:44 -07:00
Sheng Yang a935e52b62 Ifdown may not bring interface down if ifup not run
Use ifconfig to bring it down
2011-08-11 15:00:43 -07:00
Jessica Wang 45a927b3d5 bug 11070: cloudStack - delete cluster/host/network/pod/primaryStorage/secondaryStorage/zone - fix a bug that an API error showed after account was deleted ("listxxxxxxx&id=N") 2011-08-11 14:52:04 -07:00
Chiradeep Vittal f91d173511 bug 10561: handle icmp (finally\!) 2011-08-11 14:36:41 -07:00
Sheng Yang 95cc2d6381 Use ifup/ifdown for redundant router 2011-08-11 14:29:49 -07:00
Sheng Yang b63b3fcf05 Skip the null Host for CheckRouterTask 2011-08-11 14:29:49 -07:00