Commit Graph

614 Commits

Author SHA1 Message Date
Frank d43e6fef9c Fix string comparsion issue 2011-05-06 10:24:32 -07:00
Alex Huang aa25cfa676 fixes bug with two agents connecting to the same host 2011-05-04 18:41:17 -07:00
Alex Huang cbc26756d8 bug 8745: we decided on not implementing revert on the agent because it really requires business logic above. Stop if the checkSsh doesn't work 2011-05-02 14:26:29 -07:00
alena b808604dde bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
status 9623: resolved fixed

Also set ram_size to 1024 for console proxy offering during the upgrade
2011-04-29 11:38:53 -07:00
Alex Huang 204370fa8b bug 9643: connect pool is only for shared access 2011-04-29 11:05:56 -07:00
anthony 2ba4f60a8b bug 9619: handle two types of domr name
status 9619: resolved fixed
2011-04-27 18:44:05 -07:00
Abhinandan Prateek e97e09c7d6 bug 9470: line breaks removed for task failed message
status 9470: resolved fixed
2011-04-22 09:09:33 +05:30
anthony 71f968a3e1 bug 9282: set cluster guid if it is null
status 9282: resolved fixed
2011-04-21 15:41:54 -07:00
abhishek a3568ced76 bug 9175: fixing the cpu util being over 100% on the dashboard
status 9175: resolved fixed
2011-04-15 14:55:38 -07:00
anthony 2d376b3f34 on reconnect, heartbeatfile is cleared , MS needs to fill heartbeatfile in ModifyStoragePoolCommand 2011-04-14 20:28:56 -07:00
anthony 8d052d105a don't need to remove heartbeat tag when reconnect, it breaks HA , because when host reconnects, it tries to create heartbeat, but at this time, master may be able to access storage pool 2011-04-14 19:07:58 -07:00
Edison Su 8b9fc424d5 bug 8532,8755: don't create multiple HA work if there already has one of HAwork of this VM is created, but not finished
status 8532: resolved fixed
status 8755: resolved fixed
2011-04-14 16:55:06 -04:00
anthony c6018bdc60 bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
status 9455: resolved fixed
2011-04-14 14:34:32 -07:00
anthony 21c936ab15 bug 9411:
1. adding storage pool fails, remove the entry in DB
2. in introduce SR, create pbd for master host

status 9411: resolved fixed
2011-04-14 11:16:45 -07:00
prachi edda8e8032 More changes for Bug 9387:
- Update system vm_instance's template_id if it does not match the system vm template.
- Use _templateDao.findSystemVMTemplate to find the latest system vm template.
2011-04-12 18:31:46 -07:00
alena d86487f74a SecurityGroupDao: do join with "nics" table instead of "user_vm" as we keep ip address information in nics. 2011-04-12 11:15:22 -07:00
alena 90f79a8211 bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
status 9398: resolved fixed
2011-04-11 15:25:34 -07:00
Edison Su ab862026d6 fix link local setup; 2011-04-01 17:15:05 -04: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
anthony 4992ee756f kbps means kilotype per secondary, 2011-03-29 19:42:23 -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
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
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