Commit Graph

644 Commits

Author SHA1 Message Date
Murali Reddy f347158beb NAAS:fixed provider network element mapping for F5 & netscaler and permit device add when provider in disabled state 2011-11-15 17:29:18 -08:00
prachi f0d1b97420 Renamed 'listNetworkServices' to 'listSupportedNetworkServices' 2011-11-15 17:16:31 -08:00
Murali Reddy 0b05badaaa bug 11817: NAAS external network device support
-made Netscaler, SRX, F5 network elements as pluggable service
   -added abstract load balancer device manager ExternaLoadBalancerDeviceManager
   -made both F5 and Netscaler pluggable service to extend ExternaLoadBalancerDeviceManager
   -added abstract firewall device manager ExternalFirewallDeviceManager
   -made SRX pluugable service to extende ExternalFirewallDeviceManager
   -added API's to configure and manage netscaler devices
2011-11-15 12:18:59 -08:00
Naredula Janardhana Reddy f1b99f4f07 Revert "bug 10617: merging code from branch bug10617"
This reverts commit 8bc33448b9220534ba0ddc6c642ffb1e69d5844e.

Conflicts:

	server/src/com/cloud/api/ApiResponseHelper.java
2011-11-11 20:23:26 +05:30
Sheng Yang bde1f6d2de Merge branch 'networkasservice'
Conflicts:
	api/src/com/cloud/api/commands/CreateRedundantVirtualRouterElementCmd.java
	api/src/com/cloud/api/commands/CreateVirtualRouterElementCmd.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/network/ExternalNetworkDeviceManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/offerings/NetworkOfferingVO.java
	setup/db/create-schema.sql
2011-11-10 16:36:08 -08:00
Alex Huang d6c22c42fe Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-11-10 15:26:39 -08:00
Alex Huang f6fcaa49ec Merge complete except for virtualnetworkappliancemanager 2011-11-10 15:18:16 -08:00
Naredula Janardhana Reddy 02adbd4bd3 bug 10617: merging code from branch bug10617 2011-11-10 15:23:48 +05:30
Sheng Yang 5c1773dd26 NaaS: Add response for VirtualRouterProvider 2011-11-09 18:52:34 -08:00
Sheng Yang bc86800d30 NaaS: Remove Redundant Virtual Router element
Would use capability instead.
2011-11-09 17:09:38 -08:00
Edison Su 4f263a56b2 fix the build 2011-11-08 19:11:36 -08:00
Sheng Yang 3051dc2621 NaaS: Discard DhcpElement
VirtualRouterElement would do all the job. The difference would be public
network enabled or not.
2011-11-04 14:13:55 -07:00
frank 92edf56ccc Bug 7883 - Add support to allow admins to sort templates, isos, offerings...
status 7883: resolved fixed
2011-11-03 10:54:00 -07:00
Edison Su 6841e265d3 bug 10330: finally merge Rommer's CLVM patch
status 10330: resolved fixed
2011-11-02 18:03:58 -07:00
Sheng Yang a43364f0a4 NaaS: Rename virtual_router_elements to virtual_router_provider 2011-10-31 15:59:53 -07:00
Sheng Yang cd3fbf0548 NaaS: Create AddVirtualRouterElementCmd
As DhcpElement/VirtualRouterElement/RedundantVirtualRouterElement is decided to
be the service provider of the physical network, this API should be called to
add a new element, with correlated network service provider ID.

Then e.g. ConfigureVirtualRouterElementCmd should be called to configure and
enable the element.
2011-10-31 15:59:44 -07:00
Abhinandan Prateek abb37acbdd bug 8962: added usage related and resource count related code, changed the API name as suggested. Incorporated relevant review comments 2011-10-31 16:35:42 +05:30
root a572205e3c Revert "bug 11311: vm summary command initial impl"
This reverts commit 0abc7e2ea8b9e222f1927aea72d46240bfe8c534.
2011-10-30 15:13:58 +05:30
Abhinandan Prateek f456462443 bug 11311: vm summary command initial impl 2011-10-28 14:07:19 +05:30
alena b413a625f4 1) replaced joinProject API with updateProjectInvitation api. You can accept/decline the invitataion with this command
2) Added deleteProjectInviation command. Can be executed by project admin only
2011-10-27 18:32:00 -07:00
prachi 6d5601a84d Added commands and framework for PhysicalNetwork trafficTypes 2011-10-27 17:32:15 -07:00
alena fe0b685e95 Security group is a service now 2011-10-27 16:49:20 -07:00
Edison Su 4c1a2f50bd bug 10837: rename api related to netapp
status 10837: resolved fixed
2011-10-26 17:37:04 -07:00
frank 1460f3950e Bug 9949 - revert VM to template
1. able to restore VM from its original template
2. Only allow to restore when VM is running or stopped
3. after restoring, VM state will not change, e.g. running is still running

