Commit Graph

3436 Commits

Author SHA1 Message Date
Abhinandan Prateek 09e3e2e2ff bug 11910: full sync will only stop unknown VMs on agent 2011-11-23 17:18:51 +05:30
Alena Prokharchyk fd0dc5281a bug 12105: don't generate corresponding firewall rule for the pf/staticNat/lb rule in revoke state 2011-11-21 16:25:00 -08:00
frank f5a2d123db Bug 12078 - pxe config file not being sent down (edit)
better debug message
2011-11-18 15:40:21 -08:00
frank 41799f021b Bug 12078 - pxe config file not being sent down (edit)
status 12078: resolved  fixed
2011-11-18 15:34:05 -08:00
Alena Prokharchyk d387e586ef bug 12067: set 'extractable' field default value to 0 as a part of 2.2.13 to 2.2.14 db upgrade
status 12067: resolved fixed
2011-11-18 13:35:07 -08:00
Abhinandan Prateek 6ced772ce8 bug 11910: avoid Starting to Running state changes during full sync, as the VM startup process does not like it 2011-11-17 14:30:25 +05:30
Alex Huang ee9eadef47 bug 12054: added details level to make it faster if so desired by the admin. Reviewed-by: Alena, Will 2011-11-16 17:32:56 -08:00
root 1db4e8b3f5 bug 11938: Remove thread.sleep() from HostCapacityChecker. cpu and memory capacities can be null for host in maintenance so check for that, wrap the host capacity checker thread with try and catch to make it more robust. Add more logging for entry and exit of thread.
status 11938: resolved fixed
reviewed-by: Abhi
2011-11-16 20:13:07 +05:30
keshav 58a09e00a7 Don't need to specify source NAT IP address and public VLAN tag in interface NAT mode. 2011-11-14 19:01:34 -08:00
Edison Su 04e5c842f8 bug 11991: don't duplicate templates into other secondary storages
status 11911: resolved fixed
Reviewed-by: anthony
2011-11-11 14:22:01 -08:00
Abhinandan Prateek 89d046a62b bug 11987: changing virtualmachineimpl to reoccuring listener
reviewed-by: nitin
2011-11-11 19:22:56 +05:30
frank bb7293c9a5 Bug 11933 - Unable to add Primary Storage (OCFS2) to a OVM Cluster
Don't allow character beyond [A-Z0-9] in OCFS2 cluster name
it is not allowed by OCFS2 configure script

reviewed-by: edison
2011-11-10 17:06:46 -08:00
Edison Su e12368da5f bug 11981: upgrade snapshot version number from 2.1 to 2.2 if it's a root volume
status 11981: resolved fixed
Reviewed-by: Anthony
2011-11-10 16:21:23 -08:00
Kelven Yang 84e50db0ee bug 11973: Escape VM name to prevent from XSS attack. Reviewed-by: Alex huang 2011-11-10 12:01:36 -08:00
Abhinandan Prateek 02c97f90ce bug 11910: during full sync ignoring VMs which have been into starting state shortly
reviewed-by: kishan
2011-11-10 11:59:08 +05:30
frank 3cc37ed3fb refine the logic seraching ssvm when generate firewall configuration 2011-11-09 14:37:36 -08:00
Alena Prokharchyk 56e5255cdc bug 11573: made network wait timeout configurable
status 11573: resolved fixed
reviewed-by: Alex Huang
2011-11-09 13:13:49 -08:00
Edison Su 883058ed1a bug 11919: if volume is dettached, instance id is null
status 11919: resolved fixed
Reviewed-by: frank
2011-11-09 10:41:14 -08:00
Alena Prokharchyk b16777994f bug 11924: don't return ISO entries where removed != null
status 11924: resolved fixed
reviewed by: Will Chan
2011-11-09 09:39:31 -08:00
Naredula Janardhana Reddy 516ea0ee0f Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y 2011-11-09 16:37:03 +05:30
kishan 4a80506448 bug 11938: Removed unique constraint on usage_network_offering table.
status 11938: resolved fixed
reviewed-by: Abhi
2011-11-09 16:27:31 +05:30
Naredula Janardhana Reddy 1148ebfdcd bug 11590:
reviewed-by: Abhi

