Commit Graph

19846 Commits

Author SHA1 Message Date
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
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
Prasanna Santhanam 5eb6842149 Log the API exception for debugging
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f17e046319)
2013-08-05 20:16:35 +05:30
Prasanna Santhanam f71eff7bfe No need to cleanup lightweight entities like offerings
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 20:14:26 +05:30
Sanjay Tripathi e0c6073a80 CLOUDSTACK-4075: User unable to archive events 2013-08-05 19:47:36 +05:30
Murali Reddy cb6ff00ef6 CLOUDSTACK-4048:[GSLB] Failed to assign more than one LB rule to a GSLB rule that is
created with gslbmethod=leastconn

Netscaler nitro api to add gslb virtual servers fails for some reason if
both netmask and round robin methods are specified. So working around
with settign netmask to be null while updating vserver.
2013-08-05 19:33:35 +05:30
Devdeep Singh cd278cff44 CLOUDSTACK-4079: Made a change to make sure we are setting the hypervisor capabilities for storage motion to true.
If an upgrade is taking place from an older setup which supported a hypervisor but not storage motion on that
hypervisor, the upgraded setup will not have the storage motion field enabled. Enabled it explicitly.
2013-08-05 18:55:52 +05:30
Harikrishna Patnala 40e7502bcb CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-05 18:21:23 +05:30
Nitin Mehta ddf91226ea CLOUDSTACK-3913
Private templates would now get copied to only one of image  storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-05 17:32:21 +05:30
Radhika PC 465bfbadb3 CLOUDSTACK-817 likitha/community doc comments fixed 2013-08-05 15:00:14 +05:30
Radhika PC e297ffa457 CLOUDSTACK-850 fixed review comments from sheng/community 2013-08-05 14:14:53 +05:30
Prasanna Santhanam dbd321b022 Fix pep8
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-05 14:06:11 +05:30
Radhika PC f4876686a6 edit changes to limit resources 2013-08-05 13:50:13 +05:30
Radhika PC 3e203f63b0 CLOUDSTACK-3546 edits and additions 2013-08-05 11:49:00 +05:30
Min Chen 149f4ffcb4 CLOUDSTACK-4034: Following global configuration missing from upgraded
environment.
2013-08-03 21:38:25 -07:00
Min Chen a4e256b311 CLOUDSTACK-4040: [Object_store_refactor] System VMs are not spinning up
if S3 storage configuration is not part of zone creation wizard.
2013-08-02 17:59:24 -07:00
Sheng Yang 7522f81167 Automation: BVT: Fix test_guest_vlan_range.py due to updated API 2013-08-02 16:45:40 -07:00
Amogh Vasekar cf220dd633 CLOUDSTACK-3647: Remove duplicate row
Reviewed-by: Alena Prokharchyk
2013-08-02 16:08:58 -07:00