Commit Graph

972 Commits

Author SHA1 Message Date
Abhinandan Prateek d006fd141c bug 9909: upload manager support multiple secondary storage 2011-05-30 12:39:15 +05:30
anthony e40a7945db remove Shutdowned status 2011-05-27 17:13:47 -07:00
anthony 7a266b9321 bug 10046: size in diskofferingVO is in type now
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
anthony 37e6ded80c bug 10023: only set ip route for internal DNS
status 10023: resolved fixed
2011-05-25 17:39:20 -07:00
Edison Su 29db060aee bug 8115: add source ip filter for kvm
status 8115: resolved fixed
2011-05-25 10:39:57 -04:00
anthony 08ea2498d3 bug 10005: create directory before copying volume
status 10005: resolved fixed
2011-05-24 14:17:57 -07:00
Edison Su cb9de5a028 add check in haproxy 2011-05-24 10:53:05 -04:00
Alex Huang 0dfc44582b bug 9651: Adding network tags
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Edison Su a13be45f7b bug 8350:
haproxy tunning:
0. Test case:
   httpd running in 5 user VMs, all of them created on a xenserver host(16 core, 42G memroy, 10G network)
   domR running on an anther host with same hardware configuration.
   test application, ab, running on anther host behind an anther seperate switch
1.haproxy is not a memory intensive app. I can get 4625.96 connection/s with 1G memory. While it's really a CPU intensive app, domR always uses around 100% CPU on the host.
2.By default, you can't get better connection/s rate, because ip_conntrack_max and tw_bucket are too small, you will see the error in domR like:
   "TCP: time wait bucket table overflow" or "nf_conntrack: table full, dropping packet".
  So I increase these numbers to 1000000 from 65536, then I can steadly get around 4600 connection/s when memory is >= 1G.

  Here is the connection per second, tested by "ab -n 1000000 -c 100 http://192.168.170.152:880/test.html"
  domR memory   conn/s
  128M:         3545.55
  256M:         4081.38
  512M:         4318.18
  1G:           4625.96
  7G:           4745.53

3. If I enable notrack for both connections between domr/user vm, and public network, that tell iptable in domR don't track the connection during my test, then I can get better number, around
5800 connections/s. But we can't enable notrack, as iptables is used to track throughput in domR.

4. In a word, with this commit, the connection rate of haproxy can be increased from 1000-2000/s to 4700/s when domR's memory is larger than 1G.

5. How many CPU need to assign to domR to get this number?  Haven't finished yet, as CPU is shared by all the VMs on the host, if other VMs are busy, it will impact the performance of haproxy.
2011-05-21 21:05:28 -04:00
Alex Huang 838a24f202 removed to toString() method in requests 2011-05-21 13:28:46 -07:00
Edison Su 2f8235dbd2 fix local seconeary storage related issues(sync/download templates, etc) for mycloud 2011-05-21 12:05:02 -04:00
Abhinandan Prateek 5ad41e09ae bug 7553: Virtual Router service offering 2011-05-21 22:21:12 +05:30
anthony 99be3718cf bug 3224:
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
Alex Huang 567d946ab0 template listing fix 2011-05-19 15:26:24 -07:00
Alex Huang 2b650acc17 more gson crap 2011-05-18 11:01:46 -07:00
kishan f8b859230b removed txn close 2011-05-18 18:09:21 +05:30
Alex Huang 9c69a983ba session info within sequence numbers 2011-05-17 18:01:11 -07:00
Alex Huang 0ba6091ca7 better way to log the agent request and response. Introduced the idea of via agents in the request header 2011-05-17 16:02:44 -07:00
anthony ef42b21c1d fixed template download 2011-05-17 15:00:10 -07:00
anthony 384f30101e fixed template download 2011-05-17 14:01:12 -07:00
Murali Reddy d79c6225df Bug 8115: - Source IP filtering in Virtual Router
correcting typo
2011-05-17 19:46:16 +05:30
anthony 9c4964bc1b fixed merge 2011-05-16 16:54:00 -07:00
anthony a0357a6af0 multiple secondary storage
local secondary storage should work, didn't test yet
2011-05-16 16:37:15 -07:00
anthony d835067f40 multiple secondary storage support
template download works
creating snapshot works
creating volume/template from snapshot works
2011-05-16 16:37:15 -07:00
anthony ba6b2ca670 initial checkin for multiple secondary storage 2011-05-16 16:37:15 -07:00
Alex Huang ab49c70add Added some annotations for logging commands 2011-05-16 10:55:18 -07:00
Murali Reddy 5d3fae2fe4 bug 9250:Need a new Guest OS type for XenServer: "Other PV"
adding new guest OS type "Other PV"
2011-05-16 19:53:12 +05:30
kishan b738408f7d bug 8866,4942: Added support for Direct Network Usage collection
status 8866,4942: resolved fixed
2011-05-16 18:31:41 +05:30
Abhinandan Prateek d161337710 bug 6451: host username/password should be changable through API
Password is queued, on error next password is used.
2011-05-16 12:08:05 +05:30
Abhinandan Prateek f73ed92090 bug 8115: Source IP filtering in Virtual Router
We don't want to send an empty cidr param
2011-05-13 15:41:02 +05:30
kishan d456f89095 bug 8866: Direct Network Usage, TrafficSentinel support added, work in progress 2011-05-12 19:43:47 +05:30
Abhinandan Prateek d752a94838 bug 8115: Source IP filtering in Virtual Router
Passing the additional source cidrs paramter to the xapi.
2011-05-12 13:37:43 +05:30
kishan 1929c6bb2b bug 9838: list all accounts IP usage when system account is used
status 9838: resolved fixed
2011-05-12 13:06:01 +05:30
Alex Huang efedf018c8 propagate b3aea1878395af343e18382b7f1c376b5be04567 2011-05-10 05:48:29 -07:00
nit d91999533b bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific). 2011-05-10 12:26:00 +05:30
Frank cbe368ef69 Fix a stupid string comparsion in OVS 2011-05-06 10:15:12 -07:00
Alex Huang 0ee7e7678a Propagate fixes from 2.2.4 2011-05-05 16:13:46 -07:00
anthony 2d52813ff2 fixed build /start management server 2011-05-05 16:12:19 -07:00
anthony 10c4c14ad5 swift integration checkin 2011-05-05 13:55:29 -07:00
Chiradeep Vittal b42ebf4872 Build fixes after first pass at merge 2011-05-03 10:41:31 -07:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
Alex Huang 8c8354a00e bug 8745: we decided on not implementing revert on the agent because it really requires business logic above. Stop if the checkSsh doesn't work 2011-05-02 14:47:49 -07:00
Murali Reddy 4fbcb02573 Bug 9534 : implement CPU cap
Changes specific for Xen hypervisor, and DB upgrade. Changes for vmware chcked-in already in commit 1c310a0d2ae81108386f0dd5c2e899ff00fee9e9, e71112e2f587f5d6c9c6d5337cfeb1f239f29633. KVM will not support this feature.
2011-05-02 13:06:02 +05:30
Murali Reddy aae67e5d8d bug 9322: snapshot count has exceeded the keep limit set
fix to change hourly snapshots to be treated as recurring snapshot
2011-05-02 12:55:40 +05:30
prachi b2b01bfcd2 Bug 8830 - Return parent template ID from templates created off of a snapshot
Changes:
- Added a new column `source_template_id` to vm_template table to carry the parent/source template ID from which the tempalte was created
- Added the column in db upgrade 224 to 225
- Changed code to save the source_template_id if there is one associated to the volume/ volume from which the snapshot was taken
- API response returns the sourcetemplateid field, if set, in all template usecases.
2011-04-29 15:40:59 -07:00
anthony bbc470ed4f bug 9619: handle two types of domr name
status 9619: resolved fixed
2011-04-29 14:13:25 -07:00
alena 671ec62358 bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
status 9623: resolved fixed