Summary of Changes:
 while adding a primary address to the domR interface, previous primaray addresses(ip) are removed and added as with 32-bit netmask.
   This is to avoid two same ip's with different netmask attached to the interface.
2011-11-09 16:24:42 +05:30
kishan 6ad712d1c4 bug 11851: When Add VPN user fails, remove the user entry from db instead of leaving in Add state.
status 11851: resolved fixed
reviewed-by: Abhi
2011-11-08 15:53:32 +05:30
Alena Prokharchyk 657edb1a56 bug 11923: don't expose command name in the exception response when command is not available
status 11923: resolved fixed
reviewed-by: Will Chan
2011-11-07 18:00:11 -08:00
Nitin e9b21dad49 bug 11428: For volumes use findIdIncludingRemoved since volumes can be removed
Reviewed by - Kishan
status 11428: resolved fixed
2011-11-07 19:05:44 +05:30
Nitin 18a243e1d6 bug 11428: Under VMware with current version, for snapshot related related operations,
1) if snapshot is originally created from root volume, allow only
CreateTemplateCommand from snapshot

2) if snapshot is originally created from data volume, allow only
CreateVolumeCommand from snapshot

Reviewed by - Kishan
status 11428: resolved fixed
2011-11-07 18:30:24 +05:30
Nitin fff9e275b1 bug 11778: Make sure that there exist no PF/LB rules before enabling static nat on an ip and vice versa. Reviewed by - Jana
status 11778: resolved fixed
2011-11-07 17:08:58 +05:30
Chiradeep Vittal 52dfd3a7fd bug 11336: better message 2011-11-04 11:30:24 -07:00
Chiradeep Vittal cc5e459be0 bug 11336: limit the number of outstanding messages sent to a host to conserve memory 2011-11-04 11:30:13 -07:00
kishan 2c4a564b95 bug 11851: While adding new Vpn user, exisitng users state will remain as Active and still be re-added
status 11851: resolved fixed
2011-11-04 13:48:20 +05:30
Abhinandan Prateek 852679cea9 adding mroe info to warn message 2011-11-04 11:53:14 +05:30
frank abc6075a38 Bug 11808 - Allow additional non-default virtual networks
when isDefault is null, for virtual network set defaut to true, false for direct network
2011-11-03 15:10:42 -07:00
Naredula Janardhana Reddy 34d3679695 Revert "bug 11680: Fix to the listing of routers when the networkid is invalid."
This reverts commit 6d5c46c4b0c6c8782923630947000348590d14f8.
2011-11-03 15:48:04 +05:30
Abhinandan Prateek c1eaef18c1 bug 11678: moving initialization to the configure methog 2011-11-03 15:26:54 +05:30
root 55b5a5c5cd Revert "bug 11791: adding Hypervisor type to list os API"
This reverts commit 78e01c3061795e5d3d80db8a147b5f1c8a836a3c.
2011-11-03 14:53:32 +05:30
Abhinandan Prateek 6e2f732734 bug 11804: Only root admins have a relaxed resource limit 2011-11-03 11:15:13 +05:30
Abhinandan Prateek 5e44458ec1 Revert "bug 11804: Only root admins have a relaxed resource limit now"
This reverts commit 5415bd881b4a5b1b81937171fe494509b5e1619e.
2011-11-03 11:02:59 +05:30
anthony 1ba2d1c8d5 add more logs 2011-11-02 17:04:18 -07:00
frank 720ffc2d1f Bug 11808 - Allow additional non-default virtual networks
completed Java code change, need UI change in line with
2011-11-02 14:35:14 -07:00
Abhinandan Prateek 15a8c015ea bug 11678: added vm.destory.forcestop config var to set force when destroying a vm 2011-11-02 17:47:08 +05:30
Abhinandan Prateek e6474ff85a bug 11709: saving encrypted password in db
status 11709: resolved fixed
2011-11-02 16:47:42 +05:30
kishan d601313b35 bug 11770: throw error when account is not found in default root domain
status 11770: resolved fixed
2011-11-02 15:24:37 +05:30
kishan daa7d41650 bug 11770: throw error when account is not found in default root domain
status 11770: resolved fixed
2011-11-02 15:22:29 +05:30
Naredula Janardhana Reddy 48c1044ebe bug 11680: Fix to the listing of routers when the networkid is invalid. 2011-11-02 15:10:43 +05:30
Abhinandan Prateek ad5341d0d3 bug 11804: Only root admins have a relaxed resource limit now
status 11804: resolved fixed
2011-11-02 13:30:15 +05:30
frank 5164394949 Bug 11646 - OVM - volume > download volume failed for both ROOT and DATA volumes
return volume name instead of full path to ingratiate mgmt server's bad name convention
2011-11-01 18:14:11 -07:00
frank d4a106319d Disable baremetal fullsync
*    Disable sync until we find a way that only tracks status but not does action
   *
   *    The scenario is: Baremetal will reboot host when creating template. Given most
   *    servers take a long time to boot up, there would be a period that mgmt server finds
   *    the host is stopped through fullsync. Then mgmt server updates database with marking the host as
   *    stopped, after that, the host comes up and full sync then indicates it's running. Because
   *    in database the host is already stopped, mgmt server sends out a stop command.
   *    As a result, creating image gets never happened.
