Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2016-11-03

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

All times shown according to UTC.

Time Nick Message
00:04 openstackgerrit Andrey Kurilin proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
00:30 yingjun joined #openstack-rally
00:31 yingjun joined #openstack-rally
01:20 yanyanhu joined #openstack-rally
01:47 trisq joined #openstack-rally
01:54 openstackgerrit zhangzhihui proposed openstack/rally: Add cinder.CreateVolumeType scenario  https://review.openstack.org/388617
02:22 kiran-r joined #openstack-rally
02:48 ilbot3 joined #openstack-rally
02:48 Topic for #openstack-rally is now ☁ Review board: https://goo.gl/aIdd8F ☁ 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/latest/contribute.html
02:49 yanyanhu joined #openstack-rally
03:06 trisq joined #openstack-rally
03:41 chenhb joined #openstack-rally
03:55 coolsvap joined #openstack-rally
04:25 absubram_ joined #openstack-rally
05:37 openstackgerrit zhangzhihui proposed openstack/rally: Add keystone.CreateAndUpdateUser scenario  https://review.openstack.org/379127
05:48 openstackgerrit joined #openstack-rally
06:13 amaretskiy joined #openstack-rally
06:35 jojden joined #openstack-rally
06:36 jojden how to load external client in rally
06:36 jojden ??
06:40 afazekas joined #openstack-rally
07:07 jojden ImportError: No module named requests
07:07 jojden what will be the issue with this
07:07 jojden root@os-controller1:/home/poornam# pip install requests
07:07 jojden Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages
07:11 chandankumar joined #openstack-rally
07:14 tesseract joined #openstack-rally
07:19 chandankumar joined #openstack-rally
07:34 rcernin joined #openstack-rally
07:35 abehl joined #openstack-rally
07:48 openstackgerrit joined #openstack-rally
08:08 ushkalim joined #openstack-rally
08:30 mkoderer joined #openstack-rally
08:46 psuriset joined #openstack-rally
09:04 tosky joined #openstack-rally
09:09 psuriset joined #openstack-rally
09:24 kbaikov joined #openstack-rally
09:38 yanyanhu joined #openstack-rally
09:43 Serlex joined #openstack-rally
10:26 mvk joined #openstack-rally
11:04 dave-mccowan joined #openstack-rally
11:13 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Reports] Use flat scenarios menu in task report  https://review.openstack.org/392897
11:13 absubram joined #openstack-rally
11:14 absubram_ joined #openstack-rally
11:15 andreykurilin jojden: ping
11:16 openstackgerrit Alexander Maretskiy proposed openstack/rally: [Reports] Fix sorting for Hooks column in overview table  https://review.openstack.org/393244
11:18 jojden andreykurilin hai
11:18 andreykurilin cool
11:18 jojden andreykurilin can you help me on that
11:18 jojden ?
11:19 andreykurilin jojden: I can try
11:19 andreykurilin )
11:19 andreykurilin please execute next command: python -c "import rally; print(rally.__file__)"
11:19 jojden oh thank you
11:20 jojden root@os-controller1:~/.rally/tempest/for-deployment-0dc294f6-0d7f-407c-9036-70bb1661fd59/plugins# python -c "import rally; print(rally.__file__)"
11:20 jojden got the o/p as path to rally
11:20 jojden usr/local
11:21 jojden lib/python2.7/dist-packages/rally/
11:21 jojden __init__.pyc
11:21 andreykurilin hm... it is strange
11:21 jojden oh what should be the o/p of that
11:21 jojden ?
11:22 jojden means what we are expecting
11:24 andreykurilin another debug info `whereis rally | xargs cat`
11:24 jkilpatr joined #openstack-rally
11:25 jojden whereis rally
11:25 jojden rally: /etc/rally /usr/local/bin/rally /usr/share/rally
11:26 jojden root@os-controller1:~/.rally/tempest/for-deployment-0dc294f6-0d7f-407c-9036-70bb1661fd59/plugins# whereis rally | xargs cat
11:26 jojden cat: rally:: No such file or directory
11:26 jojden cat: /etc/rally: Is a directory
11:26 jojden #!/usr/bin/python
11:26 jojden # PBR Generated from u'console_scripts'
11:30 jojden andreykurilin
11:30 jojden what might be the issue
11:33 rvasilets___ joined #openstack-rally
11:35 andreykurilin jojden: I think the problem can be in different python versions. pip is configured to use one version and rally is launched by other
11:35 andreykurilin what is a first line of /usr/local/bin/rally ?
11:35 jojden #!/usr/bin/python
11:35 jojden # PBR Generated from u'console_scripts'
11:36 andreykurilin /usr/bin/python --version is python 2.7 ?
11:37 jojden yes
11:37 jojden Python 2.7.6
11:38 andreykurilin hm..
11:38 andreykurilin it is strange
11:39 jojden but this is the version that I am using
11:41 andreykurilin yes
11:41 andreykurilin Does `python -c "import request"` works?
11:41 jojden yes
11:41 andreykurilin ;(
11:44 jojden :)
11:45 andreykurilin and `rally deployment list` (for example) doesn't ?
11:46 jojden it list the current cloud
11:46 jojden uuid                                 | created_at          | name                | status           | active
11:47 andreykurilin hm...
11:48 jojden and do u know how the client is loading in the tempest.
11:48 andreykurilin so what actually fails?
11:48 jojden like keystoneclient
11:48 jojden failing is
11:48 jojden when I am trying to load packages like
11:48 jojden keystoneclient
11:48 jojden import keystoneclient
11:48 jojden is failing
11:48 andreykurilin where you whant to load?
11:49 andreykurilin please describe your use case
11:49 jojden I am loading it in the tests/api/test_service.py
11:50 jojden Acyally I have a service named sidecar
11:51 jojden it having client named sidecarclient
11:51 andreykurilin ok, so you want to modify tempest code to use keystoneclient and launch tempest via rally
11:51 jojden when I run
11:51 andreykurilin Am I right?
11:51 jojden yes
11:52 jojden tempest plugin
11:52 andreykurilin so the problem is that Tempest doesn't use any openstack clients
11:52 andreykurilin no keystoneclient
11:52 andreykurilin no other clients
11:53 andreykurilin tempest was designed as functional tests for api. that is why they wrote requests to APIs manually
11:53 andreykurilin that is why Rally doesn't install any of openstack clients in virtualenv (tempest doesn't incude them in requirements.txt)
11:54 jojden ohhh
11:54 openstackgerrit Anton Studenov proposed openstack/rally: Fault injection hook plugin  https://review.openstack.org/384483
11:54 andreykurilin yeap
11:54 andreykurilin )
11:55 andreykurilin jojden: here I can propose several solutions
11:55 jojden ok
11:55 jojden i have created the plugin using the following
11:55 jojden https://opensource.com/business/15/10/creating-a-tempest-plugin-for-openstack
11:55 jojden andreykurilin
11:56 andreykurilin 1) if you want to write tempest plugin. It can be designed like python package with own requirements.txt. In this case, if you install plugin via rally interface, rally will install all requirements and you will be able to use keystoneclient and whatever you want
11:57 jojden ok good
11:57 jojden i have keystoneclient as an example
11:57 jojden actually I have to use my own client
11:57 andreykurilin 2) you can forgot about tempest plugins and start using `rally task` component. it is pluggable too and we use openstackclient:) Also, you will be able to use your test scenarios for both functional testing and performance
11:57 jojden named sidecarclient
11:58 jojden I wan to use it with the tempest plugin
12:00 andreykurilin so ok, you need to add requirements.txt to your plugin and specify whatever you want dependencies
12:01 jojden ok
12:03 andreykurilin ylobankov: ping
12:12 jojden andreykurilin can you tell me more about the 2nd idea
12:31 openstackgerrit Anton Studenov proposed openstack/rally: Refactor DB shema for task results  https://review.openstack.org/297020
12:38 astudenov joined #openstack-rally
12:39 tohin joined #openstack-rally
12:40 trisq joined #openstack-rally
12:46 andreykurilin jojden: so rally task is a powerful component. it is pluggable. you need to describe your own client like https://github.com/openstack/rally/blob/master/rally/osclients.py#L363-L375 . Then you will be able to create test scenarios like http://rally.readthedocs.io/en/latest/plugins/scenario_plugin.html and access to your client like self.clients("your-client")
12:46 trisq joined #openstack-rally
12:47 jojden is it like tempest plugin ?
12:47 andreykurilin not, it is a totally separate thing)
12:47 jojden ok
12:48 andreykurilin http://rally.readthedocs.io/en/latest/plugins.html you can find more info here
12:48 jojden ok thank you andreykurilin
12:48 jojden can u ask one more doubt
12:50 jojden when i run the tempest command
12:50 jojden * mvk (mkrcmari@nat/redhat/x-vocuyqlttvvcbzjh) has joined
12:50 jojden * dave-mccowan (~textual@173.38.117.90) has joined
12:50 jojden <openstackgerrit> Alexander Maretskiy proposed openstack/rally: [Reports] Use flat scenarios menu in task report  https://review.openstack.org/392897
12:50 jojden * absubram (~absubram@c-73-68-228-18.hsd1.ma.comcast.net) has joined
12:50 jojden * absubram_ (absubram@nat/cisco/x-vusqkawegpjhtkyl) has joined
12:50 jojden <andreykurilin> jojden: ping
12:50 jojden <openstackgerrit> Alexander Maretskiy proposed openstack/rally: [Reports] Fix sorting for Hooks column in overview table  https://review.openstack.org/393244
12:50 ylobankov andreykurilin: pong
12:50 jojden * absubram has quit (Ping timeout: 245 seconds)
12:50 jojden * absubram_ is now known as absubram
12:50 jojden <jojden> andreykurilin hai
12:50 jojden <andreykurilin> cool
12:50 jojden <jojden> andreykurilin can you help me on that
12:50 jojden <jojden> ?
12:50 jojden <andreykurilin> jojden: I can try
12:50 jojden <andreykurilin> )
12:50 jojden <andreykurilin> please execute next command: python -c "import rally; print(rally.__file__)"
12:50 jojden <jojden> oh thank you
12:51 jojden <jojden> root@os-controller1:~/.rally/tempest/for-deployment-0dc294f6-0d7f-407c-9036-70bb1661fd59/plugins# python -c "import rally; print(rally.__file__)"
12:51 jojden <jojden> got the o/p as path to rally
12:51 jojden <jojden> usr/local
12:51 jojden <jojden> lib/python2.7/dist-packages/rally/
12:51 jojden <jojden> __init__.pyc
12:51 jojden <andreykurilin> hm... it is strange
12:51 jojden <jojden> oh what should be the o/p of that
12:51 jojden <jojden> ?
12:51 jojden <jojden> means what we are expecting
12:51 jojden * trisq has quit (Ping timeout: 260 seconds)
12:51 jojden <andreykurilin> another debug info `whereis rally | xargs cat`
12:51 jojden * jkilpatr (jkilpatr@nat/redhat/x-amjizuernmrtljyy) has joined
12:51 jojden <jojden> whereis rally
12:51 jojden <jojden> rally: /etc/rally /usr/local/bin/rally /usr/share/rally
12:51 jojden <jojden> root@os-controller1:~/.rally/tempest/for-deployment-0dc294f6-0d7f-407c-9036-70bb1661fd59/plugins# whereis rally | xargs cat
12:51 jojden <jojden> cat: rally:: No such file or directory
12:51 jojden <jojden> cat: /etc/rally: Is a directory
12:51 jojden <jojden> #!/usr/bin/python
12:51 jojden <jojden> # PBR Generated from u'console_scripts'
12:51 jojden <jojden> andreykurilin
12:51 jojden <jojden> what might be the issue
12:51 jojden * rvasilets___ (uid53574@gateway/web/irccloud.com/x-xckrratmvbnlpgxw) has joined
12:51 jojden <andreykurilin> jojden: I think the problem can be in different python versions. pip is configured to use one version and rally is launched by other
12:51 jojden <andreykurilin> what is a first line of /usr/local/bin/rally ?
12:51 jojden <jojden> #!/usr/bin/python
12:51 jojden <jojden> # PBR Generated from u'console_scripts'
12:51 jojden <andreykurilin> /usr/bin/python --version is python 2.7 ?
12:52 jojden <jojden> yes
12:52 jojden <jojden> Python 2.7.6
12:52 jojden <andreykurilin> hm..
12:52 jojden <andreykurilin> it is strange
12:52 jojden <jojden> but this is the version that I am using
12:52 jojden <andreykurilin> yes
12:52 jojden <andreykurilin> Does `python -c "import request"` works?
12:52 jojden <jojden> yes
12:52 jojden <andreykurilin> ;(
12:52 jojden <jojden> :)
12:52 jojden <andreykurilin> and `rally deployment list` (for example) doesn't ?
12:52 jojden <jojden> it list the current cloud
12:52 jojden <jojden>  uuid                                 | created_at          | name                | status           | active
12:52 jojden <andreykurilin> hm...
12:52 jojden <jojden> and do u know how the client is loading in the tempest.
12:52 jojden <andreykurilin> so what actually fails?
12:52 jojden <jojden> like keystoneclient
12:52 jojden <jojden> failing is
12:52 jojden <jojden> when I am trying to load packages like
12:52 jojden <jojden> keystoneclient
12:52 jojden <jojden> import keystoneclient
12:52 jojden <jojden> is failing
12:52 jojden <andreykurilin> where you whant to load?
12:52 jojden <andreykurilin> please describe your use case
12:52 jojden <jojden> I am loading it in the tests/api/test_service.py
12:52 jojden <jojden> Acyally I have a service named sidecar
12:52 jojden <jojden> it having client named sidecarclient
12:52 jojden <andreykurilin> ok, so you want to modify tempest code to use keystoneclient and launch tempest via rally
12:53 jojden <jojden> when I run
12:53 jojden <andreykurilin> Am I right?
12:53 jojden <jojden> yes
12:53 jojden <jojden> tempest plugin
12:53 jojden <andreykurilin> so the problem is that Tempest doesn't use any openstack clients
12:53 jojden <andreykurilin> no keystoneclient
12:53 jojden <andreykurilin> no other clients
12:53 jojden <andreykurilin> tempest was designed as functional tests for api. that is why they wrote requests to APIs manually
12:53 jojden <andreykurilin> that is why Rally doesn't install any of openstack clients in virtualenv (tempest doesn't incude them in requirements.txt)
12:53 jojden <jojden> ohhh
12:53 jojden <openstackgerrit> Anton Studenov proposed openstack/rally: Fault injection hook plugin  https://review.openstack.org/384483
12:53 jojden <andreykurilin> yeap
12:53 jojden <andreykurilin> )
12:53 jojden <andreykurilin> jojden: here I can propose several solutions
12:53 jojden <jojden> ok
12:53 jojden <jojden> i have created the plugin using the following
12:53 jojden <jojden> https://opensource.com/business/15/10/creating-a-tempest-plugin-for-openstack
12:53 jojden <jojden> andreykurilin
12:53 jojden <andreykurilin> 1) if you want to write tempest plugin. It can be designed like python package with own requirements.txt. In this case, if you install plugin via rally interface, rally will install all requirements and you will be able to use keystoneclient and whatever you want
12:53 jojden <jojden> ok good
12:53 jojden <jojden> i have keystoneclient as an example
12:53 jojden <jojden> actually I have to use my own client
12:53 jojden <andreykurilin> 2) you can forgot about tempest plugins and start using `rally task` component. it is pluggable too and we use openstackclient:) Also, you will be able to use your test scenarios for both functional testing and performance
12:54 jojden <jojden> named sidecarclient
12:54 jojden <jojden> I wan to use it with the tempest plugin
12:54 jojden <andreykurilin> so ok, you need to add requirements.txt to your plugin and specify whatever you want dependencies
12:54 jojden <jojden> ok
12:54 jojden <andreykurilin> ylobankov: ping
12:54 jojden * absubram has quit (Ping timeout: 260 seconds)
12:54 jojden <jojden> andreykurilin can you tell me more about the 2nd idea
12:54 jojden <openstackgerrit> Anton Studenov proposed openstack/rally: Refactor DB shema for task results  https://review.openstack.org/297020
12:54 jojden * astudenov (~tohin@95-37-55-144.dynamic.mts-nn.ru) has joined
12:54 jojden * tohin (~tohin@95-37-55-144.dynamic.mts-nn.ru) has joined
12:54 jojden * tohin has quit (Client Quit)
12:54 jojden * astudenov has quit (Remote host closed the connection)
12:54 jojden * trisq (~qitianbia@125.34.22.8) has joined
12:54 jojden * trisq has quit (Ping timeout: 268 seconds)
12:54 jojden <andreykurilin> jojden: so rally task is a powerful component. it is pluggable. you need to describe your own client like https://github.com/openstack/rally/blob/master/rally/osclients.py#L363-L375 . Then you will be able to create test scenarios like http://rally.readthedocs.io/en/latest/plugins/scenario_plugin.html and access to your client like self.clients("your-client")
12:54 jojden * trisq (~qitianbia@125.34.22.8) has joined
12:54 jojden <jojden> is it like tempest plugin ?
12:54 jojden <andreykurilin> not, it is a totally separate thing)
12:54 jojden <jojden> ok
12:54 jojden <andreykurilin> http://rally.readthedocs.io/en/latest/plugins.html you can find more info here
12:54 jojden <jojden> ok thank you andreykurilin
12:54 jojden <jojden> can u ask one more doubt
12:54 jojden sorry
12:54 jojden andreykurilin
12:54 jojden when i run the tempest command
12:54 jojden tempest run --workspace cloud-01 --regex tempest_sidecar_plugin.tests.api.test_sidecar.TestTempestSidecar
12:55 jojden I am getting the success result with the sidecarclient
12:55 jojden problem comes only with the rally
12:55 jojden so when i create the rally plugin this will be solved right ?
13:02 andreykurilin jojden: you need to know how rally works with tempest. By default it creates virtual environment for tempest. So in case if sidecarclient is installed system-wide, it is not available in venv. you can try to launch rally verify start with --system-wide flag
13:06 maeca1 joined #openstack-rally
13:06 stpierre joined #openstack-rally
13:14 trisq joined #openstack-rally
13:37 trisq joined #openstack-rally
13:38 openstackgerrit Staroverov Anton proposed openstack/rally: New base class for rally.osclients.Clients  https://review.openstack.org/386026
13:41 yingjun joined #openstack-rally
13:53 pcaruana joined #openstack-rally
13:54 dave-mcc_ joined #openstack-rally
14:10 yingjun joined #openstack-rally
14:20 openstackgerrit Andrey Kurilin proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
14:27 openstackgerrit Yaroslav Lobankov proposed openstack/rally: [Verify][Reports] Small improvements of Rally verify report  https://review.openstack.org/392139
14:28 absubram joined #openstack-rally
14:30 dave-mccowan joined #openstack-rally
14:33 openstackgerrit Yaroslav Lobankov proposed openstack/rally: [Verify][Reports] Small improvements of Rally verify report  https://review.openstack.org/392139
14:43 chenhb joined #openstack-rally
14:48 beslemon joined #openstack-rally
14:54 adiantum joined #openstack-rally
14:58 beslemon_ joined #openstack-rally
14:59 e0ne joined #openstack-rally
15:07 adiantum1 joined #openstack-rally
15:12 jkilpatr_ joined #openstack-rally
15:16 jkilpatr joined #openstack-rally
15:28 yingjun joined #openstack-rally
15:31 astudenov joined #openstack-rally
15:32 yingjun_ joined #openstack-rally
15:39 openstackgerrit Andrey Kurilin proposed openstack/rally: [CLI] Allow to use dashes in the methods name  https://review.openstack.org/392668
15:39 openstackgerrit Andrey Kurilin proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
15:56 yingjun joined #openstack-rally
16:00 jkilpatr joined #openstack-rally
16:19 dave-mccowan joined #openstack-rally
16:25 rcernin joined #openstack-rally
16:34 chandankumar joined #openstack-rally
16:54 maeca1 joined #openstack-rally
17:03 njohnston left #openstack-rally
17:03 rcernin joined #openstack-rally
17:12 openstackgerrit Andrey Kurilin proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
17:13 openstackgerrit Andrey Kurilin proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
17:20 e0ne joined #openstack-rally
17:35 aarefiev_ joined #openstack-rally
17:38 aarefiev_ joined #openstack-rally
17:46 harlowja joined #openstack-rally
17:56 kiran-r joined #openstack-rally
17:59 adiantum joined #openstack-rally
18:05 rcernin joined #openstack-rally
20:01 beslemon joined #openstack-rally
20:14 mvk joined #openstack-rally
20:23 klindgren joined #openstack-rally
20:33 jkilpatr joined #openstack-rally
21:10 klindgren joined #openstack-rally
21:35 e0ne joined #openstack-rally
22:18 maeca1 joined #openstack-rally
22:34 kiran-r joined #openstack-rally

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