Commit Graph

128 Commits

Author SHA1 Message Date
OpenDev Sysadmins 150a89162d OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:21 +00:00
Jenkins 438cd078de Merge "remove a unnecessary line" 2016-07-07 02:45:18 +00:00
xion 6612059a9f add an io count tracer
Change-Id: I9ad826eca3ea97505a660e8d226780de7c7ecbc7
2016-06-23 09:08:00 +08:00
xion 3f236fb2d6 remove a unnecessary line
Change-Id: Id0fcb97bad37e5164854736c6c4c686a6192a9db
2016-06-16 19:59:57 +08:00
Andreas Jaeger 1fb41db448 Remove unused pngmath Sphinx extension
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.

Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
2016-02-29 19:59:15 +01:00
janonymous 0c7eb04e55 py26/py33 are no longer supported by Infra's CI
Python 3.3/2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.

Change-Id: I0617b6bc840638f48080f8b7faddd234a097f1c7
2015-12-26 14:38:14 +05:30
Jenkins e7e53ac2e4 Merge "encapulate same codes into functions" 2015-12-22 02:02:39 +00:00
boding 3535c14668 encapulate same codes into functions
use functions to avoid repeatly calling "cat" commad and make code cleaner

Change-Id: If8a2643eb99f9acfcd94d9f042216bbaec7718cc
2015-12-22 06:40:43 +08:00
Jenkins 1927a4df01 Merge "Update readme file of scalpels" 2015-12-18 06:59:36 +00:00
Billy Xu 5f1b76a0c7 Update readme file of scalpels
Add the descriptions for All-In-One scenario and multiple nodes' scenario.

Change-Id: I0849cb4655f989a23ba71d7312f8b85f35396780
Implements: blueprint update-readme
2015-12-18 00:17:03 -05:00
Jenkins 03db94da71 Merge "support ovs port traffic statistics" 2015-12-15 09:54:37 +00:00
Fei Rao 99e8b32edb support ovs port traffic statistics
ovs port traffic statistics can be get by assigning the port name
parameters.
eg,  ./ovs_port_statistics.sh qvoxxxxx

Change-Id: I5e6cb80122560ad54e55c9415ddfbbfa6288d622
2015-12-15 16:53:48 +08:00
Jenkins 4efc88e263 Merge "Deprecated tox -downloadcache option removed" 2015-12-15 05:53:14 +00:00
Fei Rao 33c76dded5 s/digging/debugging
Change-Id: I82dbece2b771bfce900e374c92b3f154f2ad5d81
2015-12-15 11:57:53 +08:00
Ondřej Nový 3c7ac929c6 Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I42570d94c03da5036d9fab4d7e86ec1a59c82d00
2015-12-11 23:34:17 +01:00
Kun Huang 577a1920cb enable pep8
Change-Id: Ie74349f65747cbe9703e58f071b5a12777d1e981
2015-12-07 13:51:11 +08:00
Jenkins 736a006fe2 Merge "fix tox.ini for pep8 job" 2015-11-25 08:44:32 +00:00
Kun Huang 75e13ddc0f fix tox.ini for pep8 job
Change-Id: I952071a358853d3e7f96aa8ab6a8dd39f192094f
2015-11-25 16:36:39 +08:00
Kun Huang 0c1bb9be1b topy: find typos and fix
Change-Id: Iaef173fd857c6a376ee11eb819b2230f2ee986c9
2015-11-20 17:01:27 +08:00
Kun Huang d0ed1dbd4f test multiple result for one tracer
Change-Id: Ibb619a267b2a3ba28a05b850673fb1b73aac8e4d
2015-11-19 22:41:51 +08:00
Kun Huang 03ce2e4901 append results to tracer
so a tracer could have:

[(timestamp, data), ...] # result from yesterday
[(timestamp, data), ...] # result from today

Change-Id: Ief409c1401e9972da576657db74a3388c9422356
2015-11-19 17:03:54 +08:00
Kun Huang c960bba7a0 stop tracer (not a task)
Change-Id: I447191886733748fee12e9e7ba53d59b364a6e71
2015-11-19 12:29:15 +08:00
Kun Huang 01b97bf12c add pid for tracer table
Change-Id: Iec0f96e0ee9a7c8429669ec3777ac85f937e1434
2015-11-19 11:40:11 +08:00
Kun Huang 7aa86fceea [start] skip running tracer
Change-Id: I1285abaf2df21491dc1c9abd9f63d7a85b48f6c0
2015-11-19 10:31:41 +08:00
Kun Huang b13adc44a6 add is_running status to tracers
Change-Id: Ia197bd256e05be6c20f3c4456af996788891417c
2015-11-18 11:43:11 +08:00
Kun Huang ff99607004 sca-tracer: read config from db
Change-Id: I73fb875367c8445e719d94ececade5c5d2ebca1a
2015-11-18 00:05:41 +08:00
Kun Huang 61a8907939 save config to db
sca-manage setup -s
<show configs>
sca-manage setup -d key=value
<set key value config>

