Alex Huang
3df5571d2e
Resolved merge conflicts
2013-08-12 20:15:24 -07:00
Alex Huang
de2bd96d98
Moved volume related code into cloud-engine-orchestration
2013-08-12 19:06:51 -07:00
Alex Huang
ae8ed58228
Added missing file
2013-08-12 19:05:23 -07:00
Alex Huang
0e19e82fac
Split up the volume manager into two. One part is for self-service. One part belongs in the engine. Removed old 2.1 upgrade code. In order to upgrade from 2.1, you must upgrade to 2.2. first. So therefore these files are no necessary in the newer versions of CloudStack
2013-08-12 19:05:22 -07:00
Jessica Wang
3c16adf6dc
CLOUDSTACK-4142: listNetworkOfferings API has been changed to not return system-owned network offerings to regular-user. So, add networkofferingconservemode property to listNetworks API response.
2013-08-12 17:50:02 -07:00
Min Chen
ebdc5786bf
CLOUDSTACK-4250: [Object_store_refactor] Register ISO fails in multizone
...
environment if downloading to one of the zone fails.
2013-08-12 11:26:26 -07:00
Saksham Srivastava
5510bca9e5
CLOUDSTACK-4189: [UI] In multi zone setup, dedicating a single zone to a domain, shows other zones dedicated as well
2013-08-12 18:27:52 +05:30
Murali Reddy
5cff9bd2e6
CLOUDSTACK-4111: Prompt "Acquire New IP - Cross Zones - YES/NO" wizard
...
only when there is portable IP range added at region level.
region response will now have details if portable IP service is enabled
or not. Portable IP service for a region is turned off by default. when
adming adds a portable ip range portable ip service is enabled for the
region.
2013-08-12 18:12:13 +05:30
Likitha Shetty
cd2ea3b844
CLOUDSTACK-4244. Unable to attach a volume to a VM deployed in Stopped (startvm=false) state.
...
While attaching a volume to a VM, create volume on the hypervisor only if the VM has been started on the it.
2013-08-12 15:49:08 +05:30
Rajesh Battala
be9dbcc2c5
CLOUDSTACK-3946 [KVM] [Zone Wide Primary Storages] migrateVolume is deleting the volume if the source and destination pool are same
2013-08-12 13:41:49 +05:30
Murali Reddy
f1c611ac60
CLOUDSTACK-4206: [EIP/ELB] Failed to disableStaticNAT when the userVM is
...
in destroyed state.
ignore VM state when system is enabling static NAT on the system IP to
VM in EIP enable network
2013-08-12 04:49:03 +05:30
Harikrishna Patnala
2868d4b336
CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm; Zone host is ready, but secondary storage vm template: 3 is not ready on secondary storage: 2
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-11 20:34:39 +05:30
Mike Tutkowski
d39408cd0c
CLOUDSTACK-4227
2013-08-10 17:43:15 -06:00
Harikrishna Patnala
5404bf6063
CLOUDSTACK-4123: 3.0.6 to ASF 4.2 Upgrade: On Adding VMWare Cluster to the Setup, 3.0.6 System VM Template for VMWare is downloaded instead of 4.2
...
Updating the new system template URLs for the existing templates during upgrade to 4.2.
If new 4.2 system template is registered before upgrade then marking the old templates as removed during upgrade.
2013-08-10 18:02:49 +05:30
Anthony Xu
36d7b49d5f
CLOUDSTACK-4210
...
delete templateVO entry when there is no image store having this template
2013-08-09 12:08:00 -07:00
Likitha Shetty
ec669ff48e
CLOUDSTACK-3786. Snapshots removed field is not set after successful deletion of the snapshot.
...
Set the removed field for snapshot when the storage gc removes the snapshot
2013-08-09 18:48:29 +05:30
Koushik Das
8cf48ed2ce
CLOUDSTACK-4179: [Performance Testing] Time taken for Deploy VM async job to complete is considerably higher
...
The time increased due to the newly added dedicated resources feature. During regular VM deployment, all dedicated resources are put in avoid list so that they are not considered for deployment.
Now the way to compute the list of dedicated resources is not optimal and performance deteriorates in an environment having lot of pods, clusters and hosts as the logic is to query db. for each suc resource.
The fix is to optimize the logic not to loop through all resources but get the list of each resource type in a single query.
Conflicts:
server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2013-08-09 16:57:21 +05:30
Devdeep Singh
32701f027a
CLOUDSTACK-2670. Migrate volume doesn't allow migration of volumes of a stopped vm.
...
The findStoragePoolsForMigration and migrateVolume api were explicitly blocking moving
a volume if the instance to which it was attached was stopped. Updated the check for
the same.
2013-08-09 14:28:01 +05:30
Min Chen
99c3e4f3f5
CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
...
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:17:00 -07:00
Alex Huang
5495f10bce
Revert "Reverting the range of commits that broke the build"
...
This reverts commit b59e3aaefced03d40d5b4b63c421c69743bcd387.
2013-08-08 15:02:40 -07:00
Alena Prokharchyk
958c2b2040
CLOUDSTACK-4141: resizeVolume - read the result of AsyncCallFuture execution. If false, return null to the API caller
2013-08-08 13:53:58 -07:00
Alena Prokharchyk
4976a67bfc
CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId
2013-08-08 10:49:12 -07:00
Bharat Kumar
5f2f5181e9
CLOUDSTACK-4083 if a failure occurs while adding VM to another network (this should be the first vm in the subnet). The ip alias created as a part of this process is not removed.
...
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-08 10:31:15 -07:00
Min Chen
1a194ef725
CLOUDSTACK-1405:ZWPS: listStoragePool API doesn't accept scope parameter
...
.
2013-08-08 10:10:15 -07:00
Likitha Shetty
b7c5068327
CLOUDSTACK-4186. Signature computed while accessing VM's console is not aligned with how signature is computed for other APIs
2013-08-08 16:29:12 +05:30
Prasanna Santhanam
b59e3aaefc
Reverting the range of commits that broke the build
...
This reverts commits 30c33415..f6a2c817bc
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 14:46:56 +05:30
Likitha Shetty
aba50f81cf
CLOUDSTACK-4153. Guest vlan dedication is not working as expected in case of multiple physical networks.
2013-08-08 10:59:19 +05:30
Alex Huang
5287f4c9ec
Got everything running through testing
2013-08-07 16:41:06 -07:00
Alex Huang
5161ded69c
Removed the configuration parameters from Config.java
2013-08-07 16:41:05 -07:00
Alex Huang
49cd4fa380
Connected config gathering to CloudStack
2013-08-07 16:41:04 -07:00
Alex Huang
942f282a6e
Moved config into it's own package
2013-08-07 16:41:02 -07:00
Alex Huang
cf3bbb1fb1
Switched AgentManager to use ConfigDepot
2013-08-07 16:41:00 -07:00
Edison Su
e115ee4026
CLOUDSTACK-3535: still maintain stop agent wont trigger HA
2013-08-07 14:43:16 -07:00
Edison Su
5b0314fff9
CLOUDSTACK-3535: add kvminvestigator to investirage kvm host
...
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2013-08-07 11:44:19 -07:00
Saksham Srivastava
61c7aa7afe
CLOUDSTACK-4104: VM Creation should fail if a zone is dedicated to a domain and user of the same domain deploys vm without using affinity group "Explicit Dedication".
2013-08-07 17:15:12 +05:30
Likitha Shetty
31fe99ef91
CLOUDSTACK-4025. NPE observed during VM start.
...
NPE was hit during VM start because the network it was to be deployed in didn't get implemented - Handling this failure.
2013-08-07 13:28:27 +05:30
Sateesh Chodapuneedi
c14c736d7a
CLOUDSTACK-4047 [sM][VMWare][ZWPS]: no need of storage migration while migrating VM when the root volume is on zone wide primary storage
...
Introduced check for zone wide pools while listing hosts for migration.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 01:36:32 +05:30
Wido den Hollander
fd793f7fb6
config: Fix a typo in the configuration option
2013-08-06 15:19:43 +02:00
Bharat Kumar
1a89bc06c8
Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:28:22 +05:30
Murali Reddy
42b81009b9
CLOUDSTACK-4013: [PortableIP] [MultiplePhysicalNetworks] Associate
...
portable IP is trying to insert network id as physical network id
ensuring network id, physical network id, source network id are properly
set for portable ip in user_ip_address and vlan tables
2013-08-06 17:16:58 +05:30
Jayapal
6164077ee8
CLOUDSTACK-4084 Fixed the static nat vm ip address in public ip address table in external network gc
...
In external network after network GC the network n/w cidr changes.
In this case the static nat enable vm ip also chagnes. So updated the new
vm ip address in user_ip_address table.
2013-08-06 16:25:51 +05:30
Likitha Shetty
eac3631abe
CLOUDSTACK-4038. State of the DATA volumes remains in Allocated state if they are deleted before using them.
...
If a volume is in Allocated state i.e. not present in primary or secondary mark the volume as removed.
2013-08-06 16:02:40 +05:30
Murali Reddy
323f246765
CLOUDSTACK-2955: [PortableIPrange deletePortableIpRange fails because of
...
UI firing an incorrect API
adding 'portableiprange' tag to the job result of
CreatePortableIpRangeCmd api job response
2013-08-06 16:01:11 +05:30
Prasanna Santhanam
0eafc0c0d8
CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
...
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0e216fa7e41bdfe0cc744006bb896c8b00138ca2)
2013-08-06 10:39:14 +05:30
Murali Reddy
56d7ccef97
CLOUDSTACK-4037: [GSLB] removeFromGSLBRule is not cleaning the
...
cloudsite1 infro from the second site NetScaler device
ensuring when a site no longer participates in GSLB, complete GSLB
config for that rule is wiped out on the GSLB provider for that site
2013-08-06 05:56:26 +05:30
Alena Prokharchyk
beabf596ba
CLOUDSTACK-4080: don't GC the network when it has vms in Starting state even when the nics are not allocated for them yet (can happen when vm is being created)
2013-08-05 14:15:04 -07:00
Daan Hoogland
d9202100e0
fix warnings in NetworkServiceImpl: removed unused code and add cases to switches
2013-08-05 11:21:39 -07:00
Alena Prokharchyk
a5c2d24ee2
CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller
...
Conflicts:
server/src/com/cloud/template/TemplateManagerImpl.java
2013-08-05 10:39:48 -07:00
Wido den Hollander
6906a9016d
config: Only user low-case names for variables
2013-08-05 17:37:57 +02:00
Sanjay Tripathi
8845aae0bc
CLOUDSTACK-4075: User unable to archive events
2013-08-05 20:01:40 +05:30