pritisarap12
c5d016c372
CLOUDSTACK-8556: Unable to delete attached volume in cleanup
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #481
2015-07-16 10:28:00 +05:30
pritisarap12
b73e486d02
CLOUDSTACK-8549-Update test_concurrent_snapshots_limits.py asesrt statement
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #386
2015-07-16 10:26:26 +05:30
nitt10prashant
8e1f01d779
CLOUDSTACK-8626 :[Automation]fixing test/integration/component/test_ps_max_limits.py for lxc hypervisor
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #579
2015-07-16 10:21:28 +05:30
Rohit Yadav
47d2d07eb9
CLOUDSTACK-8457: SAML UI Dialog fixes to use local $form
...
This uses local selector to access the DOM elements, the previous commit
would find a global element which is not in the context and fail changing the
element in the opened dialog.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #583
2015-07-15 18:36:46 +05:30
Funs
ca68bb0ef7
xenserver: Improved message for peeples to actually see what the problem is.
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #576
2015-07-15 18:24:39 +05:30
Wido den Hollander
6d92abcb76
CLOUDSTACK-8635: Depend on the headless JRE for Ubuntu packages
...
This will install less packages on the system running CloudStack.
The -headless JRE doesn't include packages for running on desktops
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #588
2015-07-15 18:12:25 +05:30
sanjeev
87e53eae53
CLOUDSTACK-8633: Changing file permissions from 755 to 440
...
Reviewed-By: Raja
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #591
2015-07-15 18:08:08 +05:30
Priti Sarap
373b107b96
CLOUDSTACK-8636: Verify failure of creation of Custom disk offering with disksize parameter
...
- Clear disk offering in tearDown() class if gets created
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #592
2015-07-15 18:03:28 +05:30
Priti Sarap
abf216aed6
CLOUDSTACK-8637: Verify that VM with same Display name creation fails if vm.instancename.flag=true
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #594
2015-07-15 18:02:24 +05:30
nitt10prashant
373b2c787e
CLOUDSTACK-8631 :changing if condition in component/test_ss_max_limits.py
...
This closes #585
2015-07-15 13:44:06 +05:30
Daan Hoogland
a1ff7e24f3
coverity 1311707: only sql exception on select would have been caught. passing all runtime exceptions through
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #584
2015-07-14 13:41:09 +02:00
Daan Hoogland
3c125c0dc1
coverity 1311708: sql exception caught instead of generic (runtime)
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-07-14 13:41:09 +02:00
Daan Hoogland
e62d952375
coverity 1311706: to generic exeption handling on xapi call
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-07-14 13:41:09 +02:00
pavan018
03e8176bab
Passing firewal service parameter for LB rule creation
...
Firewall service parameter addition typos
2015-07-14 15:57:56 +05:30
Daan Hoogland
df5f715090
coverity 1148416: auto close server socket
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #578
2015-07-14 11:53:22 +02:00
Daan Hoogland
9681fefaef
coverity in upgrade code 1164030: memory upgrade for ssvm 1164031: image store details encryption
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-07-14 11:53:22 +02:00
Daan Hoogland
c53959513e
findbugs: create wrapper to deal with static field
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #573
2015-07-14 11:50:39 +02:00
Daan Hoogland
10853bfa8a
adhere to naming conventions for enums
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-07-14 11:50:39 +02:00
Koushik Das
2df190d0ee
CLOUDSTACK-8623: CPVM fails to start after MS is restarted during its initial start-up process
...
Added unit tests
This closes #571
2015-07-14 10:56:05 +05:30
Koushik Das
9ec2a6c29c
CLOUDSTACK-8623: CPVM fails to start after MS is restarted during its initial start-up process
...
If SSVM cannot be started then the existing entry is removed and a new SSVM gets created. Made similar changes for CPVM as well.
Also cleaned up some log messages in SSVM and CPVM manager code.
2015-07-14 10:55:19 +05:30
Rohit Yadav
76a10351a5
CLOUDSTACK-8457: SAML UI enhancements
...
Add option to authorize SAML SSO for user when adding user. Appends a domain to
user/account name if global setting is enabled, useful in case of multiple IDP
server. By default the setting is set to false (keep as it is).
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #575
(cherry picked from commit 7d11c7bc703be00c91ea267695a33756ebb14b57)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-07-14 10:20:30 +05:30
Wido den Hollander
63688e70a0
kvm: More verbose logging around storage pools in the Agent
2015-07-13 16:53:26 +02:00
Wido den Hollander
24f8e66e93
kvm: Write Libvirt instead of LibVirt
2015-07-13 16:22:33 +02:00
Wido den Hollander
7c37ba73a3
kvm: Add more verbose logging about what is happening with Libvirt connections
2015-07-13 16:21:41 +02:00
nitt10prashant
5a8648f958
CLOUDSTACK-8620 :skip test cases if rbd storage is not available in lxc setup
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #570
2015-07-10 15:15:50 +02:00
nitt10prashant
efee194b91
CLOUDSTACK-8620 :skip test cases if rbd storage is not available in lxc setup
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-07-10 15:15:50 +02:00
Rohit Yadav
42940a8828
CLOUDSTACK-8622: Reinstate working sessions in browser
...
- Login is based on sessionkey HttpOnly Cookie
- ApiServlet does login verification using sessionKey from both the request cookies
and the API parameters. In both cases, if either or both are passed they should
match the sessionKey stored in the current session of the HttpRequest
- UI: it no longer needs to read or set sessionkey cookie
- UI: it no longer needs to return g_sessionKey value in the API requests, though
to support a sso mechanism g_sessionKey is still passed in the API is not null
- Secure jsessionid cookie is set to be HttpOnly and Secure
- SAML login should also set HttpOnly cookie before redirecting to UI
- SAML: listIdps & getSPMetadata APIs are readonly now, won't log out a logged in user
Performed tests (login, saml login if applicable, page refreshes, opening
multiple tabs, logout) with following combinations:
- SAML disabled, normal auth as admin, domain-admin and user
- SAML enabled, normal auth as admin, domain-admin and user; and saml sso as
admin, domain-admin and user
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #574
This closes #308
2015-07-10 17:25:07 +05:30
Jayapal
3df847dfbb
CLOUDSTACK-8324: Added integration tests for dhcp dns offload feature
...
This closes #568
2015-07-10 09:49:32 +05:30
Jayapal
140cd7c227
CLOUDSTACK-8324: Fixed config key in multiple places
2015-07-10 09:47:09 +05:30
Jayapal
14d53634a8
CLOUDSTACK-8324: Removed using config drive label from the uservmservice
2015-07-10 09:47:03 +05:30
Jayapal
deb694c201
CLOUDSTACK-8324: Added migration changes for config drive
2015-07-10 09:39:27 +05:30
Ilya Musayev
469d9ebed4
CLOUDSTACK-8624: Added the support for mysql db port and lowered the requiremnts for available disk capacity to 2.1GB VS original 5GB as it was too excessive.
2015-07-10 07:24:41 +05:30
Daan Hoogland
b0136c56e7
coverity 1116564: complicated update of sequences fixed
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
This closes #564
2015-07-09 21:30:24 +02:00
Daan Hoogland
0cd8c06f7d
coverity 1116680: update datacentre for ip adresses these resources are created often and will create serious leakage if closing failes
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:24 +02:00
Daan Hoogland
bb2c02d144
coverity 1116693: properties template file creation unlikely but if repetitive, serious.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:24 +02:00
Daan Hoogland
2c7e19faff
coverity 1116544: a lot of the same (probably other coverity ids covered as well)
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:24 +02:00
Daan Hoogland
f8691b2c69
coverity 1116511 and 1116513: try-with-resource on old upgrade script three issues seen by coverity as two. only one occurence of leakage
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:24 +02:00
Daan Hoogland
3bedeeaacc
coverity 1116509: heavy entanglement of prepared statements and result sets hope I got the logic right. this is for very old versions, might be worth phasing out unless someone still uses it.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:23 +02:00
Daan Hoogland
79709cd490
coverity 1116507: one off old upgrade code trivial fix however
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:23 +02:00
Daan Hoogland
dae2e05f3c
coverity 1291768: file input stream not severe unless repetitive (property file usually aren't)
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:23 +02:00
Daan Hoogland
803d6ed7df
coverity 1296982: standard prepared statement and result set leakage
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:23 +02:00
Daan Hoogland
6376503fe3
coverity 1308118: more resources being opened only one closed on exception nothing was closed
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2015-07-09 21:30:23 +02:00
Daan Hoogland
bcc8182f2f
findbugs: write to static from instance these are the trivial cases of ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD as reported by findbugs
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #539
2015-07-09 15:01:58 +02:00
weingartner
25e9918c57
Amend last commit, used 4 spaces in code formatting instead of 1 tab character.
...
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This closes #560
2015-07-09 13:37:59 +02:00
weingartner
50c4836c9f
Cleaned class “com.cloud.hypervisor.xenserver.resource.XcpOssResource” that seemed to be forgotten during the evolution of the ACS. It was removed a few methods that were already coded properly in its parent class “com.cloud.hypervisor.xenserver.resource.CitrixResourceBase”. It was also removed some methods that seemed to cause weird behaviors. The methods removed/fixed are detailed as follows: • com.cloud.hypervisor.xenserver.resource.XcpOssResource.fillHostInfo(Connection, StartupRoutingCommand) – it was removed, because it always added the string “, hvm” to the host capabilities. Therefore, if one uses XCP hypervisor it could cause a lot of trouble when deploying HVM virtual machines in an environment that has PV and HVM clusters. The method is already properly coded in parent class. • com.cloud.hypervisor.xenserver.resource.XcpOssResource.launchHeartBeat(Connection) – It was removed. It was not performing anything and always returns a true value. The method of parent class is properly coded and works for XCP environments. The heartbeat plugin exists in XCP environment. • com.cloud.hypervisor.xenserver.resource.XcpOssResource.initializeLocalSR(Connection) – it was removed. The method of the parent class works properly for XCP environments. • com.cloud.hypervisor.xenserver.resource.XcpOssResource.createPatchVbd(Connection, String, VM) – It was removed. This method causes a bug in XCP environments, because of its half-implementation, it was not possible to migrate system VMs. The parent class implementation works properly for XCP. • com.cloud.hypervisor.xenserver.resource.XcpOssResource.execute(NetworkUsageCommand) – removed, hence it was already coded into parent class and its respective wrappers (“com.cloud.hypervisor.xenserver.resource.wrapper.xcp.XcpServerNetworkUsageCommandWrapper”). BTW: I noticed that the class XcpServerNetworkUsageCommandWrapper and XenServer56NetworkUsageCommandWrapper are almost the same, with the exception that XenServer56NetworkUsageCommandWrapper deals with VPC. I believe that those wrappers could be converted into one, and moved to parent. I am not doing that here because I do not have a XCP environment with advanced networking to test it. • com.cloud.hypervisor.xenserver.resource.XcpOssResource.executeRequest(Command) – removed, hence it is not needed anymor. • com.cloud.hypervisor.xenserver.resource.XcpOssResource.execute(StopCommand) – I did not understand that method. It seemed weird and its removal did not change any behavior of the environment I tested it with.
...
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
2015-07-09 13:37:59 +02:00
pavan018
97ed8c3af5
Handling Basic zone failures in startVM with false condition
...
This closes #569
2015-07-09 15:54:35 +05:30
pavan018
874445dae3
Changes for Regression failures
2015-07-09 15:54:23 +05:30
Rohit Yadav
7c206c30a5
CLOUDSTACK-8621: Allow UI plugins to be shown on navigation bar
...
Introduces a boolean option in UI plugins setting it to 'true' would display
the UI plugin on the left navigation bar.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #563
2015-07-09 15:25:13 +05:30
nitt10prashant
616b0117cf
CLOUDSTACK-8583 : fixing issue related to script test/integration/component/test_stopped_vm.py
...
This closes #567
2015-07-08 16:08:14 +05:30
Ian Southam
820a406d0f
Forgot to activate teardown
...
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
This closes #558
2015-07-08 11:19:13 +02:00