6903 Commits

Author SHA1 Message Date
Edison Su
18255e985c add apikey/securitykey in cloud-cli 2011-08-19 11:23:30 -07:00
Abhinandan Prateek
8d4c7208a4 bug 11094: delinking api layer objects from dao layer 2011-08-19 15:23:49 +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
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
Kelven Yang
6349b63942 Use row lock instead of global lock when creating a new domain 2011-08-18 10:42:12 -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
frank
035001bd19 Fix baremetal planner reply to non-baremetal VM when migration 2011-08-18 10:14:40 -07:00
Abhinandan Prateek
c2a769d993 fixed execptions while adding second host 2011-08-18 16:28:19 +05:30
Edison Su
1a82fd46b2 need to update configuration 2011-08-17 18:21:54 -07:00
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
alena
d726b26180 Defined missing length field for VO classes 2011-08-17 15:13:28 -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
Edison Su
54e4e0011b change parameters 2011-08-17 10:50:30 -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
anthony
e4162e5be6 fixed the script 2011-08-16 15:24:34 -07:00
anthony
2cea330540 fixed script 2011-08-16 15:19:32 -07:00
Edison Su
bb8265ded3 add more test cases 2011-08-16 15:07:49 -07:00
alena
52318703fd 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:32 -07:00
Sheng Yang
9d46de1543 Copy missed getRouterStatus.sh to XenServer FP1 host 2011-08-16 14:21:32 -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
Edison Su
92131e9859 fix typo 2011-08-16 10:30:52 -07:00
Edison Su
449a12870b finally, test framework works now 2011-08-16 10:30:52 -07:00
Edison Su
f4a6c314c5 generate json configuration file for any kind of data center setup, and deploy it 2011-08-16 10:30:52 -07:00
Edison Su
25ce6242c7 fix code generator, some api response is empty 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
1cf4db7276 add security table 2011-08-16 10:30:52 -07:00
Edison Su
3dc2e0a919 simulate more commands 2011-08-16 10:30:52 -07:00
Edison Su
0be1510496 add template for simulator 2011-08-16 10:30:51 -07:00
kishan
db6c0e810b Added sql queries and script to update new template and restart networks 2011-08-16 19:42:51 +05:30
Naredula Janardhana Reddy
b9183c0840 bug 10561: merging code from 2.2.10 to master 2011-08-16 14:20:51 +05:30
Kelven Yang
085bd36035 bug 11137: don't start HTTP listen if it is already started 2011-08-15 18:57:46 -07:00
alena
11d06f3d6a Added missing license headers 2011-08-15 14:24:46 -07:00
anthony
c2dd960405 VLAN patch for XenServer 5.6 2011-08-15 13:55:06 -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
812a1f3f7b Fixed the bug in allocator where cluster was added to avoid set as pod 2011-08-15 10:44:07 -07:00
Sheng Yang
bb6c2d48f5 bug 11122: Fix router startup
The new created router got hostId = 0.

status 11122: resolved fixed

Conflicts:

	server/src/com/cloud/network/element/VirtualRouterElement.java
2011-08-13 00:21:35 -07:00
Sheng Yang
fbd9e2159d 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:16:07 -07:00
frank
aa8e073e09 Fix typo in cloud-management script 2011-08-12 18:15:31 -07:00
alena
287a695664 Revert "fix NPE when listvolume if vm got destroyed"
This reverts commit d028454ab46f1e901e2517dd64a0b8a9780c9968.
2011-08-12 17:32:20 -07:00
Edison Su
4df7423f70 fix NPE when listvolume if vm got destroyed 2011-08-12 14:43:07 -07:00
Sheng Yang
407b45ee2e Fix ping in cloud-early-config
The old ping don't have -w option
2011-08-12 13:47:13 -07:00
kishan
83991a8494 bug 4282: Storing signatures cache using ehcache. ToDo- Relicate cache for clustered mgmt server setup 2011-08-12 20:27:20 +05:30
Murali Reddy
0969ba8063 bug 10923: changes for snapshot command to carry primary storage pool path 2011-08-12 17:45:02 +05:30
Sheng Yang
2aa349f769 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:52 -07:00
Nitin
f1d13729af 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 12:21:02 +05:30
Sheng Yang
12a49668d7 Add alert and log for redundant router state change 2011-08-11 23:37:17 -07:00
Kelven Yang
e59c14a758 Disable HA in CloudStack HA manager under VMware 2011-08-11 18:10:07 -07:00
Sheng Yang
29cc88571f Redundant router script fix, also fix CheckRouterTask 2011-08-11 17:57:12 -07:00