Rohit Yadav
e5d3084526
CLOUDSTACK-8339: Allow non-root users to add KVM host
...
This allows non-root users to add KVM hosts, the user should be an admin or
added to sudoers to execute sudo cloudstack-setup-agent.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Remi Bergsma <apache@remi.nl>
This closes #288
(cherry picked from commit d2b0c1a32b2d8719eafd6d4574de9a824d46d290)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-25 14:36:29 +02:00
sanjeev
dfafb441b0
CLOUDSTACK-8509: Skip snapshot tests for LXC and Hyper-V
...
This closes #296
2015-05-25 18:03:14 +05:30
sanjeev
e6de9abeb4
CLOUDSTACK-8508 Install wget package inside LXC vm
...
This closes #295
2015-05-25 17:04:34 +05:30
Daan Hoogland
2fbccf1c3f
removed undefined packaging macros
2015-05-25 12:21:38 +02:00
Rohit Yadav
9dcfbceae7
kvm: for disabling pxe, pass empty file
...
Passing the file argument to the xml break for EL 7.1, the fix removes
the argument as just passing rombar='off' with its file arg to be empty string.
This closes #290
(cherry picked from commit aafa0c80b35a9f0e533e5a4b18d03f1e47cf9bfe)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-25 00:31:32 +02:00
Milamber
87d4086a64
CLOUDSTACK-6181 Specify GB for the value of rootdisksize parameter. Add some Bytes/GB for log or exception messages. Fix Gb->GB.
2015-05-23 17:52:21 +01:00
wilderrodrigues
d7854791b2
Merge branch 'xen_tests_fix'
...
This closes #293
2015-05-23 17:17:22 +02:00
wilderrodrigues
58f6e8d977
Merge branch 'xentestfix' of https://github.com/rsafonseca/cloudstack into xen_tests_fix
...
Testing PR #293
2015-05-23 17:05:49 +02:00
Rafael da Fonseca
79d24ae218
Fix xenserver tests for travis
2015-05-23 16:14:09 +02:00
wilderrodrigues
28729db7bc
Merge branch 'rfc_3021'
...
This closes #292
2015-05-23 11:08:32 +02:00
wilderrodrigues
44057a0f0f
Merge branch 'improvement/RFC_3021_31_Bit_Prefixes' of https://github.com/schubergphilis/cloudstack into rfc_3021
...
Testing PR #292
2015-05-23 10:10:13 +02:00
wilderrodrigues
a83f74d83e
CLOUDSTACK-8506
...
- Changing the implementation of the NetUtils.ipRangesOverlap() a little bit in order to be compliant with RFC 3021
- 2 unit tests added
- ranges from 0 to 255 covered by the tests, which also test the negative cases.
2015-05-22 20:08:09 +02:00
Rohit Yadav
cd55413c6a
CLOUDSTACK-8243: KVM agent should not use hardcoded string tails
...
For KVM agent, guid is configurable in agent.properties, this fix allows the
configuration to work by removing string tail (the -LibvirtComputingResource suffix).
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #286
(cherry picked from commit 803b946c2feae193d04219d2360c6d4440f212f1)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-22 18:12:10 +01:00
wilderrodrigues
14863bbaff
CLOUDSTACK-8506
...
- Added subnetUtils.setInclusiveHostCount(true) to NetUtils.isIpWithtInCidrRange() method. It makes the 31-bit prefixes work just fine
- Added 3 unit tests to test valid and invalid ranges.
2015-05-22 18:17:16 +02:00
Rafael da Fonseca
487d90148c
Fixed problem with static files reload: - Tomcat was not caching most static files in index.jsp due to changing timestamp - Page reload performance was very poor - Issue affects all versions since 4.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #277
2015-05-22 15:22:16 +01:00
sanjeev
345db34583
CLOUDSTACK-8507: Added code to install httpd package inside vm if not found
...
This closes #287
2015-05-22 18:59:05 +05:30
Rohit Yadav
d7f4498f76
kvm: Strip trailing comma for qemu-img convert options
...
Fix trailing comma for qemu-img convert options, Qemu 2.0+ not tolerant to it
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 90ac1aba13d431cdccf51dde2c4727b96388d985)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-22 13:33:54 +01:00
Rohit Yadav
274222769a
CLOUDSTACK-8252: Ignore VLAN 4095 which is n/a on linux
...
VLAN id 4095 is commonly used as a 'tag passthrough' in virtualization environments
(VMware, specifically). This vlan id is incompatible with Linux, but we can
allow the admin to manually configure the bridge if the same passthrough is
desired.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit aee35c96a8157e36b1237dc537bb5b01e1657d61)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-22 13:26:06 +01:00
Rohit Yadav
c37060a1ff
CLOUDSTACK-8338: Fix hypervisor stats reporting for KVM on EL7
...
EL7 has a different output to 'free', use /proc/meminfo instead of a tool to be
more consistent across distros
(cherry picked from commit 212a05a345aa19cd2597b7ff5d6a1da7b35b9fc1)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2015-05-22 12:10:54 +01:00
wilderrodrigues
0c6758f917
Merge branch 'improvement/annotations_xen_kvm'
...
This closes #280
2015-05-22 12:55:53 +02:00
Abhinandan Prateek
ad6ac9bb10
CLOUDSTACK-8488: network with LB fails to restart as the bash script mangles the escape characters, fixed
2015-05-22 16:24:20 +05:30
Rohit Yadav
1c81b241e7
CLOUDSTACK-8505: Don't allow non-POST requests for default login API
...
We add a new contract to pass Http request to authentication plugin system. In
the default login API, we disallow non-POST requests.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 9e9b231672e934292f9940d1363039a553fc7ad9)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
api/src/org/apache/cloudstack/api/auth/APIAuthenticator.java
plugins/user-authenticators/saml2/src/org/apache/cloudstack/api/command/GetServiceProviderMetaDataCmd.java
plugins/user-authenticators/saml2/src/org/apache/cloudstack/api/command/SAML2LoginAPIAuthenticatorCmd.java
plugins/user-authenticators/saml2/src/org/apache/cloudstack/api/command/SAML2LogoutAPIAuthenticatorCmd.java
plugins/user-authenticators/saml2/test/org/apache/cloudstack/api/command/GetServiceProviderMetaDataCmdTest.java
plugins/user-authenticators/saml2/test/org/apache/cloudstack/api/command/SAML2LoginAPIAuthenticatorCmdTest.java
plugins/user-authenticators/saml2/test/org/apache/cloudstack/api/command/SAML2LogoutAPIAuthenticatorCmdTest.java
server/src/com/cloud/api/ApiServlet.java
server/src/com/cloud/api/auth/DefaultLoginAPIAuthenticatorCmd.java
server/src/com/cloud/api/auth/DefaultLogoutAPIAuthenticatorCmd.java
server/test/com/cloud/api/ApiServletTest.java
2015-05-22 11:44:34 +01:00
wilderrodrigues
3228854a97
Merge branch 'improvement/annotations_kvm_citrix' of https://github.com/schubergphilis/cloudstack into improvement/annotations_xen_kvm
...
Testing branch
2015-05-22 12:38:08 +02:00
Gaurav Aradhye
424b5bb8d0
CLOUDSTACK-8492: Fix string case issue
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #284
2015-05-22 15:41:13 +05:30
Daan Hoogland
22ee66eea6
debian snapshot packaging break on merged versioning
2015-05-22 09:17:55 +02:00
sanjeev
67ad418299
CLOUDSTACK-8504: Remove creating network with RVR by default
...
This closes #283
2015-05-22 12:30:16 +05:30
Milamber
8e67045a4b
Update L10N resource files on master branch with 4.6 translation strings from Transifex (20150522)
2015-05-22 07:48:36 +01:00
Rafael da Fonseca
b5cc147862
Fixes breadcrumbs problem described in CLOUDSTACK-7907
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #282
2015-05-22 10:48:56 +05:30
Koushik Das
1cd2e9bc44
Merge branch 'CLOUDSTACK-8301' of https://github.com/apache/cloudstack
2015-05-22 09:47:59 +05:30
Rene Moser
84266b1c72
api: network: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
This closes #275
2015-05-21 17:49:19 +02:00
Rene Moser
c1fbb7821a
api: loadbalancer: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:18 +02:00
Rene Moser
a1f58c48ec
api: iso: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:18 +02:00
Rene Moser
897c73867d
api: firewall: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:18 +02:00
Rene Moser
f17ab71bdf
api: affinitygroup: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:18 +02:00
Rene Moser
4c65acfff7
api: address: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:18 +02:00
Rene Moser
68e867f0c6
api: account: fix and reformat descriptions
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:18 +02:00
Rene Moser
5cd35a2237
fix typos balacner -> balancer
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:17 +02:00
Rene Moser
23a44d6417
instanceGroupResponse: fix description
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:17 +02:00
Rene Moser
3824d997d6
queryService: fix style, remove public statement on interfaces
...
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-05-21 17:49:17 +02:00
wilderrodrigues
add4277720
CLOUDSTACK-8502
...
Added CitrixStorageSubSystemCommandWrapper to complete the CitrixResourceBase refactor.
- All 101 unit tests are green
2015-05-21 13:59:49 +02:00
wilderrodrigues
3efdc6c356
CLOUDSTACK-8502
...
Using Annotations on the Libvirt wrappers in order to increase maintainability
- All wrappers modified
- All 143 unit tests are green
2015-05-21 13:37:27 +02:00
wilderrodrigues
7ff1a81cee
CLOUDSTACK-8502
...
Using Annotations on the Citrix wrappers in order to increase maintainability
- All wrappers modified
- All 100 unit tests are green
2015-05-21 13:36:55 +02:00
Gaurav Aradhye
59388b09ab
CLOUDSTACK-8500: Adding missing key in test_data.py
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #279
2015-05-21 16:04:10 +05:30
Gaurav Aradhye
309c1b466f
CLOUDSTACK-8498: Including schedule as default key in recurring_snapshot dict used to create recurring snapshot policy
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #276
2015-05-21 14:35:10 +05:30
Gaurav Aradhye
832f0293b3
CLOUDSTACK-8492: Fix dictionary access issue in createChecksum method - common.py
...
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #272
2015-05-21 12:32:45 +05:30
Abhinandan Prateek
4222364bea
CLOUDSTACK-8491: Host maintenance fails if a vm on it is running a custom service offering VM
2015-05-21 10:56:33 +05:30
Abhinandan Prateek
19f3166a3d
CLOUDSTACK-8250: host cpu memory used reported incorrectly in host stat
2015-05-21 09:26:35 +05:30
Vadim Kimlaychuk
bede3a87ad
CLOUDSTACK-8231: Fixed UI empty drop-down list for LB rules
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #271
2015-05-20 21:28:15 +01:00
Rene Moser
c43e4db4e0
ListFirewallEgressRulesCmd: add interfaces and minor cleanup
...
This commit does not implement new functionality:
* Fixes duplicate parameter in API docs.
* Fixes a bunch of typos.
* Add interfaces to make it easier for the FirewallService interface.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #249
2015-05-20 17:00:08 +01:00
wilderrodrigues
14c123e082
Merge branch 'fix/libvirt_unittests_timeout' of https://github.com/schubergphilis/cloudstack
...
This closes #270
2015-05-20 15:56:13 +02:00