Prachi Damle
3d072b0d02
CLOUDSTACK-6458: IAM - When a domain is deleted , the group created for this domian is not removed.
...
Changes:
- When domain is deleted or is removed during account cleanup, send message to IAM to remove the domain group
2014-04-25 21:57:18 +02:00
Min Chen
2bba381a63
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-25 21:27:13 +02:00
Alena Prokharchyk
dceaa7ccef
Revert "Return isolation methods as a part of listPhysicalNetworks call"
...
This reverts commit eb877a093c .
2014-04-22 18:06:33 -07:00
Alena Prokharchyk
eb877a093c
Return isolation methods as a part of listPhysicalNetworks call
2014-04-22 14:46:34 -07:00
Min Chen
b6617843d2
CLOUDSTACK-6468:IAM - Templates - Admin user is not allowed to edit
...
template and set isExtractable() paramater.
2014-04-21 17:53:04 -07:00
Sheng Yang
3578c7137f
CLOUDSTACK-6047: Make aggregation command timeout configurable
...
In case some environments has different performance or we found some commands
would took too long to execute, one global configuration item is introduced to
specify "time out in seconds per one command in aggregation commands".
By default it's 3 seconds. If admin feel it's too long, it can be adjust to as
low as 1 seconds, which runs still well in my machine.
2014-04-18 23:27:12 -07:00
Min Chen
7821da66cc
Fix findBugs bug.
2014-04-18 17:35:01 -07:00
Min Chen
c3a4a01781
Fix listAccountsCmd logic to be consistent with new interpretation of
...
listAll, isRecursive and domainId parameters.
2014-04-18 16:58:03 -07:00
Alena Prokharchyk
4a518908a3
Fixed NPE in listResourceDetalis logic
2014-04-18 16:31:52 -07:00
Amogh Vasekar
3419c812ae
CLOUDSTACK-6437:
...
Add ability to distinguish between user defined and system defined guest OS and mappings
Add default mappings for XenServer
Local testing with
1. Add new guest OS by API
2. Add new guest OS mapping by API
2014-04-18 11:33:42 -07:00
Min Chen
bd6a95e864
Fix IAM list api implementation based on agreed interpretation for
...
listAll, isRecursive, domainId and account.
2014-04-17 15:46:29 -07:00
Min Chen
563efad9ae
CLOUDSTACK-6429:distinguish the case where caller can see everything and
...
the case where caller cannot see anything. Also change behavior to
default isRecursive to false if not specified.
2014-04-17 10:50:52 -07:00
Sheng Yang
dcb0db6084
CLOUDSTACK-6434: Make RvR advert_int configurable
...
In some network environment, 1*3 seconds by default make RvR setup too
sensitive. A configurable parameter would be better for fitting different
network environments.
2014-04-16 20:15:56 -07:00
Sheng Yang
94a146a43e
CLOUDSTACK-6432: Blocking DHCP server to service DNS outside network
...
This would cover only DHCP only network since in basic and shared network, the
private IP used by VR and network may expose to outside.
2014-04-16 19:12:59 -07:00
Sheng Yang
d27c797abc
CLOUDSTACK-6433: Don't return success if only one of RvR successfully created
...
Conflicts:
server/src/com/cloud/network/element/VirtualRouterElement.java
2014-04-16 18:00:35 -07:00
Prachi Damle
48c9b46328
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-16 11:26:57 -07:00
Anthony Xu
32b8c071b6
change xapitimeout to 600 second,
...
looks like we need to change some XAPI calls to Async before shorten the timeout
2014-04-16 11:04:49 -07:00
Saksham Srivastava
406c289d15
CLOUDSTACK-6151: Local data disk with tag goes to the wrong local storage pool
...
Signed-off-by: Koushik Das <koushik@apache.org>
2014-04-16 16:20:04 +05:30
Prachi Damle
2cf4db5359
CLOUDSTACK-6349: IAM - No error message presented to the user , when invalid password is provided.
...
- AccountManager now works using accountId instead of accountType
2014-04-15 17:26:26 -07:00
Min Chen
a636ee4dab
CLOUDSTACK-5960: Remove another check preventing Domain admin and
...
normal user from registering template in S3.
2014-04-14 14:41:50 -07:00
Antonio Fornie
fd3a0d739e
Fix: ParamGenericValidationWorker shouldn't be case sensitive
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-04-14 10:05:41 -07:00
Kishan Kavala
6094e00797
CLOUDSTACK-6376: Return empty list when network tier has no ACL list associated.
2014-04-10 15:29:01 +05:30
Kishan Kavala
635b69676a
CLOUDSTACK-6374: Remove entries from lb vm map when lb rule apply fails
2014-04-10 15:28:55 +05:30
Sanjay Tripathi
5e9b25bad0
CLOUDSTACK-6373: listHost API response is not listing all the details of vgpuType.
2014-04-10 13:55:25 +05:30
Sanjay Tripathi
127196e95d
CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table.
2014-04-09 18:22:06 +05:30
Harikrishna Patnala
68c80e28c0
CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router
2014-04-09 18:11:24 +05:30
Jayapal
a9accd331a
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-04-09 17:42:16 +05:30
Frank.Zhang
68cf2ba0ef
BUG-ID: CS-19152
...
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, destroy baremetal instance fail
BUG-ID: CS-19150
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to start baremetal instance
BUG-ID: CS-19149
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, baremetal host remain in Disconnected state. But instance associated with baremetal host is running.
BUG-ID: CS-19151
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to reboot baremetal instance
BUG-ID: CS-19156
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to stop baremetal instance
reviewed-by: edison
(cherry picked from commit 3787579d29 )
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Conflicts:
plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BareMetalDiscoverer.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalPxeManagerImpl.java
server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2014-04-08 15:31:24 -07:00
Sanjay Tripathi
156fb7ebd3
CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough.
2014-04-08 22:08:17 +05:30
Jayapal
bea7305bb0
CLOUDSTACK-6353 Fixed listing vm ip details for lb rule
2014-04-08 12:54:07 +05:30
Min Chen
3661e67fd1
CLOUDSTACK-6350: IAM - Listing of VM using uuid when owner account of
...
this Vm is deleted results is VM not being returned.But list VM with
listAll=true is able to return this VM.
2014-04-07 22:23:21 -07:00
Jayapal
83c13ce1b9
CLOUDSTACK-6327 updated uuid to id mapping
2014-04-07 16:30:11 +05:30
Sanjay Tripathi
ce966c8b38
CLOUDSTACK-6345: Non gpu enabled VMs are getting deployed in gpu enabled Hosts.
2014-04-07 16:05:58 +05:30
Min Chen
ffd877595d
Fix RoleBasedQuerySelector to handle new listAll semantics. If
...
listAll=true, show all resources that caller (or impersonater) has
ListEntry access type; otherwise, show all resources that caller (or
impersonater) has UseEntry access type.
2014-04-04 18:44:59 -07:00
sbalineni
00f0d9b3c8
internal lb support for contrail vpc
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-04-04 15:35:58 -07:00
Min Chen
1e4a253f79
Handle listAll flag in IAM buildAclSearchParameters.
2014-04-04 11:49:30 -07:00
Jayapal
936de7e1c5
CLOUDSTACK-6327: Updated the removeFromLoadBalancerRule and listLoadBalancerRuleInstances API
...
Updated these APIs to use VM primary/secondary details on LB rule.
listLoadBalancerRuleInstances API lists the vm ips which are assigned to lb rule when passed
listlbvmips
removeFromLoadBalancerRule is updated to remove the spcific vm ip entry assinged to LB rule.
Added new param vmidipmap to this API
2014-04-04 18:32:43 +05:30
Prachi Damle
458acc762a
Changes while processing the @ACL annotation, to include only 1 object per parameter even if the parameter is tied to multiple interfaces in the @EntityReference
2014-04-03 23:07:04 -07:00
Kelven Yang
e928383685
Don't let VMsync touch the VM if VM has been scheduled for HA but HA is not yet running.
2014-04-02 16:01:06 -07:00
Min Chen
6af57d08a6
Fix a little bug to resource owner to checkAccess.
2014-04-02 11:38:43 -07:00
Min Chen
3ee55cd17b
Fix the compilation error due to interface change.
2014-04-02 09:40:05 -07:00
Prachi Damle
43ce83202d
Fix for: doAccessChecks fail due to the wrong ClassCast toArray()
2014-04-01 17:42:07 -07:00
Min Chen
4367d1406b
Change AccountManagerImpl.checkAccess to invoke SecurityChecker
...
interface that takes multiple controlled entities.
2014-04-01 17:31:56 -07:00
Min Chen
c89eb73304
Remove usage of sameOwner checkAccess invocation, and convert to
...
OperateEntry IAM check.
2014-04-01 17:31:56 -07:00
Prachi Damle
b917184fda
Adding SecurityChecker list for the ParamProcessWorker
2014-04-01 12:06:16 -07:00
Prachi Damle
9962cf1706
SecurityChecker can accept multiple ControlledEntity
2014-04-01 12:06:13 -07:00
Gabor Apati-Nagy
eb86ed60bd
Value of Global parameter "custom.diskoffering.size.min" is not reflected in UI during new instance creation.
...
Added fields to /api and /server classes for CustomDiskOfferingMinSize
to be available in CapabilitiesResponse. Fixed UI code in Instance
Wizard to have this config value as the minimum selectable option when
we are in custom disk size mode.
2014-04-01 10:56:02 -07:00
Prachi Damle
024efbfbd4
CLOUDSTACK-6303 [Automation] [UI] Account creation hang in UI
...
Changes:
- Caused due to a MySql error during 'Project' account cleanup. The MySql error hits a deadlock bug in the MessageBus code that does not release the lock/decrement the counter Eventually all callers on the MessageBus end up waiting to enter
- This fixes the account cleanup MySql error.
2014-03-28 14:00:39 -07:00
Edison Su
392dc817af
fix build
2014-03-27 17:38:42 -07:00
Edison Su
73f383c5ab
CLOUDSTACK-5432:sync vm and storage commands on mgt server for kvm
...
Conflicts:
engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/hypervisor/KVMGuru.java
2014-03-27 17:38:40 -07:00
edison
36efe4dbf4
CLOUDSTACK-5831: Fix NPE, in case the volume isn't attached to any pool
2014-03-27 17:38:40 -07:00
Edison Su
4584d5c845
CLOUDSTACK-5831: return quiescevm field in volumeresponse
...
Conflicts:
api/src/org/apache/cloudstack/api/response/VolumeResponse.java
server/src/com/cloud/api/query/QueryManagerImpl.java
2014-03-27 17:38:40 -07:00
edison
9da36af711
CLOUDSTACK-5763: if vm is stopped, then don't check hypervisor support live storage migration capabilities.
2014-03-27 17:38:40 -07:00
edison
a3edd1ac72
CLOUDSTACK-5607: Don't delete the template if its stored in other zones.
2014-03-27 17:38:40 -07:00
edison
5917b25fd3
CLOUDSTACK-5828: if snapshot deletion failed, such as can't find it on secondary storage, should return succeed.
2014-03-27 17:38:39 -07:00
Edison Su
24d1f161b8
CLOUDSTACK-5329: fix NPE, in case of zone wide primary storage
...
Conflicts:
api/src/com/cloud/storage/StoragePool.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2014-03-27 17:38:38 -07:00
Edison Su
9188223f3d
CLOUDSTACK-6245: the security group rule is lagging behind the rules in DB, due to there is a worker thread launched inside a transaction Reviewed-by: Alex
...
(cherry picked from commit d4fdc184fe )
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Conflicts:
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
2014-03-27 17:38:37 -07:00
Edison Su
0bbb8437cd
CLOUDSTACK-4506: fix NPE in case hostid is null
...
Conflicts:
server/src/com/cloud/capacity/CapacityManagerImpl.java
2014-03-27 17:38:35 -07:00
Anshul Gangwar
0ad1a517a2
CLOUDSTACK-6267: unblocking smb as zone wide primary storage for hyperv
...
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-27 15:09:35 +05:30
Anthony Xu
a19d50ec10
when start vm times out, check VM status, if it is running , return succeed.
...
change XAPI timeout to 60 second.
2014-03-24 17:16:19 -07:00
Prachi Damle
a5b9814f7a
Fixes to ensure Network entity checkAccess invokes the IAM service
2014-03-24 17:09:43 -07:00
Anthony Xu
0c2f808b75
use vm instance name in log
2014-03-24 16:23:56 -07:00
Anthony Xu
9c7b60f27d
addHostCmd will try to load all hosts in a pool
2014-03-24 16:07:39 -07:00
Jayapal
18934345af
CLOUDSTACK-6250: updated review comments, added unit test case
2014-03-24 17:53:38 +05:30
Mike Tutkowski
8e513e8659
CLOUDSTACK-6170
2014-03-20 20:37:27 -06:00
Min Chen
dcfe77845c
Revert "CLOUDSTACK-6170"
...
This reverts commit 7a7d9cff0d .
2014-03-20 16:28:47 -07:00
Min Chen
bd69166619
Add newly separated admin cmd class in ManagementServerImpl.getCommands.
2014-03-20 16:08:40 -07:00
Mike Tutkowski
7a7d9cff0d
CLOUDSTACK-6170
2014-03-20 14:13:48 -06:00
Jayapal
dd237a8d53
CLOUDSTACK-6250 Review comments fixes for CLOUDSTACK-2692
2014-03-20 17:21:47 +05:30
Murali Reddy
e0c1bf7107
persist fact that network can span multiple zones, if network offering
...
has strechedL2Subnet capability and return the zones in which network
spans in the networkreponse object
2014-03-20 16:25:15 +05:30
Murali Reddy
e35d729283
fix scripts that handle setting up bridge for tunnel network and for
...
distributed routing. Fix ensures there is approproate flag in other
config of the network to indicate the bridge type.
2014-03-20 16:24:31 +05:30
Prachi Damle
b3e22191cb
More changes to support 'readOnly' access
...
Conflicts:
api/src/org/apache/cloudstack/api/ApiConstants.java
2014-03-19 11:31:06 -07:00
Jayapal
7ff49cb887
CLOUDSTACK-6240 Fixed updating advanced SG rules for vm nic secondary ip
2014-03-19 16:03:56 +05:30
Kelven Yang
a5f418dd02
Let VMSync be aware of HA take-over on VM state management.
2014-03-18 17:34:36 -07:00
Min Chen
ec5ee761d9
Refactor listNetworks logic to use new IAM model.
2014-03-18 16:47:08 -07:00
Nitin Mehta
4723fbb83f
CLOUDSTACK-6247: Usage Events - hide them when display flag is off in the context of "Ability to have better control over first class objects in CS" feature
...
Work done for network offering.
2014-03-18 13:54:25 -07:00
Min Chen
df3a2083d6
Fix a regression caused by IAM search criteria refactor on VPC.
2014-03-18 10:10:22 -07:00
Nitin Mehta
30a98381bb
CLOUDSTACK-6247: Usage Events - hide them when display flag is off in the context of "Ability to have better control over first class objects in CS" feature
...
And when the flag is updated on the resource accordingly generate usage events again.
Also when display flag is false in deployvm cmd it should be false for the volumes associated with the vm as well
2014-03-17 18:50:06 -07:00
Min Chen
ae6b9a0829
Remove IAMEntityType to use existing VO interface class to annotate
...
entityType.
2014-03-17 16:59:19 -07:00
Marcus Sorensen
e9e2ee3ac5
CLOUDSTACK-6181: Merge of resize root feature (resize-root branch)
2014-03-14 03:40:08 -06:00
Jayapal
14a4dd116f
CLOUDSTACK-2692 Assigning LB rule for vm nic secondary ips
...
Conflicts:
setup/db/db/schema-430to440.sql
2014-03-14 22:48:51 +05:30
Murali Reddy
7a929d1a0e
region level VPC support
...
introduce 'RegionLevelVpc' as capability of 'Connectivity' service. Add
support for CreateVPCOffering to take the 'regionlevelvpc' as capability
of service 'connectivity'.
introduces new capability 'StretchedL2Subnet' for 'Connectivity'
service. Also add support to createNetworkOffering api to allow
StretchedL2Subnet capablity for the connectivity service.
adds check to ensure 'Connectivity' service provider supports
'StretchedL2Subnet' and 'RegionLevelVpc' capabilities when specified in
createNetworkOffering and createVpcOffering respectivley
enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities
make zone id optional parameter in createVpc, zone id can be null only
if vpc offfering supports region level VPC
in region level vpc, let the network/tier to be created in any zone of
the region
keep zoneid as required param for createVpc
skip external guest network guru if 'Connectivy' service is present in
network offering
fix build break in contrail manager
permit VM's to be created in different zone that in which network is
created if the network support streched L2 subnet
add integration tests for region level VPC
rebase to master
Conflicts:
setup/db/db/schema-430to440.sql
2014-03-14 21:54:47 +05:30
Saksham Srivastava
48f8a95b06
CLOUDSTACK-6092: Storage OverProvisioning as a Per Primary Basis Allow storage.overprovisioning.factor to be specified at storape pool level.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-03-14 12:16:46 +05:30
Rajesh Battala
1b4325d2c8
CLOUDSTACK-6106 supporting VPC VR on Hyper-V
2014-03-14 17:36:43 +05:30
Murali Reddy
794b38a789
fix unit-test failure
2014-03-14 17:19:27 +05:30
Murali Reddy
423a748807
adds hypervisor script to convert JSON routing polcies (ACL) config in
...
to flow rules and applies them on the bridge
add event subscriber in OvsTunnelManager, that listens to
replaceNetworkAcl events. On event sends the updated policy info to all
the hosts in the VPC
2014-03-14 16:56:37 +05:30
Murali Reddy
2c7786992f
some bug fixes
2014-03-14 16:56:37 +05:30
Murali Reddy
e045883c52
introduce OvsNetworkTopologyGuru that has convinenace functions to
...
- get the hosts on which VPC spans given vpc id
- get the VM's in the VPC
- get the hosts on which a network spans
- get the VPC's to which a hosts is part of
- get VM's of a VPC on a hosts
introduces capability to build a physical toplogy representation of a
VPC. This json file is encapsulated in
OvsVpcPhysicalTopologyConfigCommand, and is used to send full topology
to hypervisor hosts. On hypervisor this json config can be used to setup
tunnels, configure bridge, add flow rules etc
Ovs GURU, to use different broasdcast scheme VS://vpcid.gerkey for the
networks in VPC that use distributed routing
each VIF and tunnel interface to carry the network UUID in other/options
config
2014-03-14 16:56:37 +05:30
Murali Reddy
32ac021043
make Ovs as VPC provider
2014-03-14 16:56:36 +05:30
Murali Reddy
3139b35518
mark VPC to be using distributed router if VPC offerign supports
...
distributedrouter capability.
2014-03-14 16:56:35 +05:30
Murali Reddy
e3ec12e5d0
-add check to ensure 'Connectivity' service provider specified in
...
createVpcOffering actually supports 'DistributedRouter' capability
- enable OVS to support 'DistributedRouter' capability
2014-03-14 16:56:35 +05:30
Murali Reddy
7c4443e233
-introduces 'DistributedRouter' as capability to 'Connectivity' service.
...
-create VPC offering to permit 'DistributedRouter' as capability to
connectivity service
2014-03-14 16:56:35 +05:30
Devdeep Singh
2aff39f8c7
CLOUDSTACK-6143: Storage motion support for hyper-v. With these changes a volume on a shared
...
storage pool (SMB) and attached to a running vm can be live migrated to another shared storage
pool. Also a vm and its volumes can be live migrated to another host and storage pool respectively.
2014-03-14 16:27:58 +05:30
Harikrishna Patnala
f7337527cf
CLOUDSTACK-6090: Virtual Router Service Failure Alerting
...
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-14 15:14:15 +05:30
Sanjay Tripathi
6a5d3e96c9
CLOUDSTACK-6238: NPE in HostStatsCollector.
2014-03-14 13:37:19 +05:30
Kelven Yang
42d637376b
Handle a race-condition in VirtualNetworkManagerImpl.java in the process of starting it parallelly.
2014-03-13 16:59:56 -07:00
Kelven Yang
3123c30f23
BUG-ID: CS-19196: Relax HA work termination rule on exceptions. It could cause premature HA termination due to unhandled exceptions. Reviewed-By:Anthony
2014-03-13 16:59:56 -07:00
Kelven Yang
7fa4715b99
perform VM HA based on agent state report.
2014-03-13 16:59:56 -07:00
Kelven Yang
6ad245e675
Restore to old HA logic, but suppress VM state change on resource state report to avoid interferring HA.
2014-03-13 16:59:56 -07:00
Kelven Yang
4312d88462
HA manager to check target state of the VM to make decisions on whether or not to carry on a cheduled step. Fix NPE in capacity manager when releasing capacity of a stopped VM.
2014-03-13 16:59:56 -07:00