Commit Graph

20278 Commits

Author SHA1 Message Date
Min Chen bb78cb94af CLOUDSTACK-4478:API: ListSwiftsCmd API missing. 2013-08-23 13:21:27 -07:00
Sheng Yang 064f6c01b3 CLOUDSTACK-1670: Fix multiple nic routing issue when dhcp_release available
dnsmasq.conf need to contain /etc/dhcpopts.txt from the beginning, otherwise
SIGHUP won't make dnsmasq reload the dhcpopts.txt, thus result in multiple nics
user VM get router information from all DHCP offers.
2013-08-23 11:58:34 -07:00
Sheng Yang 82b8933854 CLOUDSTACK-4199: Only use ifdown/ifup for the un-configured eth2
Seems the behavior of ifdown/ifup changed in new version, that it would only
enable the default IP of eth2, regardless we can configure additional ips for
it. So we would always use ifconfig for interface control whenever
possible(a.k.a eth2 already got ip addresses).

When VR is booting up, ipassoc command hasn't been delivered, it's possible that
eth2 doesn't have any ip address, then ifconfig would fail because it doesn't
know how to find the ip for eth2. So in this only case, we would use ifdown/ifup
to set the ip address according to /etc/network/interfaces.

It can potentially racy againest ipassoc command, but biglock should prevent
racy condition from happening.
2013-08-23 11:58:22 -07:00
Wido den Hollander 829dbaccb4 CLOUDSTACK-4424: Download RBD volume created from snapshot
This failed due to a RAW -> QCOW2 conversion (again).

The current code still makes to much assumptions about everything always
being QCOW2 while that is not always true.
2013-08-23 16:23:17 +02:00
Prasanna Santhanam e39156e4d6 CLOUDSTACK-4473: allow_egress referenced before assignment
When deploying with networkids allow_egress gets no default value. This
is a regression caused by fix for CLOUDSTACK-4418

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 17:03:19 +05:30
Devdeep Singh 5b319ba0cb CLOUDSTACK-4470, findHostsForMigration api isn't setting the requiresStorageMotion flag to true
when a virtual machine is to be migrated across cluster and the source and destination host do
not share storage pools. migrationRequired flag was introduced in a recent commit that was always
set to false for XenServer. This caused the destination host to be flaged as not requiring
storage motion. Fixed the scope of the boolean and defaulted it to true. Other checks validate
if storage motion is required for XenServer.
2013-08-23 15:12:59 +05:30
SrikanteswaraRao Talluri 4a8119c807 CLOUDSTACK-4448: Fix test_03_RouterStartOnVmDeploy to stop all the pre-existing VMs before starting the test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 12:37:03 +05:30
SrikanteswaraRao Talluri db673b2b9b CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:42:37 +05:30
SrikanteswaraRao Talluri 8762a0d0c6 CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-23 09:41:19 +05:30
Edison Su 17ffe48ad2 add table lock on snapshot, during taking snapshot 2013-08-22 20:39:09 -07:00
Jessica Wang a6bf802164 CLOUDSTACK-4413: UI > infrastructure > Guest IP Range > Add IP Range dialog > add IPv6 CIDR field, IPv6 Gateway field. 2013-08-22 17:38:30 -07:00
frank 8ae3de5331 CloudStack CLOUDSTACK-1365
UI support for baremetal PXE server

CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server
2013-08-22 17:27:27 -07:00
Jessica Wang 4d97c63547 CLOUDSTACK-1365: Some property names in Baremetal API have been changed. Here is corresponding UI change. 2013-08-22 17:14:21 -07:00
frank 667776a9e4 CloudStack CLOUDSTACK-1365
UI support for baremetal PXE server

CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server
2013-08-22 16:31:31 -07:00
Min Chen 18aacd48a2 CLOUDSTACK-4455:object_store - Template sync results in private
templates being synced to all the secondary stores.
2013-08-22 15:38:50 -07:00
Edison Su a0de0d0177 CLOUDSTACK-4456:
CLOUDSTACK-4457:
CLOUDSTACK-4459:
harden kvm getvolume. It's possible that one volume created on other kvm host, won't show up on another host, try more times to refresh storage pool if volume won't shown up
2013-08-22 15:10:50 -07:00
Edison Su d157e2970e add test 2013-08-22 15:10:50 -07:00
Kelven Yang 896eaf3353 apply https://reviews.apache.org/r/13732/
Signed-off-by: Kelven Yang <kelveny@gmail.com>
2013-08-22 15:06:15 -07:00
Jessica Wang 3b63b22fe4 CLOUDSTACK-4102: UI > Instracture > SystemVM / VirtualRouter > detailView > change service offering action - display different description based on VM's state. 2013-08-22 15:03:07 -07:00
Jessica Wang d9f5ee8a2e CLOUDSTACK-4102: UI > instances page > detailView > change service offering action > display different description vm's state and vm's hypervisor. 2013-08-22 15:03:06 -07:00
Jessica Wang da54e06dd1 CLOUDSTACK-4102: UI > widget > extend dialog widget to have dynamic description. 2013-08-22 15:03:06 -07:00
Min Chen 52f08a4f36 CLOUDSTACK-4454:object_store - Not able to delete secondary storage when
existing snapshots are deleted.
2013-08-22 14:57:17 -07:00
Brian Federle 44b2e51097 CLOUDSTACK-4431: Fix icon for release dedicated host 2013-08-22 14:56:01 -07:00
Brian Federle b7b0fcbd8c CLOUDSTACK-4460: VPC list UI: Truncate long values to prevent overflow. 2013-08-22 14:56:01 -07:00
Marcus Sorensen e9c99fc0d4 CLOUDSTACK-4661: fix vpcid field in response of creating vpn gateway 2013-08-22 15:19:38 -06:00
Murali Reddy 255c8473db CLOUDSTACK-4442: Source NAT not applied when network starts up
fixing the buid break introduced with prev commit for this bug
2013-08-22 21:07:52 +05:30
Prasanna Santhanam 69f6f49ae1 CLOUDSTACK-4453: fetch host credentials from marvin config
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 20:20:35 +05:30
Kishan Kavala bbe8a6d266 CLOUDSTACK-4115 : Encrypt password in cluster_details table. This fix is to handle upgrades from versions earlier than 3.0.5 and 4.0. Upgrade was not handled when the cluster_details password encryption was introduced. 2013-08-22 19:00:24 +05:30
Murali Reddy a0f23d0f94 CLOUDSTACK-4442: Source NAT not applied when network starts up
ensure on network implement/restart/shutdown an ip assoc is sent so that
source nat ip is associated with source nat service provider.
2013-08-22 18:45:33 +05:30
SrikanteswaraRao Talluri 64460df554 CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:59 +05:30
Prasanna Santhanam e2122b7230 CLOUDSTACK-4442: Include a test for creating networks with sourcenat only
The test attempts to create a network with offering serving only
dhcp,dns and sourcenat. However the source NAT functionality itself
isn't tested as reported in the bug. So the test will pass.

