rallydev-bot | [From Gitter] dileepranganathan : Hi.. how to initialize global variable in rally plugin class ? __init__ method is not working... | 00:07 |
---|---|---|
rallydev-bot | [From Gitter] andreykurilin : @dileepranganathan what do you mean by global variable? | 00:14 |
rallydev-bot | [From Gitter] andreykurilin : what is the case of it? | 00:14 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin I mean instance variable... | 00:15 |
rallydev-bot | [From Gitter] dileepranganathan : I am using creating ssh connections and run multiple commands.. I dont want to create new connection for each command... | 00:16 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin | 00:24 |
rallydev-bot | [From Gitter] andreykurilin : @dileepranganathan it is not an easy task. I mean most popular "contant" runner creates child processes(one child process per a cpu core) and there is no easy way to share objects between processes. But within one child process you can do it. I think the easiest way is to use a variable from module-level, like - http://xsnippet.org/362301/ | 00:25 |
rallydev-bot | [From Gitter] dileepranganathan : I dont need to share between processes... just within 1 iteration... can something be declared like self.ssh_client? | 00:27 |
rallydev-bot | [From Gitter] andreykurilin : @dileepranganathan oh. sure, there should not be any problems. setting `self.ssh_client = ...` should be ok | 00:28 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin I dont have to declare it anywhere... (no prev python experience :D) | 00:29 |
rallydev-bot | [From Gitter] dileepranganathan : like in "__init__ " method? | 00:29 |
rallydev-bot | [From Gitter] andreykurilin : ok. so python doesn't require declaration of instance variables in init method. you can do it in whatever you want place;) | 00:30 |
rallydev-bot | [From Gitter] dileepranganathan : @andreykurilin - oh got it.. Thanks.. :smile: | 00:30 |
rallydev-bot | [From Gitter] andreykurilin : and yes, there is a init method in python - `__init__` | 00:31 |
rallydev-bot | [From Gitter] dileepranganathan : rally doesn't allow this? | 00:32 |
rallydev-bot | [From Gitter] andreykurilin : allows. why not. but you should be careful with it. If you ovverides it, you need to call init method of parent class | 00:33 |
rallydev-bot | [From Gitter] dileepranganathan : ok.. | 00:33 |
*** e0ne has joined #openstack-rally | 00:39 | |
*** gk_-1wm_- has joined #openstack-rally | 01:12 | |
*** gk_-1wm_- has left #openstack-rally | 01:12 | |
*** yamamoto has joined #openstack-rally | 01:51 | |
*** mvk has quit IRC | 01:57 | |
*** yamamoto has quit IRC | 02:02 | |
*** yamamoto has joined #openstack-rally | 02:03 | |
*** e0ne has quit IRC | 02:13 | |
*** dileepr has joined #openstack-rally | 02:18 | |
*** yamamoto has quit IRC | 02:18 | |
*** yamamoto has joined #openstack-rally | 02:19 | |
*** yamamoto has quit IRC | 02:19 | |
*** yamamoto has joined #openstack-rally | 02:19 | |
*** yamamoto has quit IRC | 02:20 | |
*** MasterOfBugs has quit IRC | 02:22 | |
*** yamamoto has joined #openstack-rally | 02:31 | |
*** yamamoto has quit IRC | 02:38 | |
*** yamamoto has joined #openstack-rally | 02:39 | |
*** yamamoto has quit IRC | 02:44 | |
*** ilbot3 has quit IRC | 02:45 | |
*** ilbot3 has joined #openstack-rally | 02:48 | |
*** yamamoto has joined #openstack-rally | 02:55 | |
*** yamamoto has quit IRC | 02:59 | |
*** catintheroof has joined #openstack-rally | 03:00 | |
*** catintheroof has quit IRC | 03:00 | |
*** yamamoto has joined #openstack-rally | 03:10 | |
*** yamamoto has quit IRC | 03:14 | |
*** yamamoto has joined #openstack-rally | 03:40 | |
*** yamamoto has quit IRC | 03:44 | |
*** yamamoto has joined #openstack-rally | 03:48 | |
*** yamamoto has quit IRC | 03:48 | |
*** yamamoto has joined #openstack-rally | 04:18 | |
*** yamamoto has quit IRC | 04:23 | |
*** e0ne has joined #openstack-rally | 05:07 | |
*** e0ne has quit IRC | 05:07 | |
*** e0ne has joined #openstack-rally | 05:08 | |
*** e0ne has quit IRC | 05:08 | |
*** e0ne has joined #openstack-rally | 05:08 | |
*** e0ne has quit IRC | 05:09 | |
*** a53M8RDK8 has joined #openstack-rally | 05:12 | |
*** strigazi_ has joined #openstack-rally | 05:14 | |
*** Anticime1 has joined #openstack-rally | 05:14 | |
*** Daviey_ has joined #openstack-rally | 05:14 | |
*** strigazi has quit IRC | 05:16 | |
*** Anticimex has quit IRC | 05:16 | |
*** raginbajin has quit IRC | 05:16 | |
*** rook has quit IRC | 05:16 | |
*** Daviey has quit IRC | 05:16 | |
*** rallydev-bot has quit IRC | 05:16 | |
*** igormarnat has quit IRC | 05:16 | |
*** cjmarti has joined #openstack-rally | 05:16 | |
*** sai has quit IRC | 05:16 | |
*** dims has quit IRC | 05:16 | |
*** andreykurilin has quit IRC | 05:16 | |
*** castulo has quit IRC | 05:16 | |
*** mpotdar has quit IRC | 05:16 | |
*** cjmarti is now known as castulo | 05:16 | |
*** igormarnat__ has joined #openstack-rally | 05:16 | |
*** igormarnat__ is now known as igormarnat | 05:17 | |
*** andreykurilin has joined #openstack-rally | 05:17 | |
*** sai has joined #openstack-rally | 05:17 | |
*** dims has joined #openstack-rally | 05:17 | |
*** rook has joined #openstack-rally | 05:18 | |
*** rook is now known as Guest49819 | 05:19 | |
*** yamamoto has joined #openstack-rally | 05:19 | |
*** raginbajin has joined #openstack-rally | 05:20 | |
*** yamamoto has quit IRC | 05:26 | |
*** raginbajin has quit IRC | 05:41 | |
*** castulo has quit IRC | 05:41 | |
*** cjmarti has joined #openstack-rally | 05:42 | |
*** cjmarti is now known as castulo | 05:42 | |
*** raginbajin has joined #openstack-rally | 05:45 | |
*** tesseract has joined #openstack-rally | 08:03 | |
*** openstackgerrit has joined #openstack-rally | 08:54 | |
openstackgerrit | Hai Shi proposed openstack/rally master: [API] Make return data of Task API serializable https://review.openstack.org/431624 | 08:54 |
openstackgerrit | Yaroslav Lobankov proposed openstack/rally master: [Verify] Fix issue with verifier versions https://review.openstack.org/430360 | 09:06 |
a53M8RDK8 | [From Gitter] shihai1991 : the gate of `gate-rally-dsvm-cli` fail all the time:( http://logs.openstack.org/24/431624/8/check/gate-rally-dsvm-cli/856b29e/console.html | 10:08 |
openstackgerrit | Hai Shi proposed openstack/rally master: [API] Make return data of Task API serializable https://review.openstack.org/431624 | 10:12 |
*** yamamoto has joined #openstack-rally | 10:18 | |
*** yamamoto has quit IRC | 10:23 | |
*** dpaterson has quit IRC | 10:40 | |
*** dpaterson has joined #openstack-rally | 10:42 | |
*** yamamoto has joined #openstack-rally | 11:00 | |
*** yamamoto has quit IRC | 11:05 | |
*** yamamoto has joined #openstack-rally | 11:16 | |
*** yamamoto has quit IRC | 11:21 | |
*** yamamoto has joined #openstack-rally | 11:31 | |
*** yamamoto has quit IRC | 11:35 | |
*** mgagne has quit IRC | 11:35 | |
*** mgagne has joined #openstack-rally | 11:36 | |
*** mgagne is now known as Guest5551 | 11:36 | |
*** yamamoto has joined #openstack-rally | 11:38 | |
*** dileepr has quit IRC | 11:39 | |
*** yamamoto has quit IRC | 11:55 | |
*** yamamoto has joined #openstack-rally | 11:56 | |
*** yamamoto has quit IRC | 12:11 | |
*** yamamoto has joined #openstack-rally | 12:26 | |
*** yamamoto has quit IRC | 12:28 | |
*** rcernin has joined #openstack-rally | 15:06 | |
*** catintheroof has joined #openstack-rally | 16:02 | |
*** catintheroof has quit IRC | 16:07 | |
*** dpaterson has quit IRC | 16:20 | |
*** dpaterson has joined #openstack-rally | 16:21 | |
*** e0ne has joined #openstack-rally | 16:26 | |
*** e0ne has quit IRC | 16:46 | |
*** dave-mccowan has joined #openstack-rally | 17:02 | |
*** tesseract has quit IRC | 17:05 | |
*** dave-mcc_ has joined #openstack-rally | 17:06 | |
*** dave-mccowan has quit IRC | 17:08 | |
*** dave-mcc_ has quit IRC | 17:18 | |
*** catintheroof has joined #openstack-rally | 17:22 | |
*** catintheroof has quit IRC | 17:23 | |
*** catintheroof has joined #openstack-rally | 18:07 | |
*** boris-42_ has quit IRC | 18:35 | |
*** boris-42_ has joined #openstack-rally | 18:36 | |
*** mvk has joined #openstack-rally | 19:36 | |
*** afazekas has quit IRC | 20:13 | |
*** afazekas has joined #openstack-rally | 20:14 | |
*** dave-mccowan has joined #openstack-rally | 20:48 | |
*** tesseract has joined #openstack-rally | 21:05 | |
*** tesseract is now known as tesseract-RH | 21:49 | |
*** tesseract-RH is now known as tesseract | 21:52 | |
*** tesseract is now known as Guest39662 | 21:52 | |
*** Guest39662 is now known as tesseract | 21:57 | |
*** tesseract has quit IRC | 21:59 | |
*** tesseract has joined #openstack-rally | 22:00 | |
*** tesseract is now known as Guest44572 | 22:00 | |
*** Guest44572 is now known as tesseract | 22:04 | |
*** tesseract is now known as tesseract-RH | 22:05 | |
*** tesseract-RH is now known as tesseract | 22:06 | |
*** tesseract has quit IRC | 22:06 | |
*** tesseract has joined #openstack-rally | 22:06 | |
*** tesseract is now known as Guest87825 | 22:06 | |
*** Guest87825 is now known as tesseract | 22:09 | |
*** tesseract is now known as tesseract-RH | 22:09 | |
*** tesseract-RH has quit IRC | 22:12 | |
*** tesseract has joined #openstack-rally | 22:12 | |
*** tesseract has quit IRC | 22:12 | |
*** tesseract has joined #openstack-rally | 22:12 | |
*** tesseract has quit IRC | 22:13 | |
*** tesseract has joined #openstack-rally | 22:14 | |
*** tesseract is now known as tesseract-RH | 22:17 | |
*** tesseract-RH is now known as hlkhlkjlkj | 22:18 | |
*** hlkhlkjlkj is now known as tesseract-RH | 22:20 | |
*** tesseract-RH is now known as tesseract | 22:21 | |
*** dave-mccowan has quit IRC | 23:45 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!