Also set ram_size to 1024 for console proxy offering during the upgrade

Conflicts:

	core/src/com/cloud/vm/SecondaryStorageVmVO.java
	server/src/com/cloud/agent/manager/allocator/impl/UserConcentratedAllocator.java
	server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
	server/src/com/cloud/storage/allocator/LocalStoragePoolAllocator.java
	server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2011-04-29 11:53:07 -07:00
Alex Huang 99bc15f64a changed getName to getHostname 2011-04-29 08:34:10 -07:00
will 633d024b7c - Merge all CloudZones Registration feature into master 2011-04-28 16:05:36 -07:00
Murali Reddy c12ccbd06f Bug 9534 : implement CPU cap
Introducing new boolean flag in service offering to restrict the user VM's CPU utilization to what service offering it is entitled for.
2011-04-27 13:54:45 +05:30
prachi 18b773650f Bug 9447 - ModifySshKeyCommand contents are logged...
- Local fix to not log the content for ModifySshKeyCommand.
- For commands that do not want to log the parameters, added the facility to indicate this.
- For such commands, we remove the parameters from the log.
2011-04-25 14:22:50 -07:00
alena 41e5e38fef bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
status 9336: resolved fixed

Following changes were made:

* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
prachi 09b4b06b63 Bug 9447 - ModifySshKeyCommand contents are logged...
Since private and public keys are logged, this is a Security concern

Changes: Added capability to 'Command' instances to support excluding certain fields from getting logged using GSON @Expose annotation.
2011-04-22 10:43:26 -07:00
Abhinandan Prateek ea14ff5f6c bug 9470: line breaks not escaped for events
status: resolved fixed
2011-04-21 12:20:50 +05:30
abhishek 7adb5c71e5 bug 9175: fixing the cpu util being over 100% on the dashboard
status 9175: resolved fixed
2011-04-15 14:54:21 -07:00
Abhinandan Prateek efa0417881 bug 5242: adding a host does not return useful error
status 5242: closed fixed
2011-04-15 17:28:46 +05:30
anthony 2a68def576 on reconnect, heartbeatfile is cleared , MS needs to fill heartbeatfile in ModifyStoragePoolCommand 2011-04-14 20:40:12 -07:00
anthony af68342982 don't need to remove heartbeat tag when reconnect, it breaks HA , because when host reconnects, it tries to create heartbeat, but at this time, master may be able to access storage pool 2011-04-14 20:40:02 -07:00
Edison Su d6b5acb852 bug 8532,8755: don't create multiple HA work if there already has one of HAwork of this VM is created, but not finished
status 8532: resolved fixed
status 8755: resolved fixed
2011-04-14 17:46:54 -04:00
anthony 86f32e4735 bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
status 9455: resolved fixed
2011-04-14 14:31:16 -07:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
anthony 60768d0014 bug 9411:
1. adding storage pool fails, remove the entry in DB
2. in introduce SR, create pbd for master host

status 9411: resolved fixed
2011-04-14 11:17:24 -07:00
prachi 80fe0b584d More changes for Bug 9387:
- Update system vm_instance's template_id if it does not match the system vm template.
- Use _templateDao.findSystemVMTemplate to find the latest system vm template.
2011-04-12 18:20:01 -07:00
alena 4d8df029d3 bug 8245: mark storage pool status as Removed before performing actual cleanup
status 8245: resolved fixed
2011-04-12 14:44:55 -07:00
alena 1966b4f449 SecurityGroupDao: do join with "nics" table instead of "user_vm" as we keep ip address information in nics. 2011-04-12 11:18:50 -07:00
alena 52bf157387 bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
status 9398: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -07:00
anthony 288a36d09f Merge branch '2.2.4'
Conflicts:
	api/src/com/cloud/configuration/ConfigurationService.java
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-21to22.sql
	setup/db/db/schema-222to224.sql
	utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