status 9949: resolved fixed
2011-10-25 13:52:39 -07:00
kishan 83b4d2f7f9 bug 5822, 10783: Security enhancements initial checkin. Added encryption support to db.properties and some DB values. 2011-10-24 10:26:02 +05:30
Murali Reddy aa808f5685 -Added LB serive provider (seperating it out from Firewall service provider)
-Bringing add/delete/list of all external network devices under one unified API's (addNetworkDevice, deleteNetworkDevice, listNetworkDevice)
-Refactoring External network manager to work from both sets of API's add/delete/list NetworkDevice and add/delete/list External Firewall/LoadBalancer
2011-10-21 18:15:36 +05:30
Sheng Yang 2ebb719aba NaaS: Add configuration for virtual router elements 2011-10-20 13:59:23 -07:00
Sheng Yang 04f106a595 NaaS: Configure commands for DhcpElement, VirtualRouterElement and RedundantVirtualRouterElement
Add configure command for these virtual router based elements. The commands
should be different for different elements.

The context of configuration would be added later.
2011-10-20 13:58:54 -07:00
alena 5ffd233bb4 Made all project commands except list* to be Async 2011-10-20 11:30:45 -07:00
prachi 654eaec663 NAAS: Configuring Zone
- Create Zone changes and changes to data_center table to remove vlan, securityGroup fields
- Physical Network lifecycle APIs
- Physical Network Service Provider APIs
- DB schema changes
2011-10-19 22:44:03 -07:00
frank cd6b872f8d Bug 11670 - OVM - HA failed when host is disconnected from network
status 11670: resolved fixed
2011-10-13 14:46:36 -07:00
alena 7433d5314a 1) Refactored networkOfferings:
* moved all services to the separate table, map them to the network_offering+provider.
* added state/securityGroupEnabled properties for the networkOffering
* added ability to list by state/securityGroupEnabled in listNetworkOfferings api command

2) New service: SourceNat
2011-10-12 16:38:59 -07:00
prachi 8570b25506 NAAS: APIServer changes to introduce framework to read commands from pluggable components having separate commands.properties file
Changes:
- Added a new interface 'PluggableService'
- Any component that can be packaged separately from cloudstack, can implement this interface and provide its own property file listing the API commands the component supports
- As an example have made VirtualNetworkApplianceService pluggable and a new configureRouter command is added
- ComponentLocator reads all the pluggable service from componentLibrary or from components.xml and instantiates the services.
- As an example, DefaultComponentLibrary adds the pluggable service 'VirtualNetworkApplianceService'
- Also components.xml.in has an entry to show how a pluggable service can be added, but it is commented out.
- APIServer now reads the commands for each pluggable service and when a command for such a service is called, APIServer sets the required instance of the pluggable service in the coomand.
- To do this a new annotation '@PlugService' is added that is processed by APIServer. This eliminates the dependency on the BaseCmd to instantiate the service instances.
2011-10-11 17:34:57 -07:00
Jessica Wang 73646ad4e4 bug 11481: cloudStack 2.2 - add localization labels. 2011-10-07 15:55:37 -07:00
Jessica Wang 18cd05a6a2 bug 11481: cloudStack 2.2 - router page - add "Migration System VM" action. 2011-10-07 15:55:10 -07:00
Jessica Wang cd02613173 bug 11481: cloudStack 2.2 - system VM page - add "Migration System VM" action. 2011-10-07 15:54:51 -07:00
alena a17570ef51 1)Implemented Suspend/Activate project
2)Email/token based invitation system
2011-10-06 16:10:36 -07:00
prachi 9bd5e5871b 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
2011-09-29 17:47:46 -07:00
Jessica Wang 8023d9486e cloudStack - sync 2.2.Y UI change to master branch. 2011-09-29 15:35:45 -07:00
alena ccd47c1b21 Implemented Project Invitations 2011-09-26 17:47:20 -07:00
frank 63117b36df change client/.project to client not vmopsClient 2011-09-22 13:37:12 -07:00
frank bcf48de212 remove stale entries in command.xml
fix build
2011-09-15 13:36:28 -07:00
Kelven Yang 1b9552ea74 Let VmwareInvestigator return fake but meaningful investigation result 2011-09-14 17:04:28 -07:00
Sheng Yang 474d1a6034 bug 11307: Add destroyRouter command 2011-09-14 16:23:42 -07:00
Kelven Yang 9191a2fad5 bug 11286: ensure VM is powered off before we tear down devices 2011-09-14 16:15:20 -07:00
Kelven Yang 7a64d8fda4 add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation 2011-09-14 15:15:26 -07:00
Jessica Wang de9856f1c4 cloudStack - sync UI change from 2.2.y branch to mater branch. 2011-09-13 16:00:46 -07:00
alena f6a79c603f 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

