24666 Commits

Author SHA1 Message Date
Rohit Yadav
a1e8d5eefb CID-1233087: In case of no virtual routers, fail early
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-16 17:27:32 +02:00
Rohit Yadav
fbbd2f8932 CID-1233088: In case there is no GSLB SP, throw cloud exception
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-16 17:17:11 +02:00
Rohit Yadav
88c6072b4d CID-1237196: Fix potential NPE in SAMLUtils
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-16 17:10:11 +02:00
Hugo Trippaers
de26a7228e Fix resource leaks on exception paths
Make it clear that the server socket isn't a leaked resource
2014-09-16 16:43:32 +02:00
imduffy15
ba93200917 Seperate test execution on travis out to make full use of the ability to run 5 concurrent jobs. 2014-09-16 14:31:37 +01:00
imduffy15
2648912afa Fix CID-1222222 2014-09-16 11:26:46 +01:00
Chandan Purushothama
50990c4042 CLOUDSTACK-7554 : Fixed the script - /component/test_templates.py - User Account now has permissions to the Template created by Admin 2014-09-16 12:11:48 +05:30
sanjeev
8567701f07 CLOUDSTACK-7552: In hyper-v additional data disks will be mapped to /dev/sdb
Made changes to test_volumes.py accordingly
2014-09-16 11:59:12 +05:30
Gaurav Aradhye
1b14fa6abe CLOUDSTACK-7387: Corrected code related to adding host tags
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:33:13 +05:30
Gaurav Aradhye
13357cff7d CLOUDSTACK-7516: Fixed resource permission issue in test_snapshots.py, account was using template registered with other account
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:30:33 +05:30
Gaurav Aradhye
f5ff78947e CLOUDSTACK-7441: Fixed template registration issue in test_resource_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-16 11:22:18 +05:30
Anthony Xu
15a3bb318f When deploying a VM with startvm=false, the root volume is in Allocated state, the root volume is not created in primary storage yet.
need to handle restoreVM for VM which is above status.
2014-09-15 18:49:15 -07:00
Min Chen
d5a8f1d875 CLOUDSTACK-7553: Clean up cached agentMap and pingMap in case of agents
connecting back to a different MS.
2014-09-15 17:37:51 -07:00
Brian Federle
e6b8aedc54 CLOUDSTACK-6412: Fix localization for 'isdedicated' field 2014-09-15 13:13:32 -07:00
Brian Federle
b04cc75065 CLOUDSTACK-7526: Fix missing localization on 'add' button 2014-09-15 13:02:27 -07:00
Sheng Yang
7d141617f3 Fix ip6gateway parameter comments in CreateNetworkCmd 2014-09-15 11:26:48 -07:00
Nitin Mehta
0a4ab3251a CLOUDSTACK-7513: listServiceOfferings API when called with VM's id also returns offerings to which it cant be upgraded. Adding the logic that when vmid is passed it looks for compatible offerngs using the storage type (local/shares), storage tags and also compute (cpu,speed, memory) in case the vm is running.
Also changed the scaleVm API to upgrade only when the destination offering has storage tags as a subset of current offering tags.
2014-09-15 11:02:34 -07:00
Saksham Srivastava
8c671c49b3 CLOUDSTACK-7548:removeNICFromVM should check for networkId while checking for PF rules on the nic 2014-09-15 19:15:09 +05:30
Rohit Yadav
6379ca4548 CLOUDSTACK-6738: pre-seed expunge delay and interval to 60s
(cherry picked from commit 723eaefdf9c139d920a94202962cfd691589c304)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-15 14:48:14 +02:00
Gaurav Aradhye
593ba5538a CLOUDSTACK-7135: test_baremetal.py - Tagging test case as invalid
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 16:53:50 +05:30
Gaurav Aradhye
46c1c1c949 CLOUDSTACK-7391: Passing virtualmachineid while retrieving suitable hosts for migration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 16:41:40 +05:30
Sanjay Tripathi
4796cceb34 CLOUDSTACK-7373: Incorrect Japanese keyboard mapping with CentOS CLI guestOS on VMware.
Fixed the jp keyboard issues for VMs deployed with keyboard=jp param.
2014-09-15 16:16:45 +05:30
Gaurav Aradhye
3a3e5cbbbb CLOUDSTACK-7134: Fixed test cases for basic zone, services dict was getting overwritten which passed zone type as advanced even in basic zone setup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-09-15 14:58:15 +05:30
Jayapal
86bf33bfab CLOUDSTACK-7540: Fixed NPE in check s2svpn connection status 2014-09-15 14:54:13 +05:30
Jayapal
3cb6d4a4df CLOUDSTACK-7544: Fixed ip addr del issues in ipassoc 2014-09-15 14:54:13 +05:30
Kishan Kavala
f0e82f340a CLOUDSTACK-7543: Attach RBD disk for LXC during start. Moved rbd map code seperate method. When adding block device, qemu driver should not be used for LXC 2014-09-15 10:15:54 +05:30
Min Chen
8a3793c582 CLOUDSTACK-7542:CreateNetworkCmd and CreateNetworkCmdByAdmin both have
their own "vlan" parameters.
2014-09-12 15:50:18 -07:00
Rohit Yadav
4179ccbf55 debian: stop tomcat6 after installing cloudstack-management
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:34:44 +02:00
Rohit Yadav
abc713226d DatabaseUpgradeChecker: add DB upgrade path from 4.3.1 to 4.5.0
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:28:14 +02:00
Rohit Yadav
f059475b0d schema: add Upgrade431to440 that extends 430to440
This adds an upgrade path from 4.3.1 to 4.4.0, the implementation of which
simply extends the Upgrade430to440 as there was no schema change between 4.3.0
and 4.3.1

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 208399354fa82513e2fb70738cb6eee8454ea3a5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:26:33 +02:00
Rohit Yadav
ad8ad404fe systemvmtemplate: set next CLOUDSTACK_VERSION to 4.5.0
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:19:46 +02:00
Rohit Yadav
d46e45991d SAMLUtils: put name id policy on authnrequest
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:11:06 +02:00
Rohit Yadav
fecc6b6e48 SAML2LoginAPIAuthenticatorCmd: Don't support HTTP artifact binding
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 16:47:40 +02:00
Rohit Yadav
394e6130e0 SAML2LoginAPIAuthenticatorCmd: add signature on redirect url
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 16:31:16 +02:00
Rohit Yadav
67f97df00f GetServiceProviderMetaDataCmd: in metadata use SP's own X509 certs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 16:30:52 +02:00
Rohit Yadav
5e947e2b24 SAML2AuthManagerImpl: create or load keystore dao
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 16:28:02 +02:00
Rohit Yadav
aaa4b60b23 SAML2AuthManager: add new methods to the interface
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 16:27:11 +02:00
Rohit Yadav
84b0e9e96f utils: add missing string to the url in generate saml signature method
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 16:26:13 +02:00
Rohit Yadav
5a0ed8764b SAMLUtils: Fix NPE incase signature is generated with a null privateKey
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 15:46:44 +02:00
Rohit Yadav
a66127dfb1 utils: add methods to save and load public and private keys
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 15:40:49 +02:00
Rohit Yadav
f144081958 saml2: WIP X509 certificate auth stuff
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f7d409e0f4d2b6f56ec82ae339eff5f477e4a832)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 14:31:21 +02:00
Rohit Yadav
aeec24b2ca SAMLMetaDataResponse: this should extend AuthenticationCmdResponse
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 13:58:39 +02:00
Rohit Yadav
3df104e20d developer: enable saml plugin for developers by default
Deploydb with a -P developer profile will run developer-prefill, in that we
enable the SAML plugin by default but only for developers

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 13:40:20 +02:00
Anshul Gangwar
d90a2d3962 CLOUDSTACK-7370: Fixed password visible in plain text if password passed is in the end in url 2014-09-12 15:33:24 +05:30
Rajani Karuturi
fa1156092e CLOUDSTACK-6926 setting java_home from installed java
changed the order of preference to check for java first.

