4388 Commits

Author SHA1 Message Date
Alena Prokharchyk
fc2b95d9c3 Fixed NPE in listIso API 2011-11-24 10:27:00 -08:00
Abhinandan Prateek
655a9805f3 bug 11966: added findNonDisabledAccount 2011-11-24 13:43:12 +05:30
Abhinandan Prateek
16e342836e bug 11966: chnaged the findActiveAccount method to return only the accounts which are active 2011-11-24 13:12:28 +05:30
Abhinandan Prateek
d90e19ae28 bug 11825: removing the trace as from the message the origin of problem can be easily traced. 2011-11-24 11:15:51 +05:30
prachi
8134cfb4c8 Bug 11131 - Allocators: when vm fails to deploy in DataCenter, we should never retry in the same DC again as the DC is already in Avoid set
Changes:
- Added check in planner to verfiy that the datacenter is not in avoid set. If found in avoid set, planner does not proceed.
2011-11-23 17:40:20 -08:00
Sheng Yang
f14e536cea NaaS: Make CloudZonesNetworkElement implement UserDataServiceProvider 2011-11-23 16:18:28 -08:00
Sheng Yang
539477f5e1 NaaS: Make ExternalDhcpElement implements DhcpServiceProvider 2011-11-23 16:18:21 -08:00
prachi
5eba3d9326 Removing whitespace from tags while storing the Host tags. 2011-11-23 14:21:36 -08:00
prachi
f56c3d7bc5 Bug 11126 - Give ability to define tags post storage addition
Changes:
- Enabled updating storage tags
- All existing tags are wiped out and new ones provided are stored.
- Note that, if tags are updated on the storage, no changes are done to the deployment of already running VMs that were deployed prior to tag addition.
- Also added some validation to host tags update API.
2011-11-23 14:21:34 -08:00
frank
275a5ffa3c Fix wrong usage of SearchCriteria2 in AgentMonitor 2011-11-23 11:05:39 -08:00
Nitin Mehta
cdd94c1b9a bug 11811: Introduce a global config to disable extraction altogether for all users except root admin. Make changes so that volumes are based out of ISO. Take care of upgrade as well for this global config.
Reviewed by : Kishan.
2011-11-24 00:12:24 +05:30
Nitin Mehta
e034e3d7a3 Revert "bug 11811: Changing permissions for extraction of volumes based out of isos."
This reverts commit 9ed2be7ecda7c0bad05aec8e0213e95507ad9be6.
2011-11-23 18:38:37 +05:30
Abhinandan Prateek
da20d33e27 bug 11910: full sync will only stop unknown VMs on agent 2011-11-23 16:48:12 +05:30
Murali Reddy
beb38c8310 making devices enabled independent of config commands
adding default device capacity when admin does not specify a vlaue
fixed bug in device allocation logic
2011-11-22 19:52:07 -08:00
Alena Prokharchyk
aa78c9bfb9 vm Expunge: check that securityGroup-Vm mappings exists before locking the row in userVm table 2011-11-22 16:24:08 -08:00
Alena Prokharchyk
c66842b640 bug 11812: added domainId parameter to "login" api doc
status 11812: resolved fixed
2011-11-22 15:34:07 -08:00
Alena Prokharchyk
38b25f3466 bug 11289: return only Free ip addresses as available Ips as a part of listAccounts
status 11289: resolved fixed
2011-11-22 15:25:45 -08:00
Alena Prokharchyk
f111d8377e bug 11702: removed obsolete ipaddress parameter from userVm response
status 11792: resolved fixed
2011-11-22 14:29:13 -08:00
Alena Prokharchyk
1ce1f520f1 bug 11406: don't return hypervisor type in API response 2011-11-22 14:13:07 -08:00
Alena Prokharchyk
683b5635e3 bug 11674: fixed listVolumes by zoneId for regularUsers/domainAdmins
status 11674: resolved fixed
2011-11-22 13:55:03 -08:00
prachi
a8ffd0ea06 Added unique constraint on providername <-> physical network mapping. 2011-11-22 13:11:02 -08:00
Alena Prokharchyk
74f217e1d0 Introduced new parameter to listNetworkOfferings API - sourceNatEnabled (Boolean). 2011-11-22 10:54:29 -08:00
Alena Prokharchyk
e014426889 Added global flag defining if the regular user is allowed to create a project 2011-11-22 10:04:32 -08:00
Abhinandan Prateek
488ac8238e bug 11311: lis host takes in a additional parameter to fine tune the details, the default behavious is still unchanged. 2011-11-22 16:26:52 +05:30
Murali Reddy
f302533474 changes response object name for F5/Netscaler/SRX to be lower case 2011-11-21 18:28:51 -08:00
Alena Prokharchyk
45b058a89d Project "Owner" is called project "Admin" 2011-11-21 18:01:44 -08:00
Alena Prokharchyk
85d9de58d6 bug 12127: fixed releasing non-source nat ips
status 12127: resolved fixed
2011-11-21 17:53:40 -08:00
Alena Prokharchyk
4f54b5e9d3 Fixed error message 2011-11-21 17:53:40 -08:00
prachi
0dc7fb48a1 Bug 11962 - MigrateVirtualMachine fails with AgentUnavailableException when the targeted host for migration is under Maintenance
Bug 11964 - You are allowed to migrate a virtual machine on to the host that it already exists o