Conflicts:

	core/src/com/cloud/alert/AlertManager.java
	server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
Osamu b339b5f9c0 amended. 2011-09-09 04:38:21 +09:00
Osamu d49d6a529f Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-09-08 23:00:07 +09:00
David Nalley 31c8cc8dc7 bug 11361: removing duplicate entries from message.properties
status 11361: resolved fixed
Most of these were truly duplicates. In the one case that was not a duplicate, I checked the behavior in CloudStack and used the string that it presented.
2011-09-07 20:29:42 -04:00
prachi 84868b7f9c Bug 11200 - maximum number of guests per host
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
kishan 3dce7ebd03 bug 10782: Add SSL properties in db.properties. Modified JDBC URL to use SSL properties when enabled 2011-09-07 19:52:10 +05:30
frank 3b8851ad68 Bug 9479 - provide option for built in https
use our certificate as java trust store
2011-09-02 11:00:04 -07:00
frank c5bbdb12a1 Bug 9479 - provide option for built in https
Listen on 6443 instead of 8443 because tomcat6 will change 8443 to a random one when CATALINA_HOME is not /usr/share/tomcat6
2011-09-01 17:41:52 -07:00
frank c7b3c81485 Bug 9479 - provide option for built in https
small fix on cloud-setup-managment
2011-09-01 17:09:06 -07:00
frank 1ce0ad67c8 Bug 9479 - provide option for built in https
status 9479: resolved fixed
2011-09-01 16:01:28 -07:00
Jessica Wang 55264226b8 cloudStack - add new localization labels. 2011-08-30 15:22:57 -07:00
Murali Reddy 9abb544865 bug 6876: netscaler MPX & VPX support
- adding supprt for Netscaler VPX & MPX load blancers
    - implemented for virtual networking
    - works only with new fetched public IP, inline support is not added yet
