Commit Graph

587 Commits

Author SHA1 Message Date
anthony 288a36d09f Merge branch '2.2.4'
Conflicts:
	api/src/com/cloud/configuration/ConfigurationService.java
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-21to22.sql
	setup/db/db/schema-222to224.sql
	utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
anthony 545aa50388 bug 9282: set cluster guid if it is null
status 9282: resolved fixed
2011-04-04 14:33:18 -07:00
Edison Su ab862026d6 fix link local setup; 2011-04-01 17:15:05 -04:00
Edison Su c42b928b7d bug 8459: add nic hotplug support 2011-03-31 19:11:02 -04:00
Kelven Yang ea95ac1808 bug 8713 : finalize the implementation of supporting system vm pooling 2011-03-31 17:14:09 -07:00
Edison Su 344d1924a6 bug 8459: add nic hotplug support 2011-03-30 19:09:53 -04:00
Alex Huang bf13d2cbec added missing changes from schema changes previously 2011-03-30 13:23:56 -07:00
Alex Huang 971915a26a added missing changes from schema changes previously 2011-03-30 12:17:20 -07:00
anthony 4992ee756f kbps means kilotype per secondary, 2011-03-29 19:42:23 -07:00
alena efd4cfa297 bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
status 9201: resolved fixed
2011-03-29 19:26:20 -07:00
alena aab78874c7 bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
status 9201: resolved fixed
2011-03-29 19:21:25 -07:00
anthony 2a4d0cf4c5 kbps means kilotype per secondary, 2011-03-29 18:42:19 -07:00
Frank b0edad07c5 Fix the incorrect "," in CitrixResourceBase.java 2011-03-29 15:16:36 -07:00
Frank 0a66b176aa Fix the incorrect "," in CitrixResourceBase.java 2011-03-29 15:15:49 -07:00
Alex Huang 6bd978abfe bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:59 -07:00
Alex Huang f2e692099e bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:23 -07:00
anthony 436dccb6d7 bug 9189: fixed it in master, modifystoragepool doesn't try to create/import any more, will port it to 2.1.x 2011-03-28 19:11:20 -07:00
alena fdf0f589af bug 8902: added Removed field to "cluster" table
status 8902: resolved fixed
2011-03-28 10:50:09 -07:00
Alex Huang 9d158dc060 Removed the async create status for volume now that our customers don't use it 2011-03-24 20:04:23 -07:00
anthony 5d856da392 bug 9157: check if the uuid changes when reconnect
status 9157: resolved fixed
2011-03-24 17:30:04 -07:00
prachi 514321cadf Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
Fixed problems in setting default 'allocation_state'. It is now set to 'Enabled' by default if not provided in the API command.
2011-03-24 12:54:51 -07:00
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
anthony d2dc0a504b put host into maintenance, if the VM can not migrate, just stop it 2011-03-23 16:50:59 -07:00
alena 5a44e03764 bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings)
status 8844: resolved fixed
2011-03-10 12:10:55 -08:00
anthony bdcffa2b0d bug 8061: add forcely shutdown 2011-03-09 16:30:11 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
anthony 0c2a639a2d bug 6772: use vhd-util to coalesce snapshots into primary storage
status 6772: resolved fixed
2011-03-07 19:47:29 -08:00
anthony b8e03aca4c script fix 2011-03-07 19:47:29 -08:00
Alex Huang 263244c938 more logging 2011-03-04 11:37:35 -08:00
anthony 16debbcfff merge CopyVolumeCommand 2011-03-02 20:01:46 -08:00
Kelven Yang 27c998f706 Open firewall for volume/snapshot operation in premium SSVM 2011-03-02 14:47:32 -08:00
Edison Su 255e9c175b checksshcommand waits for 6 minutes 2011-03-01 16:38:28 -05:00
Chiradeep Vittal 68666f10ae accidental commit 2011-03-01 14:10:30 -08:00
Chiradeep Vittal 431c256e56 bug 8380: use instance name 2011-03-01 14:07:30 -08:00
Chiradeep Vittal 3ed9f2892a bug 8380: use instance name 2011-03-01 14:07:30 -08:00
Chiradeep Vittal 697b4f60db bug 8380: use instance name status 8380: resolved fixed 2011-03-01 14:07:30 -08:00
anthony cd27202a26 bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
status 8216: resolved fixed
2011-02-28 16:28:41 -08:00
prachi 889827b63a Bug 7845 - Productize DeploymentPlanner
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages

Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
anthony d6758268f4 bug 8754,8738: don't throw Exception for getCurrentStatus
status 8754,8738: resolved fixed
2011-02-28 12:16:24 -08:00
anthony 1970161844 bug 8714: support paraleel recursive snapshot
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume

status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
kishan 8eb665246e bug 7935: Included hypervisor type to vm usage records
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
kishan f138552f36 bug 8603: Included netwrok_id in network usage records
status 8603: resolved fixed
2011-02-24 15:31:59 +05:30
Alex Huang c22b37e402 latest work on db migration 2011-02-22 18:23:05 -08:00
anthony b86837c632 bug 8647: check vm state before execute hardShutdown
status 8647: resolved fixed
2011-02-22 17:14:12 -08:00
anthony 6ecffafb4b bug 8287: create pbd for iso sr before migration
status 8287: resolved fixed
2011-02-17 18:05:49 -08:00
anthony d66eebd636 bug 8640: need to handle another two masters case
status 8640: resolved fixed
2011-02-17 11:20:24 -08:00
anthony b85ecec646 call setIptable before launch heartbeat 2011-02-16 17:17:07 -08:00
anthony a89fffee9d correct log 2011-02-16 16:36:44 -08:00
anthony 6f7b9eafa1 this is to reset master for the secondary master in the same cluster. It may happend when you reboot the master of a cluster, there might be 2 master after the old master comes back 2011-02-16 14:39:00 -08:00
Kelven Yang d9d128ee9d Incremental refactoring - retire host_master table 2011-02-15 10:56:04 -08:00