Anthony Xu
6de28bb1a4
in XenServer, host eject may fail due to diffent reasons, it's hard for CS to handle all failure.
...
in CS, removing a host means CS will not manage the host, admin needs to eject the host from XS pool outside of CS
2014-03-26 14:22:49 -07:00
Anthony Xu
6d103e62fe
use correct interval for cleanTask and transitionTask
2014-03-26 14:22:27 -07:00
Wido den Hollander
3d497f620b
debian: Do not restart libvirt after agent upgrade.
...
This causes NFS storage pools to be lost and that can cause
problems in certain situations.
2014-03-26 16:50:54 +01:00
Daan Hoogland
40f4b371b7
Revert "cloudstack api post and ssl fix"
...
This reverts commit d5333f4596 .
2014-03-26 14:31:18 +01:00
Daan Hoogland
42516216e6
Revert "Fix license headers and remove @author tag"
...
This reverts commit f848c779c0 .
2014-03-26 14:30:44 +01:00
Wido den Hollander
7cd2b2ae89
debian: Add JNA flag when starting agent
...
In some situations local JNA libraries might prevent the agent
from starting.
2014-03-26 13:31:02 +01:00
Damodar Reddy
b6fe4e2168
CLOUDSTACK-6105: Fixed the issue where Logs were not getting generated properly
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-03-26 10:35:26 +05:30
Alex Huang
4ebb92c492
Fixed some warnings about using a deprecated constructor
2014-03-25 16:48:27 -07:00
Alex Huang
f445274ed3
Added a config to enable checking whether a db transaction is wrapped around communications with the agent. If it is, an exception is thrown. This assert has actually been there because it is part of CloudStack's design principle to not use db transactions as a way to enforce atomicity in executing things on hardware resources. However, the assert has been ignored since the move to maven which is not good with enabling asserts. Since then, there's been a lot of commands added that actually runs within db transaction. This is a big no no as the problem is that the remote operation may take a long time and the db can actually close the connection, causing a rollback of the transaction. We should not depend on transactions to enforce the atomicity anyways.
2014-03-25 16:35:49 -07:00
Sheng Yang
cd79306021
CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries
2014-03-25 15:56:15 -07:00
Brian Federle
93a2340516
Instances UI: Truncate name, displayname fields to prevent overflow
2014-03-25 15:49:07 -07:00
Wido den Hollander
b141641528
debian: cloudstack-management requires libmysql-java for SQL connection
2014-03-25 21:13:15 +01:00
Mike Tutkowski
312ec6de6c
CLOUDSTACK-6170 (fixing a GUI formatting issue)
2014-03-25 12:44:31 -06:00
Anthony Xu
a596edbdf6
make sure XS host is enabled when creating XAPI connection
2014-03-25 11:20:16 -07:00
Anthony Xu
88c1da679c
check_heartbeat and pingtest execute through ssh, not XAPI, because XAPI may hang when master host is downi
2014-03-25 10:44:20 -07:00
Murali Reddy
7b08bb7cab
CLOUDSTACK-6281: OVS distributed routing: exclude non implemented
...
networks while sending VPC topology updates as GRE key is not associated
with the network unless implemented.
2014-03-25 16:43:46 +05:30
SrikanteswaraRao Talluri
102c1bc9c8
CLOUDSTACK-6125: added smoke tests with following tags 1. selfservice - tests which can be run on simulator. 2. provisioning - tests that need actual hypervisor resource.
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-03-25 15:43:05 +05:30
Mike Tutkowski
41d189a707
CLOUDSTACK-6170 (fixing a GUI formatting issue)
2014-03-24 21:12:25 -06:00
Girish Shilamkar
1f2d86c9ba
CLOUDSTACK-6279: Fix egress rules tests failed due to comparison between string and unicode
2014-03-24 20:02:23 -07:00
Anthony Xu
d14f66f58d
when start vm times out, check VM status, if it is running , return succeed.
...
change XAPI timeout to 60 second.
2014-03-24 17:15:08 -07:00
Anthony Xu
726dd16daa
use vm instance name in log
2014-03-24 16:24:55 -07:00
Anthony Xu
bf48309e14
addHostCmd will try to load all hosts in a pool
2014-03-24 16:06:26 -07:00
Anthony Xu
e3fc5a4d46
vm meta sync sync xstoolsversion as well
2014-03-24 15:48:21 -07:00
Anthony Xu
2d5a58d66c
fixed ssh execution log
2014-03-24 15:19:54 -07:00
Laszlo Hornyak
c6d2549939
StringBuffer replaced with StringBuilder in ApiServerService
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-24 21:04:06 +01:00
Laszlo Hornyak
aef76f71ec
StringBuffer replaced with StringBuilder in ApiServlet
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-24 21:03:48 +01:00
Laszlo Hornyak
843464efc8
removed commented-out code
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-24 19:05:47 +01:00
Laszlo Hornyak
96d56b7525
Tests for ApiServlet
...
- tests for login
- loginSuccessResponse test for xml and json
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-24 19:05:47 +01:00
Brian Federle
86b02e65eb
CLOUDSTACK-6227: Fix IE9 instance wizard
...
Fixes HTML incompatibility causing rendering issues in IE9 when viewing
instance wizard->network step
2014-03-24 10:01:29 -07:00
Sebastien Goasguen
f848c779c0
Fix license headers and remove @author tag
2014-03-24 16:52:50 +01:00
Wido den Hollander
9763faf85e
rbd: Use qemu-img to convert from QCOW2 templates to RBD directly.
...
This saves the step of writing to a temporary image in /tmp first before
writing to RBD.
This is possible due to a new version in librbd. With the rbd_default_format
setting we can now force qemu-img to create format 2 RBD images.
This is available since Ceph version 0.67.5 (Dumpling).
2014-03-24 16:35:13 +01:00
Dmitry Batkovich
d5333f4596
cloudstack api post and ssl fix
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-03-24 15:59:10 +01:00
Jayapal
fb498a40ba
CLOUDSTACK-6250: updated review comments, added unit test case
2014-03-24 17:54:54 +05:30
Alex Hitchins
3c0fa3a1dd
CLOUDSTACK-5440: Add missing guestos types got centos 6.5, windows 8.1 and windows server 2012 r2.
...
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-03-24 15:45:43 +05:30
Damodar Reddy
93c46c9be8
CLOUDSTACK-6105: Initial version Windowsfication of the management server
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-03-24 10:54:46 +05:30
Ashutosh K
fe5ab4aa91
CLOUDSTACK-4840: Final set of test cases for Multiple IPs
...
per NIC feature
2014-03-23 21:15:45 -07:00
Mike Tutkowski
578e500bc2
CLOUDSTACK-6170 (when the "No Thanks" radio button is selected, remove controls related to custom size and custom IOPS)
2014-03-22 19:41:34 -06:00
Laszlo Hornyak
426e3e8708
added license header (build fix)
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-22 21:16:45 +01:00
Laszlo Hornyak
265208a261
Basic tests for ApiServlet
...
new tests for ApiServlet covering
- utf8Fixup
- some of processRequestInContext
minor cleanup done in StringBuffer handling and utf8Fixup got a bit shorter
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-22 18:34:46 +01:00
Laszlo Hornyak
3dc4d2ec21
Removed commented-out code
...
A big block of code commented out for about a year.
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-22 18:34:46 +01:00
Laszlo Hornyak
dd225684f4
new unit test for ApiResponseHelper
...
- unit test for getDateStringInternal
- StringBuffer replaced with StringBuilder, string concatenation replaced with append
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-22 18:34:46 +01:00
Laszlo Hornyak
2c4ac5e4d3
removed some redundant Boolean isntantiations
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-03-22 18:34:45 +01:00
Mike Tutkowski
b354893393
CLOUDSTACK-6170 (Fixed an issue where custom compute offering and custom storage IOPS were leading to custom storage IOPS that were specified not being used)
2014-03-22 11:09:34 -06:00
Mike Tutkowski
5e3d4aebac
CLOUDSTACK-6273 (Text changed slightly for a confirmation dialog)
2014-03-21 19:12:41 -06:00
Brian Federle
b51e0df234
CLOUDSTACK-6272: Fix icons for recover/restore VM
2014-03-21 14:57:49 -07:00
Jessica Wang
7b817a2ad9
CLOUDSTACK-6272: UI > Instance > actions > replace internal action name "restore" with "recover", "reset" with "reinstall".
2014-03-21 14:49:33 -07:00
Brian Federle
15729f342c
CLOUDSTACK-6272: Fix recover/restore VM actions
...
-Label recoverVirtualMachine as 'Recover VM'
-Label restoreVirtualMachine as 'Reinstall VM'
-Change confirmation text for restoreVirtualMachine to be more explicit
-Change restoreVirtualMachine icon to 'recycle' symbol, to avoid
confusion with the reboot VM icon
2014-03-21 13:28:52 -07:00
Konstantina Chremmou
2adb9af898
Added version info to command and response parameters introduced in 4.4. Renamed newly introduced parameter StoragePoolReponse.overProvisionFactor to comply with coding conventions.
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:45:50 -07:00
Konstantina Chremmou
d65d9c8e9a
Renamed static fields to comply with coding conventions.
...
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-03-21 11:23:40 -07:00
Murali Reddy
424b5a66c3
fix schema issue
2014-03-21 15:49:51 +05:30