Amogh Vasekar
9b6d430171
This patch disallows deleting / modifying system defined guest OS mappings
...
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail
Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-12 22:45:24 -07:00
Sheng Yang
0a62eb8380
CLOUDSTACK-5501: Allow one vpn customer gateway with multiple connections
...
This restriction was purposely avoid confusion of VPN setup, but later found too
strictly and cause troubles for deployment. Removed after testing one customer
gateway with multiple connections.
2014-05-12 18:50:48 -07:00
Nitin Mehta
7ae784ba3c
CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes
2014-05-11 20:36:53 -07:00
Min Chen
daadc45122
CLOUDSTACK-6628:[Automation] Create PF rulw API failing with error
...
"database id can only provided by VO objects".
2014-05-09 18:48:08 -07:00
santhosh
00fcd9fb20
Added fix for CLOUDSTACK-6548
...
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Daan Hoogland <daan@onecht.net>
Conflicts:
server/src/com/cloud/network/NetworkServiceImpl.java
2014-05-09 17:14:06 +02:00
Min Chen
0f79223f28
CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
...
passed.
2014-05-08 23:19:28 -07:00
Min Chen
51cb0f9a4a
CLOUDSTACK-6598:IAM - listAccount() retrurns "Caller cannot be passed as
...
NULL to IAM!" when domain deletion is in progress.
2014-05-08 17:56:20 -07:00
Murali Reddy
2a175a2b02
CLOUDSTACK-6608:OVS distributed firewall: default ACL rule is not
...
getting applied when a tier in VPC is created.
fix ensures, VpcRoutingPolicyUpdate is send when network rules are
programmed when network tier in VPC is created
2014-05-08 15:58:02 +05:30
Daan Hoogland
3515c39cac
Revert "CLOUDSTACK-6485: private gateway network should not be associated with vpc"
...
This reverts commit 3bd594c584f34dff2ea69a942202f79b87d44698.
Conflicts:
server/src/com/cloud/network/NetworkServiceImpl.java
2014-05-08 11:45:35 +02:00
Devdeep Singh
245b7f4c39
CLOUDSTACK-6510: Fix gson serialization exception in storage migration. Gson couldn't serialize
...
a map with volume and storagepool objects for logging. Fixed by using volume and storage pool
ids instead of objects in the map.
2014-05-08 12:23:46 +05:30
Alena Prokharchyk
b7b89b1297
CLOUDSTACK-6601: added "forDisplay" parameter to listLoadBalancerRules API
2014-05-07 17:06:55 -07:00
Alena Prokharchyk
66d5ebc657
CLOUDSTACK-6596: UUID and display flag update support for LBStickinessPolicy and LBHealthCheckPolicy
2014-05-07 15:46:18 -07:00
Alena Prokharchyk
25ab05a189
CLOUDSTACK-6595: call expunge method marked with @ActionEvent from expunge thread context. So the action even EXPUNGE.VM is generated when vm is expunged by the thread.
2014-05-07 15:46:10 -07:00
Nitin Mehta
5388d349a4
CLOUDSTACK-6597: Updatevm - root admin should be allowed to change instance name
2014-05-07 14:34:01 -07:00
Murali Reddy
e18ff2821d
CLOUDSTACK-6593: Connectivity service capabilites should be matched with
...
the provider only if at least one capability is specified
Fix avoids the check, and only if the createNetworkOffering
'StrechedL2'Subnet' capability is specified then it should match against
'Connectivity' service provider
2014-05-07 20:05:47 +05:30
Jayapal
d4f167032b
Fixed vpc private gateway backend issues
2014-05-07 16:33:46 +05:30
root
4b89a45e57
CLOUDSTACK-3272 Latest changes to add global configuration parameters to control the publishing of events on the message bus
2014-05-07 10:09:03 +05:30
Alena Prokharchyk
ee5f5591c7
CLOUDSTACK-6585: added missing metadata support for LBStickiness/LBHealthcheck policies
2014-05-06 17:13:50 -07:00
Kelven Yang
521ac796dd
Move EventBus hookup on job framework to ApiServer to decouple job framework away from business logic related hookups. The decoupling is done through internal messaging facility provided inside management server.
2014-05-06 15:48:22 -07:00
Rajani Karuturi
59bf355919
CLOUDSTACK-6531: stopping the router in case of command failures. Also added alerts for failures.
...
Signed-off-by: Jayapal <jayapal@apache.org>
2014-05-06 20:08:30 +05:30
Jayapal
40836344de
CLOUDSTACK-6578: Fixed issue in delete remote access vpn command
2014-05-06 20:08:30 +05:30
Jayapal
b9b623bccc
CLOUDSTACK-6577: Disable service monitoring in RVR
2014-05-06 20:08:30 +05:30
Jayapal
11591582d5
CLOUDSTACK-6364 Added ip address validation
...
Also updated to assign vm primary ip to lb rule when vmid is passed virtualmachineid
and vm id ip details in vmidipmap
2014-05-06 20:08:30 +05:30
Girish Chaudhari
0babb92d62
CLOUDSTACK-2697 Removed the clusterId as null from the alert message logs
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-05 19:10:17 +02:00
Tanner Danzey
601827e6b3
CLOUDSTACK-5907, CLOUDSTACK-6396: KVM/RBD & KVM/CLVM volumes mistakenly shown as OVM, disables snapshotting
...
modified: server/src/com/cloud/api/ApiDBUtils.java
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-05 15:15:25 +02:00
Min Chen
4e674ffad1
CLOUDSTACK-6568:API:createVolume: Volume gets created with wrong domain
...
ID.
2014-05-02 17:47:06 -07:00
Mike Tutkowski
8ac7784db2
CLOUDSTACK-6170 Corrected an issue related to the "Reinstall VM" command and managed storage with VMware
2014-05-02 18:41:59 -06:00
Min Chen
7f595778ad
Fix compilation error due to cherry-pick CLOUDSTACK-6569.
2014-05-02 16:01:13 -07:00
Min Chen
3314e11b70
CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
...
user in the same domain , by passing account and domainId.
2014-05-02 14:58:11 -07:00
Alena Prokharchyk
15c4851fc9
LOUDSTACK-6475: cleanupVPC task - removed the transaction wrapping up multiple VPC destroy as the destroy operation has external calls, to prevent long-locked transaction.
...
Reviewed-by: Prachi Damle
2014-05-02 14:20:38 -07:00
Sam Schmit
81b4731e3b
CLOUDSTACK-6472 listUsageRecords: Pull information from removed items as well, fixing NPEs/Null UUIDs with usage API calls.
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-05-02 16:27:21 -04:00
Laszlo Hornyak
178240a7da
test for HighAvailabilityManagerImpl
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-05-02 21:22:43 +02:00
Laszlo Hornyak
726d8fc3fc
test for escapeHTML
...
- test added
- StringBuffer replaced with StringBuilder
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-05-02 21:19:49 +02:00
Laszlo Hornyak
78507c07c8
log exceptions in ConsoleProxyServlet
...
- Added exception to the logger method parameters to make stack trace available
- removed checking of debug level, it does not save temporary object creation here
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-05-02 21:19:48 +02:00
Min Chen
134a7998ce
CLOUDSTACK-6556: Deploy VM failing with error "does
...
not have permission to access resource Ntwk".
2014-05-01 15:57:29 -07:00
Min Chen
d7c5382c58
CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
...
rights.
2014-05-01 15:57:28 -07:00
Min Chen
95e9db2f91
CLOUDSTACK-6556: [Automation] Deploy VM failing with error "does not
...
have permission to access resource Ntwk".
2014-05-01 15:57:28 -07:00
Min Chen
2521fd482b
CLOUDSTACK-6513: remove commented code.
2014-05-01 15:57:28 -07:00
Min Chen
db9aee4517
CLOUDSTACK-6513: templateFilter=shared should not show self-owned
...
template.
2014-05-01 15:57:28 -07:00
Min Chen
a9072a6612
CLOUDSTACK-6513: Optimize code by removing deprecated utility to
...
QueryManagerImpl as private method just used for listTemplates and
listAffinityGroups to avoid misuse by new list APIs.
2014-05-01 15:57:28 -07:00
Min Chen
5521581b6e
CLOUDSTACK-6532:Affinity Groups - As admin user, not able to list all
...
affinity groups available for regular users by passing account and
domainId paramater. This is to revert IAM way of implementing
listAffinityGroupsCmd, will bring it back when we have implemented real
impersonation.
2014-05-01 15:57:27 -07:00
Laszlo Hornyak
94ab870d42
null pointer dereference fix
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-04-29 21:46:16 +02:00
Rajani Karuturi
f4779b4d0c
Fixed CLOUDSTACK-6509 Cannot import multiple LDAP/AD users into a cloudstack account
...
Conflicts:
api/src/com/cloud/user/AccountService.java
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java
Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-29 14:49:06 +05:30
Nitin Mehta
dd55095fd5
CLOUDSTACK-6530: Populate the first class entities in the context to be available for publishing more information for the event bus, checking the displayable property etc.
...
(cherry picked from commit 3e7ea4e8d99a92872007f11a09ab87c8ba61e1da)
2014-04-28 18:21:48 -07:00
Laszlo Hornyak
fc68922286
Static resource compression
...
- added compile time maven plugin to compress css and js files
- Added new StaticResourceServlet to serve the requests to static files, this replaces the tomcat DefaultServlet
- Tests
- mapping of the static resource servlet to css and js files
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-04-28 21:10:18 +02:00
Laszlo Hornyak
ecec8d368d
autounboxing fix in ConfigurationManager
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-04-28 20:56:45 +02:00
Min Chen
44ff7fea5f
CLOUDSTACK-6513: IAM - Templates - When templates are listed with
...
templatefilter="shared" is used , we see public templates also being
included in the list. This commit reverts listTemplates behavior to 4.3
old logic without using consistent interpretation of list parameters
adopted in new IAM model.
2014-04-28 11:11:53 -07:00
Min Chen
3e4151e13e
CLOUDSTACK-6512:IAM - Not able to list shared networks in the Vm
...
deployment flow. This commit is to revert
ec5ee761d98c67c7da2ea70b623d4a9f3da966b5 to still use old logic for
listNetworks to keep old behavior instead of new IAM model.
2014-04-28 11:11:42 -07:00
Min Chen
6af1a2919b
CLOUDSTACK-6501:IAM - DomainAdmin - When listVirtualMachines is used
...
with listall=true and account and domainId , Vms owned by the account
account is not listed.
2014-04-28 11:11:27 -07:00
Prachi Damle
9514c9e045
CLOUDSTACK-6349: IAM - No error message presented to the user , when
...
invalid password is provided.
- AccountManager now works using accountId instead of accountType in
following methods too:
- isResourceDomainAdmin()
- isAdmin()
2014-04-28 11:10:50 -07:00