654 Commits

Author SHA1 Message Date
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