2011-08-30 00:14:05 +05:30
Osamu 5225801b22 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-08-29 01:15:38 +09:00
Jessica Wang 2b5e673b0a bug 11261: cloudStack - host page - Edit Host action - (1) make hosttags editable. (2) consolidate update OS category from dialog box to main screen. 2011-08-25 17:28:00 -07:00
Osamu 02127db341 amended 2011-08-26 07:03:05 +09:00
Osamu 95e4f819c0 amended 2011-08-26 07:03:04 +09:00
Jessica Wang 9de41dd600 cloudStack - add new translation labels. 2011-08-24 14:23:10 -07:00
frank b3478c377e Full opensource 2011-08-23 19:52:19 -07:00
alena 8a7feb8ec1 Merge branch '2.2.y'
Conflicts:
	agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
	api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
	api/src/com/cloud/agent/api/to/FirewallRuleTO.java
	api/src/com/cloud/agent/api/to/IpAddressTO.java
	api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/BaseCmd.java
	api/src/com/cloud/api/ResponseGenerator.java
	api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
	api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
	api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
	api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
	api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
	api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
	api/src/com/cloud/api/commands/UpdateNetworkCmd.java
	api/src/com/cloud/api/response/CapabilitiesResponse.java
	api/src/com/cloud/network/Network.java
	api/src/com/cloud/network/NetworkService.java
	api/src/com/cloud/network/firewall/FirewallService.java
	api/src/com/cloud/network/lb/LoadBalancingRule.java
	api/src/com/cloud/network/lb/LoadBalancingRulesService.java
	api/src/com/cloud/network/rules/FirewallRule.java
	api/src/com/cloud/network/rules/RulesService.java
	api/src/com/cloud/offering/NetworkOffering.java
	client/tomcatconf/commands.properties.in
	cloud.spec
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	core/src/com/cloud/storage/template/DownloadManagerImpl.java
	core/src/com/cloud/vm/DomainRouterVO.java
	debian/cloud-deps.install
	patches/systemvm/debian/config/etc/init.d/cloud-early-config
	patches/systemvm/debian/config/root/ipassoc.sh
	patches/systemvm/debian/config/root/loadbalancer.sh
	scripts/vm/hypervisor/kvm/rundomrpre.sh
	scripts/vm/hypervisor/xenserver/vmops
	server/src/com/cloud/agent/manager/AgentAttache.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/agent/manager/AgentMonitor.java
	server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
	server/src/com/cloud/alert/ClusterAlertAdapter.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/cluster/ClusterManagerImpl.java
	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/configuration/ConfigurationManager.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/deploy/FirstFitPlanner.java
	server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
	server/src/com/cloud/host/dao/HostDaoImpl.java
	server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
	server/src/com/cloud/network/LoadBalancerVO.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/dao/FirewallRulesDao.java
	server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
	server/src/com/cloud/network/element/DhcpElement.java
	server/src/com/cloud/network/element/VirtualRouterElement.java
	server/src/com/cloud/network/firewall/FirewallManagerImpl.java
	server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/rules/FirewallManager.java
	server/src/com/cloud/network/rules/FirewallRuleVO.java
	server/src/com/cloud/network/rules/PortForwardingRuleVO.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/network/rules/StaticNatRuleImpl.java
	server/src/com/cloud/network/security/SecurityGroupListener.java
	server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
	server/src/com/cloud/offerings/NetworkOfferingVO.java
	server/src/com/cloud/server/ConfigurationServerImpl.java
	server/src/com/cloud/server/ManagementServerImpl.java
	server/src/com/cloud/storage/StorageManager.java
	server/src/com/cloud/storage/StorageManagerImpl.java
	server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
	server/src/com/cloud/storage/download/DownloadMonitorImpl.java
	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	server/src/com/cloud/upgrade/dao/Upgrade228to229.java
	server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
	server/src/com/cloud/user/AccountManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
	server/src/com/cloud/vm/dao/DomainRouterDao.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
	setup/db/create-index-fk.sql
	setup/db/create-schema.sql
	setup/db/db/schema-222to224.sql
	setup/db/db/schema-227to228.sql
	setup/db/db/schema-228to229.sql
	setup/db/db/schema-229to2210.sql
	tools/testClient/README
	ui/scripts/cloud.core.instance.js
	utils/src/com/cloud/utils/SerialVersionUID.java
	utils/src/com/cloud/utils/db/ConnectionConcierge.java
	utils/src/com/cloud/utils/db/Merovingian2.java
	utils/src/com/cloud/utils/db/Transaction.java
	utils/src/com/cloud/utils/nio/Link.java
	utils/src/com/cloud/utils/nio/NioConnection.java
	utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
Jessica Wang 24edb0071d cloudStack - merge UI change from 2.2.10 branch to master branch. 2011-08-22 14:09:59 -07:00
Jessica Wang 4e0a12f94e cloudStack - add new localization labels. 2011-08-22 13:55:59 -07:00
Naredula Janardhana Reddy 4369b0ba96 bug 1067:
- covered basic impelementation for xen, need to test corner cases.
      - Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
Edison Su df6bee4061 add template for simulator 2011-08-18 11:37:50 -07:00
Edison Su 0be1510496 add template for simulator 2011-08-16 10:30:51 -07:00
frank 6c98aa9173 Fix typo in cloud-management script 2011-08-12 18:16:40 -07:00
frank aa8e073e09 Fix typo in cloud-management script 2011-08-12 18:15:31 -07:00
Jessica Wang b9dcb51cf2 cloudStack - add new localization labels. 2011-08-10 19:23:08 -07:00
alena 6b9603bc4c bug 10561: intermidiate checkin for FirewallRuleFeature
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl

