Commit Graph

5609 Commits

Author SHA1 Message Date
Edison Su eb753bcacd bug 9937: move use.local.storage to FOSS 2011-05-22 14:37:49 -04:00
alena 2e5e12df54 bug 9858: added missing security checks to listAsyncJobs command
status 9858: resolved fixed
2011-05-21 14:57:37 -07:00
alena cd99334d4f bug 9961: use 'firewall_rules'.'is_static_nat' field to make a decision about what version to return - 221 or 222
status 9961: resolved fixed
2011-05-21 12:40:30 -07:00
alena afc9982f5f Don't allow to specify security groups when deployVm in Vmware setup.
Also fixed a couple of other problems:
* verify security group ids before vm creation
* don't create "default" security group (if missing) as a part of deployVm process when vm is deployed from vmWare template

Conflicts:

	server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-20 18:57:06 -07:00
alena 3fe1ffc8f7 bug 9941: fixed listVolumes api - use leftouter join with vm_instance table because instance_id is NULL for detached volumes
status 9941: resolved fixed
2011-05-19 18:44:18 -07:00
alena b485acf8ee Fixed upgrade bug related with the fact that some db upgrade steps were missed in 2.2.0/2.2.1 to 2.2.2 db upgrade 2011-05-19 15:25:58 -07:00
Alex Huang fa5797b774 fixed problem with templates being too long 2011-05-19 15:22:44 -07:00
alena 0be5965a90 bug 9939: create 'default' security group for default "admin" user only after ensuring that it doesn't exist already
status 9939: resolved fixed
2011-05-19 11:18:48 -07:00
kishan 5d7beedaf8 removed txn close 2011-05-19 15:53:34 +05:30
alena c2c0d0192a bug 9934: use another way to check if the foreign key already exists
status 9934: resolved fixed
2011-05-18 20:38:27 -07:00
alena 6fbc65b66c Fixed bunch of db upgrade bugs. 2011-05-18 17:36:51 -07:00
alena b7c68d1dc5 Added upgrade path from 224 to 225 to DbUpgradeChecker 2011-05-17 21:05:02 -07:00
Kelven Yang 7fff1cfec0 bug 9892: decode url sent from UI to deal with whitespace in names 2011-05-17 18:16:40 -07:00
alena c0256faa10 Added upgrade from 224 to 225 2011-05-17 16:39:07 -07:00
alena 629140af2d bug 9873: create default security group for the default admin
status 9873: resolved fixed

Conflicts:

	setup/db/create-schema.sql
2011-05-17 15:13:48 -07:00
alena 550a4cda66 bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
status 9873: resolved fixed

Following fixes were made as a part of the checkin:

* When deploy user vm and default SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.
2011-05-17 14:23:18 -07:00
Alex Huang ca84d4e496 bug 9883: moved network prepare to earlier to avoid the storage being created and therefore cements the vm in the pod 2011-05-17 12:34:24 -07:00
kishan 2b04360566 bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-05-18 00:52:14 +05:30
alena 9f65b08c7f bug 9898: fixed attachIso by domain admin - no need to make permission check when iso is public
status 9898: resolved fixed
2011-05-17 11:08:51 -07:00
kishan b0cc754c85 bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-05-17 19:55:56 +05:30
Alex Huang 58ec16b02d 2.2.2 to 2.2.4 upgrade fix 2011-05-16 17:01:21 -07:00
Alex Huang 650a2bf7b9 Database upgrade from 2.2.2 to 2.2.4 was broken. 2011-05-16 16:35:24 -07:00
Alex Huang a6b2d67b98 propagated bb04d0184ea2d713cf211618b53c56c33dbefb87 2011-05-16 16:35:20 -07:00
Edison Su a7095ef360 get rid of augeas for management server 2011-05-16 15:08:04 -04:00
alena 6bad58aa3e bug 9879: throw insufficient address capacity exception with pod information in it when fail to allocate public ip address in specific pod
status 9879: resolved fixed
2011-05-16 15:01:47 -07:00
Edison Su 1c24605d29 need to insert iptable rules into FORWARD chain instead of append, as on rhel6, there is a reject rule added at the end of FORWARD 2011-05-13 16:07:00 -04:00
Chiradeep Vittal 63424e16b2 ebtables not programmed in some cases 2011-05-13 14:43:10 -07:00
alena e442a0888f bug 9868: display help just once if wrong option is specified
status 9868: resolved fixed
2011-05-13 14:16:26 -07:00
alena 455831a515 bug 9859: added missing permission checks to queryAsyncJobResult API
status 9859: resolved fixed
2011-05-13 13:51:58 -07:00
Murali Reddy c63260e424 bug 9827:AssertionError: Resource counts can not be negative
adding extra logging for resource count issues
2011-05-13 20:17:51 +05:30
anthony 349e0b3254 bug 9866:
It happens only when the template is not created by XenServer and the virtual disk size is not integer time of 2M.
    fixed in 2.2.4
    status 9866: resolved fixed
