20011 Commits

Author SHA1 Message Date
Girish Shilamkar
1a46bbd893 Test assumes storagetype to be local therefore test_egress_fw_rules fail.
Removed storagetype definition.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 20:30:52 +05:30
Sateesh Chodapuneedi
a470b33f97 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:56:08 +05:30
Gaurav Aradhye
a6076818e0 Automation: Affinity Groups- Removing invalid test case
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ae378940c305fbb1449a1e5d8fdb13abc3a556dc)
2013-08-07 19:44:16 +05:30
Prasanna Santhanam
37b8775203 fix snapshots tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit baf040012430213db557d5ad527b27a954d9a33e)
2013-08-07 19:38:01 +05:30
Bharat Kumar
e55844c364 Cloudstack-4100 preserve data in iso_id column while upgrading from 3.0.7 to 4.2
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-07 18:47:05 +05:30
Sanjay Tripathi
3de6cdb4f9 CLOUDSTACK-4062: SLES 11 SP2, SLES 11 SP3, CENTOS 6.4, RHEL 6.3, RHEL 6.4 OS type missing from OS Type drop down list when registering template.
Also added the support of different versions of SLES, RHEL, Oracle Linux guest OS which was not there in the list.
2013-08-07 17:15:32 +05:30
Sanjay Tripathi
d9568c89d7 CLOUDSTACK-4101: Update the Xenserver template/checksum in template.sql to the one verified. 2013-08-07 17:15:22 +05:30
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
Radhika PC
78d344b849 CLOUDSTACK-850 saksham's comments fixed 2013-08-07 16:50:42 +05:30
Prasanna Santhanam
8ac1796226 Fix invalid references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 16:10:53 +05:30
Prasanna Santhanam
63f303933a testbuiltin: reduce the root disk size
faster bootup and use less space

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 15:47:53 +05:30
Prasanna Santhanam
70fdd43c84 Fix snapshot limit tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 79cd3df6fb13210cfdb1cf0058737d912629c856)
2013-08-07 15:09:46 +05:30
Prasanna Santhanam
03439e497e remove local path in cloud-set-guest-password script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 2d4e17e8d4c25775448af7f76b4eb61e4e56bf3f)
2013-08-07 14:48:21 +05:30
Prasanna Santhanam
fb58addc35 Fix snapshot GC test
Changes to object store removes SecondaryStorage host from the host
table. This affects the test where we identify the secondary storage nfs
host to login to where we verify if the snapshot is present on the
physical resource.

* added base classes for imagestore/stagingstore operations
* fixed the test to check only if NFS is used as backing store

TODO: Fix for s3 based storage layer

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 4f973778bf6c2bfc7da2b8c785557e86f81af9d5)
2013-08-07 14:33:57 +05:30
Radhika PC
7c1eed51a7 CLOUDSTACK-2685 2013-08-07 14:06:55 +05:30
Sateesh Chodapuneedi
1d9465d758 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:08:46 +05:30
Donal Lafferty
49c9fbfb70 CLOUDSTACK-3650: CloudStack scripts fail when running on Jetty because the executable flag is not set on their permissions. 2013-08-07 13:37:33 +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
Sanjay Tripathi
0b00e13e24 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:57:11 +05:30
Sateesh Chodapuneedi
3946070359 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 06:07:54 +05:30
Min Chen
3c35eb4980 CLOUDSTACK-4125: [Upgrade] after upgrade 3.0.7 GA -> 4.2 deploy guest VM
fail.
2013-08-06 22:33:11 -07:00
Prasanna Santhanam
d2dff5b5e8 Squeak.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 6c1d9170ac00ec48fef1b4c1e2e11b074ff75e91)
2013-08-07 10:40:32 +05:30
Marcus Sorensen
883210e1fe 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 c7ebcb4e8c287ae88d2f6e6d71cc536612a5e635.
2013-08-06 23:10:33 -06:00
Marcus Sorensen
789ac14c14 Summary: CLOUDSTACK-4121 fix local storage volume deployment
Detail: Fix hypervisor type lookup for local storage volumes by
adding in a statement for the 'HOST' storage scope.

