Commit Graph

241 Commits

Author SHA1 Message Date
alena bf588166ed bug 7704: network limits cleanup.
status 7704: resolved fixed

For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings

For domainRouter/SSVM/CPVM:
* get info from the network offering

Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -07:00
Kelven Yang ea95ac1808 bug 8713 : finalize the implementation of supporting system vm pooling 2011-03-31 17:14:09 -07:00
will eb2a3d6f8e bug 8208: Added support for adding baremetal clusters and baremetal templates. 2011-03-17 11:31:36 -07:00
alena d3f04b2b38 bug 8945: introduced "default.page.limit" config param (default value is 500). Used for pagination in API list* commands.
status 8945: resolved fixed
2011-03-15 15:06:52 -07:00
Edison Su 670afd2331 bug 8875: add new management cidr configuration for vmware: if there are multiple management servers, each of them may talk to domR, so that means domR needs to know the routing to all the mgt servers.
status 8875: resolved fixed
2011-03-09 10:20:05 -05:00
prachi 6a67bb1edb More logging changes for
Bug 7845 Productize DeploymentPlanner
Bug 8317 Add better resource allocation failure messages
2011-02-28 13:47:52 -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
Edison Su 2705adb3b1 security group is per bridge 2011-02-28 12:16:40 -05:00
alena 63cff8de26 Regular user is allowed to create Guest networks only; throw an error when he tries to use networkOffering with trafficType Public 2011-02-23 18:01:33 -08:00
alena 6cecbdbee9 bug 8663: limit cidr size if network is being created by non Root admin
status 8663: resolved fixed
2011-02-23 18:01:33 -08:00
kishan 0ce385ecf2 bug 8569: Changed default events purge delay to 15 days
status 8569: resolved fixed
2011-02-23 21:34:47 +05:30
Kelven Yang f443f7d409 Set default values for global variables that use programmatic constants (CPU speed/RAM size) 2011-02-22 16:28:31 -08:00
alena cd90bc7166 bug 8412: allow to delete network when it has dhcp/domRs
status 8412: resolved fixed

1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
abhishek 1aab49fd8f bug 8547: some additions to the config vars to better indicate the units they use
status 8547: resolved fixed
2011-02-14 14:28:15 -08:00
alena 829c865133 router.ram.size global config is hidden now as it's used by system only 2011-02-11 11:38:02 -08:00
anthony 6501bcd3c4 bug 8518: replytimeout is not set
replytimeout is set to 10 min for XenServer

