Commit Graph

2340 Commits

Author SHA1 Message Date
Kelven Yang 766a501b59 Fix the annoying NPE in StatsCollector 2011-06-08 16:53:54 -07:00
alena b56fd81ce5 bug 10179: don't insert config record if it's already present in the db
status 10179: resolved fixed
2011-06-07 15:40:20 -07:00
nit 2e5afd4684 bug 9922 : My ISOs shouldnt list Featured ISOs when the user is not the owner of those isos.
status 9922: resolved fixed
2011-06-07 12:25:08 +05:30
alena 6fe45923f6 Added upgrade path from 225 to 226 2011-06-06 12:43:13 -07:00
alena 859ea3c5d9 bug 10166: drop account_id/domain_id fields (if exist) in domain_router table
status 10166: resolved fixed
2011-06-06 12:38:34 -07:00
Alex Huang 2d7513afeb Fixes the issue where the Job-Executor can hit an exception in cleanup and eventually the entire executor pool is gone. 2011-06-02 09:54:03 -07:00
Alex Huang 49650f3eb6 host_address in storage_pool should not have gotten the change to char(40) 2011-06-02 09:51:17 -07:00
alena cf6406695b bug 10080: update nic profile with DNS info for the nics with reservation_strategy=Create
status 10080: resolved fixed
2011-06-01 17:03:59 -07:00
anthony 1fb75c57e7 bug 10100 : if there are more than one hypervisor type in one zone, create_template_from_snapshot may be sent to host with diferent hypervisor type
status 10100 : resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManager.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-06-01 15:37:54 -07:00
anthony 36a04e4343 bug 10023: only set ip route for internal DNS
merge to 2.2.4 branch

status 10023: resolved fixed
2011-06-01 10:50:36 -07:00
Prasanna Santhanam c12654afb5 don't do a cidr check for the simulator 2011-05-26 14:35:48 +05:30
Prasanna Santhanam 465ef61a14 moving simulator classes to premium 2011-05-26 14:35:48 +05:30
Prasanna Santhanam 64e2f1da95 refactoring the simulator for 2.2 2011-05-26 14:35:48 +05:30
alena 1d27e541f9 Fixed security issue in api - regular user can operate only with his own resources (except for the template - when the template is public, it's available for everyone) 2011-05-24 18:41:22 -07:00
anthony b9fdb44000 fixed snapshot limitation issue 2011-05-24 14:54:16 -07:00
alena 5ff3cb0a1f Insert default security group to the network_group table when do 21x to 222 upgrade 2011-05-23 12:32:10 -07:00
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
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
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
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
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
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 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
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