TODO: come up with a way to test source nat without enabling additional
services for pf/staticnat

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:50 +05:30
Koushik Das 5528ba4b20 CLOUDSTACK-3441: [Load Test] High delays between VM being allocated to Pod and network implementation causing delays in VM deployment
The locking code in implement/shutdown network code was not efficient. Even in order to check the current state of the network lock was getting acquired which is not required. This resulted in delays in deploy VM as can be seen from attached logs where the code waited on the lock just to check if network is implemented.
As part of the fix moved out code that is checking if the network is already implemented or shutdowned outside the lock.
2013-08-22 11:06:54 +05:30
Koushik Das c86e8fcae5 CLOUDSTACK-2131: [Performance][Enhancement] Avoid checking for providers that are not enabled while creating network.
For some scenarios like prepare nic, all network service providers are checked which is not efficient and also introduces unnecessary dependencies.
The check to use only the required providers is already there for implement, shutdown operation on network. Put the same check for all missing cases.
2013-08-22 11:06:16 +05:30
Sowmya Krishnan 1c31ee22d4 CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 10:06:51 +05:30
Min Chen 885a161b62 CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
template URL is failing.
2013-08-21 17:34:03 -07:00
Edison Su 9cfd434640 CLOUDSTACK-2729: another try to solve libvirt storage pool missing issue: if the storage pool is missing, then recreate it 2013-08-21 17:17:06 -07:00
Jessica 2f491963b8 CLOUDSTACK-867. DOC. Fix how-to steps for updating an existing VM to have dynamic scaling capability. 2013-08-21 16:48:28 -07:00
Jessica Wang 57070b1dc2 CLOUDSTACK-4428: UI > volume > when hypervisor is KVM and kvm.snapshot.enabled configuration is false, still show Take Snapshot option if VM State is Stopped. 2013-08-21 16:41:07 -07:00
Alena Prokharchyk 97cb0093c8 CLOUDSTACK-4428: "kvm.snapshot.enabled" flag shouldn't affect detached volumes, or volumes attached to the vm in Stopped/Destroyed state 2013-08-21 16:21:35 -07:00
Jessica aeb962ad13 CLOUDSTACK-4429. DOC. Fix broken link in header of API Reference TOC page. The link pointed to the Developer's Guide on the old doc site. Changed to point to the new doc site. Does not point to a specific doc version, so this text can be re-used without change for future software releases. 2013-08-21 16:14:18 -07:00
Alena Prokharchyk 3b37009ad1 CLOUDSTACK-4392: API volumeresponse - return primary storage information to ROOT and resource domain admin only. 2013-08-21 15:41:53 -07:00
frank 810b573afa CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-21 14:57:59 -07:00
Wido den Hollander d019388bf5 CLOUDSTACK-4249: Do not assume KVM snapshots are in QCOW2 format
RBD snapshots are in RAW format and are stored as such on Secondary Storage.

When creating a template from such a snapshot, honor the image format passed
down by the management server and act on that.

The old code simply assumed it always was QCOW2.
2013-08-21 17:33:07 +02:00
Gaurav Aradhye b3921e5248 CLOUDSTACK-4422: Corrected the wrong service paths
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:43:23 +05:30
Prasanna Santhanam 81b5146c8e CLOUDSTACK-4418: allow egress access to all networks for VMs on NAT
Tests doing operations within guests post VirtualMachine.create w. default
network offering fail since the egress policy with isolated networks and
sourcenat services is DENY.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:19:26 +05:30
Prasanna Santhanam f056af8cbd CLOUDSTACK-4225: Remove additional / in the nfs path
nfs://nfs-server://export/share ->
nfs://nfs-server:/export/share

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:19:25 +05:30
Sateesh Chodapuneedi 9d49fe8c0f CLOUDSTACK-4414
Fixing detection of failure in cluster discovery before cleanup vsm device.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-21 07:58:13 +05:30
Jessica Wang 013f97461e CLOUDSTACK-3950: UI > remove global variable havingS3, havingSwift who are no longer in use. 2013-08-20 16:04:05 -07:00
Jessica 7c45ca2098 CLOUDSTACK-680. DOC. Add section about sending alerts to external SNMP managers/Syslog managers. 2013-08-20 15:58:14 -07:00
Jessica Wang 6114123951 CLOUDSTACK-3950: UI > set g_regionsecondaryenabled to true after adding region-wide secondary storage. 2013-08-20 15:35:19 -07:00