anthony 545aa50388 bug 9282: set cluster guid if it is null
status 9282: resolved fixed
2011-04-04 14:33:18 -07:00
Edison Su ab862026d6 fix link local setup; 2011-04-01 17:15:05 -04:00
Edison Su c42b928b7d bug 8459: add nic hotplug support 2011-03-31 19:11:02 -04:00
Kelven Yang ea95ac1808 bug 8713 : finalize the implementation of supporting system vm pooling 2011-03-31 17:14:09 -07:00
Edison Su 344d1924a6 bug 8459: add nic hotplug support 2011-03-30 19:09:53 -04:00
Alex Huang bf13d2cbec added missing changes from schema changes previously 2011-03-30 13:23:56 -07:00
Alex Huang 971915a26a added missing changes from schema changes previously 2011-03-30 12:17:20 -07:00
anthony 4992ee756f kbps means kilotype per secondary, 2011-03-29 19:42:23 -07:00
alena efd4cfa297 bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
status 9201: resolved fixed
2011-03-29 19:26:20 -07:00
alena aab78874c7 bug 9201: listNetworkOfferings - return -1 when network_rate is Unlimited; if value is NULL - return global configuration value
status 9201: resolved fixed
2011-03-29 19:21:25 -07:00
anthony 2a4d0cf4c5 kbps means kilotype per secondary, 2011-03-29 18:42:19 -07:00
Frank b0edad07c5 Fix the incorrect "," in CitrixResourceBase.java 2011-03-29 15:16:36 -07:00
Frank 0a66b176aa Fix the incorrect "," in CitrixResourceBase.java 2011-03-29 15:15:49 -07:00
Alex Huang 6bd978abfe bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:59 -07:00
Alex Huang f2e692099e bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:23 -07:00
anthony 436dccb6d7 bug 9189: fixed it in master, modifystoragepool doesn't try to create/import any more, will port it to 2.1.x 2011-03-28 19:11:20 -07:00
alena fdf0f589af bug 8902: added Removed field to "cluster" table
status 8902: resolved fixed
2011-03-28 10:50:09 -07:00
Alex Huang 9d158dc060 Removed the async create status for volume now that our customers don't use it 2011-03-24 20:04:23 -07:00
anthony 5d856da392 bug 9157: check if the uuid changes when reconnect
status 9157: resolved fixed
2011-03-24 17:30:04 -07:00
prachi 514321cadf Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
Fixed problems in setting default 'allocation_state'. It is now set to 'Enabled' by default if not provided in the API command.
2011-03-24 12:54:51 -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
anthony d2dc0a504b put host into maintenance, if the VM can not migrate, just stop it 2011-03-23 16:50:59 -07:00
alena 5a44e03764 bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings)
status 8844: resolved fixed
2011-03-10 12:10:55 -08:00
anthony bdcffa2b0d bug 8061: add forcely shutdown 2011-03-09 16:30:11 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
anthony 0c2a639a2d bug 6772: use vhd-util to coalesce snapshots into primary storage
status 6772: resolved fixed
2011-03-07 19:47:29 -08:00
anthony b8e03aca4c script fix 2011-03-07 19:47:29 -08:00
Alex Huang 263244c938 more logging 2011-03-04 11:37:35 -08:00
anthony 16debbcfff merge CopyVolumeCommand 2011-03-02 20:01:46 -08:00
Kelven Yang 27c998f706 Open firewall for volume/snapshot operation in premium SSVM 2011-03-02 14:47:32 -08:00
Edison Su 255e9c175b checksshcommand waits for 6 minutes 2011-03-01 16:38:28 -05:00
Chiradeep Vittal 68666f10ae accidental commit 2011-03-01 14:10:30 -08:00
Chiradeep Vittal 431c256e56 bug 8380: use instance name 2011-03-01 14:07:30 -08:00
Chiradeep Vittal 3ed9f2892a bug 8380: use instance name 2011-03-01 14:07:30 -08:00
Chiradeep Vittal 697b4f60db bug 8380: use instance name status 8380: resolved fixed 2011-03-01 14:07:30 -08:00
anthony cd27202a26 bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
status 8216: resolved fixed
2011-02-28 16:28:41 -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
anthony d6758268f4 bug 8754,8738: don't throw Exception for getCurrentStatus
status 8754,8738: resolved fixed
2011-02-28 12:16:24 -08:00
anthony 1970161844 bug 8714: support paraleel recursive snapshot
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume

status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
kishan 8eb665246e bug 7935: Included hypervisor type to vm usage records
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
kishan f138552f36 bug 8603: Included netwrok_id in network usage records
status 8603: resolved fixed
2011-02-24 15:31:59 +05:30
Alex Huang c22b37e402 latest work on db migration 2011-02-22 18:23:05 -08:00
anthony b86837c632 bug 8647: check vm state before execute hardShutdown
status 8647: resolved fixed
2011-02-22 17:14:12 -08:00
anthony 6ecffafb4b bug 8287: create pbd for iso sr before migration
status 8287: resolved fixed
2011-02-17 18:05:49 -08:00
anthony d66eebd636 bug 8640: need to handle another two masters case
status 8640: resolved fixed
2011-02-17 11:20:24 -08:00
anthony b85ecec646 call setIptable before launch heartbeat 2011-02-16 17:17:07 -08:00
anthony a89fffee9d correct log 2011-02-16 16:36:44 -08:00
anthony 6f7b9eafa1 this is to reset master for the secondary master in the same cluster. It may happend when you reboot the master of a cluster, there might be 2 master after the old master comes back 2011-02-16 14:39:00 -08:00
Kelven Yang d9d128ee9d Incremental refactoring - retire host_master table 2011-02-15 10:56:04 -08:00
alena d80caf24fd bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
anthony 242d5f369f add datacenterid in StartupStorageCommand for xenserver 2011-02-14 11:32:18 -08:00
Alex Huang 7dd54f079b started vms with these latest 2011-02-11 17:03:04 -08:00
anthony f32668b550 bug 8524: seems there is vm with same name existing, in Startcommand, we will check this, it VM is in halted status, just destroy it, otherwise startcommand fails
status 8524: resolved fixed
2011-02-10 19:54:35 -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
kishan 77719be46a bug 8465: track network usage per router in user_statistics table
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
anthony 17eac0c17c return null instead of empty newState when can not get VM status,
fixed unexpected stopping vm
2011-02-08 23:07:30 -08:00
anthony ebf196240a use locallogin to check xensever host 2011-02-08 22:23:22 -08:00
anthony 16366fb4e0 bug 8481: root cause is the old way to get vdi parent sometime doesn't work
status 8481: resolved fixed
2011-02-08 21:10:52 -08:00
Edison Su 736603be86 fix loadbalancer 2011-02-08 15:36:22 -05:00
Edison Su 99c6d823b0 fix setting port forword rules 2011-02-08 14:50:58 -05:00
Edison Su 0bd6950bb8 fix wrong configuration for oss 2011-02-08 13:22:27 -05:00
Chiradeep Vittal 2b46ea5c0a bug 8209,8370,8459: fix libvirt ipassoc and firewalling 2011-02-08 12:10:07 -08:00
Chiradeep Vittal 711c4eeaae bug 8209,8370,8459: cleanup scripting 2011-02-08 12:10:07 -08:00
anthony b9a5183b34 add lvmohba support 2011-02-07 15:21:04 -08:00
Alex Huang c6fe6f2f45 Removed all the stats command/answer from debug logging 2011-02-07 12:50:22 -08:00
anthony aa65530960 cleanup halted VMs in readyCommand 2011-02-04 20:00:27 -08:00
anthony ca60419bd6 refactor some code 2011-02-04 19:34:52 -08:00
anthony e14b8311cc bug 7563: create snapshot in async create method
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
Frank 95a6a09ca7 Ovs -- clean up temp dom0 vif after network created 2011-02-04 13:00:54 -08:00
Alex Huang c162c617c2 Lost the in sequence flag 2011-02-04 11:56:21 -08:00
Alex Huang 86e51eb536 Made changes to the exceptions thrown by NetworkManagerImpl 2011-02-04 11:56:20 -08:00
Alex Huang 0105c03a27 initial HA work 2011-02-04 11:51:14 -08:00
alena 6f55c4dd7e bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer
status 8270: resolved fixed
2011-02-03 18:45:49 -08:00
Frank 54450460d2 implement network element for ovs stuff, so we don't make other code dirty 2011-02-03 17:39:03 -08:00
anthony c26833fb8a remove systemvm-premium.iso 2011-02-03 15:33:19 -08:00
anthony b226861783 bug 8194: add new storage pool type PreSetup,
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
   server: "ip of storage "
   path:"name of the SR"