2011-05-12 18:26:22 -07:00
Alex Huang 323b9a310e Propating 4b4227b3b262da3bc3dc6280a9ed4300b169f76a 2011-05-12 17:14:43 -07:00
Alex Huang 3f77c64b2e Propagating 40a1c906a7b54f4151192258d42921ec74746292 2011-05-12 17:12:49 -07:00
Alex Huang f9278aae05 Fixed up conflicts 2011-05-12 17:08:49 -07:00
Edison Su 0e602a0308 set ha heartbeat time out a little bit longer, as system may be busy 2011-05-12 14:58:02 -04:00
alena 52886155f1 Small fix to script that stop/starts system vms: added -m option (the host we send stop* api requests to); defaulted to localhost if not specified. 2011-05-12 09:51:14 -07:00
alena ac8c79314d bug 9827: call destroyVolume() method only after ensuring that the volume is not destroyed already.
status 9827: resolved fixed

also added an assert to the method itself to throw a warn if the method is called for destroyed volume
2011-05-11 14:07:05 -07:00
Edison Su ab576308a2 add cluster guid 2011-05-11 11:24:05 -04:00
alena bb28d97423 Added helper script for stopping/starting all system vms 2011-05-11 11:01:21 -07:00
alena a4f997e56a bug 9841: added missing permission checks to the deleteTemplate/deleteIso API
status 9841: resolved fixed
2011-05-11 10:34:03 -07:00
alena f9a575a657 bug 9195: don't return domR/SSVM/CPVM volumes in listVolumes api response
status 9195: resolved fixed

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-05-11 09:34:57 -07:00
kishan 7a3a56b118 bug 9838: list all accounts IP usage when system account is used
status 9838: resolved fixed
2011-05-11 19:02:34 +05:30
Edison Su 714cd00999 fix system vm template download issue 2011-05-10 15:57:08 -04:00
keshav 1b2aa8cec9 Added a method to look up public IPs that are used for static NAT rules. 2011-05-10 15:47:46 -07:00
alena dc05ea275a bug 9821: fixed search by keyword in listVirtualMachines command
status 9821: resolved fixed
2011-05-10 12:27:10 -07:00
alena 71d0ea4e22 bug 9791: check if user is authorized to use a private template for vm creation
status 9791: resolved fixed
2011-05-10 10:35:50 -07:00
Alex Huang 84d62553e8 added the AND 2011-05-10 09:44:43 -07:00
Alex Huang 5bc92ecf4f bug 9811: Brought over Prachi's fixes for the investigator and changed them to handle multiple nics 2011-05-10 05:32:11 -07:00
prachi a2c5439f48 Bug 9446: Investigator reports that a system vm is down even if it isn't....
Changes:
- Added new Investigator 'ManagementIPSystemVMInvestigator' that checks if Vm is alive only for System VM's that have a management IP address.
- If no management IP is found, ping test cannot be done, so this investigator would return null in that case.
- Current implementation InvestigatorImpl is renamed as 'UserVmDomRInvestigator' and does the ping test for user VMs only.
- Corrected the ping test code that was checking a hard-coded string. Now if the ping answer is negative, we just return null
- Added the new investigator to components.xml
2011-05-10 05:08:26 -07:00
Alex Huang 381fd77e96 bug 9813: fixed the class cast problem 2011-05-09 17:44:39 -07:00