Commit Graph

19863 Commits

Author SHA1 Message Date
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
Min Chen 4d43fe13ce 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 14:38:52 -07:00
Edison Su fe9f02c372 fix simulator 2013-08-06 13:30:52 -07:00
Rajesh Battala d284fd9894 CLOUDSTACK-3781 Unable to resize disk with Zone wide storage 2013-08-06 12:57:10 -07:00
Alena Prokharchyk ef839427c7 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:27 -07:00
Min Chen bd6005dac5 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 11:41:18 -07:00
Min Chen 8d3d41a834 CLOUDSTACK-4002:Fix snapshot install path for upgraded snapshots. 2013-08-06 11:40:09 -07:00
rayeesn 6ea000d4d9 updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:02:55 +05:30
Prasanna Santhanam 12be2221ed Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 19:55:41 +05:30
Wido den Hollander 9e1c0ddaec config: Fix a typo in the configuration option
Conflicts:

	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-08-06 15:31:12 +02:00
SrikanteswaraRao Talluri 64591e65be CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 18:46:29 +05:30
Wei Zhou fa094a5d2c CLOUDSTACK-4110: update user_ip_address.dnat_vmip field in 410to420 upgrade 2013-08-06 14:44:15 +02:00
Bharat Kumar 5dcded229f 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:29:07 +05:30
Harikrishna Patnala c0e7186166 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:18:10 +05:30
Murali Reddy 86e4d6f80c 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:15:50 +05:30
Nitin Mehta 1970a0ddff 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:14:29 +05:30
Prasanna Santhanam fab45b5180 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 16:57:54 +05:30
Jayapal ff7527fc87 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:34:33 +05:30
Devdeep Singh 41f7820709 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:19:35 +05:30
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
Likitha Shetty fd7b9c44bc 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:00:48 +05:30
Murali Reddy 8447b66b38 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 15:59:22 +05:30
Prasanna Santhanam 2f34fef7b9 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 15:56:12 +05:30
Wei Zhou 2b980ef88f CLOUDSTACK-3947: Fix similar issues related to getSyncObjType / getSyncObjId
(cherry picked from commit 5cfc69a7aa)
2013-08-06 10:49:12 +02:00
Thomas O'Dowd 7fd71d708a CLOUDSTACK-3211: Add help docs to S3 secondary storage configuration.
When adding an S3 secondary storage, the administrator will
now be shown help for each input field making it friendlier
to use.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:23:36 +05:30
Prasanna Santhanam cc107377a2 Egress Rules: Corrections to few areas
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 04df5d289ca9394c7f647fb94e5289160a2d3467)
2013-08-06 13:23:36 +05:30
ashutoshkelkar b70c35a01e Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 13869f1a9b3c404184aaa58a378fb87bfce2fa44)
2013-08-06 13:23:36 +05:30
Radhika PC 247ccb7b45 CLOUDSTACK-3181 and CLOUDSTACK-847 2013-08-06 13:13:53 +05:30
Sateesh Chodapuneedi a3c2b23a07 CLOUDSTACK-4006 [VMWAREDVS] vmware.use.dvswitch global config is missing after upgrade
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 07:30:55 +05:30
Sateesh Chodapuneedi b0e61f9d79 CLOUDSTACK-4097 2 optional parameters of addCluster API are not declared correctly
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 06:30:39 +05:30
Prasanna Santhanam 3a41c53bd3 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>
2013-08-06 10:39:26 +05:30
Radhika PC d6fcabc574 CLOUDSTACK-804 2013-08-06 10:35:43 +05:30
Edison Su 333b272120 CLOUDSTACK-4073: fix s3 on vmware 2013-08-05 20:20:31 -07:00
Murali Reddy c83fd94d26 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:55:32 +05:30
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
Jessica Wang 000cc55b11 CLOUDSTACK-4051: UI > Infrastructure > zone > UCS > Add UCS Manager dialog > not show password in plain text. 2013-08-05 15:31:13 -07:00
Brian Federle 31e8e1c66c CLOUDSTACK-4077: Fix refresh issue; localization labels
-Localize labels for event/alerts

-Fix UI refresh issue when performing delete/archive actions
2013-08-05 15:26:31 -07:00
Brian Federle 23f5a84d8c CLOUDSTACK-4077: Correct docs for delete/archive alerts 2013-08-05 15:15:33 -07:00
Jessica Wang 8fe7a65f0a This reverts commit c4589e6ec7. Should not unescape queryFilter on server-side. 2013-08-05 14:52:39 -07:00
Alena Prokharchyk 8813e5f790 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:14:44 -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
Brian Federle 12ca1d9102 CLOUDSTACK-4089: (WIP) Add new fields to zone wizard for configuring traffic type for VMware 2013-08-05 12:08:03 -07:00
Brian Federle d1ede5430c CLOUDSTACK-2340: Display service state for health-checked VMs 2013-08-05 11:45:20 -07:00
Daan Hoogland ff803f4131 fix warnings in NetworkServiceImpl: removed unused code and add cases to switches
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-05 11:33:50 -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
Alena Prokharchyk fda366f8d6 CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller 2013-08-05 10:22:00 -07:00
Prasanna Santhanam 04ba3d1354 remove hardcoded vlan for shared network test
use a vlan outside of the vlans managed by cloudstack.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7eefeab957e7b2a904a2f5ec1ce2a2624587eb9e)
2013-08-05 22:05:09 +05:30
Alena Prokharchyk 913a0050e4 CLOUDSTACK-4065: db upgrade - when insert placeHolder nic for Shared networks, always mark this nic as non-default explicitly 2013-08-05 09:17:29 -07:00
Wido den Hollander f025db9582 config: Only user low-case names for variables 2013-08-05 17:38:24 +02:00