Changes:
Validations were missing in th MigrateVmCmd API, since from UI the validations are always done while listing hosts for migration as first step.
2011-11-21 17:12:36 -08:00
Murali Reddy
54f4ebf08c changes for SRX add/config commands for UI integration 2011-11-21 16:57:41 -08:00
Alena Prokharchyk
00f6738e24 bug 12105: don't generate corresponding firewall rule for the pf/staticNat/lb rule in revoke state
Conflicts:

	server/test/com/cloud/network/MockNetworkManagerImpl.java
	server/test/com/cloud/user/MockAccountManagerImpl.java
	server/test/com/cloud/vm/MockUserVmManagerImpl.java
2011-11-21 16:34:55 -08:00
prachi
6dc4ae47db Bug 12103: Adding host without labelling guest network fails
We do not set the default network labels as 'cloud-private' anymore. Instead it is set to the values set in global config variable. This should avoid the host connect failures requiring the network labels to be setup.
2011-11-21 14:46:02 -08:00
Murali Reddy
c9b2031fa9 changes in add/configure API commands for F5 & Netscaler for UI integration 2011-11-21 13:31:54 -08:00
Alena Prokharchyk
d67bef8e78 Owner of the network is system if the network is shared to Domain 2011-11-21 11:52:40 -08:00
Nitin Mehta
ec3a00a230 bug 10281: Template/ISO APIs should throw an exception in failure case for the events to be registered as failure.
Reviewed by : Kishan.

status 10281: resolved fixed
2011-11-21 18:58:06 +05:30
Nitin Mehta
57aa7dec91 bug 11811: Changing permissions for extraction of volumes based out of isos.
As per the new design following would be done.
(a) any ISO-derived disk can be extracted
(b) there will be a global config to disable  extraction of ISO based volumes.
That way people concerned about (a) can just use (b) to fix it.
Reviewed by : Kishan.

status 11811: resolved fixed
2011-11-21 16:58:09 +05:30
prachi
4531c9d6f7 Bug 12082 - Not able to deploy Vms with Host tags.
After recent changes of AgentManager, HostDao was wrongly referring to getState() instead of getResourceState().
Fixed this to refer to getResourceState(). This should fix the IndexOutOfBounds error.
2011-11-18 19:03:12 -08:00
Kelven Yang
061ff36434 bug 11814: TemplateResponse now returns template details info 2011-11-18 16:40:32 -08:00
Kelven Yang
a59658177d bug 11814: connect template and instance details data when sending command to resource 2011-11-18 16:40:31 -08:00
Alena Prokharchyk
bc544d31e7 listPublicIpAddresses by associatedNetworkId 2011-11-18 15:57:01 -08:00
Alena Prokharchyk
1871de3048 bug 11853: better error message when try to add VPN user with duplicated user name
status 11853: resolved fixed
2011-11-18 15:49:18 -08:00
frank
dd9465c592 Bug 12078 - pxe config file not being sent down (edit)
fix in acton
2011-11-18 15:39:22 -08:00
Alena Prokharchyk
5ea4133d7b createNetworkOffering: verify that individual services can be enabled for each provider specified for the network offering 2011-11-18 14:46:10 -08:00
Alex Huang
c6dc4f8435 merge changes 2011-11-18 14:29:01 -08:00
Alex Huang
84d5f0514e Changed network tags to network name as we no longer need to send the entire network tags down to the resource. 2011-11-18 14:28:16 -08:00
frank
5d6653224b directly search ssvm in host table when sending SecStorageFirewallCfgCommand 2011-11-18 13:59:17 -08:00
Alena Prokharchyk
71ff88f211 bug 12067: set 'extractable' field default value to 0 as a part of 2.2.13 to 2.2.14 db upgrade
status 12067: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
	setup/db/create-schema.sql
2011-11-18 13:44:59 -08:00
prachi
b8b08555e6 Removing garbled characters. 2011-11-18 13:35:48 -08:00
prachi
0ebca4cdf8 AddNetworkServiceProvider should check if the services specified are provided by the provider to be added. 2011-11-18 13:07:50 -08:00
Murali Reddy
eee79d56a3 permit adding external devices when service provider is in disabled state 2011-11-18 11:10:08 -08:00