status 8518: resolved fixed
2011-02-10 18:59:42 -08:00
Kelven Yang 737954bed8 1) prepare to seperate volume/snapshot logic to secondary storage VM
2) Add vmware.service.console configuration variable to allow customized VMware setup
2011-02-10 16:41:19 -08:00
Kelven Yang 091b5850b3 Explicitly specify CPU speed for all system VMs, speed of 0 no longer works for VMware 2011-02-09 15:08:06 -08:00
Edison Su 25a9236438 add shuffling back 2011-02-09 14:24:32 -05:00
Murali Reddy 8798fce36d bug 8390: description of weekly and monthly snapshot policy contains hourly in global configuration
status 8390:resolved fixed
2011-02-07 10:05:54 -08:00
Edison Su 3cc5ce8642 add new configuration parameter: cmd.wait, for heavy timing-consuming commands, such as backupsnapshotcommand 2011-02-03 18:57:38 -05:00
abhishek 9e2a9ab528 bug 8268: correcting stats reporting; the response obj was using wrong method to convert double to long
status 8268: resolved fixed
2011-02-01 13:39:26 -08:00
Edison Su 5b073cd370 bug 8087: default hypervisor type is gone: when creating cpvm/ssvm, randomly choose one hypervisor type, which got from host table. When creating domR, as we already know the hypervisor type at that time, so domR and user vm are always created as the same hypervisor type.
status 8087: resolved fixed
2011-02-01 11:32:40 -05:00
anthony cb024e3bf2 remove prealloclun 2011-01-28 12:46:50 -08:00
Kelven Yang 4696b16d10 Normalize name convention for vmware hypervisor 2011-01-28 11:16:30 -08:00
Kelven Yang 34178bec61 1) add destroySystemVm command to allow destroying of system VMs
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
Kelven Yang 2b646f3ee0 1) Refactor ConsoleProxyManager to new networking and VirtualMachineManager interface
2) Don't destroy/re-create console proxy because of starting failure to take advantage of storage recreation in 2.2
3) Remove the race-condition in starting new instance of console proxy to avoid multiple ones being started for standby capacity reservation
4) Add a global configuration variable - system.vm.auto.reserve.capacity, set it to false to prevent automatical console proxy launching, the change of the variable value can take effect without the need of restarting management server
2011-01-25 16:04:02 -08:00
alena 825042fbd7 bug 8156: fixed update for xen.heartbeat.config.interval parameter
status 8156: resolved fixed
2011-01-25 09:35:39 -08:00
Frank 276e37115b open vswitch - Implement gre tunnel based network that doesn't use vlan
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
Kelven Yang aedb433ca2 Bug 8010: retire capacity.skipcounting.hours and capacity.skipcounting.destroyed.hours
Status 8010: Resolved Fixed
2011-01-21 10:35:25 -08:00
alena 671cce23ad bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
will 80e81647a9 bug 8152: removed security.password.md5hashed as it's no longer being used. 2011-01-21 09:49:06 -08:00
alena af3373c4d6 Deleted global config parameter direct.network.no.default.route that is no longer in use. 2011-01-20 13:15:25 -08:00
Kelven Yang c0fb9be02a Turn on rp_filter default to disable for console proxy VM, avoid explcit route conflict in DomR 2011-01-18 16:15:05 -08:00
nit 6e089ca99c bug 8031 : Allowing user to create his/her own private template that was created from the user's VM.
status 8031 : resolved fixed
2011-01-17 14:15:15 +05:30
alena 877741030c bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
status 7957: resolved fixed
2011-01-13 11:57:29 -08:00
nit 58a80d57cc Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-01-12 19:37:42 +05:30
nit dce1e2031b bug 7519 : Extract links would have Java genereated UUID instead. 2011-01-12 16:53:42 +05:30
Alex Huang ad4ed5b2fd added hypervisor type to vm 2011-01-11 18:02:09 -08:00
Frank a964494332 bug 7722: open vswitch - align some data type with master branch 2011-01-08 17:31:00 -08:00
Frank 5c01c42ba7 fix bug 7722, code complete basic architecture 2011-01-08 16:20:39 -08:00
will 8284abedf5 bug 7902: Fixed problem with updating secstorage.ssl.cert.domain as it was incorrect set to be validated as a boolean and also was set to be validated as an ip range.
- Fixed error message returned when validating boolean to not return double-quotes as that breaks JSON.
2011-01-07 10:39:49 -08:00
Kelven Yang ea88089fd2 Bug 7409: Implement forcely-cancelling mechenism for jobs that have been staying in queue for too long
1) introduced a global configuration variable job.cancel.threshold.minutes
2) Default value for the job.cancel.threshold.minutes is 60 minutes, if a job has been staying in processing state for over 60 minutes, system will forcely remove it from the queue to allow others to run
2011-01-05 15:44:10 -08:00
keshav 283551d34e End the enum with a semicolon 2010-12-30 20:48:56 -08:00
keshav ead0ee07dd Changed category of "DirectNetworkNoDefaultRoute" configuration value to "Network". 2010-12-30 20:36:00 -08:00
Alex Huang 62702a2f41 no default route sent for direct network 2010-12-30 17:21:17 -08:00
Kelven Yang 271b1ee58a add consoleproxy.disable.rpfilter configuration variable to get rid of the annoying access issue in development environment.
set it to true for development environment, it will allows traffic that comes in from public interface to be able to be routed back from private interface
2010-12-28 17:15:00 -08:00
abhishek 719f3984d2 changing domain.suffix to guest.domain.suffix, along with associated deps 2010-12-27 17:00:07 -08:00
edison 2762f0c75e release cpu/memory after vm stopped for a while 2010-12-23 22:06:01 -08:00
Alex Huang 91573b6252 more changes 2010-12-21 03:56:01 -08:00
abhishek 5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
keshav a25aeb4007 Added a configuration variable to keep track of the number of bits to reserve for VLAN information in guest network subnets. 2010-12-16 15:15:21 -08:00
Alex Huang 39cc371e78 network gc 2010-12-16 14:03:21 -08:00
Alex Huang 7cfbd5b7e0 missing mac fields 2010-12-10 17:20:31 -08:00
abhishek 61cf2308a1 bug 7264: removing the unused param direct.attach.untagged.vlan.enabled; also changing the use of this param to Data_center.networktype.basic usage as this maps to the removed param in the case of direct untagged network. This is used in a check in recreatehostallocator 2010-12-08 16:11:16 -08:00
abhishek 8fa364e4d5 first part of checkin, wherein network.type param is being removed 2010-12-08 09:58:12 -08:00
edison 5c73e46113 bug 7296: add kvm.public.network.device and kvm.private.network.device from UI
status 7296: resolved fixed
2010-12-04 20:01:10 -08:00
will 01d937ca5e Removed old service offerings and enabled the new network framework. 2010-12-03 17:40:06 -08:00
abhishek 286fa7248b bug 7414: changing the start.retry param to 10
status 7414: resolved fixed
2010-12-03 09:49:01 -08:00
alena f8a687ab23 1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
Kelven Yang 677394c27a Remove retired configuration varable 2010-11-30 16:23:15 -08:00
abhishek 0273872b34 bug 7362: we were missing the size validation check, when we create a volume from disk offering (the storage.max.volume.size param wasn't being used for validation). Fixed the same, made the validation method name more generic to be applicable to all validations, and changed the param description to denote GB as the unit
status 7362: resolved fixed
2010-11-29 17:23:16 -08:00
abhishek 3d4b8ab4a0 bug 7263: changing the param name. Found a couple of bugs whilst testing this, the validation of vol size whilst cust vol creation was missing. Adding the same.
status 7263: resolved fixed
2010-11-23 16:20:30 -08:00
abhishek 0979b644ef bug 7230: there was an issue trying to start user vms when the pool state is cancelmaintenance; fixing the same in 2.2RC2
status 7230: resolved fixed
2010-11-22 11:00:43 -08:00
Chiradeep Vittal 394554770e Enforce user limit on number of vpn users 2010-11-18 18:38:29 -08:00
Chiradeep Vittal 4c7bb302bc bug 6971: Use PSK length configuration
validate global configurations
2010-11-17 16:32:50 -08:00
Chiradeep Vittal 9640f12cce bug 6971: revert some changes 2010-11-17 15:33:10 -08:00
Chiradeep Vittal 31e17b907d bug 6971: ensure no conflicts with portforwarding rules for vpn udp ports
also, do not open up port 1701 -- only used on ppp interface not public interface
also clean up password generator, make it easier to use and more secure
moved some constants to NetUtils
heuristic to determine if an ip is one-to-one nat'ted
2010-11-17 15:32:50 -08:00
Kelven Yang 0653d6d7f6 Improve console access security with random generated hash key 2010-11-12 16:59:58 -08:00
abhishek 9fb62555af bug 7071: making the config var "hidden" instead of removing it, as there are a lot of references to this var. 2010-11-12 10:06:51 -08:00
abhishek 826e7aac85 bug 7071: We do not want to expose the enable/disable flag for ssvm. Removing this option from the global settings menu presented to the UI.
status 7071: resolved fixed
2010-11-12 09:51:38 -08:00
abhishek 968dc0616f bug 7021: data disk wasn't being created for custom sizes. Also, we were having max size checks in GB, whereas disk offerings are in MB. Made the change there as well.The storage allocators were commented out in master, uncommented them.
Status 7021: resolved fixed
2010-11-11 15:45:21 -08:00
anthony 9ee6d69c9f the default delta snapshot number between two full snapshots is 16, it is configurable 2010-11-08 18:08:07 -08:00
Chiradeep Vittal 5695236840 bug 6984: add default value for domain.suffix
status 6984: resolved fixed
2010-11-04 15:40:24 -07:00
edison d9ba39bd8b enable user to config default hypervisor type as vmware 2010-11-01 15:25:32 -07:00
Kelven Yang 0d64b460f8 add vmware network configuration variables 2010-10-07 18:23:26 -07:00
edison aaaa5dc3ad bug 6379: add ListHypervisors cmd to list all the supported hypervisors.
status 6379: resolved fixed

The supported hypervisors are controlled by hypervisor.list in configuration table
2010-10-04 16:55:25 -07:00
edison b441deec94 Need to set all the system vms as read state 2010-09-30 20:39:34 -07:00
edison 7615f569ff after rebase, fix bugs 2010-09-29 18:41:55 -07:00
edison fb9f43d807 clean up hypervisor.type, actually hypevisor.type may only make sense on the UI in multi-hypervisor.
In our java code, we should not write code based on hypervisor.type.
2010-09-29 18:41:54 -07:00
abhishek 72243c8382 bug 5191: incremental checkin 2010-09-27 11:10:55 -07:00
Alena Prokharchyk 9228088ce3 bug 6103: Made "capacity.skipcounting.hours" to apply only for Stopped vms. Introduced "capacity.skipcounting.destroyed.hours" config value that is used for vms in Destroyed state
status 6103: resolved fixed
2010-09-24 11:30:44 -07:00
abhishek 5d0d69ce48 bug 6264: changing the defaults for max volume size to gb
status 6264: resolved fixed
2010-09-21 16:02:40 -07:00
Alex Huang 327924a9ad More changes for refactoring 2010-09-15 18:00:54 -07:00
abhishek 40db8f60e0 bug 6188: fixing the bug
status 6188: resolved fixed
2010-09-15 15:19:18 -07:00
abhishek 5720ac0e44 bug 6188: incremental checkin 2010-09-15 14:45:32 -07:00
abhishek efa8d2af07 bug 6188: fix for the issue
status 6188: resolved fixed
2010-09-14 15:33:48 -07:00
Alex Huang 7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
abhishek 1c87879e21 bug 4898: removing the upgrade.url param
status 4898: resolved fixed
2010-08-30 14:49:22 -07:00
kishan 43169f3f96 bug 5895: added config param to turn on/off md5 hash 2010-08-26 23:39:32 +05:30
Manuel Amador (Rudd-O) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00