Rohit Yadav
bc0bb89e97
cloudian: refactor code around SSO and url handling
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-26 12:46:53 +05:30
Rohit Yadav
7bc74bc442
cloudian: major refactorings, add logout hook on loading
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-26 11:10:42 +05:30
Rohit Yadav
269964c024
cloudian: wip logout javascript hook
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-25 14:52:01 +05:30
Rohit Yadav
931e9925f7
cloudian: set client timeouts, don't attach to message bus when plugin is not enabled
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-25 13:34:49 +05:30
Rohit Yadav
1382d0ef50
cloudian: sync first, last names and account name
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-25 12:09:07 +05:30
Rohit Yadav
cefbe51545
cloudian: get fresh client on each requirement, to not require restart everytime global setting is changed
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 13:30:03 +05:30
Rohit Yadav
c9a23ebca5
cloudian: test fixes
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:29:01 +05:30
Rohit Yadav
f420a19ef5
cloudian: make mgr impl robust wrt uncaught exceptions, improve logging
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:28:49 +05:30
Rohit Yadav
7ef84d526c
cloudian: make client refactorings, add email, use http status codes for comparison
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:27:46 +05:30
Rohit Yadav
ca37238d80
cloudian: refactor client code
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-22 12:00:18 +05:30
Rohit Yadav
8f220a5d62
cloudian: some apis don't return response, fix add apis to return boolean result
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 16:24:01 +05:30
Rohit Yadav
738b89b56e
cloudian: add mandatory/missing user attribute
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 16:14:31 +05:30
Rohit Yadav
e9244cf341
cloudian: let's guard more apis wrt NPEs
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 16:03:37 +05:30
Rohit Yadav
7307168218
cloudian: more npe fixes, around response contents (this needs fixing)
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:58:47 +05:30
Rohit Yadav
2188815dfd
cloudian: fix base admin url
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:54:20 +05:30
Rohit Yadav
b5d81feea5
cloudian: fix NPEs
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:49:06 +05:30
Rohit Yadav
1cc3e733ee
cloudian: wip integration with client api/lib
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-21 15:24:26 +05:30
Rohit Yadav
f85e33297e
cloudian: support most crud apis for user/group wip
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-20 13:55:09 +05:30
Rohit Yadav
5f86ad6986
cloudian: api request experiments
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-19 17:50:55 +05:30
Rohit Yadav
77e153521a
cloudian: add client/test stubs using apache hc (httpclient)
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-19 16:55:43 +05:30
Rohit Yadav
64aeba66dd
cloudian: file path/name refactorings
...
Also add httpclient maven lib deps
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-19 15:28:26 +05:30
Rohit Yadav
4c6ed448f0
ui: use http GET redirection for now until Tom sorts out POST-ability of SSO
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-18 10:47:01 +05:30
Rohit Yadav
38e72d67a8
cloudian: fix sso param generation code
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-14 12:54:54 +05:30
Rohit Yadav
d537afdbfc
cloudian: POST does not work :(
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 17:15:25 +05:30
Rohit Yadav
a61c43055e
cloudian: port sso signature generation code
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 16:18:18 +05:30
Rohit Yadav
ceb0b9f71d
cloudian: ui integration
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 15:08:43 +05:30
Rohit Yadav
d4085ac835
cloudian: ui plugin enable/disable based on api/setting value
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 14:08:49 +05:30
Rohit Yadav
32ffe1e497
cloudian: wip ui->cmc opening
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 13:01:20 +05:30
Rohit Yadav
db7697216b
cloudian: wip sso integration
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-13 12:57:16 +05:30
Rohit Yadav
170ad669e6
cloudian: fix NPE
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 17:40:56 +05:30
Rohit Yadav
e1983c9650
cloudian: add message bus listeners
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 17:35:38 +05:30
Rohit Yadav
f9b3b4af67
cloudian: add configs from connector props file to db
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 15:35:10 +05:30
Rohit Yadav
df1a802cd5
cloudian: add connector plugin stubs
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 13:11:53 +05:30
Rohit Yadav
60b9142284
cloudian: UI plugin stub
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-12 11:27:59 +05:30
Rohit Yadav
85e57d1155
CLOUDSTACK-10069: Add sha512 suffix to SHA 512 checksum ( #2262 )
...
Per http://www.apache.org/dev/release-distribution#sigs-and-sums
This will add `.sha512` to the SHA 512 checksum file in the
release/candidate tarball.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-11 12:40:06 +05:30
Rohit Yadav
774998d76b
Updating pom.xml version numbers for release 4.9.4.0-SNAPSHOT
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-07 20:21:43 +05:30
Rohit Yadav
d145944be0
Updating pom.xml version numbers for release 4.9.3.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-28 14:52:37 +02:00
Rohit Yadav
310195cbe2
CLOUDSTACK-10052: Simplify dynamic roles enable checking ( #2241 )
...
This fixes issue of enabling dynamic roles based on the global setting
only. This also fixes application of the default role/permissions mapping
on upgrade from 4.8 and previous versions to 4.9+.
Previously, it would make additional check to ensure commands.properties
is not in the classpath however this creates confusion for admins who
may skip/skim through the rn/docs and assume that mere changing the
global settings was not enough.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-22 10:22:27 +02:00
Sigert Goeminne
cd2176f9a6
CLOUDSTACK-10031: change default configuration for router.aggregation.command.each.timeout from 3 to 600 seconds ( #2223 )
...
Change default configuration for router.aggregation.command.each.timeout from 3 to 600 seconds (#2223 )
(cherry picked from commit 17bc6afc82 )
This fixes some test_nic failures caused due to short aggregation command timeout
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-17 23:01:46 +02:00
Rohit Yadav
542b7e6608
CLOUDSTACK-8958: Fix typos introduced
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-10 01:12:59 +02:00
Wei Zhou
5645164dbb
CLOUDSTACK-8958: release dedicated ip range in domain removal
2017-08-10 01:11:51 +02:00
Wido den Hollander
86b6050c32
CLOUDSTACK-10042: Properly show ICMP SecGroup Rules ( #2233 )
...
A simple if-statement would fail if either the type or code were 0
as that if-statement failed them.
By checking if they are defined and casting them to a String afterwards
this makes the if-statement properly resolve and show the rule as it should.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2017-08-10 01:03:35 +02:00
Slair1
a5778139c2
CLOUDSTACK-9801: IPSec VPN does not work after vRouter reboot or recreate ( #1966 )
...
This makes sure IP address is active.
After a vRouter is recreated (e.g. reboot via CloudStack UI) and Remote Access VPN enabled, VPN won't work anymore. Here is the abbreviated output of "ipsec auto -status" while we were having the issue:
root@r-10-VM:~# ipsec auto --status
000 using kernel interface: netkey
000 interface lo/lo 127.0.0.1
000 interface lo/lo 127.0.0.1
000 interface eth0/eth0 169.254.1.45
000 interface eth0/eth0 169.254.1.45
000 %myid = (none)
After this commit, the following occurs and VPNs work:
root@r-10-VM:~# ipsec auto --status
000 using kernel interface: netkey
000 interface lo/lo 127.0.0.1
000 interface lo/lo 127.0.0.1
000 interface eth0/eth0 169.254.1.45
000 interface eth0/eth0 169.254.1.45
000 interface eth1/eth1 xxx.xxx.xxx.172
000 interface eth1/eth1 xxx.xxx.xxx.172
000 interface eth2/eth2 192.168.1.1
000 interface eth2/eth2 192.168.1.1
000 %myid = (none)
eth1 interface IP is masked, but now ipsec sees all the interfaces and VPN works.
Looks like this bug was introduced by Pull Request #1423
It added code to start ipsec (cloudstack/systemvm/patches/debian/config/opt/cloud/bin/configure.py)
if vpnconfig['create']:
logging.debug("Enabling remote access vpn on "+ public_ip)
CsHelper.start_if_stopped("ipsec")
2017-08-04 20:43:54 +02:00
Rohit Yadav
f4a138d251
Revert "CLOUDSTACK-9708: Router deployment failed due to two threads start VR simultaneously." ( #2220 )
...
This reverts commit 42e60ebac6 / 9e20525e08 .
2017-08-04 10:57:54 +02:00
Ronald van Zantvoort
974e01ed08
CLOUDSTACK-10011: Fix Agent logrotation ( #2094 )
...
* CS Agent: Correct logrotation for agent log
* CS Agent: Logrotate security_group as well
* CS Agent: fix logrotation file perms so logrotate doesnt skip it
2017-08-03 00:29:02 +02:00
subhash yedugundla
b70879cbac
CLOUDSTACK-9560 Root volume of deleted VM left unremoved
...
(cherry picked from commit 5568ee93ad )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Nitesh Sarda
26bcb9afd8
CLOUDSTACK-9935 : Search in VPN Customer Gateway not working
...
(cherry picked from commit fdadc7b760 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Subhash yedugundla
aaae977c53
CLOUDSTACK-9555 when a template is deleted and then copied over again , it is still marked as Removed in template_zone_ref table
...
(cherry picked from commit c3bc69c724 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Sudharma Jain
96671543dc
CLOUDSTACK-9567 Difference in the api call outputs for CAPACITY_TYPE_CPU = 1
...
(cherry picked from commit 732be53044 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Subhash Yedugundla
77fb2c92ce
CLOUDSTACK-9592 Empty responses from site to site connection status are not handled propertly
...
(cherry picked from commit ddf8fd514a )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00