Sateesh Chodapuneedi
e280d24d18
Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2
2013-08-19 05:54:01 +05:30
Prasanna Santhanam
3d39716c8f
CLOUDSTACK-4384: Switch back to CLOUD_DB after simulator processing
...
Simulator should revert back to CLOUD_DB after its operations on
SIMULATOR_DB or the cloudstack connections go to the simulator instead
of cloud.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 10:39:54 +05:30
Sateesh Chodapuneedi
dd5ea8f2aa
CLOUDSTACK-4385 : [ZWPS]Across the cluster live migration of VM on zone wide primary storage pool fails
...
If all the VM's volumes are on zone wide primary storage pool then live migration of the VM would not involve storage migration. Hence MigrateVM API would be called against MigrateVMWithVolume. So far PrepareForMigrationCommand handled scenarios of VM moving across hosts within a cluster, but with zone wide primary storage in picture this command need to handle scenarios of VM moving across clusters. Try to find the VM in datacenter if not found within cluster.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 05:52:13 +05:30
Edison Su
3c40e8bb3f
CLOUDSTACK-4338: fix NPE if create volume failed
2013-08-18 16:26:08 -07:00
Edison Su
4277bcf8f4
CLOUDSTACK-3229: if delete snapshots on staging area failed, still treat backup snapshot as succeed. And modify snapshot delete logic on devcloud
2013-08-17 13:20:58 -07:00
Edison Su
b359152679
CLOUDSTACK-4325: add more test cases for zone wide storage pool allocator
2013-08-17 12:37:49 -07:00
Edison Su
ca678a8742
CLOUDSTACK-4300: possible fix: cputune feature is only available after 0.9.0, so start vm can fail on rhel 6.1
2013-08-17 00:19:03 -07:00
Likitha Shetty
2e0ad8e573
CLOUDSTACK-4352. In VMWare, to resize an offline volume we create a worker vm. When a volume is being shrinked or when it is resized to the same size delete the vm before returning.
2013-08-16 14:36:32 +05:30
Min Chen
f856c359eb
CLOUDSTACK-3229: deleteSnapshotBackup failed on devcloud due to
...
different SR mount point on devcloud hypervisor.
2013-08-15 17:52:44 -07:00
Min Chen
f197a7b79f
CLOUDSTACK-2583: [Object_Store_Refactor] Failed to create snapshot from
...
root disk of a guest VM.
2013-08-14 18:01:09 -07:00
Edison Su
a247be70d8
CLOUDSTACK-4315: add code to clean up libvirt data structure after plug/unplug, that's the only thing I can do to fix this kind of libvirt issue
2013-08-14 16:57:14 -07:00
Kelven Yang
950672ef8c
CLOUDSTACK-4288: Fix the way that VmwareClient is using vSphere 5.1 SDK which caused huge memory footprint
2013-08-14 15:00:07 -07:00
Edison Su
6abc3da828
CLOUDSTACK-4318: clean up snapshot stored in staging area, after backup snapshot to object store
2013-08-14 14:58:01 -07:00
Edison Su
1451b8b642
CLOUDSTACK-4324: need to clean up snapshot_store_ref, if creating snapshot failed.
2013-08-14 14:18:22 -07:00
Wido den Hollander
97cad491ac
CLOUDSTACK-4278: Fix resizing RBD volumes
...
Although libvirt supports resizing RBD volumes (and other formats) the
Java bindings (libvirt-java) don't.
Right now we use the Java bindings for librbd to handle the resizing for us,
but in the future this should be done by libvirt rather then these
Java bindings.
2013-08-14 16:17:37 +02:00
Sateesh Chodapuneedi
507f742213
CLOUDSTACK-4326 Adding VMware DC to legacy zone should not be allowed by API
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-14 12:51:01 +05:30
Wido den Hollander
5d9ce82f7d
rbd: When the template is a RAW image, do not use a temp file when deploying
2013-08-14 13:28:21 +02:00
Vijayendra Bhamidipati
c850f0a0e3
CLOUDSTACK-4139: [VMWARE][ZWPS] Failed to resize the volumes which are created from snapshot
...
Description:
Support offline volume resize on ESX by creating a worker VM
to attach the unattached volume to and then resize it.
2013-08-13 12:46:35 -07:00
Wei Zhou
7f63128061
Remove unused method deleteVbdByPath from KVM storage classes
...
(cherry picked from commit c3bc9d65dd )
2013-08-13 23:51:48 +02:00
Wido den Hollander
8a49f5a1a9
CLOUDSTACK-4114: Use RAW disk images for RBD instead of QCOW2
2013-08-13 16:26:02 +02:00
Prasanna Santhanam
0c294a50a8
CLOUDSTACK-4285: configure simulator API not discovered
...
- ManagementServerSimulatorImpl is not injected by default context.
configureSimulatorCmd API was loaded as part of it. Use
SimulatorManagerImpl as PluggableService to inject configureSimulator
API.
- Remove unused ManagementServerSimulatorImpl.
- Rename ConfigureSimulator to ConfigureSimulatorCmd for uniformity with
all API Cmds
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-13 18:02:18 +05:30
Mike Tutkowski
b04a2b561b
CLOUDSTACK-4264
2013-08-12 21:57:55 -06:00
Kelven Yang
edaa1c8927
CLOUDSTACK-3568: Refactore CloudStack/vCenter API session management facility to avoid the situation that multiple API requests are sharing with the same vCenter API session
2013-08-12 16:24:57 -07:00
Sateesh Chodapuneedi
2c9f073249
CLOUDSTACK-3905 [VMWARE]Can not add Standard/DVSwitch when Nexus global config is set to true
...
Make VSM specific input paramters optional while adding VMware cluster where no traffic chosen to use Nexus 1000v dvSwitch when cloud level vSwitch is Nexus 1000v.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 22:41:38 +05:30
frank
a6c9d699bc
CLOUDSTACK-4224
...
UCS:UI: Delete UCS returns unknown API
2013-08-12 12:09:19 -07:00
Edison Su
73c57bf0b2
CLOUDSTACK-4253: add more logs for vmware storage related operations
2013-08-12 11:29:29 -07:00
Edison Su
8e5406f5ba
CLOUDSTACK-4253: change the log message if copy template from secondary storage to primary storage failed
2013-08-12 11:01:56 -07:00
JijunLiu
df1756b619
add doc for kvm cpu model
...
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
(cherry picked from commit 8d53887cec )
2013-08-12 15:35:01 +02:00
Sateesh Chodapuneedi
32fd0c94a2
CLOUDSTACK-4246 VM deployment fails with global configuration parameter "vmware.nested.virtualization" enabled.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 09:51:41 +05:30
Sateesh Chodapuneedi
e4f9c2ac44
CLOUDSTACK-4155 [VMWARE] Failed to deploy VM with NPE when vmware.nested.virtualization is enabled to true
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 07:45:15 +05:30
Harikrishna Patnala
a7dea8eecd
CLOUDSTACK-3850: CPU cap should be per VM not per VCPU
...
Signed-off-by: Koushik Das <koushik@apache.org>
2013-08-12 08:37:37 +05:30
Mike Tutkowski
48cf866219
CLOUDSTACK-4235
2013-08-10 16:56:40 -06:00
Mike Tutkowski
8d36a4d80e
CLOUDSTACK-4235
2013-08-10 16:54:33 -06:00
Edison Su
9f9cf2a7fc
CLOUDSTACK-4216: fix extract volume for kvm
2013-08-09 20:52:08 -07:00
Edison Su
4cd76b5a99
CLOUDSTACK-4211: fix s3 on kvm
2013-08-09 19:43:45 -07:00
Kelven Yang
17715d7e77
CLOUDSTACK-3237: pass disk file name instead of full datastore path when setting up storage relocation specin order to safely locate the disk device
2013-08-09 17:28:35 -07:00
anthony
f399372233
CLOUDSTACK-3495
...
CS used to access vnc server in xenserver dom0 to get VM console, now CS moves to use XenServer console API. getvncport plugin is not needed any more.
remove the code related to getvncport in XenServer
2013-08-09 17:21:56 -07:00
Sanjay Tripathi
f168df3472
CLOUDSTACK-2448: XenServer Guest OS Mapping Corrections.
2013-08-09 18:23:35 +05:30
Sanjay Tripathi
c184925096
CLOUDSTACK-4187: 2.2.1 - 4.2 Upgrade: Few Guest OS Types information is inconsistent on the Upgraded Setup when compared with the fresh 4.2 Installation.
2013-08-09 15:01:41 +05:30
Wei Zhou
dacc4e1a4f
CLOUDSTACK-2729: increase waiting timeout for global file lock to 300 seconds
...
(cherry picked from commit 6d86af85ba )
2013-08-09 08:59:34 +02:00
Kelven Yang
4e7b1de45a
CLOUDSTACK-3778: serialize configuration of port group at per-host level to prevent run-time race condition
2013-08-08 17:41:45 -07:00
Edison Su
2b32477aca
CLOUDSTACK-3538: if passcmdline succeed, don't need to retry again, and increase the retry to 5 minutes at most
2013-08-08 17:19:34 -07:00
Min Chen
605376dc4d
CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
...
staging storage after successfule volume migration .
2013-08-08 16:08:50 -07:00
frank
89fa7a58ae
CloudStack CLOUDSTACK-4160
...
listUcsManagers API needs to be able to take in id parameter
2013-08-08 14:55:15 -07:00
Edison Su
784a9d45d0
CLOUDSTACK-4106: fix volume related operations on vmware&s3
2013-08-08 12:34:54 -07:00
Wei Zhou
ea50c6663f
CLOUDSTACK-2729: use spd.getTargetPath instead of mount path to fix issue on local storage
...
(cherry picked from commit b2ed632396 )
2013-08-08 16:43:23 +02:00
Sateesh Chodapuneedi
caa9d27822
CLOUDSTACK-2558 Nexus configuration cleanup is not done when there is a failure while adding the Nexus enabled VMWARE cluster which is causing for NPE while readding the cluster with same configuration details
...
If cluster addition fails then cleaning up the Nexus VSM related to the cluster.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 13:46:59 +05:30
Edison Su
f6b66b94f0
CLOUDSTACK-4108: fix create template from snapshot for vmware& s3
2013-08-07 19:11:28 -07:00
Edison Su
26a5b76ee6
CLOUDSTACK-4109: fix upload volume to s3 for vmware
2013-08-07 18:25:59 -07:00
Kelven Yang
ec5f2c1512
CLOUDSTACK-3869: fix merge conflicts
2013-08-07 17:44:40 -07:00
Kelven Yang
1d939930de
CLOUDSTACK-3869: make new folder structure to work with Create/Delete/Attach/Detach commands
2013-08-07 17:44:40 -07:00
Min Chen
ecfedf00bf
CLOUDSTACK-4135: [Object_store_refactor] ISO attached to the guest vm
...
has wrong mount path.
2013-08-07 17:26:42 -07:00
Edison Su
6766c01fc6
CLOUDSTACK-3535: still maintain stop agent wont trigger HA
2013-08-07 14:42:04 -07:00
frank
8c46b13366
CloudStack CLOUDSTACK-4160
...
listUcsManagers API needs to be able to take in id parameter
2013-08-07 14:44:49 -07:00
Min Chen
e87b1679cd
CLOUDSTACK-3568: [Automation]Parallel deployment - Vmware - When
...
deploying 30 parallel Vms , we see ~15 Vms fail in
org.apache.cloudstack.storage.command.CopyCommand.
2013-08-07 11:13:56 -07:00
Kelven Yang
059e4b2ae0
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
2013-08-07 10:29:18 -07:00
Sateesh Chodapuneedi
aa3558d103
CLOUDSTACK-3616 [VMware] Failed to create template from volume (volume is created from snapshot of data volume)
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 14:49:32 +05:30
Sateesh Chodapuneedi
30e12c289e
CLOUDSTACK-3782 Data disk size is modified to KB from GB after it is attached to the instance
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 08:07:32 +05:30
Sanjay Tripathi
23aaeafd21
CLOUDSTACK-3723: System VM Template for XenServer has wrong guest OS type Information on the Database
...
Also added the debian 7 to debian 6 mapping in CitrixHelper file
to support the debian 7 template in XS 6.0, 6.0.2, 6,1 etc.
2013-08-07 12:23:44 +05:30
Wei Zhou
9ec8d48945
Revert "CLOUDSTACK-2729: don't refresh storage pool when accessing libvirt storage pool"
...
This reverts commit b50060be0c .
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-08-07 08:11:15 +02:00
Sateesh Chodapuneedi
ffdde5cc2e
CLOUDSTACK-4041 [ZWPSFailed to migrate a ROOT volume created on zone wide primary storage
...
While finding endpoint to send the migrate volume command, in case of zone wide storage pool, storage engine is picking a host among all connected hosts randomly. Hence a host may be from different cluster t
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 05:27:17 +05:30
Prasanna Santhanam
9d8152546d
Squeak.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 10:41:33 +05:30
Marcus Sorensen
3b2e62dbfa
Revert "Summary: Use hypervisor as clock source for system vms"
...
removing due to CLOUDSTACK-2872, ubuntu 12.04's libvirt isn't new enough
This reverts commit c7ebcb4e8c .
2013-08-06 23:10:04 -06:00
Edison Su
33d06d25b8
CLOUDSTACK-3535: add kvminvestigator to investirage kvm host
2013-08-06 18:50:33 -07:00
frank
a473e49b72
CLOUDSTACK-4093
...
UCS:API: Need delete UCS_manager API
2013-08-06 17:59:20 -07:00
Min Chen
923c4fd60f
CLOUDSTACK-4116: Volume operations fail: InvocationTargetException when
...
invoking RPC callback for command: createVolumeCallback
2013-08-06 15:21:56 -07:00
Marcus Sorensen
016fe3ecb8
Summary: Quiet erroneous stopVM failures on kvm
...
Detail: Cloudstack tries to stop VMs all the time, for all sorts of reasons,
but usually just to get into a known state. Libvirt throws an exception of
'Domain not found' when attempting to stop a VM that doesn't exist. This causes
problems for troubleshooting real issues. Domain not found should equate
to success if trying to stop.
BUG-ID: CLOUDSTACK-4011
Bugfix-for: 4.2
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1375825281 -0600
2013-08-06 15:44:23 -06:00
Edison Su
fe9f02c372
fix simulator
2013-08-06 13:30:52 -07:00
Wei Zhou
c229244dab
CLOUDSTACK-2729: move unlock to finally block to handle failed libvirt operations
...
(cherry picked from commit 5cb090ed40 )
2013-08-06 12:40:32 +02:00
Edison Su
333b272120
CLOUDSTACK-4073: fix s3 on vmware
2013-08-05 20:20:31 -07:00
Edison Su
ab9ce67e19
CLOUDSTACK-4074: if hypervisor doesn't return size of volume/template, don't update it into db
2013-08-05 16:21:36 -07:00
Kelven Yang
68974a0d0e
CLOUDSTACK-3869: Move VMware datastore folder structure policy management to central place
2013-08-05 13:40:57 -07:00
Wei Zhou
0f539b4ce1
CLOUDSTACK-2729: use file lock to prevent concurrent refreshPool/deleteVolume on KVM shared storage pool
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-05 11:21:00 -07:00
frank
001ff45a76
CloudStack CLOUDSTACK-3307
...
UCS:DB: Same UCS manager can be added multiple times
2013-08-05 11:09:51 -07:00
Wido den Hollander
78b745f7cd
rbd: Move some logic from LibvirtComputingResource into KVMStorageProcessor
...
All this logic was in LibvirtComputingResource but seems redundant. Move it
into the KVMStorageProcessor
2013-08-05 17:35:32 +02:00
Wido den Hollander
59b23fe1f4
CLOUDSTACK-4004: Fix attaching a newly allocated RBD image to an Instance
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-08-02 13:21:23 +02:00
JijunLiu
725d281cb2
Add cpu model for kvm guest.Now all the kvm guest's cpu model is 'QEMU Virtual CPU version xxx'. This will affect the activation of Windows OS and low performance. I add three mode for user to indicate the guest cpu model.add libvirt version check
...
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
(cherry picked from commit 2903bb5fd9 )
2013-08-02 11:59:02 +02:00
Anthony Xu
17511b6a35
CLOUDSTACK-4017:
...
try to remove VDI host lock before start the VM which is using this VDI
2013-08-01 15:31:26 -07:00
frank
ad9be8046f
CloudStack CLOUDSTACK-3986
...
baremetal - create basic zone for baremetal fail - Dhcp service provider for this network does not support the dhcp across multiple subnets
2013-08-01 14:55:46 -07:00
Edison Su
5384cbc41d
CLOUDSTACK-4008: return virtual size of volume in KVM
2013-08-01 13:22:46 -07:00
Sanjay Tripathi
47803c21fb
CLOUDSTACK-4001: Unable to deploy Windows server 2012 64 bit VM on xenserver 6.2
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 21:05:50 +05:30
Bharat Kumar
087b1dcfc3
Cloudstack-3299 incorrect arguments sent to the script createIpalias in case of vmware, Cloudstack-3240 corrected a mistake in the script name.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 17:00:40 +05:30
Wido den Hollander
698253576a
rbd: Enable snapshotting of RBD images
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-08-01 09:57:13 +02:00
John Burwell
1162b87f14
- CLOUDSTACK-3229: Attempt to adjust snapshot source path to new cache
...
filesystem layout
2013-08-01 03:48:52 -04:00
John Burwell
af631c3e0e
- CLOUDSTACK-3229: Works around Introspector bug that does not recognize
...
Boolean typed accessor methods by manualy populating the https value.
A generic implementation will be investigated when time permits.
2013-08-01 01:46:41 -04:00
John Burwell
9cd4e089a5
- CLOUDSTACK-3229: Fixes a think-o in the handling of unmodifiable
...
collections and adds a rail in s3xen to raise an exception if the file being
put does not exist
2013-08-01 00:11:40 -04:00
John Burwell
59492fae10
- CLOUDSTACK-3229: Properly serialize the https property to the s3Xen
...
plugin
- Extracts the duplicated serializeProperties methods to
ReflectUtils#flattenProperties
- Adds unit tests for ReflectUtils#flattenProperties
2013-07-31 23:16:21 -04:00
John Burwell
3cf09f337f
- CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
...
plugin
2013-07-31 09:57:07 -04:00
Marcus Sorensen
5a2fd3e2a4
Summary: Move Xen vmdata to new, non-ssh method
...
Detail: KVM recently got a patch that did away with a few dozen ssh calls
when programming virtual router (CLOUDSTACK-3163), saving several seconds
for each vm served by the virtual router when the router is rebooted. This
patch updates Xen to use the same method, and cleans up the old script refs.
Reviewed-by: Sheng Yang, Prasanna Santhanam
2013-07-30 21:41:11 -06:00
Kelven Yang
065ae7a497
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-07-30 18:05:38 -07:00
Toshiaki Hatano
a310815aac
CLOUDSTACK-3959: [KVM] agent setup failed when physical interface name is in pXpY format
...
Add handling.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-30 16:14:38 -07:00
Edison Su
b3576cac27
add note on vmwarweguru->getCommandHostDelegation
2013-07-30 11:37:14 -07:00
Edison Su
d9ba83f0a4
CLOUDSTACK-3944: fix regression for vmware
2013-07-30 11:34:40 -07:00
Koushik Das
73ec4ede66
CLOUDSTACK-3937: Attaching uploaded volume is failing
...
The method getCommandHostDelegation(long hostId, Command cmid) got overidden in VmwareGuru.java as part of
commit bfe30cd2e3 . Earlier there was no HV specific implementation and copy
volume from secondary to primary worked fine. With the Vmware specific change the code was getting hit even
in case of XS and other hypervisors and failed with NPE.
Now there is a check in the Vmware implementation to check if the HV is of type Vmware.
2013-07-30 16:34:28 +05:30
Edison Su
6533e6559b
CLOUDSTACK-3107: fix attach upload volume
2013-07-29 18:59:10 -07:00
Edison Su
734aa1d510
CLOUDSTACK-3908: fix extract path
2013-07-29 16:57:44 -07:00
frank
6a21a71e71
CLOUDSTACK-3918
...
com.cloud.ucs.manager.UcsManagerImpl cannot parse default config
2013-07-29 15:29:10 -07:00
Kishan Kavala
6154c52242
CLOUDSTACK-3849: Set volume size in CopyAnswer for Vmware when cloning volume from bas template
2013-07-29 16:34:15 +05:30
Mice Xia
acd2396660
fix CLOUDSTACK-3591 add usage recording for VM snapshots
2013-07-29 17:57:20 +08:00
Harikrishna Patnala
4d35d92208
CLOUDSTACK-3779: Support System vm scaling on VMWare
...
Marked the system template new system template as dynamicallyScalable
- handled upgrade case
- moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Harikrishna Patnala
2b42a27177
CLOUDSTACK-3669: Bringing down the dynamic scalable check (for VM whether it has xstools or vmware tools in it) to the management layer.
2013-07-29 14:07:06 +05:30
Sateesh Chodapuneedi
7ba5d9910b
CLOUDSTACK-3468 Failed to Deploy Instances with multiple VMWARE clusters when DVS is enabled at the Zone level
...
Fixing cluster level override of zone level specified vSwitch settings.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-29 03:09:09 +05:30
Prasanna Santhanam
908df7aabd
Fix simulator and marvin
...
- Remove additional parantheses in marvin VirtualMachine.create(
- Implement createEntityExtractUrl command for simulator
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 10:20:16 +05:30
Sateesh Chodapuneedi
9b7bee0e85
CLOUDSTACK-3879 [VMware] NPE while attempting to create template from volume
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-27 16:59:26 +05:30
Sateesh Chodapuneedi
2aa2f47519
COUDSTACK-3053 Template creation from snapshot is failing on VMware setup
...
Fixed snapshot vmdk file path while copying snapshot files to template path.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-27 16:54:49 +05:30
Edison Su
ed46a64add
CLOUDSTACK-3852: fix upload volume
2013-07-26 18:05:10 -07:00
Min Chen
1305697eaa
CLOUDSTACK-3818: NFS Cache Improperly Named.
2013-07-26 14:36:00 -07:00
frank
c544f34f70
make UCS api name better
2013-07-26 11:29:37 -07:00
Sanjay Tripathi
c0eec551fe
CLOUDSTACK-3544: Xen 6.2 hosts are tagged with Xen 6.1.
...
This commit will add the new xenserverresource file to support XenServer 6.2.
Also add the guest OS list supported by xenserver 6.2
2013-07-26 15:33:37 +05:30
Devdeep Singh
b466729008
CLOUDSTACK-3501. Cannot create instances on XenServer with multiple cores in a socket. If
...
details has information on cores per socket, create an instance accordingly. The vm record
is populated with information on how many cores should be allowed in a socket.
2013-07-26 14:47:14 +05:30
Devdeep Singh
1b340e0544
CLOUDSTACK-3590. Adding new xenserver host to cluster fails in first attempt. While adding
...
a host to the pool it may take a little longer to join the pool. Increased the time the
resource waits and checks to make sure the host has joined as slave to the pool.
2013-07-26 10:57:37 +05:30
frank
4191f157c1
change associatesUcsProfileToBlade to async api
2013-07-25 15:25:29 -07:00
Min Chen
6b9ea47711
CLOUDSTACK-3667:[Object_Store_Refactor][VMWare] System VMs StartCommand
...
failed due to Exception: java.lang.Exception Message: secondary storage
for dc 3 is not ready yet?
2013-07-25 10:56:01 -07:00
Jayapal
34f75b0a5d
CLOUDSTACK-2933 Added vpc load balancing changes for vmware
2013-07-25 17:40:21 +05:30
Prasanna Santhanam
0b90fa369e
Fix the simulator
...
Include the createTemplateFromSnapshot in the storageprocessor.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 14:15:03 +05:30
Edison Su
ca474d0e09
CLOUDSTACK-2304: fix migrate volume for vmware
2013-07-24 18:59:46 -07:00
Min Chen
9f23b1c0c1
CLOUDSTACK-3665:KVM specific issue in create volume from snapshot.
2013-07-24 18:34:59 -07:00
Edison Su
bfe30cd2e3
CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot
2013-07-24 15:54:36 -07:00
Bharat Kumar
42346cdf47
Cloudstack-3694 Dnsmasq rewrite in bash
...
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 13:59:58 -07:00
Harikrishna Patnala
820a5e09dc
Fix file name in DnsMasqConfigCommand
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-24 13:59:58 -07:00
Harikrishna Patnala
d09a088093
CLOUDSTACK-3302: [Multiple_IP_Ranges][VmWare] VM deployement failed due to dnsmasq configuration issue in case of multiple subnets in a vlan
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-24 13:59:58 -07:00
Bharat Kumar
3673db26b0
Cloudstack-3302 VM deployement failed in VMWare due to dnsmasq configuration issue in case of multiple subnets in a vlan
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-24 13:59:57 -07:00
Amogh Vasekar
25c566f04b
Adding HTTPS support for UCS, refactored code for o.a.c.httpclient.contrib
...
CLOUDSTACK-3285
UCS: Need support for HTTP redirects and HTTPS Certificate handling
2013-07-24 13:49:16 -07:00
Anthony Xu
121f947f62
when create local link netowrk fails for xenserver, adding host should fail
2013-07-23 15:04:25 -07:00
Amogh Vasekar
6d5435e98f
Adding encryption flag
...
CLOUDSTACK-3308
UCS:DB: UCS Manager password should not get stored in plain text.
2013-07-22 15:35:49 -07:00
Anthony Xu
db9fa40bf9
correct the log message
2013-07-22 15:22:41 -07:00
Wei Zhou
cfc85eb68f
ui change: Disk I/O polling statistics
2013-07-22 16:09:50 +02:00
Edison Su
8c3f970434
CLOUDSTACK-2630: fix delta snashpt
2013-07-20 18:21:26 -07:00
Mike Tutkowski
25b33ec808
Changes related to Review Board comments
2013-07-20 17:25:22 -06:00
Edison Su
e659328ff5
fix create template from snapshot if it's swift
2013-07-19 18:18:02 -07:00
frank
f21fd253eb
CLOUDSTACK-3428
...
UCS:API: We need listUCSManager API to lists all UCS managers registered with CloudStack
fix entityType in api command
2013-07-19 17:47:54 -07:00
frank
a5ee39a54a
CLOUDSTACK-3453
...
UCS:API: List Blades after decommissioning a blade, listUcsBlades API returns wrong number of total blades
fixed resolved
2013-07-19 16:15:46 -07:00
Mike Tutkowski
8f1799b71f
Changes related to Review Board comments
2013-07-18 19:46:42 -06:00
frank
1c8555eed1
CLOUDSTACK-3426
...
UCS: Session cookie refresh must be supported.
add missing plugins/hypervisors/ucs/src/com/cloud/ucs/structure/UcsCookie.java
2013-07-18 16:44:30 -07:00
frank
dbdab98ed4
CLOUDSTACK-3426
...
UCS: Session cookie refresh must be supported.
fixed resolved
2013-07-18 16:31:57 -07:00
frank
7ff74caf8e
CLOUDSTACK-3307
...
UCS:DB: Same UCS manager can be added multiple times
fixed resolved
2013-07-18 11:45:10 -07:00
frank
33faf44b39
CLOUDSTACK-3428
...
UCS:API: We need listUCSManager API to lists all UCS managers registered with CloudStack
fixed resolved
2013-07-18 11:06:04 -07:00
Sateesh Chodapuneedi
7186473e33
CLOUDSTACK-3595 Backup snapshot successful but CopyCmdAnswer received is failure.
...
Send success answer of type CopyCmdAnswer with full snapshot backup path in secondary store (image store role)
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-18 10:31:52 -07:00
Edison Su
b50060be0c
CLOUDSTACK-2729: don't refresh storage pool when accessing libvirt storage pool
2013-07-18 10:21:43 -07:00
Harikrishna Patnala
f1a6de5eed
CLOUDSTACK-3551: scaling up VM to service offering with 2gbram
...
Fixed the type overflow of Ram value.
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-18 11:42:03 +05:30
Vijayendra Bhamidipati
dc1ac3c45d
CLOUDSTACK-3554: NPE while attaching VMWARE Tools ISO to the instance
...
Description:
Account for null imagestore for vmware-tools iso.
2013-07-17 16:58:26 -07:00
Edison Su
83c7b9ae57
fix localendpoint npe
2013-07-17 16:28:49 -07:00
Sateesh Chodapuneedi
19548ec51c
CLOUDSTACK-3530 Runtime exception while creating Snapshot from volume (ROOT/DATA)
...
Worker name is not being configured for CopyCommand.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-18 00:41:27 +05:30
Jayapal
50b5ba6452
CLOUDSTACK-2433 Enable rps and rfs in virtual router
2013-07-17 18:07:46 +05:30
Edison Su
ba4c4400b5
be able to upload template into swift
2013-07-16 18:05:01 -07:00
Hugo Trippaers
93621bb5f9
CLOUDSTACK-728 Remove the nvp portgroup when the virtual machine is
...
expunged.
2013-07-16 15:44:40 +02:00
Kishan Kavala
ccc07cdb93
CLOUDSTACK-3484: Removed method synchornization in libvirt and virtual router resources
2013-07-16 19:06:49 +05:30
Wei Zhou
564c30a040
CLOUDSTACK-2823: move kernelVersion to global configuration in LibvirtComputingResource.java
2013-07-15 10:55:17 +02:00
Vijayendra Bhamidipati
6e85ae219b
CLOUDSTACK-3425 Ignore network interfaces without a uuid when passing them on as extra configs to ESX for nicira NVP controller.
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-07-15 10:26:43 +02:00
Toshiaki Hatano
8065a5570d
CLOUDSTACK-3431: KVM: cloudstack-plugin-hypervisor-kvm with BridgeVifDriver doesn't cleanup vNet due to multiple reasons
...
- Move vnetBridge clean up function from LibvirtComputingResource to BridgeVifDriver
-- since only BridgeVifDriver have to handle this event
- LibvirtComputingResource now properly call VifDriver.unplug() when it receives UnPlugCommand
- Remove not working and no longer used method getVnet(String) from VirtualMachineName
- Remove not working and no longer used method getVnet() from StopCommand
- Remove unused constructer StopCommand(VirtualMachine, String, boolean) from StopCommand
- Remove unused member vnet from StopCommand
- Remove unused member _modifyVlanPath from OvsVifDriver
Tested with 2 KVM hosts and confirmed it correctly manipulate vnetBridge with start, stop, migrate, plug, and unplug event
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-07-15 09:11:43 +02:00
Edison Su
28a85fe000
fix compile issue
2013-07-12 16:08:10 -07:00
Mike Tutkowski
13ec10caa6
Changes related to Review Board comments
...
Changes related to Review Board comments
2013-07-12 14:26:11 -06:00
Hugo Trippaers
55c0616d90
CLOUDSTACK-728 Get the framework in place the support the removal of the portgroup that is created for a nic connected to an lswitch.
...
Add a command to tell a hypervisor guru to take some action when
expunging a nic
2013-07-12 14:23:13 +02:00
Hugo Trippaers
a0fe6ecc43
Formatting changes using the settings from Alex
2013-07-12 14:22:59 +02:00
Hugo Trippaers
5bdbd72d6d
CLOUDSTACK-728 Rewrite support for lswitch connected nics on both standard and distributed switches.
...
Fix the name of the interface id in extra config, so the nic is found up using the nic uuid instead of the vm id.
getVlanInfo should return null when the nic is plugged on a Lswitch network.
On a distributed portgroup all vms should be connected to a single
portgroup and set a specific vlan on the port. On a standard switch each nic should have its own portgroup with a dedicated vlan (not related to CS vlans)
2013-07-12 14:22:44 +02:00
Wei Zhou
22c6df0ba2
CLOUDSTACK-2823: try passCmdLine some times if kernel < 2.6.34 and qemu < 1.1.0 on hypervisor (for instance, CentOS 6.4)
2013-07-12 09:47:12 +02:00
Amogh Vasekar
f938468acf
CLOUDSTACK-3234: Adding cookie to associate profile blade API
...
Signed-off by: Animesh Chaturvedi <animesh@apache.org>
2013-07-11 16:30:53 -07:00
Sateesh Chodapuneedi
e9dfb79e0d
CLOUDSTACK-3469 [VMware] Support to make username/password optional while adding VMware cluster
...
For legacy zones insist on the old model of asking for credentials for each cluster being added.
For non-legacy zones check if username & password are provided. If either or both not provided, try to retrieve & use the credentials from database, which are provided earlier while adding VMware DC to zone.
This lets user to not specify credentials while adding VMware cluster to zone, if the credentials are same as that of provided while adding VMware DC to zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-11 20:44:06 +05:30
Sateesh Chodapuneedi
b1f7056565
Updated logger initalization in classes ListVmwareDcsCmd, RemoveVmwareDcCmd & minor cleanup of comments.
2013-07-11 16:02:34 +05:30
Vijayendra Bhamidipati
2a8e113aa1
CLOUDSTACK-1510: NPE when primary storage is added with wrong path
...
Description:
a) Fixing NPE when wrong path is provided for primary datastore.
b) No error dialog shows up in GUI when wrong path is provided,
after NPE fix - propagating exception upward.
c) If the KVM agent is down, an invalid datastore gets logged in
storage_pool table and doesn't get removed, so it shows up
in the GUI in the list of datastores - fixing this as well.
2013-07-10 14:58:41 -07:00
Sateesh Chodapuneedi
50b8d64299
CLOUDSTACK-3450 To implement toggle action of add/remove VMware DC, listVmwareDcs API call is required.
...
listVmwareDcs API is added. Takes 1 parameter (mandatory) which is zoneId.
Returns list of VMware DCs associated with specified zone.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-10 23:07:47 +05:30
Sateesh Chodapuneedi
c02e38d670
CLOUDSTACK-3303 Vmware - Put a mechanism to disable hot add vcpu if the number of cores per socket is not 1 and virtual machine hardware version=7
...
Following Hotadd memory checks are included now.
1) Check if guest operating system supports memory hotadd
2) Check if virtual machine is using hardware version 7 or later before enabling memory hotadd
Following Hotadd CPU checks are included now.
1) Check if guest operating system supports cpu hotadd
2) Check if virtual machine is using hardware version 8 or later.
3) Check if virtual machine has only 1 core per socket. If hardware version is 7, then only 1 core per socket is supported. Hot adding multi-core vcpus is not allowed if hardware version is 7.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-10 18:14:06 +05:30
Devdeep Singh
5a67a6f1a2
CLOUDSTACK-3443: Timeoffset on windows guest not persisted between VM stop and start on XenServer.
...
The problem was because in cloudstack when a vm is stopped it gets destroyed on the host. For a
windows vm the timeoffset (which can be set by changing the timezone from within the vm) is stored
in the platform:timeoffset attribute of vm record. The information is lost when the vm is destroted.
Made change to read and persist the platform:timeoffset vm attribute when an instance is stopped.
The value is persisted in the user_vm_details table. When the vm is started again the attribute is
set for the vm instance that gets created.
2013-07-10 17:56:19 +05:30
Mike Tutkowski
be6bc2b681
Changes related to Review Board comments
2013-07-09 23:19:44 -06:00
Edison Su
9a9720cee7
fix simulator
2013-07-08 18:43:20 -07:00
Edison Su
ba4192dc5e
fix simulator
2013-07-08 18:43:20 -07:00
Sateesh Chodapuneedi
8cab35aa41
CLOUDSTACK-3304 [Vmware][Dynamic Scaling] - Enforce checks for maximum hotadd memory limit & memory increment size in CS
...
Retrieve maximum hotadd memory limit & hotadd memory increment size from running VM's configuration to validate dynamic scale memory limit while scaling up a VM.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-08 21:19:46 +05:30
Sateesh Chodapuneedi
574f782ab2
CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error
...
Now ESXi server license would be fetched to see if HOTPLUG feature is license or not.
Throw Exception if the feature is not licensed.
Also added FeatureKeyConstants enum type to maintain list of various features to be checked whether licensed or not.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-08 12:53:38 +05:30
Nitin Mehta
6752641ccd
CLOUDSTACK-3267
...
Improved logging by logging the memory values when exception is thrown for the constraint
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-04 14:27:42 +05:30
Sateesh Chodapuneedi
a52bf1b641
CLOUDSTACK-3152 addVmwareDc API call fails if called more than once to add same VMware DC to same cloudstack zone.
...
Check if the associated VMware DC matches the one specified in API params. This check would yield success as the association exists between same entities (zone and VMware DC)
This scenario would result in if the API addVmwareDc is called more than once with same parameters. For such scenario, return success response with VmwareDatacenter object read from database. Also returns success even if the zone has resources (clusters) already.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-02 18:25:41 +05:30
Sheng Yang
1b82ca2a7a
Baremetal: Move list APIs to the correct location
2013-07-01 15:19:13 -07:00
Sateesh Chodapuneedi
265c00dcfc
CLOUDSTACK-3279 Need mechanism to detect if hotadd for cpu/memory is supported per a specific guest OS supported by VMware.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-01 22:22:09 +05:30
Prasanna Santhanam
0dc5b0d29a
Don't report back resource state to ResourceManagerImpl
...
on adding sec. storage no need to report back to resourceManager since
the sc. storage is no longer a directly connected host.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +05:30
Prasanna Santhanam
fd867d5afa
DataStore - provider, lifecycle, driver implementations for simulator
...
mock implementation to manage secondary storage related operations for
the simulator.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:52:16 +05:30
Prasanna Santhanam
085e8838e4
Fix typo in backupSnapshotCommand
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Prasanna Santhanam
de38cd815f
Fix typo in class name
...
AsyncRpcConext -> AsyncRpcContext
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Sanjay Tripathi
1659ee225c
CLOUDSTACK-3082: System VMs are failed to start with Xen 6.2.0( Failing to create VIF's)
2013-06-29 05:39:33 +05:30
Hugo Trippaers
ed00427989
Improve logging for CitrixResourceBase by replacing e.printStackTrace
...
with s_Logger.error.
Automatic cleanup using the eclipse settings from Alex
2013-06-28 16:45:31 -07:00
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Fang Wang
24499deb43
CLOUDSTACK-2384: Template created from snapshot error.
...
In DB, the backedUpSnapshotUuid format got changed.
This messed up the vmdk file path in template creation from snapshot
2013-06-27 17:34:32 -07:00
Sheng Yang
7e44f81273
UCS: Add missing beans
...
Also move the API to the right place
2013-06-27 14:54:45 -07:00
Hugo Trippaers
329c6eb4d3
Adding tracelogging to CitrixResourceBase xapi task handling.
...
Currently it is very hard to see which tasks are pending in cloudstack
that need to be executed by xapi. Ideally we would like to have a
central overview of all tasks centrally. But for now being able to
enable tracelogging should give some insight in what is going on.
2013-06-27 14:54:31 -07:00
Laszlo Hornyak
882e5fa4e0
FileUtil simplified
...
- writeToFile removed since no references to it
- readFileAsString replaced with FileUtils.readFileToString
- minor code duplication removed in dependent method getNicStats
- unit test added
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-06-27 11:08:03 -07:00
Hugo Trippaers
53d1ce75a1
CLOUDSTACK-728 Set vmspec extra config for the Nicira NVP vApp
2013-06-26 15:41:52 -07:00
Hugo Trippaers
98dc68d8c9
CLOUDSTACK-728 For Nicira NVP a specified port-group must be used,
...
instead of a dynamically configured one.
Refactor bits of the HypervisorHostHelper to better
support multiple BroadcastDomainTypes
Cleanup some parts of the code that was using tab indents and removed some dead code.
2013-06-26 15:41:52 -07:00
Harikrishna Patnala
0d1f512728
CLOUDSTACK-3208: showing xenhost username and password details in plain text in logs when we pefrom removehost from CS
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-26 15:57:31 +05:30
Nitin Mehta
ea7b4467d7
CLOUDSTACK-3050
...
XS - Enforce recommended guest OS values for ram
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-26 15:45:57 +05:30
Nitin Mehta
f90279d9bb
CLOUDSTACK-3050
...
XS - Enforce recommended guest OS values for ram
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-26 15:44:48 +05:30
Hugo Trippaers
f74e635225
Setting the required version of libvirt to 10.0 for the openvswitch
...
support. This version actually supports setting the vlan tag on an
interface.
2013-06-25 12:21:25 -07:00
Sateesh Chodapuneedi
c36a952f15
CLOUDSTACK-1767 VMWare DVS - cannot use untagged portgroups
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-25 19:43:20 +05:30
Sateesh Chodapuneedi
b3927ffe96
CLOUDSTACK-1766 VmWare DVS vmware.ports.per.dvportgroup setting not used
...
Read the global configuration setting while configuring VmwareManager.
Also enabling autoExpand feature for supported distributed virtual switch versions.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-25 19:15:24 +05:30
Jayapal
1ab87ef4be
CLOUDSTACK-3003 Fixed static route issue in vpc vmware
2013-06-25 18:43:00 +05:30
Hiroaki KAWAI
f706f6757c
Add class check before cast
...
DataTO might be one of SnapshotObjectTO, TemplateObjectTO
or VolumeObjectTO
2013-06-25 12:48:01 +09:00
Jayapal
9121191f70
CLOUDSTACK-1578 vmware:Egress default policy configurable using network offering on vmware
2013-06-24 13:37:01 +05:30
Jayapal
6a7ae637dd
CLOUDSTACK-1578 Egress default policy configurable using network offering in xenserver with VR as firewall provider
2013-06-24 13:37:00 +05:30
Abhinandan Prateek
59d7c94247
CLOUDSTACK-3136: added Centsor 6.3 and Ubuntu 11.04 guest OS for Xen 6.1
2013-06-22 16:04:55 +05:30
Sheng Yang
d22306344b
Baremetal: Fix permission deny to ipmi.py
...
The file cloudstack-oss.asf/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/util/ipmi.py
is not mark as executible, so we cannot execute it directly.
Involve "/usr/bin/python" for it. The position of python file maybe different in
the different machines.
2013-06-21 18:06:04 -07:00
Sheng Yang
759269fcd8
Baremetal: Fix API's packages and categories
2013-06-21 09:48:30 -07:00
Sheng Yang
041303cc67
Baremetal: Fix typo of BaremetaUserdataProvider
...
Should be "Baremetal" rather than "Baremeta"
2013-06-21 09:48:25 -07:00
Sheng Yang
a6a49490fb
Fix baremetal functionality
...
1. Baremetal doesn't have secondary storage, so we don't need check them.
2. The new "AddBaremetalHostCmd" hasn't been used by UI, so keep the validity
checking out for now. "AddHostCmd" would still works.
3. Baremetal haven't implemented multiple ip range feature(CLOUDSTACK-702),
return true for now for single range.
2013-06-21 09:47:07 -07:00