Change-Id: I1cc4d918d0d7f87bc785c96b6470bdff7e38fb48
2015-11-17 18:16:45 +08:00
Kun Huang bc668d0230 add register tracer func.
example:
sca-manage setup -d rpcport=5672 -t name=rpc -t tpl="bash %(tracer_path)s/port-input-traffic.sh %(rpcport)s"

Change-Id: I23ffcfb49aca1e1ab0a7e9fd4a820aca732aa02e
2015-11-17 16:55:24 +08:00
Jenkins aa0ee7a92a Merge "fix some typos" 2015-11-17 03:45:21 +00:00
Kun Huang 73906b5162 fix some typos
Change-Id: I0bc2c2900e44e9da7f6ac98780347d744ddb0de0
2015-11-16 23:20:10 +08:00
Kun Huang dc614c3edd add mission
Change-Id: Ie6a501946e4b89be94ef664aba370196557fb551
2015-11-15 23:55:49 +08:00
Kun Huang 891fd5e7a2 add tracer-worker relationship image
Change-Id: I0731ad66c48165288b334797115429fe440feeef
2015-11-15 23:27:36 +08:00
Kun Huang 28dec3510d use signal.signal to handle SIGINT
Change-Id: I49962eb2caa92170df6d758b40c53f35cc3c54bb
2015-11-14 22:35:37 +08:00
Kun Huang 7a778c5bff add log for rpc server
Change-Id: I94bf597d3da4a3876290c4a9eab9948432d98044
2015-11-14 21:00:00 +08:00
Kun Huang 001f2bb93c add stack user all=all
Change-Id: I2a1f9417beb2a53c74fc00b6807542144108914d
2015-11-13 17:21:04 +08:00
Kun Huang 1c26de127b enable ci script in rpc mode
Change-Id: I66dacfe2f48cd1484350e28bbb9ed9652b363ce8
2015-11-13 14:00:39 +08:00
Kun Huang 7183ec5f4d add command sca-manage stop
Change-Id: Iefa06828b3ffe2fbfbc5d76001856c665a04887b
2015-11-12 00:52:34 +08:00
Kun Huang 06898e73c0 use [LOG] for agent printing
Change-Id: I21678f1468a9e21fbced59523e7fb328e2ef8dd3
2015-11-11 14:15:06 +08:00
Kun Huang 96eace798e move setup command for sca-manage
Change-Id: I4f56213d140403ee6729114d47acc83c23b48592
2015-11-11 14:00:36 +08:00
Kun Huang eba48346bc mv scripts/agent.py to cmd/
Change-Id: Ifd91bc6966f485a3fe28971362f8c284f4b1b1f1
2015-11-11 13:46:37 +08:00
Kun Huang b1e3372293 move server actions to agent
Change-Id: Id112151c73195165478531630606f272a0cd9747
2015-11-11 13:27:27 +08:00
Kun Huang 28a26ff91f redesign endpoints
see:
sca = scalpels.client.shell:main
sca-manage = scalpels.cmd.manage:main # admin's behaviour
sca-agent = scalpels.cmd.agent:main # agent daemon on node
sca-tracer = scalpels.cmd.tracer:main # tracer process

Change-Id: Ieb4fcde857290999e43aeb06a0eeac9149ea2bd7
2015-11-11 13:18:43 +08:00
Kun Huang 472f4ae4d2 add utils for client side
move common functions there

Change-Id: I51bf2dd4425b5cc385cc0fd5d3734bc71548f740
2015-11-11 12:37:32 +08:00
Kun Huang 89a11930d0 fix task stop
there are some codes should in client side, but I put in agent(server)
side before

Change-Id: I3ca3bedd6f67d7994f7011bd85aa2c8fc6fa7403
2015-11-11 11:51:22 +08:00
Kun Huang fe44498986 sca result -> rpc mode
Change-Id: I71c35b06f1a115d242384ac9f9163cb9caedb2de
2015-11-11 11:34:40 +08:00
Kun Huang 9fc3dcde17 sca report -> rpc mode
Change-Id: I14b9aacb7e5a56d803c8e8d5b43c69afc7af8757
2015-11-11 11:06:06 +08:00
Kun Huang fa34d04420 mv readme.md to readme.rst
Change-Id: Id48b6403fea09d01dde030aec8e25437df967fa7
2015-11-11 09:14:17 +08:00
Kun Huang c7d9e0020b fix readme on image url
Change-Id: I17b1c0c07ba5cd1a88e82d95605c4182a5ab1174
2015-11-11 00:09:50 +08:00
Kun Huang 9216bfdcb6 add allinone deployment image
Change-Id: I7a3dd8b62cc0c167ccfe19f431279f7386fe1187
2015-11-10 23:48:45 +08:00
Kun Huang 0de31ed183 move to RPC mode
* support tracer list/start
* support old style stop command

Change-Id: Ia0437eb7bd8775d5c8f50fc3d60cf4ffdc82b494
2015-11-10 17:56:25 +08:00