Rohit Yadav
a699714bd8
cloudian: move test around
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 12:28:36 +05:30
Rohit Yadav
f50955d22f
cloudian: cleanup tests, wip unit testing
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 12:26:48 +05:30
Rohit Yadav
c542b9e934
cloudian: fix ui regression, throw exception on timeout
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-09-27 12:24:14 +05:30
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
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
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
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
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
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
Sateesh Chodapuneedi
6977cb3841
CLOUDSTACK-9684 Invalid zone id error while listing vmware zone
...
Issue
=====
While listing datacenters associated with a zone, only zone Id validation is required.
There is no need to have additional checks like zone is a legacy zone or not.
Fix
===
Removed unnecessary checks over zone ID and just checking if zone with specified ID exists or not.
Signed-off-by: Sateesh Chodapuneedi <sateesh.chodapuneedi@accelerite.com>
(cherry picked from commit 0ef1c17541 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
subhash yedugundla
1b26a486d1
BUG-ID:CLOUDSTACK-8921
...
Summary: CLOUDSTACK-8921
snapshot_store_ref table should store actual size of back snapshot in secondary storage
Calling SR scan to make sure size is updated correctly
(cherry picked from commit 4e4b67cd96 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Nitesh Sarda
9334e091c0
CLOUDSTACK-9937 : dedicateCluster API response does not return correct detail in response
...
(cherry picked from commit 7364616aa4 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Rajani Karuturi
9ce2dde030
CLOUDSTACK-9834: prepareTemplate API call doesn't work well
...
with XenServer & Local SR (Db_exn.Uniqueness_constraint_violation)
removed the host uuid from SR label so that any host which has access to
the SR(all the hosts in the same pool) can reuse the same SR
(cherry picked from commit 1aa6a72bc7 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Rene Moser
05f94b8ef7
Bug fix for CLOUDSTACK-9762 Management Server UI (VM statistics page) CPU Utilized value is incorrect.
...
(cherry picked from commit b676a8a7c3 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Anshul Gangwar
e6855db78a
CLOUDSTACK-9685: delete snapshot on primary associated with a volume when that volume is deleted
...
as that snapshot will never be going to use again and also it will fill up primary storage
(cherry picked from commit 336df84f17 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Nick Livens
1f44e884ad
CLOUDSTACK-9321 : Multiple Internal LB rules (more than one Internal LB rule with same source IP address) are not getting resolved in the corresponding InternalLbVm instance's haproxy.cfg file
...
CLOUDSTACK-9321 : Adding component tests for VPC Network functionality - Internal LB rules
CLOUDSTACK-9321 : Extending Nuage VSP Internal LB Marvin tests
Co-Authored-By: Prashanth Manthena <prashanth.manthena@nuagenetworks.net>, Frank Maximus <frank.maximus@nuagenetworks.net>
(cherry picked from commit 62e858131f )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
nvazquez
1d25582ed6
CLOUDSTACK-9752: [Vmware] Optimization of volume attachness to vm
...
(cherry picked from commit 49dadc5505 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Suresh Kumar Anaparti
0fbbbdb83a
CLOUDSTACK-9720: [VMware] template_spool_ref table is not getting updated with correct template physical size in template_size column.
...
(cherry picked from commit 8676b20276 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Suresh Kumar Anaparti
e61815a255
CLOUDSTACK-9794: Unable to attach more than 14 devices to a VM
...
Updated hardcoded value with max data volumes limit from hypervisor capabilities.
(cherry picked from commit 93f5b6e8a3 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-08-01 20:40:25 +02:00
Frank Maximus
0ead11e8f1
CLOUDSTACK-9751: Fix public ip not applied, when added while VR is starting. ( #1925 )
...
Public IP state wasn't passed to the vsp client, making it ignore the apply public ip.
Reported-By: Raf Smeets <raf.smeets@nuagenetworks.net>
2017-07-28 10:30:43 +02:00
Rohit Yadav
90e7cabf4e
FIX3: Consider overcommit ratios with total/threshold values for host metrics
...
Consider the CPU and memory overcommit ratios with total cpu/ram values
or thresholds for host metrics. This will fix incorrect notification
(cells turning yellow/red) in the metrics view.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-07-24 12:42:02 +02:00
Wido den Hollander
ca415e7436
CLOUDSTACK-9929: Do not gather statistics for CDROM or FLOPPY devices
...
Libvirt / Qemu (KVM) does not collect statistics about these either.
On some systems it might even yield a 'internal error' from libvirt
when attempting to gather block statistics from such devices.
For example Ubuntu 16.04 (Xenial) has a issue with this.
Skip them when looping through all devices.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2017-07-14 14:57:11 +05:30
Rohit Yadav
e197652a28
CLOUDSTACK-9860: Fix stackoverflow issue
...
Fixes issue caused to a PR-refactoring from #2108 , reported by
@borisstoyanov
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-06-06 16:14:03 +05:30
Rohit Yadav
8323a175f1
CLOUDSTACK-9860: Power off VMs when stopVM is called with forced=true
...
The 'force' option provided with the stopVirtualMachine API command is
often assumed to be a hard shutdown sent to the hypervisor, when in fact
it is for CloudStacks' internal use. CloudStack should be able to send
the 'hard' power-off request to the hosts.
When forced parameter on the stopVM API is true, power off (hard shutdown)
a VM. This uses initial changes from #1635 to pass the forced parameter
to hypervisor plugin via the StopCommand, and fixes force stop (poweroff)
handling for KVM, VMware and XenServer.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-05-25 17:25:22 +05:30
Rajani Karuturi
9c4eb959c3
Merge pull request #2070 from shapeblue/hyperv-log-fix
...
CLOUDSTACK-9904: Fix log4j to have @AGENTLOG@ replaced
2017-05-17 09:49:33 +05:30