2011-02-02 19:33:08 -08:00
anthony b9e32cceb9 script may return stdout from command, need to add another # to seperate it 2011-02-02 16:29:11 -08:00
Edison Su a46155e895 bug 8094: send networkrulesforssvm command to agent, no matter security group is enabled or not
status 8094: resolved fixed
2011-02-02 16:26:54 -05:00
Chiradeep Vittal 8bcf07e6f0 bug 6844: don't chmod, respect permissions set by NFS server admin 2011-02-02 12:56:46 -08:00
Edison Su cfd8cdbf20 bug 8195: add on-demand download for buildin templates, only download these buildin centos template after when you adding a host for the hypervisor
status 8195: resolved fixed
2011-02-02 12:03:40 -05:00
kishan a4d306259e added id to ip address usage 2011-02-02 18:20:14 +05:30
Kelven Yang a8fb44a148 Use exports for jar dependecy 2011-02-01 11:10:37 -08:00
will 49858cf189 - Exported all thirdpart jars in the deps project to make it available to other projects. 2011-02-01 10:59:11 -08:00
anthony f5efc50191 do not use systemvm-premium iso 2011-01-31 18:46:10 -08:00
Alex Huang c38238c614 some improvements in checkSR 2011-01-31 17:48:24 -08:00
Alex Huang 9b8d251afd fixed problem with halted local storage vms 2011-01-31 17:48:24 -08:00
Alex Huang b98961bcb1 fixed all the broken thirdparty stuff 2011-01-31 10:51:01 -08:00
Kelven Yang 5cb25036a3 Fix addHost for Xen after FOSS/premium merge 2011-01-31 10:13:01 -08:00
kishan 92bf106ab9 including host type in network stats 2011-01-31 19:36:32 +05:30
anthony 9e63416da3 merge setupxenserver 2011-01-28 18:58:50 -08:00
anthony 76ad02d2fa cleanup XenServer code 2011-01-28 18:47:37 -08:00
anthony 079faacd09 bug 8032: XenServer doesn't have Ubuntu 10.04 template, it will consider it as other media, it is HVM VM after installing from CD, user needs to change the OS type to CentOS 5.3 (32 bit)/CentOS 5.3 (64 bit) if user want to run it as PV kernel
status 8032: resolved fixed
2011-01-28 16:56:07 -08:00
Frank e9652e67ad migrate premium to oss 2011-01-28 16:07:46 -08:00
Alex Huang f9a9698d96 more unused fields removed 2011-01-28 15:37:00 -08:00
Alex Huang 4dd2e6df72 remove some methods from volume 2011-01-28 15:37:00 -08:00
abhishek 5d18c4c527 bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony b9b48d8fce change async poll interval to 1 second 2011-01-28 12:42:29 -08:00
anthony 96d9776c20 remove preallocatedLun 2011-01-28 12:36:31 -08:00
alena 52dd679d95 bug 8185: fixed java part of password reset feature. There are still changes needed in backend scripts (bugs 8253 and 8254 are filed separately)
status 8185: resolved fixed
2011-01-27 17:24:09 -08:00
Edison Su fc97034000 refactor vmstatelistener 2011-01-26 11:01:43 -05:00
alena a96f8f9575 Refactored 1-1 NAT feature:
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
Alex Huang 9d3eedaf01 removed gateway and guestzonemacaddress from domr 2011-01-24 17:50:32 -08:00
Alex Huang 463835e7d7 removed unused domain in system vms 2011-01-24 17:50:32 -08:00
Alex Huang 3dd7301fb2 removed unused gateway 2011-01-24 17:50:32 -08:00
Alex Huang 68464d6f66 removed unused dns 2011-01-24 17:50:32 -08:00
Alex Huang c59e576a51 removed unused dns 2011-01-24 17:50:32 -08:00
Alex Huang 65034995a3 removed unused guest ip fields from system vm 2011-01-24 17:50:32 -08:00
Alex Huang 1a7617bb95 removed unused vlan fields from system vm 2011-01-24 17:50:32 -08:00
Alex Huang 4589446930 removed unused domain_router_id from uservm 2011-01-24 16:56:00 -08:00
Alex Huang 20891ae6f9 removed unused guest ip fields from uservm 2011-01-24 16:55:59 -08:00
Alex Huang 580f42b50d removed unused external ip and mac address field 2011-01-24 16:55:59 -08:00
Alex Huang a55d395b86 removed unused vnet field 2011-01-24 16:55:59 -08:00
Alex Huang fc33ef2be2 Removed several unused fields after the refactoring 2011-01-24 16:18:40 -08:00
Frank 1e985147ec Ovs tunnel manager -- unplug dom0 vif after network created 2011-01-24 15:10:38 -08:00
Frank 48ae2e5295 fix wrong set of classpath to xenserver source 2011-01-24 14:06:56 -08:00
Frank 38ab26bcb0 ovs tunnel network -- add lock entry in ovs_tunnel_account 2011-01-24 13:47:34 -08:00
kishan 956b678ed4 bug 7857: Added netwrork usage create command to router start command
status 7857: resolved fixed
2011-01-24 12:20:38 +05:30
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
abhishek 0dc959c23f removing guest ip address during ip assoc from java layer 2011-01-21 17:27:13 -08:00
anthony d80a02c918 use async for start/stop/reboot 2011-01-21 12:12:15 -08:00
anthony dce0ab6190 fixed ConcurrentModificationException 2011-01-21 11:24:39 -08:00
Edison Su 314a491b9c bug 8094: forword port NetworkRulesSystemVmComman from 2.1.x to 2.2, to fix security group is lost after migration
status 8094: resovled fixed

Conflicts:

	agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
2011-01-22 04:04:52 -05:00
anthony cd0f5e7c20 bug 7976: if the snapshot is empty, still create a snapshot entry which has the same backupSnapshotId even though nothing is backed up to secondary storage
status 7976: resolved fixed
2011-01-21 10:45:09 -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
Alex Huang 2ec5bef63f eclipse workspace changes 2011-01-20 10:31:18 -08:00
Alex Huang 5d3bcdeb28 merge changes 2011-01-20 09:59:08 -08:00
Alex Huang 57def20cf6 moved all agent commands to api. 2011-01-20 09:54:05 -08:00
abhishek afcb202923 bug 7900: removing obsolete network domain param
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
abhishek f97a5e78cb bug 7970: fixing sp maintenance for 2 pools
status 7970: resolved fixed
2011-01-19 14:32:56 -08:00
anthony 017146f753 1 use 443 to connect xapi
2. update Java binding to xenserver-5.6.100-1.jar
2011-01-18 20:15:39 -08:00
Edison Su b55e7a5bf4 bug 8032: for xen pv guest, if an iso is attached, then only when the iso's guest os type is equal to vm's os type, we boot from iso.
status 8032: resolved fixed
2011-01-19 05:00:40 -05:00
anthony cfe1d99701 remove unused code 2011-01-14 17:15:23 -08:00
Alex Huang d43717eef8 merge changes 2011-01-14 15:12:13 -08:00
anthony 621f893f12 bug 7986: should be fixed by 6e6e8ff876, this patch only remove some unneccesary backtrace
status 7986: resolved fixed
2011-01-13 17:28:51 -08:00
Chiradeep Vittal 4536f4b65f bug 6854: add croncommand to periodically cleanup network rules 2011-01-13 16:59:35 -08:00
Chiradeep Vittal dd7f8625cc bug 7380: SNAT rules when there are multiple public interfaces
bug 6854: port from 2.1.x
2011-01-13 16:59:35 -08:00
anthony fa1da347c6 bug 7978: it happens when MS is restarted before DeleteTemplateCommand responds, if the template directory doesn't exist, return success
status 7978: resolved fixed
2011-01-13 16:24:43 -08:00
Chiradeep Vittal 8ba1b2d33a bug 7380: SNAT rules when there are multiple public interfaces 2011-01-13 15:49:23 -08:00
kishan a2752c6207 bug 7842: Move events to service layer from http api 2011-01-14 03:58:57 +05:30
kishan f6ffdd2888 bug 7857: Add network usage rules after router start
status 7857: resolved fixed
2011-01-14 03:58:57 +05:30
anthony 9fccc637d7 bug 7941: mark data disk as unpluggable
status 7941: resolved fixed
2011-01-13 12:03:09 -08:00
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
Ragnar B. Johannsson 4bb42e43cc Get UserVm details via UserVmDao.loadDetails().
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
Ragnar B. Johannsson 83b3580c32 Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
Conflicts:
	client/tomcatconf/commands.properties.in
	core/src/com/cloud/vm/UserVmVO.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson 3e59707dd2 Added user_vm_details table and corresponding access objects.
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
nit 58a80d57cc Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-01-12 19:37:42 +05:30
kishan 6bb4af8381 bug 6947: removed network type from service offering APIs
status 6947: resolved fixed
2011-01-12 19:13:09 +05:30
nit dce1e2031b bug 7519 : Extract links would have Java genereated UUID instead. 2011-01-12 16:53:42 +05:30
Frank 870d0835a5 bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
Alex Huang ad4ed5b2fd added hypervisor type to vm 2011-01-11 18:02:09 -08:00
anthony 1fd84fbcfa xen hyperviosr used 128 M memory 2011-01-11 15:19:11 -08:00
nit ffe387ab5b Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-01-11 20:08:24 +05:30
nit 6850a0ae9a bug 7519 : Opening eth2 for public traffic on ssvm. Implementing the ip firewall for zone to zone copy in the Apache layer. Disabling directory listing for extract server root. 2011-01-11 20:05:35 +05:30
Frank c6683c2eab bug 7722: open vswitch -
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
anthony 9e4c6351e3 bug 5756:
only fake PV driver for PV kernel
stop VM if VM doesn't have PV driver

