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
SrikanteswaraRao Talluri
2c515395d7
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:45:19 +05:30
Koushik Das
053c160b0f
volume upload: management server polling and upload status from agent
...
MS polling logic to query status for templates that are uploaded
2015-01-16 18:03:36 +05:30
Rajani Karuturi
1bf4058732
volume upload: removed the handlerFactory and the handler which were required by NioServer
2015-01-16 17:19:19 +05:30
Rajani Karuturi
ebaa4dd38e
volume upload: added httpcomponents server and removed nio server
...
removing nio server as it is currently handling only https connections
and the parsing logic is also specific to agent communication.
current limitation of httpcomponents server is that the entire file is
read in memory. need figure out how to read it in chunks and send it
through a inputstreamreader to save on secondary storage.
2015-01-16 17:15:14 +05:30
Koushik Das
1f1c96d2ee
volume upload: management server polling and upload status from agent
...
- Added config parameters for upload monitoring interval and operation timeout
- Some updates to the volume state machine
2015-01-16 15:28:17 +05:30
Wei Zhou
e09308a1d4
CLOUDSTACK-7219: Cannot display Cluster Settings for missing commit 95e41fdf0d
...
(cherry picked from commit 71103772b7 )
2015-01-16 10:57:49 +01:00
Wei Zhou
71103772b7
CLOUDSTACK-7219: Cannot display Cluster Settings for missing commit 95e41fdf0d
2015-01-16 10:56:25 +01:00
Anshul Gangwar
91e1881be8
CLOUDSTACK-6900: This fixes volume migration failing after that volume is downloaded.
...
When we download volume then we create entry in volume_store_ref table.
We mark the volume entry to ready state once download_url gets generated.
When we migrate that volume, then again one more entry is created with same volume id.
Its state is marked as allocated. Later we try to list only one dataobject in datastore
for state transition during volume migration. If the listed volume's state is allocated
then migration passes otherwise it fails.
Below fix will remove the randomness and give priority to volume entry which is made for
migration (download_url/extracturl will be null in case of migration). Giving priority to
download volume case is not needed as there will be only one entry in that case so no randomness.
2015-01-16 15:15:14 +05:30
Rajani Karuturi
0eee9e8138
volume upload: removed the transition from IN-PROGRESS to ABONDONED
...
incase of timeout it moved to error state. ABONDONED state is only when
the user hasnt initiated the post request in the specified time
2015-01-16 12:50:42 +05:30
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
59b2cbafa1
developer: re-add deleted configuration
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 20:05:45 +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
188924751e
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>
2015-01-15 19:13:40 +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
b99d950dd3
appliance: fix Debian iso url, fixes failing Jenkins builds
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-15 15:31:27 +05:30
Brian Federle
f243ae135b
Add front-end file uploader
2015-01-14 11:26:38 -08:00
Erik Weber
7885a6c4ef
Add absolute schema references to support MySQL 5.6 better
...
(cherry picked from commit 396936ea5e )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 20:32:40 +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
Pierre-Yves Ritschard
5ea7414746
move ConstantTimeComparator to utils
...
(cherry picked from commit b2393c31ed )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 20:25:32 +05:30
Pierre-Yves Ritschard
162c5af6f8
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.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/user/AccountManagerImpl.java
(cherry picked from commit 9b4e39e837 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 20:25:21 +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
René Moser
9a677595fa
CLOUDSTACK-8154: fix UI for API change
...
Signed-off-by: René Moser <mail@renemoser.net>
(cherry picked from commit 07d96aab84 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 16:36:08 +05:30
René Moser
5df6ee4f7c
CLOUDSTACK-8154: Fix typo in response name string: there is an extra 's'
...
Signed-off-by: René Moser <mail@renemoser.net>
(cherry picked from commit c7ebd13d02 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 16:36:01 +05:30
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
Koushik Das
627f5a62dc
volume upload: management server polling and upload status from agent
...
MS polling logic to query status for volumes that are uploaded
2015-01-14 10:19:12 +05:30
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
Rohit Yadav
921ad057de
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>
2015-01-14 02:40:00 +05:30
Rohit Yadav
6bec69844d
CLOUDSTACK-8037: Require signed AuthnRequest, adds more security
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-14 02:40:00 +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
2ed76b2a55
CLOUDSTACK-8143: Corrected a test in BVT test_routers.py
2015-01-13 16:43:01 +05:30
Ashutosh K
9f55411295
CLOUDSTACK-8143: Corrected a test in BVT test_routers.py
2015-01-13 16:37:56 +05:30
K@clogeny.com
17e1922439
CLOUDSTACK-8137: Fixed cleanup issue in sec group tests in test_escalations_instances.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:49:23 +05:30
Ashutosh K
613aa8ea28
CLOUDSTACK-8135: Fixed cleanup issue in test_escalations_instances.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:47:57 +05:30
Ashutosh K
b8184d1e74
CLOUDSTACK-8149: Code-refactor - test_VirtualRouter_alerts.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:22:22 +05:30
Ashutosh K
032a003905
CLOUDSTACK-8147: Fixed typo in test case test_redundant_router.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-01-13 15:22:15 +05:30
Gaurav Aradhye
9278ac1130
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:22:06 +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
Rajani Karuturi
c2cf2503c1
volume upload: persisting the PSK only when its not present
2015-01-13 11:37:22 +05:30