Rohit Yadav
cecab95cc9
CLOUDSTACK-8167: publish volume uuid on event bus in create snapshot cmd
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f6564b0b03 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
api/src/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java
2015-01-18 17:42:11 +05:30
Rohit Yadav
d9bd235bf6
engine/storage: add NPE check, break if parent snapshot is null
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit c06ca09b54 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-18 17:20:56 +05:30
SrikanteswaraRao Talluri
3384888c39
CLOUDSTACK-8161: mark the data volume related operations on LXC as skipped if RBD storage pool is not available
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-16 18:46:03 +05:30
Wei Zhou
71103772b7
CLOUDSTACK-7219: Cannot display Cluster Settings for missing commit 95e41fdf0d
2015-01-16 10:56:25 +01:00
cloudtrends
5028874e1c
under windows the publicKeyPath and privateKeyPath should replace from \ to / when send them into injectkeys.py , and use isOnWindows function . thanks karuturi kindly tips.
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #66
2015-01-16 11:33:00 +05:30
cloudtrends
4c30636c22
under windows the publicKeyPath and privateKeyPath should replace from \ to / when send them into injectkeys.py
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #66
2015-01-16 11:33:00 +05:30
Rohit Yadav
dc72e9f111
packaging: fix build regression from 518853ab43
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-16 11:11:56 +05:30
Rohit Yadav
6b4652133b
developer: re-add deleted configuration
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 59b2cbafa1 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 20:09:25 +05:30
Rohit Yadav
71a0148565
CLOUDSTACK-7219: Fix NPE, log warning when config item is missing from scope
...
- Cherry picked from Daan's fix 63fbd16dd1
- Added another check if configDepot returned null
- Removed developer prefill values
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 188924751e )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 19:19:46 +05:30
Rohit Yadav
3fddfe0e10
appliance: fix Debian ISO urls, fixes jenkins build
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 15:35:13 +05:30
Rohit Yadav
c368d3b6ee
Merge remote-tracking branch 'terbolous/mysql56-schema-fix'
...
This closes #67
Note: This does not change CloudStack's schema but only adds strict reference
between foreign keys using database.table syntax.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 20:31:01 +05:30
Erik Weber
396936ea5e
Add absolute schema references to support MySQL 5.6 better
2015-01-14 14:52:47 +01:00
Rohit Yadav
78c3ef0e1e
Merge remote-tracking branch 'exoscale/feature/constant-time'
...
This closes #65
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 16:46:51 +05:30
Pierre-Yves Ritschard
b2393c31ed
move ConstantTimeComparator to utils
2015-01-14 12:14:00 +01:00
Rohit Yadav
4eafdccc3d
Merge remote-tracking branch 'resmo/fix/deleteisoapi'
...
This closes #63
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 16:33:21 +05:30
Pierre-Yves Ritschard
9b4e39e837
Use constant-time comparison functions when checking signatures
...
This limits the likeliness of timing attacks against the API.
See http://codahale.com/a-lesson-in-timing-attacks/ for the
full rationale.
Conflicts:
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/user/AccountManagerImpl.java
2015-01-14 11:32:29 +01:00
Rohit Yadav
185f7e0152
CLOUDSTACK-8155: Remove unwanted whitespaces from json response
...
This removes extra whitespaces from the JSON serialized response.
After the fix, tested to work with:
- Present UI
- CloudMonkey
- Old buggy json parsers
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 921ad057de )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 02:43:54 +05:30
Rohit Yadav
b7b3a4fb3c
CLOUDSTACK-8037: Require signed AuthnRequest, adds more security
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6bec69844d )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 02:43:48 +05:30
René Moser
07d96aab84
CLOUDSTACK-8154: fix UI for API change
...
Signed-off-by: René Moser <mail@renemoser.net>
2015-01-13 16:34:04 +01:00
René Moser
c7ebd13d02
CLOUDSTACK-8154: Fix typo in response name string: there is an extra 's'
...
Signed-off-by: René Moser <mail@renemoser.net>
2015-01-13 16:23:31 +01:00
Ashutosh K
9f55411295
CLOUDSTACK-8143: Corrected a test in BVT test_routers.py
2015-01-13 16:37:56 +05:30
Gaurav Aradhye
f11e570796
CLOUDSTACK-8145: Adding new test to test blocker bugs and modifying other test case to work around the bug
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:15:10 +05:30
Ashutosh K
9056e4c3fb
CLOUDSTACK-8147: Fixed typo in test case test_redundant_router.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:13:59 +05:30
Ashutosh K
d0b6234e51
CLOUDSTACK-8149: Code-refactor - test_VirtualRouter_alerts.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:13:06 +05:30
Gaurav Aradhye
d79837b67a
CLOUDSTACK-8152: Adding delay before creating snapshot/template from root disk after writing data to disk - test_vm_passwordenabled.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:09:58 +05:30
Daan Hoogland
06d4458d0a
CID-1256275 regression: resource leak in systemvm update code
2015-01-12 20:40:01 +01:00
Daan Hoogland
9239f93a7d
CID-1257434 try with resource
2015-01-12 20:37:21 +01:00
Rohit Yadav
1a7f76ac77
CLOUDSTACK-8037: Fix attribute detection, tested to work with onelogin.com
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 23de431f96 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-12 19:41:10 +05:30
Wei Zhou
b528047fb6
CLOUDSTACK-8146: Resource count of primary storage does not consider the detached volumes
2015-01-12 12:25:28 +01:00
Rohit Yadav
aaf6a34c54
CLOUDSTACK-8035: Generate and store X509Cert and reuse this for SAML
...
The fix generates X509Certificate if missing from DB and uses that for eternity.
SAML SP metadata remains same since it's using the same X509 certificate and
it remains same after restarts. The certificate is serialized, base64 encoded
and stored in the keystore table under a specific name. For reading, it's
retrieved, base64 decoded and deserialized.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 4358714381 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-12 16:49:49 +05:30
Rohit Yadav
173710d5b4
CLOUDSTACK-8037: URL encode cookie values with UTF8 as per version 1
...
As per Version 1 cookies, certain characters are now allowed such as space,
colons etc but they should be url encoded using UTF8 encoding. The frontend
has a cookie value unboxing method that removes any double quotes that are added.
As per the doc http://download.oracle.com/javase/6/docs/api/java/net/URLEncoder.html
values are application/x-www-form-urlencoded and as per
http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4 whitespaces are encoded
as +, therefore '+' are replaced by %20 (whitespace).
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 734bd70173 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-12 14:03:09 +05:30
Rohit Yadav
0b94f254e8
CLOUDSTACK-8034: Hash user IDs for SAML authentication
...
The User table's UUID column is restricted to 40 chars only, since we don't
know how long the nameID/userID of a SAML authenticated user will be - the fix
hashes that user ID and takes a substring of length 40 chars. For hashing,
SHA256 is used which returns a 64 char length string.
- Fix tests, add test cases
- Improve checkSAMLUser method
- Use SHA256 one way hashing to create unique UUID for SAML users
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b2b496288d )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-12 13:37:51 +05:30
Daan Hoogland
1a8fe82580
no extranous log4j files
2015-01-08 17:36:17 +01:00
Likitha Shetty
4b67a48144
CLOUDSTACK-3439. [VMWARE] While preparing for migration, include dynamically created nics in case of VMware too.
2015-01-08 09:50:19 +05:30
Brian Federle
82fa9184bf
UI validation: Fix asterisk showing up on non-required fields
2015-01-07 08:49:27 -08:00
Kishan Kavala
85bd96c6b2
While deploying Vm with DataDisk in LXC, if the rbd image mapping on the host fails, deploy Vm should fail
2015-01-07 15:09:57 +05:30
Kishan Kavala
f767adfe71
Bug-Id: CLOUDSTACK-3439: Include dynamically created nics in Prepare for migration command in KVM
2015-01-07 14:52:42 +05:30
Kishan Kavala
a520309190
Bug-Id: CLOUDSTACK-7395: reverted 0560254c04 partially. Allow multiple networks with LB service
2015-01-07 14:33:31 +05:30
Kishan Kavala
dc17e4ef39
Increased SSL handshake timeout to 30 seconds
2015-01-07 14:27:51 +05:30
Kishan Kavala
01a325b2bf
Network Id for direct-network should not be included in usage record response. Direct network stats have network_id = 0. Ignore network with id = 0 in usage record
2015-01-07 14:17:30 +05:30
Kishan Kavala
30ab4d3d66
For Vm snapshot delete event, check for null size and set it as zero
2015-01-07 14:15:59 +05:30
Kishan Kavala
438f90a262
Close transaction while fetching recent events
2015-01-07 14:14:44 +05:30
Kishan Kavala
9eb8d538dd
For volumes created from template, do not log offering ID in VOLUME.CREATE in usage_event. Moved offering type to DiskOffering interface
2015-01-07 12:31:41 +05:30
Kishan Kavala
42cecbb000
Network offering usage event should be logged for UserVms only
2015-01-07 12:29:11 +05:30
Kishan Kavala
84c25f7025
Skip older records which generate negative duration usage
2015-01-07 11:49:50 +05:30
Kishan Kavala
4ac96d637c
Trigger user stats aggregation job at midnight in usage aggregation timezone
2015-01-07 11:17:24 +05:30
Likitha Shetty
bc235ed5eb
CLOUDSTACK-5485. Cannot process more than 5 concurrent snapshots.
...
Number of threads on SSVM agent for connection with MS (Agent->NioClient) should be configurable using global config 'workers'.
2015-01-07 09:41:24 +05:30
Daan Hoogland
3cba1c41fb
CID-1114614 dead code removed
2015-01-06 16:47:32 +01:00
Daan Hoogland
682c3af710
CID-1114613 dead code removed
2015-01-06 16:38:41 +01:00
Daan Hoogland
e8a54f471c
CID-1114606 use of MAX_VALUE and longValue() on Integer
2015-01-06 16:24:29 +01:00