Conflicts:

	api/src/com/cloud/api/BaseCmd.java
	client/tomcatconf/commands.properties.in
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
Chiradeep Vittal 924961d898 merge nectarine 2011-08-08 21:45:37 -07:00
alena 06d007337a bug 10561: intermidiate checkin for FirewallRuleFeature
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Kelven Yang 02e64f90de Add prepareTemplate command(admin only) to allow pre-loading template into primary storage 2011-08-08 18:45:47 -07:00
Kelven Yang 39a3d82f11 Add prepareTemplate command(admin only) to allow pre-loading template into primary storage 2011-08-08 18:37:26 -07:00
Chiradeep Vittal 8277584b8a merge ELB / nectarine branch 2011-08-08 15:20:56 -07:00
Nitin 01582fcd40 bug 10848: Introducing an api - ListCapacityByType. 2011-08-06 20:09:07 +05:30
alena 8d47c53735 Revert "bug 10435: removed vpn feature"
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	scripts/vm/hypervisor/xenserver/vmops
	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
frank eda4a61a96 Add DB integrity checker, it checks:
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade

either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:22:33 -07:00
frank 50b665d713 Add DB integrity checker, it checks:
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade

either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:22:09 -07:00
frank ca78e49cbd Add DB integrity checker, it checks:
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade

either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:21:50 -07:00
Jessica Wang 5e38a47127 cloudStack - Elastic Load Balancer - remove an obsolete localization label. 2011-07-28 16:43:27 -07:00
Jessica Wang 2abb982469 cloudStack - add new localization labels. 2011-07-27 19:41:56 -07:00
frank 37fc68bcd3 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load

status 10860: resolved fixed
2011-07-27 17:47:09 -07:00
frank 262e6784e5 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load

status 10860: resolved fixed
2011-07-27 17:41:38 -07:00
frank 1381c58fa1 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load

