4225 Commits

Author SHA1 Message Date
Alena Prokharchyk
0effb82f82 bug 12295: fixed associateIpAddress for projects
status 12295: resolved fixed
2011-12-02 12:08:01 -08:00
Alena Prokharchyk
9f49967365 fixed listNetworks by projectId 2011-12-01 14:22:59 -08:00
prachi
d98130c061 Bug 8750 - update/disable/enableAccount api commands should accept "id" request parameter to be consistent with deleteAcccount command
These commands now accept 'id' parameter along with the 'accountname' and 'domainid'.
2011-12-01 13:58:44 -08:00
frank
d343af96e5 change allocationState of HostResponse to resourceState 2011-12-01 13:53:07 -08:00
kishan
af0cf90b2b bug 12208,12238: Do not encrypt user password and api key
status 12208,12238 : resolved fixed
reviewed-by: Abhi
2011-12-01 23:37:37 +05:30
kishan
1dfc3f8e34 bug 10280: Throw exception when snapshot allocation fails
status 10280 : resolved fixed
reviewed-by: Abhi
2011-12-01 23:37:36 +05:30
Naredula Janardhana Reddy
09905b641b bug 10617: merge code from branch bug10617. 2011-12-01 14:17:52 +05:30
Alena Prokharchyk
aa7c6524c9 More detailed error message when create network offering fails 2011-11-30 17:49:21 -08:00
Sheng Yang
f3df18aa9b NaaS: Enforce the checking of VirtualRouterElement
If SourceNAT is not provided, VirtualRouter wouldn't provide firewall,
portforwarding, loadbalance, static Nat and VPN service as well.
2011-11-30 14:53:57 -08:00
Sheng Yang
c5292de0ae NaaS: Restrict the combination that provider can support 2011-11-30 14:53:50 -08:00
Alena Prokharchyk
dc9efbb46e return only domains in Active state to the API 2011-11-30 13:56:37 -08:00
Alena Prokharchyk
c4e96d9857 This commit reverts 19cdf95e8b29678767e3aa4c87da73fa60dd4a34.
We don't allow domainSuffix and networkOffering upgrade for Shared networks as it requires network restart
2011-11-30 11:47:17 -08:00
frank
83b7b6a412 Add ResourceState as a searching condition of ListHostCmd 2011-11-30 11:42:38 -08:00
Alena Prokharchyk
a3d8291698 bug 12242: fixed api doc for createLoadBalancerRule command
status 12242: resolved fixed
2011-11-30 10:54:35 -08:00
Alena Prokharchyk
554946fe8b Allow networkDomain update for Shared networks 2011-11-30 10:34:58 -08:00
Naredula Janardhana Reddy
e4b5a62402 bug 10796: merging code from branch 2011-11-30 15:03:43 +05:30
prachi
0769a3b3f3 API Server changes needed to read a properties file present within a jar provided in classpath. 2011-11-29 18:02:19 -08:00
frank
6a7d99fc77 Bug 12219 - Cant add baremetal host
status 12219: resolved fixed
2011-11-29 11:46:46 -08:00
Alena Prokharchyk
7ea6082f22 PhysicalNetworkId is not required in listNetworkServiceProvider call 2011-11-29 10:47:03 -08:00
Alena Prokharchyk
6e3cbaab6f SecurityGroupProvider is added automatically in Disabled state during the zone creation 2011-11-29 10:13:02 -08:00
Alena Prokharchyk
c2448b7bd4 list Providers by name and state 2011-11-29 09:59:43 -08:00
Abhinandan Prateek
660891b405 bug 8962: adding a check for disabled accounts 2011-11-29 12:40:58 +05:30
Abhinandan Prateek
a560d6f055 bug 11910: no need to do full sync as first thing after connect 2011-11-29 11:23:21 +05:30
kishan
31172a4205 bug 12198: Empty password for system user meed not be encrypted 2011-11-29 08:45:23 +05:30
Alena Prokharchyk
5423f744b3 Fixed multiple bugs in registerTemplate/registerIso:
1) throw exception when try to register template/iso when there are no zones in the system
2) don't add the template to template_zone_ref when the zone is removed
3) Don't try to download the template when template failed to persist in the DB
2011-11-28 16:50:54 -08:00
Alena Prokharchyk
abfbac7928 Moved listAccount/listDomains/listDomainChildren methods from ManagementServer to Account/Domain managers 2011-11-28 15:32:12 -08:00
Alena Prokharchyk
8f91856822 bug 11859: Added Usage param to @Implementation in API docs. Usage would explain what parameters combinations are valid for specific cases
status 11859: resolved fixed
2011-11-28 14:40:13 -08:00
Alena Prokharchyk
628ca6c6d7 bug 11018: removed private_netmask from vm_instance table
status 11018: resolved fixed
2011-11-28 14:15:14 -08:00
Alena Prokharchyk
afb56d2112 bug 11492: check volume resource limit when deployVm
status 11492: resolved fixed
2011-11-28 13:38:32 -08:00
Alena Prokharchyk
ecd7004f15 bug 11978: don't allow passing -, + and spaces for instance.name config param
status 11978: resolved fixed
2011-11-28 11:52:46 -08:00
Alena Prokharchyk
102f460458 Fixed updateConfiguration - updateHostDetails used to swallow the exceptions 2011-11-28 11:52:45 -08:00
Kelven Yang
c3eba2933e bug 11973: Escape VM name to prevent from XSS attack. Reviewed-by: Alex huang 2011-11-28 11:38:31 -08:00
Kelven Yang
a7ac3d577a Limit the ID valid range to be either numeric -1L for special usage or in range that it hits a DB record 2011-11-28 11:36:47 -08:00
Alena Prokharchyk
586febd4c1 bug 11965: check the user state on the Services layer, not in the VmManager as VmManager can be called not only from the API, but also by internal methods - HA for instance - and in this case we shouldn't care about the account state
11965 status: resolved fixed

Also fixed gson serialization error in account response
2011-11-28 10:05:19 -08:00
kishan
4e8a0a65f8 bug 12187, 12188: Encrypt system, admin user passwords. Use configDao for ssl.keystore. Set configuration init to null instead of false.
status 12187, 12188: resolved fixed
reviewed-by: Abhi
2011-11-28 18:21:20 +05:30
Abhinandan Prateek
88f9b1ab7c bug 8962: review changes incorporated 2011-11-25 15:03:45 +05:30
Alena Prokharchyk
34b24895eb bug 12176: fixed NPE in resource limit calculation for snapshots
status 12176: resolved fixed
2011-11-24 10:33:11 -08:00
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