Commit Graph

1092 Commits

Author SHA1 Message Date
ilya f16fbc3c52 CLOUDSTACK-6317 [VMware] Tagged VLAN support broken for Management/Control/Storage traffic 2014-06-17 15:33:29 +02:00
Likitha Shetty 08e571eefe CLOUDSTACK-5891.[VMware] If a template has been registered and "cpu.corespersocket=X" template details have been added for it,
then any instance deployed from that template should have X cores per socket
2014-06-17 15:28:16 +02:00
Edison Su f304df0be9 Merge branch '4.3-forward' into 4.3 2014-06-04 16:25:13 -07:00
Edison Su 15385948dc CLOUDSTACK-6464: if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label 2014-06-03 13:31:29 -07:00
Wido den Hollander cd20127fbb CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect
Otherwise a RBDException will be thrown with the message that the snapshot
isn't protected.
	modified:   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-04-14 13:27:08 +02:00
Wido den Hollander aa9f29bd3f CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect
Otherwise a RBDException will be thrown with the message that the snapshot
isn't protected.
	modified:   plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-04-10 15:58:19 +02:00
Anshul Gangwar 53724bcbf5 CLOUDSTACK-6326: Fixed password visible in plain text in some of commands
in Hyper-v Agent logs.

Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-04-08 12:31:43 +05:30
Anshul Gangwar d042a81837 CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when building with mono, they were not cleaning up and resulting in use of stale dlls in some cases 2014-04-08 12:01:56 +05:30
Devdeep Singh d417ce0d70 CLOUDSTACK-5743. The link generated for downlading a volume or a template was giving a
permission error on hyper-v. Fixed the path with which a softlink is created for a
downloaded volume or template. Also addressed the issue at other places where the path
field wasn't set correctly when a volume was migrated or a template was created from
a volume.
2014-03-18 11:49:14 +05:30
Rajani Karuturi badff18021 added delete iso api to the simulator in the smoke tests, this will fix test_03_delete_iso when run against a simulator
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-07 01:08:01 +07:00
Rajani Karuturi dadc29920c added mock handlers for VpnUsersCfgCommand and RemoteAccessVpnCfgCommand in the simulator
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-07 01:08:00 +07:00
Jayapal 86643d6e3f CLOUDSTACK-6183: unplug the nic when all the ips of public vlan range is removed
(cherry picked from commit 7700a1b716)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:43:03 -08:00
frank 9e1525c032 CS-19377
[Baremetal] After deploy VM on Baremetal host, BM host fail to be PXE booted
(cherry picked from commit 793a6a7177)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:42:37 -08:00
Min Chen ecddd70f90 CLOUDSTACK-6175:s3.singleupload.max.size option not applicable for
backup snapshot on KVM.
(cherry picked from commit 94257c0fc8)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:41:06 -08:00
Min Chen d4a1adac21 CLOUDSTACK-6174: Provide separate option for Windows Server 2012 R2 as
an OS type when registering template.
(cherry picked from commit 4c83f80c80)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:40:49 -08:00
Likitha Shetty 3cd33f6f4a CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live VM migration of an already migrated VM (with storage) across clusters fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
Update volume path for every volume belonging to the VM to the corresponding new disk filename.
(cherry picked from commit 8cb03ddb23)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:39:44 -08:00
Likitha Shetty e63af74f8e CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live storage migration of an already migrated volume fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
If a volume has been renamed upon migration update its volumePath to that of the new disk filename.
(cherry picked from commit c652ff45df)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:39:18 -08:00
Rajesh Battala 96118e485f CLOUDSTACK-6159 Fixed creating volumes(Root, DataDisk) with uuid in primary store
(cherry picked from commit b44901c059)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:38:46 -08:00
Frank.Zhang 26002ae69c 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>
2014-03-04 23:36:17 -08:00
Jayapal 7700a1b716 CLOUDSTACK-6183: unplug the nic when all the ips of public vlan range is removed 2014-02-28 16:54:06 +05:30
frank 793a6a7177 CS-19377
[Baremetal] After deploy VM on Baremetal host, BM host fail to be PXE booted
2014-02-27 15:18:01 -08:00
Min Chen 94257c0fc8 CLOUDSTACK-6175:s3.singleupload.max.size option not applicable for
backup snapshot on KVM.
2014-02-26 14:57:32 -08:00
Min Chen 4c83f80c80 CLOUDSTACK-6174: Provide separate option for Windows Server 2012 R2 as
an OS type when registering template.
2014-02-26 11:24:01 -08:00
Likitha Shetty 8cb03ddb23 CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live VM migration of an already migrated VM (with storage) across clusters fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
Update volume path for every volume belonging to the VM to the corresponding new disk filename.
2014-02-26 11:58:49 +05:30
Likitha Shetty c652ff45df CLOUDSTACK-6146. [VMware] [ESXi 5.5] Live storage migration of an already migrated volume fails
In vCenter 5.5, once a volume is migrated the VMDKs are renamed to match the name of the VM.
If a volume has been renamed upon migration update its volumePath to that of the new disk filename.
2014-02-26 11:58:20 +05:30
Rajesh Battala b44901c059 CLOUDSTACK-6159 Fixed creating volumes(Root, DataDisk) with uuid in primary store 2014-02-23 09:25:55 +05:30
Frank.Zhang 3787579d29 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
2014-02-20 14:23:41 -08:00
Rajesh Battala ccc168c704 Revert "CLOUDSTACK-6054: Changes for making vmsync work for hyper-v. Made changes to PingCommand and"
This reverts commit eef65ac776.
This commit should not be in 4.3-forward and its already present in master
2014-02-14 18:23:13 +05:30
Marcus Sorensen 76e019f717 CLOUDSTACK-6103: Pass VM iso information along with
PrepareForMigrationCommand, so that destination hypervisor can
mount pool. This further exposed an issue for KVM where iso
was not getting cleaned up upon successful migration, fixed as well.
2014-02-14 00:43:58 -07:00
Anshul Gangwar eef65ac776 CLOUDSTACK-6054: Changes for making vmsync work for hyper-v. Made changes to PingCommand and
StartupCommand to return the state of all vms on the host.
2014-02-11 11:54:50 +05:30
Santhosh Edukulla c1af92fcbb Added Fix for CLOUDSTACK-5875
Added fix for exception and listing. Mentioned details under bug.
Post the fix, simulator works fine.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit d31fa09c7e)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:48:18 -08:00
Harikrishna Patnala 01289b1647 CLOUDSTACK-6023: Non windows instances are created on XenServer with a vcpu-max above supported xenserver limits
Changed the VCPU max limit to 16 and provided a cluster level configuration parameter for this max limit named xen.vm.vcpu.max
(cherry picked from commit 95e41fdf0d)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:32:01 -08:00
Devdeep Singh 9536569e1f CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db.
(cherry picked from commit 96d8e3c945)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:21:18 -08:00
Rajesh Battala 3c891fcf66 Fixed agent code to handle untagged public vlan while parsing the vlan id
(cherry picked from commit 7df148c762)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:17:16 -08:00
Murali Reddy f93be7b2b6 CLOUDSTACK-5967: GRE tunnel creation is failing
after network orchestrator refactor, only network elements providingg
services as defined by network offering, are invloved network design and
imlement phase. So OVS network element need to be enables as
'Connectivity' service provider to make GRE tunnels work. This fix
introduced 'Ovs' provider as Connectivity service provider.
(cherry picked from commit 2e004878b1)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:16:52 -08:00
Min Chen 85091e9b6b CLOUDSTACK-6027:CreateVolume from snapshot is failing with S3 on Vmware.
(cherry picked from commit d7ec9ca815)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:15:45 -08:00
Min Chen a439ec9b62 CLOUDSTACK-6025:CreateTemplate from snapshot in NFS is failing , after
migarting to S3 datastore.(cherry picked from commit a3caea7e0a)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:15:18 -08:00
Min Chen 0d72e2ccf5 CLOUDSTACK-6019:CreateVolume from snapshot in NFS is throwing Warning
"sync snapshot from cache to region wide store failed for image store
test".
(cherry picked from commit b11c13d4a1)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:14:55 -08:00
Harikrishna Patnala 95e41fdf0d CLOUDSTACK-6023: Non windows instances are created on XenServer with a vcpu-max above supported xenserver limits
Changed the VCPU max limit to 16 and provided a cluster level configuration parameter for this max limit named xen.vm.vcpu.max
2014-02-07 12:50:55 -08:00
edison bd335d01cb fix devcloud reboot issue: should not start heartbeat for devcloud 2014-02-06 14:19:29 -08:00
Devdeep Singh 96d8e3c945 CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db. 2014-02-06 11:17:51 +05:30
Rajesh Battala 7df148c762 Fixed agent code to handle untagged public vlan while parsing the vlan id 2014-02-06 00:10:59 +05:30
Murali Reddy 2e004878b1 CLOUDSTACK-5967: GRE tunnel creation is failing
after network orchestrator refactor, only network elements providingg
services as defined by network offering, are invloved network design and
imlement phase. So OVS network element need to be enables as
'Connectivity' service provider to make GRE tunnels work. This fix
introduced 'Ovs' provider as Connectivity service provider.
2014-02-05 17:15:34 +05:30
Min Chen d7ec9ca815 CLOUDSTACK-6027:CreateVolume from snapshot is failing with S3 on Vmware. 2014-02-04 15:06:14 -08:00
Min Chen a3caea7e0a CLOUDSTACK-6025:CreateTemplate from snapshot in NFS is failing , after
migarting to S3 datastore.
2014-02-04 10:46:30 -08:00
Min Chen b11c13d4a1 CLOUDSTACK-6019:CreateVolume from snapshot in NFS is throwing Warning
"sync snapshot from cache to region wide store failed for image store
test".
2014-02-03 16:27:31 -08:00
Likitha Shetty 5480a810a6 CLOUDSTACK-6002. [vCenter 5.5] restoreVM fails with ROOT-x-000001.vmdk not found.
(cherry picked from commit ba5b302ae6)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-02 16:08:56 -08:00
Likitha Shetty ba5b302ae6 CLOUDSTACK-6002. [vCenter 5.5] restoreVM fails with ROOT-x-000001.vmdk not found. 2014-01-31 13:22:37 +05:30
Likitha Shetty e089b91385 CLOUDSTACK-5994. Hitting IndexOutOfBoundsException in GetVmStatsCommand after upgrade.
To obtain network read/write statistics, multiply sample duration with the
average of the particular performance metric obtained over the sample period.
(cherry picked from commit 16c3f53793)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-01-30 17:59:37 -08:00
Likitha Shetty 16c3f53793 CLOUDSTACK-5994. Hitting IndexOutOfBoundsException in GetVmStatsCommand after upgrade.
To obtain network read/write statistics, multiply sample duration with the
average of the particular performance metric obtained over the sample period.
2014-01-30 18:20:44 +05:30