status 5756: resolved fixed
2011-01-10 14:06:58 -08:00
Frank a964494332 bug 7722: open vswitch - align some data type with master branch 2011-01-08 17:31:00 -08:00
Frank e9959d32a9 bug 7722: open vswitch - handle router when schedule a work 2011-01-08 16:28:47 -08:00
Frank ec643c7e59 bug 7722: open vswitch - refine code; add normal flow makes vswitch work as
normal L2/L3, otherwise the output packet cannot find right output port
2011-01-08 16:28:47 -08:00
Frank 6f9f8b145b bug 7722: open vswitch - complete 2011-01-08 16:28:47 -08:00
Frank 9d2916ffcc it works 2011-01-08 16:28:47 -08:00
Frank c94b6acadf bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next 2011-01-08 16:22:59 -08:00
Frank 5c01c42ba7 fix bug 7722, code complete basic architecture 2011-01-08 16:20:39 -08:00
Alex Huang 03128cadf6 got rid of monitor 2011-01-07 13:41:15 -08:00
anthony b07162f30a merge from 2.1.x deb87aa5e7
correct definition
2011-01-06 19:41:00 -08:00
Ragnar B. Johannsson 32c68e1583 API cmds for SSH-keys manipulation and VM passwds retrieval.
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena 916b516d13 bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
abhishek 6cade1aa1d adding missing code for programming default network rules for user vm on each of its nics, for the direct networking case 2011-01-05 15:22:12 -08:00
anthony 67928262f0 add Utuntu 10.24 for xenServer 2011-01-04 17:56:39 -08:00
anthony 57ee66a22d XenServer can tell if the VM is shutdowned from inside,
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
alena 0b7a15ab99 bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
status 7348: resolved fixed

More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
anthony fc811e8d49 bug 7794: sleep should be in out of try statement
status 7794: resolved fixed
2010-12-30 16:09:28 -08:00
Kelven Yang e7749afdfe Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume 2010-12-29 21:54:17 -08:00
alena bd788b1827 Fixed RemoteAccessVpn apis 2010-12-29 21:36:44 -08:00
anthony 98146d3b15 bug 5559: support snapshots on local disk
status 5559: resolved fixed
2010-12-29 19:55:12 -08:00
keshav 3da09345c9 Changed schema to keep track of which public IP address and host a user statistics entry is for 2010-12-29 19:14:35 -08:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
Alex Huang 1afb34d38e Added code to do migration 2010-12-29 09:32:54 -08:00
edison 2d722e685b fix exception in PingRoutingWithNwGroupsCommand, due to no json serialize for pair<long, long> 2010-12-28 10:50:12 -08:00
edison aa99173784 fix pf rules for kvm 2010-12-27 15:27:06 -08:00
edison 4b57e3c239 fix ipassoc command 2010-12-27 11:27:44 -08:00
anthony a4e791a10c now, you can remove the last host in a cluster 2010-12-23 20:42:31 -08:00
anthony 1646bf6312 when add an iscsi storage pool, always try to intrudec it first. 2010-12-23 15:17:23 -08:00
nit a6fca4ee64 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-12-23 15:09:56 +05:30
nit 1f4cb9b11e bug 7519 : extract functionality - changing it to support http protocol. Making the URL's robust against the start and stop of agent on ssvm. 2010-12-23 15:08:46 +05:30
anthony 5a0fa3380d SetupAnswer need to indicate whether reconnect is needed 2010-12-22 18:11:32 -08:00
Kelven Yang 1805c73363 1) Add HostStats support to vmwre
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
kishan 2d7979ec88 bug 7504: UsageEvent dao and related objects 2010-12-22 18:11:40 +05:30
anthony 7c44823a2e bug 7625: setVCPUsMAX first then setVCPUsAtStartup
status 7625: resolved fixed
2010-12-21 19:41:13 -08:00
anthony c0de8fd1b7 bug 7609: check if the vm exists before get vnc port
status 7609: resolved fixed
2010-12-21 11:04:59 -08:00
Chiradeep Vittal 1216ffd21a WIP 2010-12-21 11:04:27 -08:00
anthony 91d8e6ffcc bug 7617: use correct patch path for oss
status 7617: resolved fixed
2010-12-21 10:30:22 -08:00
Alex Huang 0ecb0118ec renamed the domainrouter services 2010-12-21 03:56:01 -08:00
anthony 4063ce65a8 bug 7546: it is caused by slow vdi-copy, there are several vdi-copy as the same time, it triggers 30 minutes timeout.
change vdi-copy to async and the timeout is 2 hours now,  hope this mitigate the issue.

