Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2017-02-25

| Channels | #openstack-rally index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:07 rallydev-bot [From Gitter] dileepranganathan : Hi.. how to initialize global variable in rally plugin class ? __init__ method is not working...
00:14 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:15 rallydev-bot [From Gitter] dileepranganathan : @andreykurilin I mean instance variable...
00:16 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:24 rallydev-bot [From Gitter] dileepranganathan : @andreykurilin
00:25 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:27 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:28 rallydev-bot [From Gitter] andreykurilin : @dileepranganathan oh. sure, there should not be any problems. setting `self.ssh_client = ...` should be ok
00:29 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:30 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:31 rallydev-bot [From Gitter] andreykurilin : and yes, there is a init method in python - `__init__`
00:32 rallydev-bot [From Gitter] dileepranganathan : rally doesn't allow this?
00:33 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:39 e0ne joined #openstack-rally
01:12 gk_-1wm_- joined #openstack-rally
01:12 gk_-1wm_- left #openstack-rally
01:51 yamamoto joined #openstack-rally
02:03 yamamoto joined #openstack-rally
02:18 dileepr joined #openstack-rally
02:19 yamamoto joined #openstack-rally
02:19 yamamoto joined #openstack-rally
02:31 yamamoto joined #openstack-rally
02:39 yamamoto joined #openstack-rally
02:48 ilbot3 joined #openstack-rally
02:48 Topic for #openstack-rally is now Gitter https://gitter.im/rally-dev/Lobby ☁ Review board: https://goo.gl/iYw2m0 ☁ Rally RoadMap: http://goo.gl/JZkmwY ☁ IRC logs http://irclog.perlgeek.de/openstack-rally ☁ Key persons to ask:  andreykurilin, boris-42, amaretskiy, rvasilets, stpierre  ☁ Documentation: https://rally.readthedocs.org/en/latest/ ☁ To publish changes to Rally:  https://rally.readthedocs.org/en/late
02:55 yamamoto joined #openstack-rally
03:00 catintheroof joined #openstack-rally
03:10 yamamoto joined #openstack-rally
03:40 yamamoto joined #openstack-rally
03:48 yamamoto joined #openstack-rally
04:18 yamamoto joined #openstack-rally
05:07 e0ne joined #openstack-rally
05:08 e0ne joined #openstack-rally
05:08 e0ne joined #openstack-rally
05:12 a53M8RDK8 joined #openstack-rally
05:14 strigazi_ joined #openstack-rally
05:14 Anticime1 joined #openstack-rally
05:14 Daviey_ joined #openstack-rally
05:16 cjmarti joined #openstack-rally
05:16 igormarnat__ joined #openstack-rally
05:17 andreykurilin joined #openstack-rally
05:17 sai joined #openstack-rally
05:17 dims joined #openstack-rally
05:18 rook joined #openstack-rally
05:19 yamamoto joined #openstack-rally
05:20 raginbajin joined #openstack-rally
05:42 cjmarti joined #openstack-rally
05:45 raginbajin joined #openstack-rally
08:03 tesseract joined #openstack-rally
08:54 openstackgerrit 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
09:06 openstackgerrit Yaroslav Lobankov proposed openstack/rally master: [Verify] Fix issue with verifier versions  https://review.openstack.org/430360
10:08 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:12 openstackgerrit Hai Shi proposed openstack/rally master: [API] Make return data of Task API serializable  https://review.openstack.org/431624
10:18 yamamoto joined #openstack-rally
10:42 dpaterson joined #openstack-rally
11:00 yamamoto joined #openstack-rally
11:16 yamamoto joined #openstack-rally
11:31 yamamoto joined #openstack-rally
11:36 mgagne joined #openstack-rally
11:38 yamamoto joined #openstack-rally
11:56 yamamoto joined #openstack-rally
12:26 yamamoto joined #openstack-rally
15:06 rcernin joined #openstack-rally
16:02 catintheroof joined #openstack-rally
16:21 dpaterson joined #openstack-rally
16:26 e0ne joined #openstack-rally
17:02 dave-mccowan joined #openstack-rally
17:06 dave-mcc_ joined #openstack-rally
17:22 catintheroof joined #openstack-rally
18:07 catintheroof joined #openstack-rally
18:36 boris-42_ joined #openstack-rally
19:36 mvk joined #openstack-rally
20:14 afazekas joined #openstack-rally
20:48 dave-mccowan joined #openstack-rally
21:05 tesseract joined #openstack-rally
22:00 tesseract joined #openstack-rally
22:06 tesseract joined #openstack-rally
22:12 tesseract joined #openstack-rally
22:12 tesseract joined #openstack-rally
22:14 tesseract joined #openstack-rally

| Channels | #openstack-rally index | Today | | Search | Google Search | Plain-Text | summary