3747 Commits

Author SHA1 Message Date
Abhinandan Prateek
8d4c7208a4 bug 11094: delinking api layer objects from dao layer 2011-08-19 15:23:49 +05:30
Abhinandan Prateek
601708c3e6 bug 11094: delinking api layer objects from dao layer 2011-08-19 15:21:03 +05:30
Sheng Yang
843e41752f 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:23 -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
Naredula Janardhana Reddy
4369b0ba96 bug 1067:
- covered basic impelementation for xen, need to test corner cases.
      - Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
alena
2c1df02ba1 Removed unused imports 2011-08-18 15:02:04 -07:00
Edison Su
df6bee4061 add template for simulator 2011-08-18 11:37:50 -07:00
Edison Su
ea102aa045 add host guid in migrate command 2011-08-18 11:03:40 -07:00
Edison Su
1bc7631bf2 finally, test framework works now 2011-08-18 10:51:31 -07:00
Kelven Yang
6349b63942 Use row lock instead of global lock when creating a new domain 2011-08-18 10:42:12 -07:00
Kelven Yang
9c47f6bd94 Use row lock instead of global lock when creating a new domain 2011-08-18 10:41:49 -07:00
alena
0afa6f052f bug 11167: no need to lock account when create security group to ensure that the group name is unique for account. If group already exists in the db, and we try to persist it again, mysql constraint (groupName, accountId) will fail and exception will be thrown.
status 11167: resolved fixed
2011-08-18 10:16:37 -07:00
alena
0cdb67fdc7 bug 11167: no need to lock account when create security group to ensure that the group name is unique for account. If group already exists in the db, and we try to persist it again, mysql constraint (groupName, accountId) will fail and exception will be thrown.
status 11167: resolved fixed
2011-08-18 10:16:20 -07:00
frank
035001bd19 Fix baremetal planner reply to non-baremetal VM when migration 2011-08-18 10:14:40 -07:00
frank
523a32edaa Fix baremetal planner reply to non-baremetal VM when migration 2011-08-18 10:14:16 -07:00
Abhinandan Prateek
c2a769d993 fixed execptions while adding second host 2011-08-18 16:28:19 +05:30
Abhinandan Prateek
2df6e5cc69 fixed execptions while adding second host 2011-08-18 16:26:00 +05:30
Kelven Yang
fdedbbc00e bug 10834: when VMware host is down, don't try to restat VMs on other host. VMware prohibits VM relocation when host is down 2011-08-17 18:11:55 -07:00
Kelven Yang
97e95fce82 bug 10834: when VMware host is down, don't try to restat VMs on other host. VMware prohibits VM relocation when host is down 2011-08-17 18:09:31 -07:00
alena
d726b26180 Defined missing length field for VO classes 2011-08-17 15:13:28 -07:00
alena
c82a373327 Defined missing length field for VO classes 2011-08-17 15:10:07 -07:00
alena
441d9d765c bug 11154: host can go in Maintenance state only after all vms are migrated from it
status 11154: resolved fixed
2011-08-17 12:04:11 -07:00
alena
6291554576 bug 11154: host can go in Maintenance state only after all vms are migrated from it
status 11154: resolved fixed
2011-08-17 12:03:53 -07:00
Murali Reddy
b87c5ba331 bug 11148: VMs that got stopped during Host Maintenance have host_id associated with them
status 11148: resolved fixed

enabled vm stop, if the host is last valid host in cluster
2011-08-17 18:14:31 +05:30
Murali Reddy
37512883f1 bug 11148: VMs that got stopped during Host Maintenance have host_id associated with them
status 11148: resolved fixed

enabled vm stop, if the host is last valid host in cluster
2011-08-17 18:11:23 +05:30
Kelven Yang
a9c67d23fa bug 11099: Let VM sync to cooperate with migration process 2011-08-16 15:23:01 -07:00
Sheng Yang
9366290423 Fix NPE when a router is fail to start
Also enforce the check for restartNetworkCommand
2011-08-16 11:43:47 -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
Edison Su
449a12870b finally, test framework works now 2011-08-16 10:30:52 -07:00
Edison Su
ed7214c710 add host guid in migrate command 2011-08-16 10:30:52 -07:00
Edison Su
48342ff6e2 remove unnecessary transcation 2011-08-16 10:30:52 -07:00
Edison Su
0be1510496 add template for simulator 2011-08-16 10:30:51 -07:00
alena
356728ae19 Fixed spelling mistake 2011-08-16 09:52:00 -07:00
Kelven Yang
5fc66d1c61 re-enable HA logic on VM state synchronization for VMware 2011-08-15 17:00:43 -07:00
alena
11d06f3d6a Added missing license headers 2011-08-15 14:24:46 -07:00
alena
5fd0ff5610 Added missing license headers 2011-08-15 14:24:28 -07:00
alena
dfb37faa01 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:28:14 -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
812a1f3f7b Fixed the bug in allocator where cluster was added to avoid set as pod 2011-08-15 10:44:07 -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
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
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
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