Usage server rpm installs JRE 1.7. In the case where JDK 1.6 is already
installed, java version would be 1.7 but, javac would be 1.6
If javac is given preference, usage server fails to start in this case.
2014-09-12 15:17:10 +05:30
Devdeep Singh
283666b038 Password is logged in api server logs while creating a storage pool and while
adding an image store of type SMB. Cleaning the message before logging.
2014-09-12 14:31:17 +05:30
Gabor Apati-Nagy
9f38fd6c9f CLOUDSTACK-6725: [OVS][UI] vm deployment wizard does not show all available zones in a region while deploying vm in a Regionlevel vpc 2014-09-11 12:00:42 -07:00
Gabor Apati-Nagy
3077510838 CLOUDSTACK-6722: [OVS][UI] Network created with StretchedL2Subnet is not available for vm deployement in other zones 2014-09-11 11:56:46 -07:00
Jessica Wang
a698c3e276 LOUDSTACK-6840: OVS refers to SDN provider. However, we are not supporting SDN in this release. Therefore, remove OVS from UI for this release. 2014-09-11 10:57:03 -07:00
Ilia Shakitko
281c866206 Add "Edit Tags" functionality to SecurityGroup rules in UI
Signed-off-by: Ilia Shakitko <i.shakitko@tech.leaseweb.com>
2014-09-11 15:47:21 +02:00