Commit Graph

7289 Commits

Author SHA1 Message Date
Edison Su 3466d3f637 add new testcase class, make testcase pydev friendly 2011-08-19 16:21:16 -07:00
Edison Su eb72d340e2 fix typo 2011-08-19 16:15:17 -07:00
Sheng Yang d9b0188d7e Fix potential redundant router FAULT state by dnsmasq
This message may show during redundant router start up:

FAULT (Restarting DNS forwarder and DHCP server: dnsmasq failed!)

This caused by edithost.sh is racy with keepalived process. They both want to
restart dnsmasq.

Even in normal condition, it's very hard to reproduce this bug. Add file lock
for edithost.sh should solve it.
2011-08-19 16:11:33 -07:00
Sheng Yang 977543a007 Fix potential redundant router FAULT state by dnsmasq
This message may show during redundant router start up:

FAULT (Restarting DNS forwarder and DHCP server: dnsmasq failed!)

This caused by edithost.sh is racy with keepalived process. They both want to
restart dnsmasq.

Even in normal condition, it's very hard to reproduce this bug. Add file lock
for edithost.sh should solve it.
2011-08-19 16:09:45 -07:00
frank 18f87c2108 Merge branch 'cvm' into 2.2.y
Conflicts:
	api/src/com/cloud/api/BaseCmd.java
	cloud.spec
	core/src/com/cloud/storage/template/DownloadManagerImpl.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/deploy/FirstFitPlanner.java
	server/src/com/cloud/host/dao/HostDao.java
	server/src/com/cloud/network/security/SecurityGroupListener.java
	server/src/com/cloud/storage/StorageManagerImpl.java
	server/src/com/cloud/storage/listener/StoragePoolMonitor.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
	utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-19 16:08:35 -07:00
Edison Su de25a63ba8 release the check 2011-08-19 16:06:13 -07:00
Jessica Wang 0cce5c44c2 bug 10790: cloudStack - Volume page - hide Storage from domain-admin as well. 2011-08-19 15:05:45 -07:00
Jessica Wang a796b2b1b7 bug 10790: cloudStack - Volume page - hide Storage from domain-admin as well. 2011-08-19 15:04:39 -07:00
Edison Su 5696543359 disable attach volume to a vm if volume state is not in allocated or ready state 2011-08-19 14:27:13 -07:00
Jessica Wang 301a5f7bcc bug 11175: cloudStack - convert firewallRuleUiEnabled from boolean to string before saving to cookie. 2011-08-19 13:49:47 -07:00
Edison Su eada883b5e bug 11183: put volume state into "Creating" state if it's created from snapshot.
status 11183: resolved fixed
2011-08-19 13:46:51 -07:00
Jessica Wang b1f0d8d6c0 bug 11175: cloudStack - convert firewallRuleUiEnabled from boolean to string before saving to cookie. 2011-08-19 13:36:00 -07:00
Jessica Wang 3822192879 bug 11176: cloudStack - IP Address page - Firewall tab - add firewall rule - (1) Hide ICMP Type, ICMP Code when protocol TCP or UDP is selected. (2) Hide Start Port, End Port when protocol ICMP is selected. 2011-08-19 13:13:21 -07:00
Jessica Wang b60ee0df37 bug 11176: cloudStack - IP Address page - Firewall tab - add firewall rule - (1) Hide ICMP Type, ICMP Code when protocol TCP or UDP is selected. (2) Hide Start Port, End Port when protocol ICMP is selected. 2011-08-19 13:12:12 -07:00
Jessica Wang 3a7d79a91e bug 11175: cloudStack - IP address page - fix the logic of showing/hiding Firewall tab for Static NAT IP. 2011-08-19 11:31:28 -07:00
Jessica Wang abce057d7e bug 11175: cloudStack - IP address page - fix the logic of showing/hiding Firewall tab for Static NAT IP. 2011-08-19 11:30:07 -07:00
Edison Su b5d1ca34c1 add apikey/securitykey in cloud-cli 2011-08-19 11:22:42 -07:00
Jessica Wang 6ec4a6c3b4 bug 11175: cloudStack - IP address page - fix the logic of showing/hiding Firewall tab. 2011-08-19 11:10:53 -07:00
Jessica Wang a9b02d8895 bug 11175: cloudStack - IP address page - fix the logic of showing/hiding Firewall tab. 2011-08-19 11:08:43 -07:00
Abhinandan Prateek 601708c3e6 bug 11094: delinking api layer objects from dao layer 2011-08-19 15:21:03 +05:30
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 b34750c6ff 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:49:51 -07:00
Edison Su e8a62cc4a9 add security table 2011-08-18 11:38:26 -07:00
Edison Su bdb325609d simulate more commands 2011-08-18 11:38:18 -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 c57ca25d2a need to update configuration 2011-08-18 10:51:50 -07:00
Edison Su 97e9a0171a change parameters 2011-08-18 10:51:44 -07:00
Edison Su c707aeb5da add more test cases 2011-08-18 10:51:38 -07:00
Edison Su 8fc6e18f46 fix typo 2011-08-18 10:51:34 -07:00
Edison Su 1bc7631bf2 finally, test framework works now 2011-08-18 10:51:31 -07:00
Edison Su 48494c5f20 generate json configuration file for any kind of data center setup, and deploy it 2011-08-18 10:49:18 -07:00
Edison Su 1600d70ca3 fix code generator, some api response is empty 2011-08-18 10:49:18 -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
Kelven Yang e9c879fbb8 Use row lock instead of global lock when creating a new domain 2011-08-18 10:40:53 -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
alena b36241690c 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:15:15 -07:00
frank 523a32edaa Fix baremetal planner reply to non-baremetal VM when migration 2011-08-18 10:14:16 -07:00
frank a37573b842 Fix baremetal planner reply to non-baremetal VM when migration 2011-08-18 10:11:51 -07:00
Abhinandan Prateek 2df6e5cc69 fixed execptions while adding second host 2011-08-18 16:26:00 +05:30
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
Kelven Yang 87796378a7 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:07:52 -07:00
alena c82a373327 Defined missing length field for VO classes 2011-08-17 15:10:07 -07:00
alena 35c779d0ae Defined missing length field for VO classes 2011-08-17 15:08:22 -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
alena ed963d63b4 bug 11154: host can go in Maintenance state only after all vms are migrated from it
status 11154: resolved fixed
2011-08-17 12:02:47 -07:00
Abhinandan Prateek 4c35ece913 fixed execptions while adding second host 2011-08-17 19:17:15 +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
Murali Reddy 3ce06fabb7 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:06:30 +05:30
anthony cd57e03e1d fixed the script 2011-08-16 15:23:53 -07:00