Commit Graph

3504 Commits

Author SHA1 Message Date
anthony 80f971ef33 only create new sshkey if user is cloud 2012-01-16 14:53:52 -08:00
Edison Su 312df2ffac do not need to hold a vm lock when taking snapshot 2012-01-16 10:37:51 -08:00
Nitin Mehta aa2433cc14 bug 13096 Make capacity deletion for CLUSTER deletion more robust.
Reviewed by : Kishan.
2012-01-16 15:18:15 +05:30
Nitin Mehta b3579b0a55 bug 13096 Make capacity deletion for pod deletion more robust.
Reviewed by : Kishan.
2012-01-16 14:47:13 +05:30
Nitin Mehta dc4db76932 bug 13066 Storage over prov factor should be float rather than long which leads to wrong storage calculation
Reviewed by : Kishan.
2012-01-16 13:08:35 +05:30
anthony 754d115bdb bug 11497:
1. remove Garbagecollection primary storage allocator. other storage allocators fails may because there is primary storage with the same tag, it is not caused by no primary storage capacity.
2. delete template will try to delete templates in secondary storage in the API.

status 11497: resolved fixed

GarbageCollecting
2012-01-12 16:16:42 -08:00
Kelven Yang 5d3cc153a9 bug 13021: add a global configuration variable to let control default network adapter type inside system VMs 2012-01-12 14:08:52 -08:00
Naredula Janardhana Reddy eccd6b56b8 Bug 12606: firewall rule validation for icmp source cidr for duplicate entry. 2012-01-12 15:29:38 +05:30
anthony fbc8c27f68 bug 13012: not sure why id_rsa has passphrase, use the new script to create ssh key, make sure there is no passphrase in the key.
status 13012: resolved fixed
2012-01-11 18:35:43 -08:00
Kelven Yang 00629b61c6 bug 12787: improve worker VM cleanup in snapshot operation 2012-01-11 16:08:26 -08:00
Naredula Janardhana Reddy e82ec99261 Bug 12973: FIX : Icmp code/type validation for ingress/egress rules causing host plugin failure. 2012-01-11 10:50:19 +05:30
kishan 263f90340c Bug 12850: Allow accounts in child domains to create Vms in zones owned by parent domain
Status 12850: resolved fixed
Reviewed-By: Abhi
2012-01-10 11:52:56 +05:30
Edison Su c6bb325a87 bug 12718: optimize listsecuritygroup
status 12718: resolved fixed
2012-01-06 14:38:50 -08:00
Edison Su e9373a57a7 bug 12930: update cluster guid before sending setup agent command to kvm host
status 12930: resolved fixed
2012-01-06 11:38:55 -08:00
Abhinandan Prateek 17b1324284 bug 12189: bringing vm sync at par with master fixes 2012-01-06 17:59:42 +05:30
Edison Su d910b7f85d bug 12622: start ha with vm investigation when host is disconnected
status 12622: resolved fixed
2012-01-05 14:48:46 -08:00
anthony cc702293ed bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support
Conflicts:

	api/src/com/cloud/storage/Storage.java
2012-01-05 14:42:30 -08:00
anthony 3fe70191f2 support XenServer 6.0 in 2.2.y 2012-01-05 14:15:56 -08:00
Kelven Yang 59290c8979 bug 12709: extend cluster keep-alive timeout to 2.5 minutes to make it resistance to temporary management server hiccups 2012-01-05 14:04:23 -08:00
Edison Su 6ecb0f2b6b bug 12616: 40 hosts connecting to mgt server, need to set workers > 40 in mgt server.
status 12616: resolved fixed
2012-01-04 21:36:40 -08:00
Kelven Yang fd758208d9 bug 12709: add management server active fencing 2012-01-04 18:06:24 -08:00
Edison Su 4a7c684526 bug 12616: advanced startup command for direct connected agent
status 12616: resolved fixed
2012-01-03 18:29:40 -08:00
Kelven Yang 3750c7055b bug 12709: incremental fix - profiling management server clustering heartbeat activities 2012-01-03 17:51:25 -08:00
Kelven Yang 277fdc229b bug 11780: remove vmware-lib-smtp.jar and vmware-lib-mailapi.jar from dependency distribution 2012-01-03 16:30:43 -08:00
Alena Prokharchyk 4439fd8a51 bug 12790: use processDisconnect() when disconnect the agent during agent LB process
status 12790: resolved fixed
2011-12-29 16:56:46 -08:00
Alex Huang f6c163e46e bug: 12805 Moved the managers into the right order 2011-12-29 16:17:57 -08:00
Alena Prokharchyk 2b37568a87 bug 12001: fixed resource limit check for domain - treat -1 as unlimited
status 12001: resolved fixed
2011-12-21 15:13:10 -08:00
Abhinandan Prateek e12c5fed42 bug 12005: java reflection was breaking due to parameter in the constructor 2011-12-14 09:50:01 +05:30
Edison Su 6207278bbf fix meta data issue on direct tagged network, where router's public ip address is null 2011-12-13 17:23:39 -08:00
kishan e614592b13 Added new param for external network stats collection interval 2011-12-08 12:02:17 +05:30
David Nalley 5cd1cb17d3 fixin a typo in a logging message 2011-11-29 17:09:46 -05:00
Abhinandan Prateek 59a48ce59d bug 11910: no need to do full sync as first thing after connect 2011-11-29 11:35:11 +05:30
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