Abhinandan Prateek
b15b0ddd0f
bug 11701: separating vm sync from ping and doing it per cluster from pool master
2011-10-17 18:31:00 +05:30
Kelven Yang
faa3622187
bug 11716: save VMware local datastore info to local storage to support multiple local datastores per host situation
2011-10-14 17:13:22 -07:00
frank
7dcf83bc06
Bug 11745 - Ovm needs user manually start a xenserver user vm in order to start VirtualRouter
...
status 11745: resolved fixed
2011-10-14 14:46:36 -07:00
frank
9abd7973f2
Bug 11741 - there is no ovm.public.network.device, ovm.private.network.device, ovm.guest.network.device in global configure page
...
status 11741: resovled fixed
2011-10-14 11:42:32 -07:00
Abhinandan Prateek
b1de219cd9
bug 11675: enable RHEL 6 for XCP 1.1
2011-10-14 11:42:04 +05:30
frank
9bf4ac9041
Bug 11647 - OVM - no support for migrate instance
...
return error if taking snapshot API call happens on Ovm
2011-10-13 16:19:42 -07:00
frank
1e421bbce9
Bug 11670 - OVM - HA failed when host is disconnected from network
...
status 11670: resolved fixed
2011-10-13 14:44:58 -07:00
Kelven Yang
d022eaba9c
Make default value of pre-allocated public NICs in domR consistent with the default value in DB
2011-10-12 14:56:30 -07:00
Kelven Yang
4c6110e020
bug 11585: using pre-allocated NIC approach to support additional public interfaces for VMware
2011-10-11 15:13:55 -07:00
Abhinandan Prateek
ff5dfdbf68
bug 11675: fixed error messages
2011-10-11 17:26:01 +05:30
Abhinandan Prateek
4a3b4d21c3
bug 11675: optimized the code
2011-10-11 17:25:04 +05:30
Nitin
5d6a48dd26
bug 11668: Do not apply 'cpu.overprovisioning.factor' while setting total_cpu in the op_host_capacity entry.
2011-10-11 16:55:42 +05:30
kishan
06d3d8db85
bug 11561: Added new Dao RandomlyIncreasing, which will increase the Vm Id by 1-10 randomly
...
status 11561: resolved fixed
2011-10-11 14:08:40 +05:30
kishan
86ea3a1c12
bug 11672: While listing volumes, check for null Vm instance. Log error when Vm instance is null
...
status 11672: resolved fixed
2011-10-11 12:21:22 +05:30
Abhinandan Prateek
81e661c9f8
bug 11675: enabling support for XCP 1.1.0
2011-10-11 11:34:30 +05:30
Edison Su
feec96b8b5
bug 11634: add manual vm migration support for kvm
...
status 11634: resolved fixed
2011-10-10 11:30:45 -07:00
prachi
078190f76d
Bug 11481 - get manual live migration working with all VMs
...
Changes:
- Added the resopnse object name for the SystemVmInstanceResponse that this new MigrateSystemVMCmd will return.
2011-10-07 15:07:53 -07:00
alena
16989227d9
bug 11667: drop primary keys in cloud_usage.usage_load_balancer_policy and cloud_usage.usage_port_forwarding
...
status 11667: resolved fixed
2011-10-07 10:58:19 -07:00
alena
e765ea769f
bug 11666: fixed foreign key upgrade in networks table
...
status 11666: resolved fixed
2011-10-06 18:15:41 -07:00
alena
dce06146af
bug 11664: fixed regression bug in listVms introduced by performance changes
...
status 11664: resolved fixed
2011-10-06 16:52:51 -07:00
prachi
25196871b9
Bug 11169 - Couldn't deploy a router because the host it existed on is in Maintenance.
...
Changes:
- VirtualMachineMgr puts the constraint that if Root volume is already READY, we provide the clusterId in the plan to the deploymentPlanner. Planner then searches for resources only under that cluster.
- If no deployment could be found, deploying VM fails.
- Fixed this, such that incase the root volume is recreatable, we call the planner again by removing the cluster constraint. Planner will then search for resources in other clusters.
- Works for system VMs(SSVM, consoleproxy, virual routers).
2011-10-05 18:31:35 -07:00
Edison Su
96afeaf38f
bug 10624: copyvolume needs to put ".qcow2" at the end of the file
...
status 10624: resovled fixed
2011-10-05 17:48:22 -07:00
Edison Su
0f76c1fa24
bug 11600: aquirelock before deleting a volume, which can be aquired by snapshot manager
...
status 11600: resolved fixed
2011-10-03 16:40:59 -07:00
prachi
17eb55cd10
Bug 11617: Ensure the Deployment planner is choosing clusters based on aggregate capacity
...
Changes:
- We were ordering clusters based on capacity of the first-fit host found in each cluster. Due to this, there were cases where we deployed VMs to one cluster instead of balancing off within clusters.
- Now we order the list of clusters by aggregate capacity and choose the ones that have enough capacity for the required VM in this order.
- This should balance the load between clusters instead of bombarding one.
2011-10-03 15:22:01 -07:00
prachi
2f19599fe9
Bug 11481 - get manual live migration working with all VMs
...
Changes:
- Added a new API 'migrateSystemVm' backed by MigrateSystemVMCmd.java to migrate system VMs (SSVM, consoleproxy, domain routers(router, LB, DHCP))
- This is Admin only action
- The existing API 'migratevirtualmachine' is only for user VMs
Conflicts:
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/ListHostsCmd.java
api/src/com/cloud/server/ManagementService.java
api/src/com/cloud/vm/UserVmService.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/server/ManagementServerImpl.java
2011-09-29 18:11:08 -07:00
anthony
0bdd6ded96
timeout is not set for some commands
2011-09-29 12:17:08 -07:00
alena
3b652f25bf
bug 11603: for OSS build - update guru_name from GuestNetworkGuru to ExternalGuestNetworkGuru.
...
status 11603: resolved fixed
2011-09-29 10:40:57 -07:00
alena
4cea75ba46
bug 11589: don't fail deleteVpn command when domR is in Stopped state.
...
status 11589: resolved fixed
2011-09-29 10:20:40 -07:00
anthony
59bb2e0289
bug 10579: disable pool vm sync and disable hostTrack for XenServer,
...
status 10579: resolved fixed
reviewed-by: alex
2011-09-28 20:47:49 -07:00
Sheng Yang
1ef78e4db2
Use router's redundant state to check rather than using global config
2011-09-28 16:50:24 -07:00
kishan
ff7fc32949
bug 11581: During router start, create iptables NETWORK_STATS chain before adding rules for additional public interfaces into that chain
...
status 11581: resolved fixed
reviewed-by: Chiradeep
2011-09-28 16:48:38 +05:30
Kelven Yang
6fdbd309c3
bug 10971: support vSphere 5
2011-09-26 12:15:26 -07:00
alena
73218e51f1
bug 11555: Fixed NPE happening during LB rule cleanup in case when createLB fails
...
status 11555: resolved fixed
Reviewed-by: frank@cloud.com
2011-09-23 11:01:31 -07:00
alena
d8e806748f
bug 11550: rolled back the changes done to ConfigurationServerImpl during the resourceLimit refactor as it was leading to System/Admin account not being inserted to the DB
...
status 11550: resolved fixed
2011-09-23 09:41:56 -07:00
Sheng Yang
ac5fd72ded
bug 11541: Change CheckRouterCommand timeout from default 10 minutes to 1 minute
...
Reviewed-by: Anthony Xu
status 11541: resolved fixed
2011-09-22 19:22:09 -07:00
Kelven Yang
4e84804f1f
bug 11531: forget to include newly added JUnit test along with the fix, here it is
2011-09-22 16:21:15 -07:00
Kelven Yang
ad8f967503
bug 11531: while taking snapshot on volume, if volume is attached to a VM instance and under VMware, check if there are other ongoing snapshot tasks for the VM instance.
2011-09-22 16:19:40 -07:00
Edison Su
5b66200eea
bug 11513: another customer hits the same issue by associate ip in the basic zone
...
Reviewed-by: alena@citrix.com
2011-09-22 15:03:37 -07:00
Edison Su
c2b0b4be2f
bug 11513: add more log in the cleanup network
...
Reviewed-by:alena@citrix.com
2011-09-22 15:03:23 -07:00
alena
cdb80c76c1
bug 11537: revoke related FirewallRules when do vmExpunge and ipAddress release.
...
status 11537: resolved fixed
Reviwed-by: edison@cloud.com
2011-09-22 13:58:01 -07:00
alena
dd8b031159
bug 11468: create ROOT domain and admin user as a part of cloud-setup-databases, not during the management server startup to avoid multiple records insertion for the same domain
...
status 11468: resolved fixed
Reviewed-by: will@cloud.com
2011-09-22 10:55:43 -07:00
Sheng Yang
902458bfa0
bug 11513: Fix public IP release in advance network
...
We should only persist DomR's public ip, not console proxy and ssvm.
Reviewed-by: Edison
2011-09-21 19:16:29 -07:00
alena
ad0c82cae7
bug 11513: always wrap marking IP address with Releasing state and actual IP deallocation in Transaction
...
Reviewed-by:edison@citrix.com
2011-09-21 18:41:47 -07:00
Edison Su
d722766427
bug 11047: change the put storage pool into maintenance mode: 1. only look at the available storoge pool in its own dc to decide to start vms created on it. 2. if start vm failed, don't throw exception, as these vms are marked stopped already, admin can start these vm by himself.
...
status 11047: resolved fixed
Reviewed-by: frank
2011-09-21 16:20:09 -07:00
alena
6ea66248dd
bug 11515: reapply all firewall rules for the IP address when VPN related rules are being revoked
...
status 11515: resolved fixed
Reviewed-by: will@cloud.com
2011-09-21 09:50:21 -07:00
alena
a4fb8e7d28
bug 11487: catch all exceptions in cleanupAccount, and mark the account for cleanup when the exception is caught.
...
status 11487: resolved fixed
Reviewed-by: will@cloud.com
2011-09-20 10:31:17 -07:00
alena
a5a7103df6
bug 11462: 1) when delete PF rule, revoke corresponding firewall first (if exists) 2) never remove PF rule from the table when corresponding firewall rule wasn't removed yet
...
status 11462: resolved fixed
Reviewed-by: edison@cloud.com
2011-09-20 10:31:08 -07:00
alena
36344a3395
bug 11493: no need to do cross domain checks for the templates as domain level templates are not supported. We support only public (everybody can see and use) and private (only owner can see and use unless changed with updateTemplatePermissions call)
...
status 11493: resolved fixed
Reviewed-by: will@cloud.com
2011-09-20 10:31:01 -07:00
Edison Su
2632594a70
bug 11495: set bootable as user selected for iso/templates
...
status 11495: resolved fixed
Reviewed-by:alena@citrix.com
2011-09-19 17:47:01 -07:00
alena
28b26f755a
bug 11480: verify account/user state when do single signon verification
...
status 11480: resolved fixed
Reviewed-by: kelven@cloud.com
2011-09-19 10:57:05 -07:00
alena
41871d5687
bug 11470: 1) fixed listResourceLimits 2) Fixed -1 to be treated as unlimited for all the resources
...
status 11470: resolved fixed
2011-09-19 09:46:11 -07:00
prachi
97bdb58b6d
Bug 11404 - VM was in Running state, had null for a pod_id, basically didnt allow creation of subsequent vm's
...
Reviewed-by: Alex
Changes:
- When management server starts, it goes through all the pending work items from op_it_work table and schedules HA work for each. It used to mark each item as done. Instead we should keep the item as pending and let it get marked as Done after the HA work is done.
- Changes in VirtualMachineMgr::advanceStop() :
a) if we find a VM with null hostId, we stop the VM only if it is forced stopped.
b) if VM state transition to Stopping fails,for state Starting and Migrating we try to find the pending work item and then do cleanup the VM. In case state is Stopping we can cleanup directly.
c) We proceed releasing all resources only if state transitioned to 'Stopping'.
- Changes in HA:
a) Depend on VirtualMachineMgr::advanceStop() in case host is not found to do VM cleanup
- When Vm state between mgmt server and agent syncs from starting -> running, mark any pending work item as done.
2011-09-15 18:47:05 -07:00
alena
f4e22094e0
Do agent disconnect when agent rebalance fails
...
Reviewed-by: Alex Huang
2011-09-15 18:36:22 -07:00
prachi
c5199dd328
Bug 11457 - NullPointerException while synching VM state from Starting -> Running between management server and agent
...
Reviewed-by: Kelven and Alex
Changes:
- Added log statements about the podId during deploying a VM.
2011-09-15 16:11:51 -07:00
prachi
0aec7560bb
Bug 11457 - NullPointerException while synching VM state from Starting -> Running between management server and agent
...
reviewed-by: Alex/Kelven
Changes:
1. UserVmManagerImpl :: finalizeStart()
Added null check for the cmds.getAnswers() object. Return ‘true’ if null.
2. VirtualMachineManagerImpl :: advanceStart()
Move the line to set PodId to the vm being started above the state transition where hostId gets set, so that podId is not null in case management server goes down when vm starts on the agent. On restart, podId is not updated during fullsync. So this will prevent podId remaining null.
vm.setPodId(dest.getPod().getId());
2011-09-15 16:11:50 -07:00
keshav
d27810afa2
In inline SRX/F5 mode, collect outbound usage for LB rules from the SRX.
2011-09-15 14:42:49 -07:00
alena
9bb95e915e
bug 11447: don't do security group check if both groups belong to the same domain
...
status 11447: resolved fixed
2011-09-15 10:02:32 -07:00
anthony
16a97468c2
bug 9777: introduce Error status for snapshot, if snapshot creation fails, it will be in Error status
...
status 9777: resolved fixed
2011-09-14 18:12:44 -07:00
Kelven Yang
d5cc708143
Let VmwareInvestigator return fake but meaningful investigation result
2011-09-14 17:03:39 -07:00
alena
8e47cb21c1
Fixed the problem in addDhcpEntry code when _dnsBasicZoneUpdates was never reset once set to false.
2011-09-14 16:08:12 -07:00
Kelven Yang
8c56bfffbc
add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation
2011-09-14 15:14:36 -07:00
Sheng Yang
0ef051b4d2
bug 11307: Using latest query result rather than set bumpup to false
...
After the host is disconnected, we can't get latest result, but it's not safe to
think it's priority bump up flag changed.
2011-09-14 14:56:02 -07:00
anthony
d6af51a402
bug 9777: only allow to delete snapshot in BackedUp status
...
status 9777: resolved fixed
2011-09-14 14:15:44 -07:00
alena
428232da21
bug 10435: use "hostName" instead of "name" as a search filed in listSystemVms
...
status 10435: resolved fixed
2011-09-14 11:01:21 -07:00
prachi
2e4b39de33
Bug 11430 - add host > Host Tags field missing from DB + UI even when host tags specified in add host 2.2.y -> 2.2.12 KVM
...
Changes:
A KVM agent always connects to the management server itself, we dont have to do direct connect. This part of code was missing updating the DB host entry with hosttags.
Corrected the code to save the hosttags while adding a KVM host.
2011-09-14 10:45:03 -07:00
Edison Su
4999511a2d
bug 11239: bugy database contains a cluster whose hypervisor type is Null, then listhypervisorscmd return a None hypervisortype. Fixed in the API, don't return None
...
status 11239: resovled fixed
2011-09-14 10:43:47 -07:00
Murali Reddy
d73bf096c0
bug 11425: dont count direct IP in resource count while updating resource count through API
...
status 11425: resolved fixed
2011-09-14 23:09:59 +05:30
alena
97c4029700
bug 11434: don't execute destroy call when vm is already in Destroyed/Expunging state
...
status 11434: resolved fixed
2011-09-14 10:33:16 -07:00
Nitin
22cca97894
bug 11190: My changes got reverted. Putting them back - Treating the max account limits with -1 values as infinite
2011-09-14 19:36:54 +05:30
Naredula Janardhana Reddy
01ac82d9d6
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except default and disabled, all the rest of 4 need to configure the stats port.
2011-09-14 17:09:21 +05:30
Sheng Yang
7713d675a7
Fix restartNetwork wrongly report stop failure
2011-09-14 03:05:57 -07:00
Sheng Yang
3ba15fe813
bug 11307: Add destroyRouter command
2011-09-14 03:05:47 -07:00
Sheng Yang
58ee9f4855
bug 11307: Add cleanup parameter to restartNetwork command
...
Default set it to true. When cleanup=false, restartNetwork would only
re-implement the network, but don't destroy current existed routers.
2011-09-14 03:05:15 -07:00
Sheng Yang
49031c5563
bug 11307: Mark router as to-be-stopped, rather than force stop it.
...
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.
Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 03:05:09 -07:00
Sheng Yang
11f737a673
bug 11307: Rewrite the redundant router's priority
...
Now the very first router's priority would be 100, and the second one would be
100 - 2 + 1 = 99.
2011-09-14 03:04:37 -07:00
Sheng Yang
59eb1b0ba1
bug 11307: Add Bumped field for domain_router
...
Only used for redundant virtual router.
2011-09-14 03:03:47 -07:00
Sheng Yang
9e0ee10e9f
bug 11307: Let CheckRouterAnswer() parse the return result
2011-09-14 03:03:00 -07:00
anthony
bb44208ae3
bug 11275:
...
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage
status 11275: resolved fixed
2011-09-13 22:11:37 -07:00
frank
29b5945263
check hypervisorType and StoragePoolType in OCFS2 manager when delete host
...
don't take lock in processResourceEvent()
2011-09-13 17:35:34 -07:00
alena
1f45148a29
Don't update resource count for system account
2011-09-13 16:34:09 -07:00
alena
6641f587a4
bug 11036: if resource_count record is missing for account or domain, insert it during the management server startup (with count=0)
...
status 11036: resolved fixed
2011-09-13 15:19:14 -07:00
anthony
48387ef907
bug 10949: if a cluster doesn't have any hosts, set cluster guid to new one when add host to this cluster.
...
status 10949: resolved fixed
2011-09-13 13:51:52 -07:00
alena
4c7a4181c0
bug 11246: return lb rule Id in the async response for createLoadBalancer api
...
status 11246: resolved fixed
2011-09-13 12:06:46 -07:00
anthony
17cceca8a2
XcpServerDiscoverer is only for XenServer
2011-09-13 11:11:36 -07:00
kishan
7ac764005b
bug 11199: Moved DB upgrade changes to schema-2211to2212-premium
...
status 11199: resolved fixed
2011-09-13 23:30:31 +05:30
alena
0c127890ea
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
2011-09-13 10:47:55 -07:00
anthony
a308823549
bug 11413: when mark host ad disconnected, set lastping to now - pingtimeout
...
status 11413: resolved fixed
2011-09-12 18:46:58 -07:00
Nitin
2ab80e92bb
bug 11403: Making hypervisor_type of xs-tools.iso (id=200) as XenServer. Made the corresponding DB changes as well.
2011-09-13 03:11:13 +05:30
Kelven Yang
11ce9d66f8
bug 11377: remove the restriction on VMware in API layer to let it support VM manual migration
2011-09-12 14:27:42 -07:00
frank
453329ce93
Bug 11350 - Baremetal destroy instance doesnt power off machine
...
status 11350: resolved fixed
2011-09-12 14:17:18 -07:00
anthony
aef381d873
fixed typo
2011-09-12 12:26:43 -07:00
kishan
5a036b347a
bug 9778: Log snapshot create event only if the snapshot is in not removed state after backingUp to secondary. Log snapshot delete event for backed up snapshots only
...
status 9778: resolved fixed
2011-09-12 20:22:07 +05:30
kishan
2ffb859067
bug 9778: Log snapshot create event only if the snapshot is in not removed state after backingUp to secondary. Log snapshot delete event for backed up snapshots only
...
status 9778: resolved fixed
2011-09-12 20:06:18 +05:30
Nitin
0534fa29ab
bug 10974: Fixed a bug in the search for listRouters API. The bug was introduced due to change in the VmInstancVO where the name field was changed to hostName. This went unnoticed in the DAO layer as we dont throw an exception but an assert error.
2011-09-12 16:52:48 +05:30
Nitin
e786533b27
bug 11190: Treating the max account limits with -1 values as infinite. When acquiring a lock to check for resourceLimitExceeded if the lock times out then return as limit exceeded.
2011-09-12 14:45:45 +05:30
Kelven Yang
6a8e223761
1) Increase working buffer size to 1M when downloading/uploading VMDK, hopefully can improve OVF exporting/importing performance. 2) use atomic SQL operation to get rid of global lock usage
2011-09-09 17:06:34 -07:00
kishan
698c524cf2
bug 8338: Added usage.aggregation.timezone. Also included in 2211 to 2212 upgrade
2011-09-09 13:59:19 +05:30
keshav
a0ab06b186
Excluded external firewall/LB from host stats collection, and included them in ping checks
2011-09-08 16:39:34 -07:00
Kelven Yang
bfdcf23939
bug 11384: deprecate vmware.guest.nic.device.type global configuration variable
2011-09-08 16:10:02 -07:00
alena
34d67bea69
Fixed the bug in AgentLB: consider only hosts of type=Routing when calculate average load
2011-09-08 14:58:03 -07:00
Kelven Yang
1648a2396d
bug 10874: don't invalid run session of other management server even if it detects it is unreachable as the event may just be temporary network condition
2011-09-08 14:20:29 -07:00
anthony
a369885a0f
1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
...
2. added following configurable timeout
PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:18:36 -07:00
Kelven Yang
7ce4aa1d23
bug 11362: Make VM network adapter device type be selectable based on VM-specific details
2011-09-07 17:58:01 -07:00
Kelven Yang
a73f41e56c
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:37:50 -07:00
alena
620f83d547
bug 11348: make content type for "json" files configurable
...
status 11348: resolved fixed
2011-09-07 14:20:07 -07:00
keshav
37c74b35ab
Support for inline SRX/F5.
2011-09-07 14:18:42 -07:00
keshav
2e87fcb06d
Support for inline SRX/F5.
2011-09-07 14:15:27 -07:00
Chiradeep Vittal
2c995c597b
fix mocks
2011-09-07 14:07:50 -07:00
Chiradeep Vittal
fbfb1b8f5b
move interval to listener -- allows it to be configurable if needed
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
22c1e66a6c
clean up tests for security group manager v2
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
3f9922ca01
Add more detail when unable to schedule cleanup
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
9b75fab343
Retry only a few times
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
3403ccdaf1
change some logs to debug level
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
13f416698a
fix merge problem
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
2027049fd6
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
cdbfb5fb0b
added a few more dangerous JMX operations
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
549749a2d7
Add ability to trigger ruleset updates from JMX
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
65414903b7
Add the ability to disable some vms from being scheduled
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
1ddda37e13
enable logging of the management server id
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
78ded9c78e
jconsole doesn't understand Ternary
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
3c5becbd95
Enable monitoring over JMX
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
d531f3af29
Dequeue the vm with the largest id first -- this ensures that newly started vms get updated early
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
b0be029cb2
Retry 3 times on deadlock: if not updated, then throw a runtime exception to roll back the vm start
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
b7c1296534
make signature calculation consistent across management servers
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
4b11e5e508
retry a transaction if it deadlocks
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
d532bec118
fix perf. issue in deploy vm. also remove dead code in dao
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c504ce1aaf
if true, this could lead to the dog chasing its own tail
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
8006ed159b
only update sequence number when asked to. full sync SHOULD NOT request sequence number updates since this will lead to the dog chasing its own tail
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
ed666cb01a
Avoid going back to the nics table for information we already have
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
2611d1d61f
thread.yield() to attempt to induce deadlocks only
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
46200d122e
try using multi inserts to overcome deadlock during batch update
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
3c45a7a195
Reduce batch size to 16 to avoid sql errors
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
d6448d9fb8
useful logging
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c8712401ca
unit test for SG mgr v2
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c5fea7a03c
use the new implementation of SG manager
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
8c6fe3a9af
Use hashset since it is 50% faster. we can use treeset when we support priority
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
ed867d0799
unnecessary statement
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
68dcad8ce6
Mocks for all
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
0cc3a1e3f8
WIP: implement a queue where inserting a job for an existing vm does not create a new job
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
6465ccff1b
WIP : memory based queueing
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
fc274739f0
bug 10997: unnecessary database operation
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
5172272d99
bug 10997: No need to go further when we don't have a proper job to process
2011-09-07 13:58:46 -07:00
Alex Huang
3a087c2e62
schedule the work after transaction
2011-09-07 13:58:46 -07:00
Alex Huang
47957c85d9
missed one file
2011-09-07 13:58:46 -07:00
Alex Huang
0900b232fc
one big transaction to see if it's any faster
2011-09-07 13:58:45 -07:00
alena
668276e22c
bug 11326: don't try to transfer the agent if it's a forward agent
...
status 11326: resolved fixed
Also added more logging to the agent rebalance code.
2011-09-07 12:49:02 -07:00
anthony
9842a9aed3
bug 10078:
...
1. introduce migratewait in global configuration, the default value is 1 hour
2. use async xapi VM migration API
status 10078: resolved fixed
2011-09-07 12:40:30 -07:00
kishan
3a6c226bc9
bug 11345: Compare current and previous network stats before updating. Ignore stats if the current stats are not same as the prev stats. Set NetworkUsageAnswer log level to debug
2011-09-07 13:16:11 +05:30
alena
03958369e0
bug 11331: allow extending vnet range as a part of updateZone call
...
status 11331: resolved fixed
2011-09-06 17:41:38 -07:00
alena
654bcdeb5e
bug 10751: don't remove already removed templates during the account cleanup
...
status 10751: resolved fixed
2011-09-02 16:10:00 -07:00
alena
7cea149dc2
bug 11002: userVmDao - create searchBuilder as a part of dao init process (otherwise it's not threadsafe)
...
status 11002: resolved fixed
2011-09-02 15:51:24 -07:00
Kelven Yang
a7ac75f920
bug 11304: restore host status after initialization failure
2011-09-02 15:17:57 -07:00
anthony
57e731b60e
set timeout for CheckOnHostCommand to 50 s
2011-09-02 15:01:06 -07:00
anthony
238ffd0a9b
put getConnection into try
2011-09-02 15:00:58 -07:00
alena
a357dcc728
bug 11259: ROOT admin can extract template/iso even when it's not mark as extractable
...
status 11259: resolved fixed
2011-09-02 12:33:30 -07:00
alena
0242dd51ab
bug 11332: don't try to log vm's information when the vm is already Expunged
...
status 11332: resolved fixed
Conflicts:
server/src/com/cloud/vm/dao/VMInstanceDaoImpl.java
2011-09-02 12:08:16 -07:00
Sheng Yang
96cf40972c
bug 11305: Remove router stop logic from disconnect host.
...
Now the logic is: if we can only connect to one of the two redundant routers, we
would stop the one that can't be connected. If we fail to program both routers,
just let it go.
2011-08-31 19:27:17 -07:00
Sheng Yang
5e450e9852
bug 11305: Stop disconnected redundant virtual router if we can process with the connected one
...
When we apply rules or start new VM, we may encounter some running routers that
we can't program. That can due to network issue or host is down or vCenter is
disconnected, etc. To keep the synchronization, we would stop them, but only
when there is the other router we've successfully updated. If both routers are
unable to communicate with, we simply give up and report it user.
2011-08-31 19:15:38 -07:00
Kelven Yang
1216aebbc0
bug 10765: add japanese keyboard support for linux OSes
2011-08-31 18:17:38 -07:00
alena
78b2df8549
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 17:53:48 -07:00
frank
996d6302eb
Bug 8966 - Oracle VM (OVM) support
...
configure hostname of host for OCFS2
small fixes
2011-08-31 15:37:16 -07:00
kishan
a6d196e96c
bug 11316: In 2.2.y, removed new template upgrade changes. Added upgrade path from 2210 to 2211. Moved existing changes to 2211to2212
...
status 11316: resolved fixed
2011-08-31 15:11:36 +05:30
kishan
a7b760a482
bug 11316: Removed new template upgrade changes. Added upgrade path from 2210 to 2211. Existing changes moved to 2211to2212 upgrade
...
status 1316: resolved fixed
2011-08-31 15:01:39 +05:30
alena
4f6914d56b
bug 11298: give detailed error message when failed to authenticate a user
...
status 11298: resolved fixed
2011-08-30 16:52:52 -07:00
alena
aaf46356bb
Mark account as cleanup_required=0 when cleanup was finished successfully
2011-08-30 14:10:07 -07:00
alena
4dd4b41344
Don't remove the domain when it has accounts that are removed, but require cleanup
2011-08-30 14:10:00 -07:00
alena
60ce12b892
Fixed multipe problems in account cleanup process:
...
* don't try to delete the template when it's already removed
* no need to perform permission check when deleteFirewallRule is called by System (as a part of cleanupAccount process for instance)
2011-08-30 11:22:56 -07:00
alena
5e28e5e3f1
Fixed the bug when networkRate for the domR's guest network wasn't taken from the service offering
2011-08-30 10:40:54 -07:00
Murali Reddy
f0fa75f793
bug 11179: template url and format are not validated
...
added check to verify url ends with extension same as the template format specified
2011-08-30 16:23:06 +05:30
Edison Su
c90397bd0e
bug 11217: only work on the snapshot whose state is "backedup" and is not removed
...
status 11217: resolved fixed
2011-08-29 15:29:34 -07:00
Edison Su
e09e4e5bed
bug 11217: add db upgrade script, if sechost_id is missing of a snapshot, add one got from presnapshot_id
...
status 11217: resovled fixed
2011-08-29 15:29:14 -07:00
alena
19ee92a528
bug 11196: fixed the code when gson serialization was done twice
...
status 11196: resolved fixed
2011-08-29 14:48:09 -07:00
alena
4a4e832fdb
bug 11290: insert VPN config values as a part of 229-2210 upgrade
...
status 11290: resolved fixed
2011-08-29 11:20:57 -07:00
alena
6ea450d362
Reverted wrong commit for logging in HostDaoImpl
2011-08-26 17:48:10 -07:00
Kelven Yang
bf814aeadd
bug 11263: only update host Id when VM is in running state when detected external VM migration
2011-08-26 16:27:42 -07:00
alena
686f9406e1
Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode.
2011-08-26 10:11:18 -07:00
Nitin
56c59bb5d5
bug 11244: Thread updating "op_host_capacity" table shouldn't do updates for removed pods/zones.
...
status 11244: resolved fixed
2011-08-26 18:56:37 +05:30
Naredula Janardhana Reddy
701ddbfc1d
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network
disabled - stats disabled.
2011-08-26 15:25:45 +05:30
alena
2a0e596f15
Set firewall.rule.ui.enabled to false by default
2011-08-25 16:11:03 -07:00
Kelven Yang
80f5b9683f
bug 11162: merge fix from 2.2.10 premium
2011-08-25 15:37:26 -07:00
Kelven Yang
c74ae5d61f
bug 11162: support memory overprovisioning in VMware
2011-08-25 15:37:26 -07:00
prachi
e11d2f4093
Bug 9921 - template tags
...
-Added missing import statement.
2011-08-25 15:18:21 -07:00
prachi
916177b691
Bug 9921 - template tags
...
-Upgrade path from 2.2.10 to 2.2.11
Conflicts:
server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
2011-08-25 15:18:19 -07:00
prachi
089b23f7a6
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/template/TemplateAdapterBase.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-08-25 15:18:18 -07:00
alena
1ea383e96f
bug 11260: Take networkRate for domR's guest and public interface from the corresponding system service offering
2011-08-25 14:13:23 -07:00
prachi
1baf90b18b
Bug 11261 - Allow to update host tags
...
Changes:
- Changes to updateHostCmd to accepts hosttags parameter
- Changes to wipe out existing tags and save new ones in host_tags DB.
- UpdateHost is Admin only operation - so only root admin can update host tags
2011-08-25 12:58:37 -07:00
alena
e902599847
bug 11185: support multiple CIDR on overlapping port ranges for firewall rules
...
status 11185: resolved fixed
Conflicts:
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
2011-08-25 12:06:28 -07:00
Abhinandan Prateek
0d14faec34
bug 11181: taking care of a boundary condition with 0 user VM
2011-08-25 15:36:08 +05:30
Edison Su
7b034a68c0
TESTClient: more features: all the api will go through 8080 with apikey/securitykey, both keys are generated dynamically when you deploy your setup, add list/map type for api, and bug fix
2011-08-24 18:45:11 -07:00
alena
f5dacdb473
bug 11242: check if db object is already removed before generating the Debug log. It can happen in case when deleteHost command is called many times in parallel for the same host
...
status 11242: resolved fixed
2011-08-24 15:44:58 -07:00
Kelven Yang
c3b6fd561c
bug 11230, 11229: merge fix from 2.2.10 branch, fix Eclipse project settings for premium-move
2011-08-24 15:16:59 -07:00
Kelven Yang
65744569c3
bug 11219: use local storage flag from service offering when it is ROOT disk
2011-08-24 15:03:39 -07:00
alena
d32dbcbf7b
Method signature change
2011-08-24 15:00:41 -07:00
alena
488b995299
bug 11236: domainAdmin/regularUser can edit/delete/copy/extract Public template/iso only if it was created by them. They still can use/see public template/iso when execute list/deploy/attachIso commands. Root admin can operate with other people templates w/o any restrictions.
...
status 11236: resolved fixed
2011-08-24 14:48:22 -07:00
alena
0ce47f5cdf
bug 11237: 1) Remove capacity records when corresponding pod/zone is removed 2) On api layer check if zone exists before listing capacity record
...
status 11237: resolved fixed
2011-08-24 13:19:27 -07:00
Edison Su
be249bb10a
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 11:05:19 -07:00
alena
524ed0b15c
bug 11060: use lockTable instead of rowLock when createDomR/createDhcp
...
status 11060: resolved fixed
2011-08-24 11:01:02 -07:00
Edison Su
3786d42853
bug 11217: add secondary storage id into snapshot, if it's an empty snapshot
...
status 11217: resolved fixed
2011-08-24 10:47:47 -07:00
Nitin
f4eb81f9b8
bug 10972: Improve logging - put in the hostid and hostname on which the vm launches.
...
status 10972: resolved fixed
2011-08-24 18:00:09 +05:30
root
eda107daae
removing spurious debug statement
2011-08-24 16:48:52 +05:30