20499 Commits

Author SHA1 Message Date
Brian Federle
474b966bc1 CLOUDSTACK-4508 (WIP): Conditionally make VSM fields required
If VSM is active, and either traffic overrides are checked, make VSM
fields required.

** This creates new VSM fields, with '_req' appended to end of ID. API
calls need to be changes to account for this.
2013-08-26 11:55:47 -07:00
Chip Childers
b1ee33abc0 Adding httpclient ssl source files to legal documentation
(cherry picked from commit a70708de482fb6de72e5934f1d95809b3c68d194)
2013-08-26 12:36:59 -04:00
radhikap
9271eb1066 CLOUDSTACK-772 vds more comments around cluster 2013-08-26 18:03:03 +05:30
Jayapal
6837f162ab Marvin test cases for multiple ip address per nic 2013-08-26 17:11:02 +05:30
radhikap
d36d7090be CLOUDSTACK-772 dvSwitch comments 2013-08-26 16:47:55 +05:30
Koushik Das
eeac80eaa2 CLOUDSTACK-4350: [Performance Testing] Adding hosts take much longer time than baselines
During host connect multiple listeners gets invoked, one of them is the download listener.
As part of processConnect() method, it checks if templates needs to be downloaded to secondary
store for a particular HV type. As part of that check it computes list of HVs present in the
zone. The earlier logic was to query all hosts (excluding current one) and iterate over them to
make the list. This is not optimal and is bound to have some latency as the number of hosts
increases.
Optimized the logic by querying the list of HVs from the db. directly instead of iterating over
all hosts in the zone.

Conflicts:
	server/src/com/cloud/resource/ResourceManagerImpl.java
2013-08-26 16:18:54 +05:30
Prasanna Santhanam
02e7630f1c CLOUDSTACK-4452: Cleaning up the is_snapshot_on_nfs utility
- Pass in config and determine the mgmtsvr credentials
- remove the dir_paths param which is not reqd.
- pass all entities as uuids and convert to ids within the method

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-26 11:10:06 +05:30
Gaurav Aradhye
684573939f CLOUDSTACK-4452 - Fixed method is_snapshot_on_nfs and moved it to utils
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 35ee38385ce0c54b3a16c3270db66d3eb3a56d04)
2013-08-26 10:40:44 +05:30
Sowmya Krishnan
f724c91296 CLOUDSTACK-4487: No need to delete offerings or wait on offering cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bc5b6ae0e41a04ab2c892ce53199c1d7f1d0902c)
2013-08-26 10:36:29 +05:30
Toshiaki Hatano
914e7c4542 Revert "CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor"
This reverts commit 34ae32e0c24777f9ac9cf265447688a3e21680c7.
2013-08-24 07:12:23 +00:00
Girish Shilamkar
6c73308d0c CLOUDSTACK-4144: Add free vlan to shared network in TestVMLifeCycleSharedNwVPC
Shared network has to have specifyVlan = True. So changed it to True
and aded a function to get free vlan.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 9ff40829a9787df6d89fea3c41dd112554533be7)
2013-08-24 10:06:22 +05:30
Prasanna Santhanam
aec21b3a36 local storage is not enabled on the zone
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d8e5b8907bc97ca58017c0aedff03658a63f1955)
2013-08-24 10:04:06 +05:30
Toshiaki Hatano
34ae32e0c2 CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor
Initial patch for VXLAN support.
Fully functional, hopefully, for GuestNetwork - AdvancedZone.

Patch Note:
 in cloudstack-server
- Add isolation method VXLAN
- Add VxlanGuestNetworkGuru as plugin for VXLAN isolation
- Modify NetworkServiceImpl to handle extended vNet range for VXLAN isolation
- Add VXLAN isolation option in zoneWizard UI

 in cloudstack-agent (kvm)
- Add modifyvxlan.sh script that handle bridge/vxlan interface manipulation script
-- Usage is exactly same to modifyvlan.sh
- BridgeVifDriver will call modifyvxlan.sh instead of modifyvlan.sh when VXLAN is used for isolation

Database changes:
- No change in database structure.
- VXLAN isolation uses same tables that VLAN uses to store vNet allocation status.