status 7546: resolved fixed
2010-12-20 18:37:50 -08:00
Chiradeep Vittal d7c81b702e WIP 3 2010-12-20 17:46:14 -08:00
Chiradeep Vittal 5c9a11523b WIP 2 2010-12-20 17:28:59 -08:00
Chiradeep Vittal 6da6330c3f WIP to fix domr network integration 2010-12-20 17:28:20 -08:00
alena b228ae6acb Set domR access details (name, privateIp) for various commands - PF/LB/IPAssoc 2010-12-20 17:22:52 -08:00
abhishek d63e61c915 adding some code to ensure system vms come up for the direct untagged case (zynga setup). Also, checking in some changes on behalf of Alena 2010-12-20 16:33:57 -08:00
anthony 57de81983f add XenServer 5.6 FP1 specific guest os type 2010-12-20 15:47:57 -08:00
anthony af2ce80621 add XenServer56FP1Resource.java 2010-12-20 14:56:22 -08:00
edison bf1f6a2998 Don't need this logic anymore, as xenserver can't handle this case:
can't boot from an iso that different from the vm's template

Revert "more changes to the attach/detach iso and bootloader flow"

This reverts commit d8f771e05b.
2010-12-20 14:17:35 -08:00
anthony 2be0b45297 support xenserver 5.6 fp1 in oss 2010-12-20 14:18:10 -08:00
alena 3cd989cbef 1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
anthony baa6666897 create xenserver 5.6 patch file 2010-12-17 20:21:28 -08:00
anthony 950ed41436 fixed build 2010-12-17 20:07:09 -08:00
anthony 3a6d0e79a6 refactor 2010-12-17 20:07:08 -08:00
anthony d50d20d1b6 refactor 2010-12-17 18:12:00 -08:00
anthony 9adf417dc2 refactor 2010-12-17 18:12:00 -08:00
anthony 7faf41e04e pass pooluuid to xen.configure 2010-12-16 18:55:40 -08:00
Alex Huang adc9ffe034 more changes 2010-12-16 17:17:02 -08:00
Alex Huang 5b11649c55 Removed even more old code 2010-12-16 17:17:02 -08:00
anthony 6419e49977 add guid in cluster table 2010-12-16 16:28:56 -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
Alex Huang a7a4d92739 Renamed Start2 to Start 2010-12-16 14:18:53 -08:00
Alex Huang 65d0b32182 removed a bunch of old code 2010-12-16 14:04:32 -08:00
anthony 55f2f29271 change XenServerConnectionPool from hostuued based to pooluuid based 2010-12-15 18:55:37 -08:00
alena b383aaceec bug 7517: Added an ability to specify vm's host name during vm Deploy using "name" parameter. The parameter is optional.
status 7517: resolved fixed

Name should follow these rules:
* must be between 1 and 63 characters long and may contain only the ASCII letters 'a' through 'z', the digits '0' through '9', and the hyphen ('-').
* can not start  with a hyphen, and must not end with a hyphen

Once name is set (during vm deploy), it can't be modified.
2010-12-15 15:52:16 -08:00
anthony 9c1447c80e pass conn to function 2010-12-14 17:42:54 -08:00
anthony 31c1076687 fixed adding host 2010-12-14 16:49:11 -08:00
anthony fbbf78efbb intialize only get xenserver info 2010-12-14 15:24:21 -08:00
anthony dd8be65399 synchronize xenserverconnection function on pooluuid 2010-12-14 11:12:00 -08:00
abhishek 5e61be67fd fix bugs in allocator 2010-12-13 16:42:25 -08:00
alena d077b127aa bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
Alex Huang c8961453a4 mac addresses for private ip addresses 2010-12-10 13:36:40 -08:00
Alex Huang d27c0c4b01 mac addresses for private ip addresses 2010-12-10 13:36:40 -08:00
abhishek d8f771e05b more changes to the attach/detach iso and bootloader flow 2010-12-10 13:24:57 -08:00
abhishek a5c368f7e2 bug 7472: fixing the bootloader issue, wherein a vm with iso attached fails to boot up, when trying to start from a stopped state
status 7472: resolved fixed
2010-12-10 10:40:21 -08:00
Alex Huang 2d4432d87e network shutdown code 2010-12-10 08:38:20 -08:00
edison 712953156b fix boot from iso/attach iso/disks issue 2010-12-09 14:25:44 -08:00
keshav 198cab4dee Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources. 2010-12-09 11:40:02 -08:00
Alex Huang e49fab6903 Renamed MauricMoss now that we're going public with this. 2010-12-08 09:28:01 -08:00
Kelven Yang 51b55d8ae9 Carray storage pool uuid in VolumeTO to let hypervisor resource to identify storage easier 2010-12-06 15:57:40 -08:00
Kelven Yang 904bb3ea26 Fix a problem for Xen resource when it handles VPN command 2010-12-06 14:41:43 -08:00
Alex Huang 87626bea6b start vm is working 2010-12-06 14:17:53 -08:00
anthony aa0fed787e move network group to oss 2010-12-06 13:08:29 -08:00
edison 41fdbfc65e new allocator 2010-12-04 14:59:39 -08:00
anthony ef9c9b8c5f split scripts to premium-script 2010-12-03 20:53:53 -08:00
anthony ef38551225 install ubuntu 10.04 as HVM , but run it as PV 2010-12-03 19:41:50 -08:00
Kelven Yang 280884f6d7 Work around VMware problem about detaching volume that has snapshot been linked with it 2010-12-03 18:59:23 -08:00
Kelven Yang cc7dc5e6be Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare 2010-12-03 18:59:23 -08:00
Alex Huang 9a70ee54f0 portforwarding is working 2010-12-03 08:48:03 -08:00
Alex Huang 223688d0bf Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -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
anthony 6f1eb4bf44 bug 7144: return snapshotId with jobid
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql

