Kelven Yang
d52e0c2ebd
Add out-of-band sync for powner on events
2013-06-13 10:05:59 -07:00
Kelven Yang
0f26d5a050
Add skeleton to support out-of-band sync and recovery from left-over transitional VM states
2013-06-12 17:14:54 -07:00
Kelven Yang
2892469cf4
Fix recent changes in DeploymentPlanner
2013-06-12 15:30:24 -07:00
Kelven Yang
39dd4bd26b
Manage active job in run numbers
2013-06-12 14:29:44 -07:00
Alex Huang
e440bc7423
More changes
2013-06-12 13:59:29 -07:00
Kelven Yang
35ea8e149d
Fix errors in bringing up user VM under new VMsync framework
2013-06-12 12:05:26 -07:00
Kelven Yang
03a9445fda
Workaroud StartUserVM DeploymentPlan serialization issue to make it across job boundary
2013-06-12 09:45:06 -07:00
Kelven Yang
f2717207aa
Fix several assert revealed bugs
2013-06-12 09:45:06 -07:00
Alex Huang
d71e358a9f
Removed unused methods
2013-06-11 16:49:49 -07:00
Alex Huang
1310535be5
some unfinished cleanup on removing the caller and account
2013-06-11 16:45:18 -07:00
Alex Huang
33dfe4f752
Removed all the apis that need the user and account to be passed in. Get them from the call context instead
2013-06-11 14:11:40 -07:00
Alex Huang
ad1c82fdda
Removed unused stuff from virtualmachinemanager
2013-06-11 13:15:23 -07:00
Alex Huang
38a30574e9
Removed some of the unused code.
2013-06-11 09:51:51 -07:00
Alex Huang
aaa16af211
Merged from master
2013-06-09 17:53:27 -07:00
Alex Huang
186e62a868
asyncmanager is too tightly integrated with api. Can't break them apart at this point. Reverting previous change
2013-06-09 16:00:47 -07:00
Alex Huang
1f3d123866
Fixed problem with serializer
2013-06-09 04:38:09 -07:00
Alex Huang
59c211fca7
Changed async manager to use it's own serializer
2013-06-07 20:28:43 -07:00
Alex Huang
ebbd4008ad
zone creation complete once more
2013-06-07 18:15:55 -07:00
Prachi Damle
8c9f681f9e
CLOUDSTACK-2350: Anti-Affinity - As admin user, when tryinto update the affinity group for a Vm that is deployed by a regular user , he is presented with admin's affinity groups.
...
Changes:
- listAffinityGroups API takes in accountname and domainId parameter
- For admin, listall=true should return all affinity groups of all users
2013-06-07 15:28:28 -07:00
Alex Huang
5e6d2cf559
Fixed the start
2013-06-07 10:11:57 -07:00
Saksham Srivastava
5dc7387d3b
CLOUDSTACK-1647: IP Reservation should not happen if the guest-vm cidr and network cidr is not same but their start ip and end ip are same.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-07 16:54:40 +05:30
Likitha Shetty
e7d5ccaada
Fix DB warnings - txn: Commit called when it is not a transaction: -NetworkServiceImpl.dedicateGuestVlanRange:3050
2013-06-07 12:12:18 +05:30
Sheng Yang
4a14ea8a4d
CLOUDSTACK-1771: Fix ipv6 address for router
...
Now it won't change(as ipv4 address) after router is destroyed.
2013-06-06 18:04:35 -07:00
Kelven Yang
90df846adb
Fix CallContext NDC cleanup problem
2013-06-06 17:52:21 -07:00
Alena Prokharchyk
f4a1a2ff38
Allow account to have multiple networks with customer defined cidrs as we already let it happen when the cidr is taken from the physical network config
2013-06-06 11:52:15 -07:00
Kishan Kavala
62e125c081
check for null ACL before creating ACL commands
2013-06-06 19:02:44 +05:30
Kishan Kavala
aa2fb31112
check for null protocol while validating ACL item
2013-06-06 19:02:44 +05:30
Wei Zhou
d2e6bf5fa4
CLOUDSTACK-2865: fix error in prepareStop
2013-06-05 16:43:31 +02:00
Alena Prokharchyk
54481d0b7b
listLoadBalancingRules: when list by networkId, no need to pass the dataCenterId to the call
2013-06-05 10:25:25 -07:00
Wei Zhou
1696e8cb16
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack
2013-06-05 14:29:06 +02:00
Wei Zhou
15265479f6
CLOUDSTACK-2856: collectVmDiskStatistics before reboot/stop/migrate
2013-06-05 14:28:43 +02:00
Devdeep Singh
5af702dd90
CLOUDSTACK-2737: findHostsForMigration is resulting in an exception when there are no suitable tagged storage pools. Instead of a foreach made changes to use a iterator in the loop to avoid ConcurrentModificationException as the host list is being updated inside the loop.
2013-06-05 17:41:01 +05:30
Murali Reddy
91b15711b6
CLOUDSTACK-2343: listGlobalLoadBalancerRules shouldn't list the
...
globalGSLBRules of other accounts
imposing ACL checks
2013-06-05 15:02:03 +05:30
SrikanteswaraRao Talluri
4da995238b
CLOUDSTACK-2783: FIXED listHypervisorCapabilities API response to include the following fields: 1. maxdatavolumes 2. maxhostspercluster 3. storagemotionenabled
2013-06-05 13:50:41 +05:30
Prasanna Santhanam
956a5967dd
Pulling out Network operations into a separate manager
...
Network operations like VM, host and storage are pulled into a separate
managaer for simulator.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:23:07 +05:30
Alex Huang
2e1e2babcb
More fixes on starting from jobs
2013-06-04 20:10:29 -07:00
Kelven Yang
3327371f97
Add unit test back for async-job after job project structure re-org
2013-06-04 17:16:12 -07:00
Alex Huang
bd0c239f68
Added missing call context
2013-06-04 15:32:39 -07:00
Alex Huang
dd11254087
further refactored jobs
2013-06-04 13:54:33 -07:00
Alena Prokharchyk
95c9835f69
CLOUDSTACK-2817: set SearchBuilder with the "scheme" attribute
2013-06-04 13:45:54 -07:00
Alex Huang
51f533e97a
changes to jobs
2013-06-04 11:02:16 -07:00
Kishan Kavala
b5148af0c6
CLOUDSTACK-2809: Assign acl_id to VPC tier only when NetworkACL service is supported
2013-06-04 20:08:26 +05:30
Murali Reddy
cb595cafc7
CLOUDSTACK-2390:[GSLB] After removeFromGSLBRule, still CloudStack things
...
that lb rule is active
removing the GSLB rule to Lb rule mapping once rules are applied on the
GSLB service provider
2013-06-04 18:53:17 +05:30
Abhinandan Prateek
c8f143e3a7
bug CLOUDSTACK-2445: removed vm id from exception message
2013-06-04 16:11:40 +05:30
Prasanna Santhanam
0401774a09
StoragePoolForMigrationResponse -> StoragePoolResponse
...
The additional response type is basically the same as
StoragePoolResponse. Only additional state reported is whether the
storage pool is suitable for migration. Since this is fetched from
hypervisor capabilities there is no need for a new response type.
Tested with the simulator and I can see the response format correctly.
mysql> select * from hypervisor_capabilities where id=18\G
*************************** 1. row ***************************
id: 18
uuid: 98b88e6e-ccf1-11e2-bd2a-af89de8bd27e
hypervisor_type: Simulator
hypervisor_version: NULL
max_guests_limit: 100
security_group_enabled: 1
max_data_volumes_limit: 100
max_hosts_per_cluster: 100
storage_motion_supported: 1
vm_snapshot_enabled: 1
1 row in set (0.00 sec)
CloudMonkey output as below:
> find storagepoolsformigration id=0a644f79-53dd-4eb6-a871-64679a47cfc6
count = 1
storagepool:
name = PS0
id = 7c07ec9b-a3c6-3466-ab5a-f5669ead0b22
clusterid = 71fb5c34-4852-46e6-bb8f-c9da4e8f827c
clustername = C0
created = 2013-06-04T14:06:55+0530
disksizeallocated = 0
disksizetotal = 1099511627776
disksizeused = 0
ipaddress = 10.147.28.6
jobstatus = 0
path = /export/home/sandbox/primary0
podid = 560d9600-35dd-4a50-addd-81d5618536e9
podname = POD0
scope = CLUSTER
state = Up
suitableformigration = True
type = NetworkFilesystem
zoneid = 3108f711-0db6-4dad-a0d0-2fd7d413e5ef
zonename = Sandbox-simulator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-04 14:26:40 +05:30
Bharat Kumar
d58c0c4d11
Cloudstack-2736 [Multiple_IP_Ranges] Failed to deploy vm with IP address from new CIDR
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-04 14:19:57 +05:30
Alex Huang
688b047c2a
Made it all work on startup
2013-06-03 17:10:28 -07:00
Prasanna Santhanam
767ed065c5
CLOUDSTACK-2815: Include dedication in simulator context
...
SimulatoComponentContext need sto include the dedicated resource manager
to see the commands/apis exposed by it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-03 21:51:18 +05:30
Bharat Kumar
48913679e8
CLOUDSTACK-2648 [Multiple_IP_Ranges] Reboot or start/stop router vm deletes the ip alises created on VR in case of multiple subnets
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-03 19:22:27 +05:30
Bharat Kumar
0a69b82899
CLOUDSTACK-2620 [Multiple_IP_Ranges] Guest vm's nameserver is not set to VRs guest IP address in case of multiple subnets
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-03 19:09:01 +05:30