Known Issue:
- Some resource still says 'VLAN' in log even if VXLAN is used
- in UI, "Network - GuestNetworks" dosen't display VNI
-- VLAN ID field displays "N/A"
2013-08-24 01:39:11 +00:00
Min Chen
c6e569755f CLOUDSTACK-4481:API: listEventTypes returns nothing; raises ERROR in MS
logs.
2013-08-23 15:26:57 -07:00
Min Chen
2807d083db CLOUDSTACK-4480: Handle DestroyCommand in VmwareResource to evict
unused template from primary storage pool.
2013-08-23 15:26:43 -07:00
Min Chen
4218ce48f1 CLOUDSTACK-4478:API: ListSwiftsCmd API missing. 2013-08-23 15:26:25 -07:00
Jessica Wang
b8120436f6 CLOUDSTACK-4474: UI > Infrastructure > primary storage > detailView > add zone field. 2013-08-23 13:57:16 -07:00
Hugo Trippaers
58638558a4 Minor fixes to packaging.sh, now also works (again) with snapshot build 2013-08-23 17:11:25 +02:00
Wido den Hollander
fb9ceba93b 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:17:22 +02:00
Hugo Trippaers
658844ea99 Minor fix to package.sh, this prevented packages to be build for releases 2013-08-23 14:31:43 +02:00
Prasanna Santhanam
7d4a575631 Appropriately skip the test_nic setup when in a basic zone 2013-08-23 17:02:35 +05:30
Prasanna Santhanam
4a96740681 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>
(cherry picked from commit 239ba9447109412cf48cfefc547d6b5fef83a4a9)
2013-08-23 17:02:34 +05:30
Radhika PC
2444d79e5a edit changes across assorted files 2013-08-23 15:49:21 +05:30
SrikanteswaraRao Talluri
08627aa753 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>
(cherry picked from commit 4a8119c8077ca15dfa42c11a425f3c5273f39f13)
2013-08-23 12:39:49 +05:30
SrikanteswaraRao Talluri
c5165643f4 CLOUDSTACK-4447: Fix router tests by listing Routers for that account of type 'Isolated'.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit db673b2b9b40ca958ae930af3ec3d6e9085272ca)
2013-08-23 12:39:48 +05:30
SrikanteswaraRao Talluri
0454723f98 CLOUDSTACK-4425:Fix to attach uploaded volume to a stopped VM test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8762a0d0c6dde46e16b73f6880aa84ec2f359f55)
2013-08-23 12:39:48 +05:30
Radhika PC
9100fe2ef9 CLOUDSTACK-4469 upgrade exception added to known issues 2013-08-23 11:57:14 +05:30
Sheng Yang
8daf3e3c23 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-22 19:20:04 -07:00
Sheng Yang
e515acd7be 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-22 17:49:27 -07:00
Jessica Wang
ce9048c172 CLOUDSTACK-4413: UI > infrastructure > Guest IP Range > Add IP Range dialog > add IPv6 CIDR field, IPv6 Gateway field. 2013-08-22 17:39:15 -07:00
frank
0934c6c2b5 CloudStack CLOUDSTACK-1365
UI support for baremetal PXE server

CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server
2013-08-22 17:37:10 -07:00
Jessica Wang
d1a3b15219 CLOUDSTACK-1365: Some property names in Baremetal API have been changed. Here is corresponding UI change. 2013-08-22 17:15:03 -07:00
frank
b37e6c14c1 CloudStack CLOUDSTACK-1365
UI support for baremetal PXE server

CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server

Conflicts:

	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalPingServiceImpl.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalPxeManagerImpl.java
2013-08-22 16:35:23 -07:00
Min Chen
0fdaef8e3d CLOUDSTACK-4455:object_store - Template sync results in private
templates being synced to all the secondary stores.
2013-08-22 16:02:47 -07:00
Min Chen
2611ac75c1 CLOUDSTACK-4454:object_store - Not able to delete secondary storage when
existing snapshots are deleted.
2013-08-22 16:02:31 -07:00
Min Chen
75be7a9ac4 CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
template URL is failing.
2013-08-22 15:59:09 -07:00
Chris Suich
7b6ed79659 Extended zone charts to allow for easy creation of custom charts 2013-08-22 15:18:18 -07:00
Jessica Wang
2e56e7b02c CLOUDSTACK-4102: UI > Instracture > SystemVM / VirtualRouter > detailView > change service offering action - display different description based on VM's state. 2013-08-22 15:04:48 -07:00
Jessica Wang
ecccb88aa9 CLOUDSTACK-4102: UI > instances page > detailView > change service offering action > display different description vm's state and vm's hypervisor. 2013-08-22 15:04:36 -07:00
Jessica Wang
3f4ef406cf CLOUDSTACK-4102: UI > widget > extend dialog widget to have dynamic description. 2013-08-22 15:04:18 -07:00
Marty Sweet
922ef76224 Added Linux template creation documentation 2013-08-22 17:56:48 -04:00
Brian Federle
8422633cd6 CLOUDSTACK-4431: Fix icon for release dedicated host 2013-08-22 14:56:19 -07:00
Brian Federle
b887302cb7 CLOUDSTACK-4460: VPC list UI: Truncate long values to prevent overflow. 2013-08-22 14:56:19 -07:00
Marcus Sorensen
62072514f0 CLOUDSTACK-4661: fix vpcid field in response of creating vpn gateway 2013-08-22 15:17:12 -06:00
Prasanna Santhanam
b3306497fe 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>
(cherry picked from commit 4b546ce85d40098ade69c575316e76e25a422a12)
2013-08-22 20:20:16 +05:30
Kishan Kavala
ad0fba31a3 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 18:53:45 +05:30
Radhika PC
5980faf9a7 CLOUDSTACK-4185 vmware steps for upgrade paths 2013-08-22 16:46:23 +05:30
Radhika PC
9741a8704e CLOUDSTACK-770 ntier review comments 2013-08-22 14:15:00 +05:30
SrikanteswaraRao Talluri
c36cf73cfb CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 502b2ff0f90f5b0e8741335643f7710ce650633f)
2013-08-22 12:39:42 +05:30
Prasanna Santhanam
197108c6a3 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>
(cherry picked from commit 79df10ee24840dc7fe8fdb4ccbde240658a109fc)
2013-08-22 12:39:31 +05:30