OpenVZ Source code
  1. OpenVZ Source code

rmond-drs

Public
AuthorCommitMessageCommit dateIssues
Konstantin BukharovKonstantin Bukharov
781d590ac53MMerge pull request #1 in OVZ/rmond-drs from ~IGOR/rmond-drs:master to master* commit '2b7936f5b11ab4a0d667434bf21b40e3434d5c1a': Update Copyright
Igor SukhihIgor Sukhih
2b7936f5b11Update CopyrightCopyright (c) 2017-2019 Virtuozzo International GmbH. All rights reserved. Signed-off-by: Igor Sukhih <igor@virtuozzo.com>
Sergey GalasDerbyshev DmitrySergey Galas
ef9dc77d92ePrlVmCfg_GetEnvId is obsolete.use PrlVmCfg_GetCtId instead
Derbyshev DmitryDerbyshev Dmitry
c9eaec60acdAUTO Version bump to 7.0.9
Derbyshev DmitryDerbyshev Dmitry
a587e536895AUTO Version bump to 7.0.8
Derbyshev DmitryDerbyshev Dmitry
9ac9eb3c418AUTO Version bump to 7.0.7
Igor RedkoDerbyshev DmitryIgor Redko
c456981123bguest-transport: adjust Makefileadd gust-trasport directory to root Makefile PSBM-40228 Signed-off-by: Igor Redko <redkoi@virtuozzo.com>PSBM-40228
Derbyshev DmitryDerbyshev Dmitry
6fd7b57c4faAUTO Version bump to 7.0.6
Derbyshev DmitryDerbyshev Dmitry
a9296beeac3Collect parameters more oftenWe need more fine-grained counters, or at least we might need it. PSBM-40950 Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>PSBM-40950
Derbyshev DmitryDerbyshev Dmitry
dba4119aa9bve-fill data from lin VMFilling counters from lin VM in data_from_VM function via reading from pipe got from exec via ConnectionToVM. It makes it possible to execute a file in VM and store fd to its output. Map uuid2Connection stores information about already opened connections. PSBM-40950 Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>PSBM-40950
Derbyshev DmitryDerbyshev Dmitry
31f44ff3c6bve-fill data from lin CTFilling counters from lin CT in data_from_CT function via proc read and exec "vzlist -o laverage" PSBM-40950 Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>PSBM-40950
Derbyshev DmitryDerbyshev Dmitry
8df506073cbve-new properties for linux VE countersAdded new fields for linux VE stats. They have { rmond 59 } MIB. Not yet filling them. PSBM-40950 Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>PSBM-40950
Derbyshev DmitryDerbyshev Dmitry
40d74dee764ve-report os typeIt is necessary to distinguish win and lin guests from each other because they require different stats for prediction. PSBM-40950 Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>PSBM-40950
Derbyshev DmitryDerbyshev Dmitry
9b915195fdchost-new propertiesAdded new experimental fields for host stats. PSBM-40950 Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>PSBM-40950
Derbyshev DmitryDerbyshev Dmitry
b5499b8ab3dDifferent mibs from rmondrmond-drs now will use 26171.1.2 (was .1) and 26171.3 (was .3) to avoid conflicts with original rmond Signed-off-by: dderbyshev <dderbyshev@virtuozzo.com>
Derbyshev DmitryDerbyshev Dmitry
ac0d69c39ddAUTO Version bump to 7.0.5
Derbyshev DmitryDerbyshev Dmitry
f8b29b5d99eAUTO Version bump to 7.0.4
Derbyshev DmitryDerbyshev Dmitry
1636d3a6459file renames to rmond-drs
Derbyshev DmitryDerbyshev Dmitry
ff49bf65fa1changed names to rmond-drs
Igor RedkoDerbyshev DmitryIgor Redko
e372193d0e8guest-transport: add installation scriptPSBM-40227, PSBM-40228 Adds new target 'install' Script 'install_transport.py' is used for installing binaries in guests. Prerequisites for succesful installation are: 1) Target VMs are running under control of prl-disp-service 2) Qemu guest-agent with guest-exec is installed in each VM and running. 3) In windows host python is installed Signed-off-by: Igor Redko <redkoi@virtuozzo.com>2 Jira Issues
Igor RedkoDerbyshev DmitryIgor Redko
3aa21faceb3guest-transport: add windows supportPSBM-40227 move linux specific code to lin_transport.c add windows specific code Signed-off-by: Igor Redko <redkoi@virtuozzo.com>PSBM-40227
Igor RedkoDerbyshev DmitryIgor Redko
7bd47860510guest-transport: initial commit and linux supportPSBM-40228 Signed-off-by: Igor Redko <redkoi@virtuozzo.com>PSBM-40228
Dmitry MishinDmitry Mishin
d5dd7b1e695Added license terms
Dmitry MishinDmitry Mishin
72584eb6cfdAdded license terms
Sergey GalasSergey Galas
3dc2c18b273MMerge pull request #3 in OVZ/rmond from ~ABONDROV/rmond:master to master* commit '01956c08480339352f042f0de71c27fda1f9e128': Add install target to makefile
Andrei BondrovAndrei Bondrov
01956c08480Add install target to makefile
Sergey GalasSergey Galas
6f4b053d0a0AUTO Version bump to 7.0.3
Sergey GalasSergey Galas
acccb6d78b3MMerge pull request #1 in OVZ/rmond from ~ABURLUKA/rmond:master to master* commit 'c65d1ed5915bc8000b6a39135f09d4d83a19adcf': Make a threadsafe container for inner data in rmond plugin
Alexander BurlukaAlexander Burluka
c65d1ed5915Make a threadsafe container for inner data in rmond pluginFixes bug #PSBM-39087PSBM-39087
Sergey GalasSergey Galas
bb47b52da02AUTO Version bump to 7.0.2
Sergey GalasSergey Galas
69f9530dc4dbug #PSBM-37918merge from the psbm6 branchPSBM-37918
Dmitry MishinDmitry Mishin
7d5aa55b111AUTO Version bump to 7.0.1
Dmitry MishinDmitry Mishin
dc5b8e7d6cbAdded versioning file
Sergey GalasSergey Galas
12a3119e2a5compilation is fixed
Dmitry MishinDmitry Mishin
476dd67190cFixed path to SDK headers
nshirokovskiynshirokovskiy
95bdbc5d4f9BUGFIX @103011 Review @103011 "Add license CT usage to node info" Reviewed-by: shrike Observers: dim * Problem:In pdrs we use number of running CTs as number of license CT usage but it is not correct as 1 and 50 ids are not account for usage and there could be temporary CT of number up to 2 with lifetime up to 5 hours that are not accounted too. * Solution Include lisence CT usage into rmond data. #PSBM-28708 Issues: Affects Major Issue PSBM-28708 - "PDRS: Service (1) and MN (50) containers should no...PSBM-28708
bkbbkb
7485e8c9a87MINOR update PARALLELS-RMOND-SMI to pass validation @102516Review @102516 "Yet another SMI update" Reviewed-by: shrike Observers: dim PARALLELS-RMOND-SMI also failed validation. Proposed version works for IBS
shrikeshrike
dad859450b6MINOR @100910, bug #PSBM-30667 Review @100910 "Fixes bug #PSBM-30667 (snmp memory leak)" Reviewed-by: dimrmond subscribes to ves performance stats. every second the dispatcher pushes a stat event for every ve. not all the performance data is available from subscription. therefore rmond polls the required info periodically. the actual implementation uses a single lock to serialize state updates. then polling may slow down the events handling. it incures accumulation of events pending for processing...PSBM-30667
shrikeshrike
0f508ec07c2MINOR @99513, bug #PSBM-30202:fixed Review @99513 "Fixes bug #PSBM-30202 (Node has been dropped by PDRS)" Reviewed-by: dimrmond uses the system time which is sensible to time adjustments. let's switch to the monotonic clock to workaround Issues: Fixes Critical Issue PSBM-30202 - "[at.pcs6] vzt-pcs-ha-ct-functional: functional.fit_rand_5 ERROR: Node has been dropped by PDRS" #PSBM-30202PSBM-30202
shrikeshrike
47bfe5ff5f0MERGE @noreview.we have 2 options to get the memory usage for a ve: from the sdk call or from an event if reported. let's employ both
shrikeshrike
56125fc949bMINOR @noreview, bug #PSBM-25734:fixed. looks like the sdk misses replies sometimes or the dispatcher just doesn't answer to some requests. then we may end up hanging in PrlJob_Wait forever. the worst the wait might occure under the big global lock and this'll lead to the whole application deadlock. as a workaround let's limit waiting to 15 seconds for requests which tolerate failure.Issues: Fixes Major Issue PSBM-25734 - "snmpd with rmond leaks memory" #PSBM-25734PSBM-25734
shrikeshrike
860151cd4c4MINOR @noreview.add missed columns to tables sequences
shrikeshrike
96cea06ea6aMINOR @noreview.report uuid for both kinds of ves
shrikeshrike
6c5c61f5c58MERGE @noreview, bug #PSBM-24884. process network statistics events, report MAC addresses for network devicesIssues: Affects Major Issue PSBM-24884 - "Metering support in Nova driver" #PSBM-24884PSBM-24884
dimdim
2cc5fe3ec30BUGFIX Fix VM handling in DRS in a case of combined license usedThis patch fixes the problem with wrong handling of a license's limit on a running VMs number in a case of a combined license. The check in DRS is follows: 1) compare a sum of running VMs & CTs with servers_total 2) if the object is CT - than compare a number of running CTs with ct_limit 3) if the object is VM - than compare a number of running VMs with nr_vms In a case of combined license...PSBM-24116
shrikeshrike
a7abce2020fMINOR @noreview.there can be several users of the sdk in the process. we should be able to initialize even if the lib is already running
shrikeshrike
fb9a061334bMINOR @noreview, bug #PSBM-22818. sizeof(counter64) is 16 bytes. O_o. fill the structure members manually to workaroundIssues: Affects Major Issue PSBM-22818 - "invalid value of VE mem limit at snmp statistic" #PSBM-22818PSBM-22818
shrikeshrike
5810b845841MINOR @76367, bug #PSBM-21993:fixedReview @76367 "Fixes bug #PSBM-21993 (it's needs to subscribe on UCD-SNMP-MIB::memTotalReal)" Reviewed-by: shrike Observers: sergeyt, dim, krasnov use a fake request and the main_session to query values from external mibs Issues: Fixes Critical Issue PSBM-21993 - "[snmp] it's needs to subscribe on UCD-SNMP-MIB::memTotalReal" #PSBM-21993PSBM-21993
shrikeshrike
a8133805155MINOR @75994, bug #PSBM-21891:fixedReview @75994 "Fixes bug #PSBM-21891 (snmpwalk crashes snmpd)" Reviewed-by: sergeyt Observers: dim external devices names could be rather long bigger than the limit for the record oid length. let's use the hash of the device name instead and move name itself out of the table index. Issues: Fixes Major Issue PSBM-21891 - "snmpwalk crashes snmpd" #PSBM-21891PSBM-21891
shrikeshrike
42fbe60c713MINOR @noreview.the latest version of the net-snmp lib expects that the ip address value length would be 4 bytes exactly but the snmp_set_var_typed_value doesn't enforce that rule. pass correct length to make proper packet