status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
anthony f7b930e686 bug 7291: return correct install path for createtemplatefromsnapshot
add more check for deletetemplate command

status 5873: resolved fixed
2010-12-01 18:53:45 -08:00
anthony 4b20796467 remove patch domr logical 2010-12-01 16:32:33 -08:00
anthony 5584177dbb bug 7209: check otherconfig before update
status 7209: resolved fixed
2010-12-01 16:11:47 -08:00
abhishek 9a6eaaf21f this is a good point to commit the code; have the basic domain specific service offering working 2010-12-01 09:53:13 -08:00
nit 3735ba1466 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-12-01 21:47:50 +05:30
nit a703f54ccb bug 7314 : Extract Api - Check whether http server is running on ssvm and if not try to start it.
status 7314: resolved fixed
2010-12-01 21:47:20 +05:30
will c67d26cec4 bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work. 2010-11-30 19:12:09 -08:00
will de92288e3b Adding xenserver-5.6.0-1.jar to eclipse classpath and removing 5.5 2010-11-30 12:19:49 -08:00
Kelven Yang 54f177cacc 1) Make generic dao be able to persist UTF-8 string for internationalization support
2) Undo gson Unicode escape in API response object to avoid double escaping which can break Javascript from getting correct text content
3) Correct API layer in dealing with character encoding
4) Remove double escape in cloud.core.js
2010-11-30 09:40:54 -08:00
anthony fb0675bbf4 bug 7365: return both physical and virutal size when creating private template
status 7365: resolved fixed
2010-11-29 18:58:48 -08:00
anthony d3325de5ae 1. limit xs-tools in xenserver related java file
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
anthony b420ec7797 UNKNOWN state is not used by xenserverJava 2010-11-29 15:26:08 -08:00
anthony fff1dd874a fix classpath for xenserver-5.6.0-1 2010-11-29 15:26:07 -08:00
anthony 8b90fd51f8 bug 7339: use base copy size instead of snapshot size
status 7339: resolved fixed
2010-11-29 14:04:51 -08:00
Alex Huang d40700b286 Changed firewall rule's constructor 2010-11-29 09:38:13 -08:00
anthony 30fa6530f9 bug 6088: track template physical size in template_host_ref table
add migration from 21 to 22
after migration , SSVM needs to stop/start

status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
Kelven Yang 4a2d0ac41b Correct Eclipse project setting 2010-11-24 15:17:09 -08:00
Kelven Yang dd9b1634f7 Allow host behind cluster to return real VNC host IP address 2010-11-24 15:17:08 -08:00
abhishek bd42a02894 bug 7322: fixing this issue, to ensure the 1:1 NAT rule works well with a router reboot
status 7322: resolved fixed
2010-11-24 10:36:22 -08:00
abhishek 606bc6d99e corresponding changes in the kvm resource 2010-11-24 10:16:35 -08:00
abhishek 1950bf7a99 changing the nat feature to work with kvm 2010-11-24 10:04:24 -08:00
nit 8ea124ae79 bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
edison bb790b41f7 bug 7322: fix NPE when setting firewall rule for 1:1 NAT on kvm
status 7322: resolved fixed
2010-11-23 20:47:23 -08:00
anthony 5d083fb460 bug 6569: eject CD before migration
need to document it, after migration, CD is gone
2010-11-23 19:24:50 -08:00
anthony c39d211a48 merge from 2.1.x 2010-11-23 18:55:23 -08:00
alena 674d68fc58 bug 7311: Use StoragePoolVO copy constructor in deleteStoragePoolCommand
status 7311: resolved fixed
2010-11-23 18:02:31 -08:00
alena 8dfd7b176e bug 7313: applying Alex's fix.
status 7313: resolved fixed
2010-11-23 18:02:30 -08:00
Anthony Xu 7518488672 bug 7293: return complete installpath for createprivatetemplatefromvolume
status 7293: resolved fixed
2010-11-23 16:22:51 -08:00
Chiradeep Vittal 09472f1b65 bug 7284: bug in copy constructor cause dhcp server in direct tagged vlan to think it is a virtual router
status 7284: resolved fixed
2010-11-22 22:19:21 -08:00
alena b7eefe1836 Gson deserialization: return JsonNull object when object list is empty. 2010-11-22 14:56:25 -08:00
alena a646745516 bug 7227: applying Alex's fix - different way of desirializing List objects.
status 7227: resolved fixed
2010-11-22 14:08:43 -08:00
Alex Huang d38f7fd56d Moved DAO to server 2010-11-22 07:40:41 -08:00
Alex Huang 1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
Anthony Xu f6836b2cb9 find the system ISO at creating system VM , not at initialization 2010-11-19 19:22:22 -08:00
Alex Huang 5b4a6f27db Changed networkconfigurations to network as per Sheng's suggestion 2010-11-19 15:44:42 -08:00
abhishek 726cf09274 whilst fixing the iso bug, i realized that the public isos werent being returned for the regular user when he tries to attach the iso to the running vm. adding a listpublicisos() method for a regular user, which will take care of the same 2010-11-19 14:20:07 -08:00
abhishek 516e944d2c bug 5892: adding the xs-tools.iso to the list resp by implementing a search based on the xs-tools.iso
status 5892: resolved fixed
2010-11-19 13:57:12 -08:00
edison 0c35f2f743 bug 7237: disk size is passed in diskProfile, no need size parameter in createcommand
status 7237: rresolved fixed
2010-11-19 11:55:27 -08:00