Min Chen
ddd4f80911
Revert "Revert "Fix a bug in generating account response, passed wrong parameter to get""
...
This reverts commit 283ec27934 .
2013-10-07 12:00:51 -07:00
Min Chen
440f03e548
Revert "Fix a listAccount regression due to root admin role refactoring."
...
This reverts commit d79cb380e1 .
2013-10-07 12:00:38 -07:00
Min Chen
d79cb380e1
Fix a listAccount regression due to root admin role refactoring.
2013-10-07 11:53:38 -07:00
Min Chen
283ec27934
Revert "Fix a bug in generating account response, passed wrong parameter to get"
...
This reverts commit b633950a68 .
2013-10-07 11:47:01 -07:00
Min Chen
b633950a68
Fix a bug in generating account response, passed wrong parameter to get
...
account resource limit.
2013-10-02 17:46:00 -07:00
Min Chen
d84d62a1e0
Separate Admin and User command and response for ListVMsCmd.
2013-10-02 17:45:14 -07:00
Prachi Damle
bb271926fb
WIP AccessChecker plugin
2013-10-01 18:11:30 -07:00
Min Chen
5583506c0c
Add entity permission grant and revoke API.
2013-09-30 17:03:34 -07:00
Min Chen
de0904ba63
Modify AccountResponse to return groups that account belongs to.
2013-09-30 14:14:38 -07:00
Min Chen
0be374a796
Add All Apis for ACL Group.
2013-09-27 18:16:18 -07:00
Min Chen
ed22dfef1b
Add transaction handling in AclServiceImpl, and parent role support in
...
createAclRole.
2013-09-27 10:14:13 -07:00
Min Chen
97fd99b09a
Add all Apis for AclRole.
2013-09-26 17:48:29 -07:00
Min Chen
fce2aad23d
WIP For APIs related to ACL Roles.
2013-09-26 11:22:43 -07:00
Prachi Damle
4294005142
Check if an Account belongs to RootAdmin group
2013-09-24 17:01:43 -07:00
Prachi Damle
aba54356d5
Account_Type Refactoring for Root Admin Role
...
- change the AccountService::isRootAdmin(short) to isRootAdmin(long accountId);
- Change all callers
- Change all places that check the account.getType() directly to call the AccountManagerImpl.
2013-09-24 15:31:09 -07:00
Prachi Damle
62d60c2b77
CLOUDSTACK-4664: [ZWPS] High delay to start a stopped VM which has ROOT/DATA volumes migrated to Second Zone wide primary Storage(More than 10 mins)
...
Changes:
- DeploymentPlanningManager needs to reuse the zone wide primary storage pool when VM's volume is READY
2013-09-18 16:52:07 -07:00
Prachi Damle
7416383fcd
CLOUDSTACK-4651: Restarting management server when volume Snapshot is still in progress for root volume of a VM , then there is no way to restart VM since the startVM job is stuck forever since the volume is in "Snapshoting" state.
...
Change:
-If no volume of the VM is usable, VM cannot be deployed or started. Atleast ROOT volume should always be in usable state to start up the VM
2013-09-18 16:52:04 -07:00
Alena Prokharchyk
d34b79c970
CLOUDSTACK-4573: fixed resource limit check when acquire public IP in VPC - update resource count for VPC public ip even when network_id is not set yet.
2013-09-18 14:43:42 -07:00
Daan Hoogland
2614b00c51
sdn hosted vpc gateways (using lswitch)
2013-09-18 16:56:56 +02:00
Kelven Yang
832db1b398
Apply https://reviews.apache.org/r/14084/
2013-09-17 16:29:48 -07:00
Kelven Yang
5820b071b8
CLOUDSTACK-4659: Add the missing feature back for GC VMware worker VMs
2013-09-17 14:06:52 -07:00
Min Chen
22c5ea0ebe
CLOUDSTACK-4671:ListZone API failed with Assertion error if assertion is
...
turned on for MS.
2013-09-13 17:21:24 -07:00
Laszlo Hornyak
cb3a3da75d
simplify setCpuUsed
...
- variables inlined
- cpu utilization is not cast to float from double
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-09-11 21:33:02 -07:00
Laszlo Hornyak
d3237e75b2
simplified casting
...
double values do not need a Double object to be casted to long
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-09-11 18:27:54 -07:00
Donal Lafferty
e958f22ff3
CIFS support for secondary storage is documented here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CIFS+Support
...
It was implemented by extending the NFS provider. Its validation was updated so that you can pass it a URL containing the
details of a CIFS share. The code that mounts NFS shares was extended to allow it do the same for CIFS shares. Otherwise,
the secondary storage code is left unchanged.
2013-09-11 14:23:29 +05:30
Daan Hoogland
25c8cee01a
CLOUDSTACK-4346 uses of parseInt and parseLong secured
2013-09-09 22:19:59 +02:00
Daan Hoogland
947f49d869
Revert "uses of parseInt and parseLong secured"
...
This reverts commit f8fb422612 .
2013-09-09 22:17:10 +02:00
Daan Hoogland
f8fb422612
uses of parseInt and parseLong secured
2013-09-09 22:15:07 +02:00
Alex Huang
a05ec6df33
Fixed up the agent separation. Added comments for config packaging.
2013-09-06 15:40:39 -07:00
Alex Huang
1f5699b29f
Fixed unit tests
2013-09-06 15:40:39 -07:00
Alex Huang
8f556e6d88
Made changes to configuration. Eliminated ConfigValue and only use ConfigKey
2013-09-06 15:40:38 -07:00
Alex Huang
b8e79c30a8
Compile complete
2013-09-06 15:40:37 -07:00
Alex Huang
6e8ca99466
Got all of the config stuff out of the way
2013-09-06 15:40:36 -07:00
Alex Huang
47afae8112
Merged conflicts resolved
2013-09-06 15:40:36 -07:00
Alex Huang
5b439f0748
Revert "Revert "Added missing files""
...
This reverts commit 48053001fb2303d4acfb77d23fe3733941e83781.
2013-09-06 15:40:35 -07:00
Alex Huang
06493d5b5c
Revert "Added missing files"
...
This reverts commit a1dfc227e895d724f68c0206643825b3ba43116c.
2013-09-06 15:40:35 -07:00
Alex Huang
375eadd3d3
Added missing files
2013-09-06 15:40:34 -07:00
Alex Huang
435e74e914
Commit to try something on removing getZone
2013-09-06 15:40:33 -07:00
Alex Huang
2e5bb63f77
Moved NetworkManagerImpl to NetworkOrchestrator
2013-09-06 15:40:32 -07:00
Alex Huang
8e5249df62
Moved NetworkManager to NetworkOrchestrationService
2013-09-06 15:40:31 -07:00
Sheng Yang
ebb9a0c619
Revert "CLOUDSTACK-2792: Send "saved_password" to BACKUP router when reset password for user VM"
...
This reverts commit 5a8a2a259e .
We would fix it in another way, since mgmt server may get state updated in
time.
Conflicts:
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2013-09-05 14:26:52 -07:00
Kelven Yang
71b8f6061f
CLOUDSTACK-4376: fix cloud-early-config to workaround vSwitch stall in VPC mode. fix potential NPE in DirectAgentAttache in processing answers from resource
2013-09-04 14:49:45 -07:00
Kelven Yang
c528e71fec
CLOUDSTACK-4390, CLOUDSTACK-4358: Enable full-clone deployment by default for VMware. Apply keep-alive kick for all outstanding vCenter sessions
2013-09-04 14:49:45 -07:00
Kelven Yang
9a2148ffc3
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
2013-09-04 14:49:45 -07:00
Kelven Yang
f383656b21
Fix problems found in local test when JVM assertion is turned on
2013-09-04 14:49:44 -07:00
Kelven Yang
249e2e8f59
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-09-04 14:49:44 -07:00
Prachi Damle
f31c318158
Changes required to merge to master:
...
- Replace UserContext by CallContext
2013-09-03 20:03:11 -07:00
Prachi Damle
6a0bda0280
CLOUDSTACK-4337 Dedicated Resources: Zone dedicated to an account should only be visible and accessible to that account
...
Changes:
- When listing a zone, add clause in the search to check the account_id for a dedicated zone
- When listsing a zone with a domainid, add a similar clause.
- DomainCheck:: checkAccess() for a zone should consider that zone can now be dediacted to a specific account and check access accordingly.
Conflicts:
server/src/com/cloud/api/query/vo/DataCenterJoinVO.java
setup/db/db/schema-410to420.sql
2013-09-03 20:02:59 -07:00
Prachi Damle
012afceed2
CLOUDSTACK-4276 Dedicated Resources: Private Zone functionality issues
...
Changes:
createZone API:
- This API takes in domainid, set it to the zone record in the data_center table
updateZone API:
- This API uses 'isPublic' flag to set a private zone to public - if this flag is set and the zone is dedicated, release the dedication and remove the domainid from the data_center table
listZone API:
- This API already has 'domainid' parameter. We should allow list zones by domain for Root admin.
DedicateZone API:
- set domainid in the data_center table
ReleaseDedicatedZone API:
- remove zoneid from the data_center table
2013-09-03 20:02:56 -07:00
Prachi Damle
96ca70e2da
CLOUDSTACK-4259 Dedicated Resources: createAffinityGroup API should not allow admin to create the group of this type through API
...
Changes:
- Block API from creating this type of group
2013-09-03 20:02:53 -07:00