Reviewed-by: Rajesh Battala
2013-08-06 21:37:11 -06:00
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
frank
578c4444d7 CLOUDSTACK-4093
UCS:API: Need delete UCS_manager API
2013-08-06 18:01:59 -07:00
Edison Su
a8ee45de7c CLOUDSTACK-4074: if hypervisor doesn't return size of volume/template, don't update it into db 2013-08-06 15:53:57 -07:00
Min Chen
ec89e23665 CLOUDSTACK-4116: don't update db if hypervisor storage processor does
not return volume size.
2013-08-06 15:42:18 -07:00
Min Chen
45c34b9ca8 CLOUDSTACK-4116: Volume operations fail: InvocationTargetException when
invoking RPC callback for command: createVolumeCallback
2013-08-06 15:41:58 -07:00
Min Chen
93814d1738 CLOUDSTACK-4002: We should use backup_snap_id in snapshots table to
construct snapshot install_path in snapshot_store_ref for pre-4.2.0
snapshot.
2013-08-06 15:04:57 -07:00
Min Chen
a8990cffd4 CLOUDSTACK-4003: We should not delete a READY data object from object
store ref table in case of any operation failure related to this data
object.
2013-08-06 15:04:57 -07:00
Min Chen
5908a3931c CLOUDSTACK-4002:Fix snapshot install path for upgraded snapshots. 2013-08-06 15:04:57 -07:00
Marcus Sorensen
e5741863f7 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:46:36 -06:00
Edison Su
aebc437476 fix simulator 2013-08-06 13:32:59 -07:00
Rajesh Battala
7bb0e2a4ca CLOUDSTACK-3781 Unable to resize disk with Zone wide storage 2013-08-06 12:59:06 -07:00
Alena Prokharchyk
638f8e0046 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:50 -07:00
rayeesn
78bc6314ea updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:03:09 +05:30
Prasanna Santhanam
14a889df36 Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 22da47087b0ed67bb8bf30b92b1199cc67898150)
2013-08-06 19:55:29 +05:30
Wido den Hollander
fd793f7fb6 config: Fix a typo in the configuration option 2013-08-06 15:19:43 +02:00
SrikanteswaraRao Talluri
c853426c76 CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 64591e65beb5734a2c99d4c2c8b9f03ab064a739)
2013-08-06 18:46:44 +05:30
Wei Zhou
5c23adfff2 CLOUDSTACK-4110: update user_ip_address.dnat_vmip field in 410to420 upgrade
(cherry picked from commit fa094a5d2c9e0274c3dd9c10e3c5ed4df81b67bc)
2013-08-06 14:45:14 +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
Harikrishna Patnala
c1e78809b2 CLOUDSTACK-4070: upgrade from 2.2.14 to 4.2 is failing with 4.0 VMware SystemVm template not found. Cannot upgrade system Vms
System template upgrade is not required during 4.0 upgrade since we handle the same during 4.2 upgrade. So removing the system template update during 4.0 upgrade.
2013-08-06 17:17:20 +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
Nitin Mehta
26edfa1b23 CLOUDSTACK-4043
Introduced new column format for volumes as per the hypervisor by joining the storage pool and cluster table. Since pre 4.2 storage pool will always have cluster id populated.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-06 17:15:45 +05:30
Kishan Kavala
95e15833b9 Encrypt pre shared key in Site2Site customer gateway DB entries
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
2013-08-06 17:01:31 +05:30
Prasanna Santhanam
31493d8d83 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7f25510a280271a890a4db8d565fdc75316c66ae)
2013-08-06 16:58:18 +05:30
Devdeep Singh
1741fdfb12 CLOUDSTACK-3774: NPE while creating template from snapshot on a upgraded setup.
After upgrade the SSVM was staying in connecting/alert state. This was because
while handling the processConnect command for ssvm the management server was
trying to template sync. For resource limit calculation it was trying to get the
remote size of the template. If the template was no longer available a number
format exception was thrown. The process connect wasn't getting completed and
the ssvm used to stay in connecting/alert state. While creating template from
snapshot cloudstack looks for up and enabled ssvms and because there wasn't
any available (as the ssvm was in coonecting/alert state) it used to pick the
wrong resource (LocalNfs*Resource) instead of the NfsSecondaryStorageResource.

Fixed the issue by making sure number format exceptions are avoided so that
SSVM moves to the right state.
2013-08-06 16:41:37 +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
Wei Zhou
5cb090ed40 CLOUDSTACK-2729: move unlock to finally block to handle failed libvirt operations 2013-08-06 12:40:06 +02:00