2011-11-01 16:45:49 -07:00
frank ade383112c Baremetal: bypass HA, only track VM status 2011-11-01 15:12:52 -07:00
kishan 3018a5e124 bug 11796: Catch all exceptions in network usage task and never exit the thread
status 11796: resolved fixed
2011-11-01 20:39:08 +05:30
Abhinandan Prateek e54fc08862 bug 11791: adding Hypervisor type to list os API 2011-11-01 17:56:28 +05:30
Nitin 9a0c16a714 bug 11739: Fix typo 2011-10-30 23:25:37 +05:30
frank c1c9e5c6c3 allow multiple clusters for baremetal 2011-10-28 13:46:25 -07:00
frank 204b07a973 Use constant string instead of hard coding in baremetal parameters passing 2011-10-28 11:05:48 -07:00
Abhinandan Prateek b81c380f86 bug 11701: cluster sync only for Xen, old way of syncing for other Hypervisor 2011-10-28 11:45:15 +05:30
frank cc6bf73760 allow multiple clusters for baremetal planner
fix build
2011-10-27 17:42:25 -07:00
frank b4fffc9b30 allow multiple clusters for baremetal planner 2011-10-27 17:31:25 -07:00
Abhinandan Prateek edbce41065 bug 11701: cleanup, and vm host sync on delta 2011-10-27 16:23:04 +05:30
frank 295842fac0 Bug 11805 - Cant add baremetal host
status 11805: resolved fixed
2011-10-25 15:17:02 -07:00
Kelven Yang 9ad7c23074 bug 9614: let root volume use IDE disk controller by default to ensure backwards compatibility with existing CloudStack deployments 2011-10-24 15:28:10 -07:00
Kelven Yang 231640f279 bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration) 2011-10-21 18:44:21 -07:00
alena f41dd918a9 bug 11690: don't allow to remove the cluster when it's referenced by existing storage pools
status 11690: resolved fixed
2011-10-21 18:07:16 -07:00
alena 3af0dba676 bug 11744: remove firewall rules before removing statis nat rules as a part of disableStaticNat call
status 11744: resolved fixed
2011-10-21 17:20:13 -07:00
David Nalley ff9ca29bb2 Extending Kevin Brook's original XCP disguised as XS 5.6.100 patch 2011-10-20 08:18:17 -04:00
Abhinandan Prateek 2f5adb0baf bug 11701: cleanup of spurious message 2011-10-19 13:44:05 +05:30
Abhinandan Prateek 8ee0fd700b bug 11701: putting the intervals in Config 2011-10-18 14:41:35 +05:30
Kelven Yang 3aba30543c bug 11624: command via AgentManagerImpl.sendTo() needs to be redirect to HypervisorGuru for command filtering, the filtering mechanism is required by VMware hypervisor to redirect storage/snapshot commands to SSVM 2011-10-17 18:03:54 -07:00
anthony c459604fa2 handle empty snapshot correctly 2011-10-17 17:24:32 -07:00
frank 953ad818f0 Bug 11647 - OVM - no support for migrate instance
return available hosts when hypervisor type is Ovm
status 11647: resovled fixed
2011-10-17 16:25:13 -07:00
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