status 10860: resolved fixed
2011-07-27 17:32:12 -07:00
Jessica Wang 5a3dd61245 cloudStack - update localization labels. 2011-07-27 14:00:02 -07:00
Jessica Wang 9a5304911b cloudStack - update localization labels. 2011-07-27 12:06:18 -07:00
Chiradeep Vittal cd8e069f80 Acquire an ip and launch an ELB vm 2011-07-27 12:00:07 -07:00
Jessica Wang a27c975fe0 cloudStack - add new localization labels. 2011-07-27 11:53:23 -07:00
Jessica Wang 105edff968 bug 10631: cloudStack - Instance page - Create Template from VM - add Image Directory input field. 2011-07-27 11:31:06 -07:00
Jessica Wang 532e1ca79c bug 10631: cloudStack - add new localization labels. 2011-07-27 10:45:02 -07:00
Jessica Wang 3b1d6475b9 cloudStack - correct localization label. 2011-07-26 10:21:35 -07:00
Jessica Wang d279f566af cloudStack - correct localization label. 2011-07-26 10:17:58 -07:00
Jessica Wang 20958fd613 (1) cloudStack - network page - updateNetwork API has been changed from sync to async. Here is related UI change.
(2) cloudStack - network page - Edit Network action - show spinning wheel in action (Edit Network is async now).
2011-07-22 13:46:23 -07:00
Jessica Wang 75217ec1cc cloudStack - network page - Edit Network action - show spinning wheel in action (Edit Network is async now). 2011-07-22 13:41:19 -07:00
Osamu 52bbc5127a amended slightly 2011-07-22 18:51:25 +09:00
Jessica Wang 7150505290 cloudStack - add new localization labels. 2011-07-20 14:38:17 -07:00
Jessica Wang 2c42c56351 cloudStack - add new localization labels. 2011-07-20 14:37:50 -07:00
Jessica Wang 0ffc59fc62 cloudStack - add new localization labels. 2011-07-20 14:34:12 -07:00
Jessica Wang 0ae56fa0f9 cloudStack - add new localization labels. 2011-07-20 13:45:34 -07:00
Jessica Wang f06ea553c9 cloudStack - add new localization labels. 2011-07-20 11:32:38 -07:00
alena 4d7cc54763 bug 10328: updateAccount is no longer available for domainAdmin
status 10328: resolved fixed
2011-07-15 15:27:23 -07:00
alena 2421236414 bug 10328: updateAccount is no longer available for domainAdmin
status 10328: resolved fixed
2011-07-15 15:26:15 -07:00
Jessica Wang 140d872259 cloudStack - UserVM page - Stop VM action - add option "Force Stop". 2011-07-11 15:50:47 -07:00
frank 5a9233f4ea Bug 10679 - increase file descriptor limit to 4096
Resolved fixed
2011-07-11 15:06:51 -07:00
Alex Huang c537d8a00b more logging for gson 2011-07-11 14:19:35 -07:00
Alex Huang b9d4d65714 more logging to figure out problems with gson 2011-07-11 14:18:12 -07:00
frank 12d6f53898 Bug 10660 - ConfigurationServer loads failed because DB upgrade happens after it
resolved fixed
2011-07-08 15:20:41 -07:00
frank 7b1b56548a Bug 10660 - ConfigurationServer loads failed because DB upgrade happens after it
resolved fixed
2011-07-08 14:49:50 -07:00
will e361a45b4a Capitalized S in source CIDR 2011-07-07 22:52:56 -07:00
alena 17f785f07a Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin 2011-07-01 13:19:12 -07:00
Jessica Wang 549d2e29ed cloudStack - update translation labels. 2011-06-28 18:36:12 -07:00
Jessica Wang 42c01aad2c cloudStack - update translation labels. 2011-06-28 18:30:51 -07:00
Jessica Wang 657a9799e7 cloudStack - localize new labels. 2011-06-28 18:21:03 -07:00
Jessica Wang d7665756ff cloudStack - localize new labels. 2011-06-28 18:08:48 -07:00
alena 74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
Sheng Yang 0d750dacc2 bug 10311: Update create network_offering API 2011-06-22 15:30:39 -07:00
Jessica Wang 3967ec3c0f cloudStack - localize new labels. 2011-06-21 16:15:36 -07:00
Jessica Wang 250bd2162f cloudStack UI - localize new translation labels. 2011-06-21 15:34:11 -07:00
Jessica Wang 4919f741ac cloudStack - localize new translation labels. 2011-06-21 15:13:34 -07:00
Jessica Wang 93c63bd2f9 cloudStack UI - localize new translation labels. 2011-06-21 14:49:53 -07:00
Alex Huang 22d5eac400 new log4j 2011-06-21 10:15:21 -07:00
Alex Huang 5771b35a7a new log4j jar files and now the ability to get rid of the stupid cglib stack traces in our logs 2011-06-21 01:12:06 -07:00
Jessica Wang 968f5990be bug 10340: CloudStack UI - IP Address page - Port Forwarding tab - localize new labels. 2011-06-20 11:57:05 -07:00
Jessica Wang 430338682e bug 10340: CloudStack UI - IP Address page - Port Forwarding tab - localize new labels. 2011-06-20 11:34:06 -07:00
Jessica Wang e6be7d5688 bug 9419: CloudStack UI - localize new translation labels. 2011-06-17 10:57:54 -07:00
Jessica Wang d7be360fe9 bug 9419: CloudStack UI - localize new translation labels. 2011-06-17 10:33:49 -07:00
Jessica Wang 8106126278 bug 9579: cloudStack UI - Network page - localize new labels. 2011-06-17 09:32:49 -07:00
Jessica Wang ab99abb45a bug 9579: cloudStack UI - Network page - localize new labels. 2011-06-16 18:10:15 -07:00
Jessica Wang ae6907dd01 bug 9126: cloudStack UI - Add Disk Offering Dialog, Add Service Offering Dialog - rename "tags" to "storage tags". 2011-06-16 11:39:11 -07:00
Murali Reddy aa4f654929 bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
Jessica Wang 1ce37a4712 CloudStack UI - router page - add "redundant router" field (yes/no) which is editable. 2011-06-15 16:17:16 -07:00
Jessica Wang d98f7ebfbd CloudStack UI - router page - add Redundant grid row that indicates whether this router is redundant or not. And if it's, redundant state will be shown on UI. 2011-06-15 15:54:08 -07:00
Jessica Wang f6bc60d0c3 cloudStack UI - Domain page - Delete Domain dialog - localize warning message of Force Delete. 2011-06-15 10:35:26 -07:00
Jessica Wang 1ac1f8a20f cloudStack UI - Domain page - Delete Domain dialog - localize warning message of Force Delete. 2011-06-15 11:12:21 -07:00
Jessica Wang ec81e1ac7b cloudStack UI - Domain page - Delete Domain dialog - add a checkbox "Force Delete" and if it's checked, UI calls "deleteDomain&cleanup=true" that will delete all child domains and all accounts under this domain. 2011-06-15 11:12:20 -07:00
kishan 22577363ca bug 8373: Added new API listEventTypes 2011-06-15 12:40:23 +05:30
Jessica Wang 770c5cd377 cloudStack UI - Domain page - Delete Domain dialog - add a checkbox "Force Delete" and if it's checked, UI calls "deleteDomain&cleanup=true" that will delete all child domains and all accounts under this domain. 2011-06-14 18:30:04 -07:00
Jessica Wang b91a319777 bug 9549: CloudStack UI - deleteHost API now takes in new parameter "forced". Here is related UI change: a checkbox "Force Remove" has been added to Remove Host Confirmation Dialog. 2011-06-14 17:52:57 -07:00
Jessica Wang b4f7080531 cloudStack UI - localize new translation labels. 2011-06-13 17:28:30 -07:00
Jessica Wang f8a54b96e6 cloudStack UI - Stop Instance action - change warning text. 2011-06-13 17:18:33 -07:00
Jessica Wang 0611c92cad cloudStack UI - Instance page - Stop Instance - show "Force Stop Instance" option for root-admin. 2011-06-13 16:54:54 -07:00
kishan 5a6664ab12 bug 8373: Added new API listEventTypes 2011-06-13 19:11:12 +05:30
Murali Reddy 6310991bdc bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
Osamu 2c0007aebd amended some Japanese messages. 2011-06-10 20:02:11 +09:00
Osamu 63110b5ad3 amend some messages 2011-06-10 15:44:55 +09:00
Abhinandan Prateek 8e4ec4ce09 bug 8962: moving vm from one account to other 2011-06-09 15:02:47 +05:30
alena 635a1075de bug 9127: intermediate checkin for agent load balancer 2011-06-02 21:47:54 -07:00
Jessica Wang 5abe9a3e79 bug 7553: cloudStack - Router page - add new action "change service". 2011-05-31 16:40:22 -07:00
Jessica Wang 997ef3768f bug 7553: cloudStack - System Service Offering - implement Add System Service Offering action. 2011-05-31 15:59:17 -07:00
Jessica Wang 69cab811aa bug 7553: cloudStack - add files for new page "System Service Offering". 2011-05-31 13:23:18 -07:00
alena 55692fd7cf bug 9127: intermediate checkin for agent load balancer 2011-05-24 18:45:00 -07:00
anthony 99be3718cf bug 3224:
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
Jessica Wang cf9ebb76e7 bug 9604: Network page - implement action "Edit Network" for newly added API "updateNetwork". 2011-05-11 14:51:41 -07:00
Edison Su 0b6fe0523d fix setup-managment script 2011-05-09 13:21:34 -04:00
Edison Su 736ed1ba69 rename cloud to cloudutils 2011-05-09 10:09:09 -04:00
Edison Su cbf2b03e31 refactore cloud related tools 2011-05-06 19:54:52 -04:00
Jessica Wang 74556f4043 translate newly added localization labels. 2011-05-06 10:10:33 -07:00
Jessica Wang 4c6833b8f2 bug 9687: CloudStack UI - Instance page - Security Group tab - add ingress rules under each security group. 2011-05-05 15:49:45 -07:00
Jessica Wang 4ac4a5a709 bug 9687: CloudStack UI - VM Wizard - correct error message. 2011-05-05 15:48:48 -07:00
Jessica Wang f0b8540d98 bug 6873: CloudStack UI - Pod page - implement Enable/Disable Pod action. 2011-05-04 17:09:12 -07:00
Jessica Wang 36d0132950 bug 6873: CloudStack UI - Cluster page - implement Enable/Disable Cluster action. 2011-05-04 16:18:49 -07:00
Jessica Wang 2b4a463faf bug 9534: CloudStack UI - Add Service Offering Dialog - add "CPU cap: (yes/no)" 2011-05-04 14:57:01 -07:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
Jessica Wang 6fe9025c89 cloudStack - network device UI - chagne TFT Directory to TFTP Directory. 2011-05-02 15:30:34 -07:00
will 4b803d1676 Added default endpointe URL and renamed cloudkit to mycloud in the complete registration servlet. 2011-04-28 16:05:38 -07:00
will 633d024b7c - Merge all CloudZones Registration feature into master 2011-04-28 16:05:36 -07:00
Jessica Wang e815ed6df7 cloudStack - Pod page - new button "Add Network Device" - implement type PxeServer. 2011-04-28 14:44:31 -07:00
Jessica Wang 9552de426f cloudStack - Pod page - new button "Add Network Device" - implement type ExternalDHCP. 2011-04-28 13:46:35 -07:00
Frank 937989ee37 Bug 9635 - set java heap size to 1 GB by defaul
Resolved: Fixed
2011-04-28 13:31:59 -07:00
prachi c2824edc03 Bug 9446: Investigator reports that a system vm is down even if it isn't....
Changes:
- Added new Investigator 'ManagementIPSystemVMInvestigator' that checks if Vm is alive only for System VM's that have a management IP address.
- If no management IP is found, ping test cannot be done, so this investigator would return null in that case.
- Current implementation InvestigatorImpl is renamed as 'UserVmDomRInvestigator' and does the ping test for user VMs only.
- Corrected the ping test code that was checking a hard-coded string. Now if the ping answer is negative, we just return null
- Added the new investigator to components.xml
2011-04-28 12:28:51 -07:00
prachi 9dfb6dd61f Bug 9586 - NPE during host allocation
- This NPE happened when starting the DomR and its Volume's podId was null.
- This case should never happen that podId of a Volume is null.
- It looks like this is a side-effect of some other bug- most likely another DomR and basic networking issue (9578)

- While reviewing this bug, found out that we need not use the RecreateHostAllocator anymore. Using it actually is not good, since this allocator ignores what is passed to it in the plan by the DeploymentPlanner and lists pods once again.
- Changed components.xml to use FirstFitRoutingAllocator instead.
2011-04-27 11:36:49 -07:00
Abhinandan Prateek 0fc005f20a bug 6451: XenServer username/password should be changable through API 2011-04-27 12:08:02 +05:30
Kelven Yang e6194b6e09 localization and migration for custom certification support 2011-04-22 17:22:01 -07:00
Frank eaf6468144 Bug 9542 - install on CentOS 5.6 does not work
get rid of augtool from setup script
nstall on CentOS 5.6 does not work#	.wscript_build.swp
2011-04-22 14:44:44 -07:00
Kelven Yang 160b2e1114 Finalize custom certficate support. hook with UI 2011-04-22 13:45:09 -07:00
Edison Su d8ee7d9fc3 if storage network disconnected, reboot the host 2011-04-14 17:46:54 -04:00
Edison Su 72bf54469c move kvm/xenserver fence builder into oss 2011-04-12 18:03:02 -04:00
David Nalley 2a00f8f950 adding paths to a few commands for bug 9319 2011-04-07 16:50:39 -04:00
Frank cfa40b6d73 Bug 9218 - service cloud-management restart OR stop FAILED (edit)
Resloved Fixed
2011-04-05 20:42:17 -07:00
will d4bc7c8d2e bug 8898: Change Service and Reset Password will now be always visible when VM is running. However, we will now prompt a dialog that explains that the VM must first be stopped before allowing this. 2011-04-04 10:40:17 -07:00
will 09fe485f8f bug 8816: Added link local IP to the system VM UI 2011-04-04 10:01:33 -07:00
will eb0dec5072 bug 9118: Updated snapshot UI to support multiple recurring snapshot policy
Merge from 2.2.4
2011-03-31 16:29:36 -07:00
Frank da6285bf11 Bug 9218 - service cloud-management restart OR stop FAILED
Resolved: Fixed
2011-03-31 09:48:55 -07:00
will e32aa32bfc bug 9021: Fixed network rate display issue in network offering. 2011-03-29 18:50:58 -07:00
nit ded1184548 bug 8710: Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN. The role would have all the domain_admin rights and the rights to list zone,pods,clusters and so on. More info in the bug 2011-03-25 18:04:09 -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
alena 718386a2b6 bug 8862: added updateNetwork api command. Can update name/displayText only 2011-03-22 11:26:56 -07:00
Kelven Yang b264866d2e Perform and alert management.network.cidr configuration on management server startup 2011-03-21 16:46:43 -07:00
Frank 570c7c532e Add database migration script directory to classpath 2011-03-16 16:53:57 -07:00
prachi ed9a11c6b6 API changes for Bug 3316 - Manual live migration of Virtual Machines
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer  will expose new API:
   Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService  will expose a new API:  UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)

------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
will 0ed91473ba bug 3316: Added a processing message while migrating an instance.
- Changed the call of migrate vm from sync to async
- Defaulted to an empty select box if attempting to migrate a vm with local storage
2011-03-11 17:18:35 -08:00
will f8fee85a93 bug 3316: Updated translations 2011-03-11 16:40:21 -08:00
will 85e892bded bug 3316: Added initial UI support to live migrate VMs. 2011-03-11 16:33:18 -08:00
Kelven Yang 8cab7c3188 Enable JMX on tomcat config 2011-03-09 14:25:47 -08:00