Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2014-11-19

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

All times shown according to UTC.

Time Nick Message
00:09 jjmb joined #openstack-rally
00:28 marcoemorais joined #openstack-rally
00:29 marcoemorais joined #openstack-rally
00:29 dmorita joined #openstack-rally
01:36 mwagner_lap joined #openstack-rally
02:31 jjmb joined #openstack-rally
02:35 yingjun joined #openstack-rally
02:36 erkules_ joined #openstack-rally
02:51 chandankumar joined #openstack-rally
03:00 Poornima joined #openstack-rally
03:02 openstackgerrit Li Yingjun proposed stackforge/rally: Sync oslo-incubator  https://review.openstack.org/134847
03:10 openstackgerrit Li Yingjun proposed stackforge/rally: Port to use oslo.config.fixture  https://review.openstack.org/135138
03:23 Poornima joined #openstack-rally
03:51 mcaulfie joined #openstack-rally
04:01 mcaulfie joined #openstack-rally
04:07 jjmb joined #openstack-rally
04:22 aswadr joined #openstack-rally
04:24 flwang joined #openstack-rally
04:53 chandankumar joined #openstack-rally
05:07 rdas joined #openstack-rally
05:39 AlexF joined #openstack-rally
05:40 boris-42 joined #openstack-rally
05:52 k4n0 joined #openstack-rally
05:58 AlexF joined #openstack-rally
06:18 neeti joined #openstack-rally
06:20 AlexF joined #openstack-rally
06:37 fandi joined #openstack-rally
06:40 AlexF joined #openstack-rally
06:52 AlexF joined #openstack-rally
06:53 chandankumar joined #openstack-rally
06:53 k4n0 joined #openstack-rally
07:00 tfz joined #openstack-rally
07:09 neeti joined #openstack-rally
07:21 fandi joined #openstack-rally
07:24 nkhare joined #openstack-rally
07:25 arcimboldo joined #openstack-rally
07:38 ehaselwanter joined #openstack-rally
07:41 openstackgerrit Antonio Messina proposed stackforge/rally: Fix issue with Pre-Grizzly deployment  https://review.openstack.org/135419
07:44 k4n0 joined #openstack-rally
07:53 ehaselwanter joined #openstack-rally
08:12 Poornima joined #openstack-rally
09:14 andreykurilin_ joined #openstack-rally
09:18 amaretskiy joined #openstack-rally
09:36 openstackgerrit Sergey Skripnick proposed stackforge/rally: Fix html rendering on failed functional tests  https://review.openstack.org/135274
10:01 msdubov_ joined #openstack-rally
10:40 boris-42 joined #openstack-rally
10:41 boris-42 flwang: me around
10:55 openstackgerrit Merged stackforge/rally: Fix issue with Pre-Grizzly deployment  https://review.openstack.org/135419
11:03 andreykurilin__ joined #openstack-rally
11:06 Harikrishna joined #openstack-rally
11:17 openstackgerrit Li Ma proposed stackforge/rally: Use force_delete to safely clean up created VMs  https://review.openstack.org/135568
11:22 frobware is there a means to use some of the 'rally task' commands against a sqlite database that is not specified in the /etc/rally/rally.conf file?  (asked yesterday but got sidetracked.. :)
11:26 boris-42 frobware: hm?)
11:26 boris-42 frobware:  hi there
11:27 frobware boris-42: hi!
11:27 boris-42 frobware: so not sure that I fully get question? what is the issue?
11:27 frobware boris-42: the thing is I want to upload (from a dev board) rally.sqlite to $HOME. then I want to run 'rally task report $HOME/rally.sqlite'.
11:27 boris-42 frobware: so by default if you don't specify any db rally will create sqlite db
11:28 boris-42 frobware: you can do that
11:28 vkmc joined #openstack-rally
11:33 oanufriev joined #openstack-rally
11:36 boris-42 frobware: btw it's better to copy as well ~/.rally dir
11:43 openstackgerrit Mikhail Dubov proposed stackforge/rally: Use collections.deque in UserGenerator to be threadsafe  https://review.openstack.org/135573
11:50 ekarlso- joined #openstack-rally
11:55 nkhare joined #openstack-rally
12:02 openstackgerrit Merged stackforge/rally: Sync oslo-incubator  https://review.openstack.org/134847
12:15 frobware boris-42: still not sure how I tell rally to use a different DB file.
12:15 vkmc boris-42, thanks a lot for uploading the required changes for adding Rally jobs to Zaqar :)
12:15 boris-42 vkmc: np= )
12:15 boris-42 frobware: so just specify in rally.conf file
12:16 frobware boris-42: I see. I was trying to avoid changing the configuration.
12:17 frobware boris-42: e.g.   RALLY_DB=/path/to/my/rally.sqlite rally task ...
12:17 boris-42 frobware: no
12:17 boris-42 frobware: that won't work
12:17 boris-42 frobware: just change the rally.conf file to use different db
12:32 openstackgerrit Timur Nurlygayanov proposed stackforge/rally: Adding Network Context Class  https://review.openstack.org/103306
12:35 openstackgerrit Timur Nurlygayanov proposed stackforge/rally: Adding Network Context Class  https://review.openstack.org/103306
12:46 jjmb joined #openstack-rally
12:48 openstackgerrit Boris Pavlovic proposed stackforge/rally: Port to use oslo.config.fixture  https://review.openstack.org/135138
12:49 AlexF joined #openstack-rally
12:50 ekarlso- joined #openstack-rally
12:52 flwang joined #openstack-rally
12:52 tnurlygayanov joined #openstack-rally
12:53 tnurlygayanov hi there
12:53 tnurlygayanov I finished with network context
12:53 tnurlygayanov but after the rebase of this patch I can see that we have removed this file: https://review.openstack.org/#/c/103306/76/tests/unit/benchmark/context/cleanup/test_utils.py
12:54 tnurlygayanov so, the my question is - do we have this file in new code or I can just delete it?
13:00 pboros joined #openstack-rally
13:17 openstackgerrit Merged stackforge/rally: Base HTML templates and improvements for task report  https://review.openstack.org/131844
13:24 openstackgerrit Timur Nurlygayanov proposed stackforge/rally: Adding Network Context Class  https://review.openstack.org/103306
13:35 berserker boris-42: when you are refactoring for pre-created users and tenants, will it be possible to have user(s) without admin-role?
13:40 rlaurika joined #openstack-rally
13:42 oanufriev joined #openstack-rally
13:46 zhiyan boris-42: hi when/if you ok, pls let me know your idea on https://review.openstack.org/#/c/135601/ , current version for talking design on functional stuff, test cases will be fixed/added later. thanks.
13:53 AlexF joined #openstack-rally
13:54 openstackgerrit Merged stackforge/rally: Port to use oslo.config.fixture  https://review.openstack.org/135138
14:01 rook joined #openstack-rally
14:05 openstackgerrit Timur Nurlygayanov proposed stackforge/rally: Adding Network Context Class  https://review.openstack.org/103306
14:07 ehaselwanter joined #openstack-rally
14:11 mwagner_lap joined #openstack-rally
14:12 rdas joined #openstack-rally
14:13 jjmb1 joined #openstack-rally
14:25 jjmb joined #openstack-rally
14:34 openstackgerrit joined #openstack-rally
14:49 openstackgerrit joined #openstack-rally
14:51 jaypipes joined #openstack-rally
15:02 jjmb joined #openstack-rally
15:05 boris-42 berserker: yep
15:05 boris-42 berserker: actually that is the part of goal
15:05 boris-42 berserker: drop admin requiremnts
15:05 boris-42 berserker: actually that's why we have this validators
15:06 boris-42 berserker:  https://github.com/stackforge/rally/blob/master/rally/benchmark/scenarios/nova/servers.py#L79
15:06 boris-42 berserker: where you are specifing what you need in benchmark admin/user and so on
15:06 boris-42 zhiyan: ohhh
15:06 boris-42 zhiyan: so huge change lol
15:07 boris-42 zhiyan: but I'll take a look deffentely
15:12 mcaulfie joined #openstack-rally
15:22 tnurlygayanov could anybody help to debug fails of automated tests for commit https://review.openstack.org/#/c/103306/ ?
15:22 tnurlygayanov I can see the error AttributeError: 'NoneType' object has no attribute 'nova'
15:22 tnurlygayanov but have no ideas how to fix it
15:29 msdubov_ joined #openstack-rally
15:31 andreykurilin_ joined #openstack-rally
15:32 boris-42 amaretskiy: ^
15:35 Poornima joined #openstack-rally
15:35 rediskin joined #openstack-rally
15:48 neeti_ joined #openstack-rally
15:56 jjmb1 joined #openstack-rally
16:00 amaretskiy tnurlygayanov hi
16:01 amaretskiy tnurlygayanov I'll try to find out what is the cause of the issue
16:01 chandankumar joined #openstack-rally
16:07 amaretskiy tnurlygayanov, look at tests/unit/benchmark/scenarios/nova/test_utils.py, line 495
16:07 amaretskiy you have mock'ed admin_clients
16:08 amaretskiy but test actually calls clients()
16:08 tnurlygayanov amaretskiy thank you! If you will find the root of this problem and you know how to fix it, please, feel free to sent patch set in the same commit
16:08 tnurlygayanov oh
16:08 tnurlygayanov Thank you!! I will fix it
16:08 amaretskiy :)
16:10 amaretskiy tnurlygayanov do not forget to run tox before submitting the patch set
16:10 tnurlygayanov ok
16:11 openstackgerrit Timur Nurlygayanov proposed stackforge/rally: Adding Network Context Class  https://review.openstack.org/103306
16:19 openstackgerrit Oleh Anufriiev proposed stackforge/rally: Fix defect of 'separate log level for Rally'  https://review.openstack.org/134968
16:20 zhiyan boris-42: cool, ping me or adding comments as needed. I'd love make it landing soon, so no worries let me know your thoughts)
16:21 boris-42 zhiyan: unfortunatelly not sure that we will be able to land it soon
16:21 boris-42 zhiyan: I need to figure out how to make funtional testing in case of osprofiler
16:21 boris-42 zhiyan: before we cut new release
16:21 zhiyan Yep, sensible
16:22 zhiyan I'd like to help it as well
16:49 msdubov_ joined #openstack-rally
17:00 AlexF_ joined #openstack-rally
17:14 rook joined #openstack-rally
17:14 rook_ joined #openstack-rally
17:15 ehaselwanter joined #openstack-rally
17:16 marcoemorais joined #openstack-rally
17:34 marcoemorais joined #openstack-rally
17:35 tfz joined #openstack-rally
17:35 leeantho joined #openstack-rally
17:36 marcoemorais joined #openstack-rally
18:01 tfz left #openstack-rally
18:02 marcoemorais joined #openstack-rally
18:05 AlexF joined #openstack-rally
18:18 andreykurilin_ joined #openstack-rally
18:33 marcoemorais joined #openstack-rally
18:34 marcoemorais joined #openstack-rally
18:35 marcoemorais joined #openstack-rally
18:58 andreykurilin_ joined #openstack-rally
19:04 marcoemorais joined #openstack-rally
19:47 marcoemorais joined #openstack-rally
19:48 marcoemorais joined #openstack-rally
20:11 openstackgerrit Oleh Anufriiev proposed stackforge/rally: Fix defect of 'separate log level for Rally'  https://review.openstack.org/134968
20:26 marcoemorais joined #openstack-rally
20:28 marcoemorais joined #openstack-rally
20:32 rook joined #openstack-rally
20:45 AlexF joined #openstack-rally
20:53 boris-42 pboros: hi one more time
20:53 boris-42 pboros: so are you ready to rock?)
20:54 pboros boris-42, yes
20:54 boris-42 pboros: great!
20:54 pboros do you have a good starting task for me in trello?
20:54 boris-42 pboros: forget about trello!=) we are going to rock!
20:54 pboros :)
20:55 boris-42 pboros: so the first simple task is if you remember, move rally/orchestrator/api.py -> rally/api.py
20:55 boris-42 pboros:  and fix all tests and so on*
20:55 boris-42 pboros: https://github.com/stackforge/rally/tree/master/rally/orchestrator so this module actually
20:56 boris-42 pboros: when you finish code part here is tutorial https://wiki.openstack.org/wiki/Rally/Develop#How_to_contribute
20:56 boris-42 pboros: how to contribute it
21:00 boris-42 pboros: like it?
21:02 pboros I am getting tox running
21:02 pboros I didn't had libxml-dev and stuff, soon I will start doing it and ask questions
21:02 pboros :)
21:09 andreykurilin_ joined #openstack-rally
21:12 shakamunyi_ joined #openstack-rally
21:12 AlexF joined #openstack-rally
21:17 boris-42 pboros: -)
21:22 fandi joined #openstack-rally
21:40 AlexF joined #openstack-rally
21:41 pboros boris-42, I have the test_multihost.py failing
21:42 openstackgerrit Oleh Anufriiev proposed stackforge/rally: add ability to refer deployment by uuid or name  https://review.openstack.org/131463
21:45 boris-42 pboros: that's strange
21:45 boris-42 pboros: master? or with your changes?
21:45 pboros my changes, there is a test with @mock.patch(MOD + 'orchestrator')
21:58 flwang boris-42: ping
22:01 boris-42 flwang: pong
22:02 boris-42 pboros: ah so you'll need to publsih your changes if you would like to get reviews
22:02 boris-42 pboros: otherwise it's hard to understand=)
22:02 flwang boris-42: as for the context issue for ceilometer task, I followed the format you gave me, but it doesn't work either.
22:02 boris-42 flwang: paste it
22:03 pboros boris-42, ok, I will look at this more, I managed to fix some stuff
22:04 flwang http://paste.openstack.org/show/132580/
22:06 AlexF joined #openstack-rally
22:06 openstackgerrit Merged stackforge/rally: Fix defect of 'separate log level for Rally'  https://review.openstack.org/134968
22:07 boris-42 flwang: seems valid
22:07 boris-42 flwang: you are facing the same issue as before?
22:07 flwang boris-42: but it will still complain the context
22:07 boris-42 flwang: lemme update my devstack installation
22:07 boris-42 flwang: with enabled ceilometer
22:08 andreykurilin_ joined #openstack-rally
22:08 flwang boris-42: thanks
22:10 openstackgerrit joined #openstack-rally
22:14 msdubov_ joined #openstack-rally
22:30 openstackgerrit Sergey Skripnick proposed stackforge/rally: Add Dockerfile  https://review.openstack.org/132556
22:33 boris-42 flwang: reproduced lol
22:33 AlexF joined #openstack-rally
22:33 flwang boris-42: cool, any idea?
22:34 flwang boris-42: btw, may I now the support policy/strategy about those task samples?
22:34 openstackgerrit Sergey Skripnick proposed stackforge/rally: Add Dockerfile  https://review.openstack.org/132556
22:35 boris-42 flwang: support?
22:35 boris-42 flwang: so you faced a small bug in validation stuff
22:36 boris-42 flwang:  https://github.com/stackforge/rally/blob/master/rally/benchmark/validation.py#L405
22:36 boris-42 flwang: instead of config.get("context", {}).get("users") it should be "users" in  config.get("context", {})
22:37 boris-42 flwang: can you fix that please?)
22:37 flwang boris-42: sure
22:37 boris-42 flwang: cause it returns {} and as you no it's like False*
22:37 flwang boris-42: I mean how to maintain those samples
22:37 boris-42 flwang: my fault..
22:37 boris-42 flwang: so we have some basic tests*
22:38 boris-42 flwang: but it will be nice to add functional tests as well
22:38 boris-42 flwang: it's not hard, so I am waiting somebody new =)
22:38 boris-42 flwang:  to make that patch+)
22:39 boris-42 flwang: if you would like, you can help with it, it's just few lines of code =)
22:39 flwang boris-42: brb
22:44 flwang boris-42: what did you mean the functional test?
22:44 boris-42 flwang: so we have functional testing gate job on every patch
22:44 boris-42 flwang: it's called gate-rally-dsvm-cli
22:44 flwang boris-42: for me, I would like to see those samples can be tested(unit or functional, even integrate) to make sure all them are ready for out-of-box using
22:45 boris-42 flwang: so mostly they all works out of box, cause unit testing is not so bad lol
22:45 boris-42 flwang: but there are few of them with some bugs=)
22:45 flwang boris-42: lol
22:45 boris-42 flwang: that can catched by functional tests
22:45 boris-42 flwang:  https://github.com/stackforge/rally/tree/master/tests/functional
22:46 boris-42 flwang: so you can add here some module test_doc_samples.py
22:46 boris-42 flwang: as far as you see we have command "rally task validate"
22:46 flwang boris-42: ok, I will take a look
22:46 boris-42 flwang: so you can use os.walk
22:46 flwang is the awesome command 'rally task validate' in you guys road map?
22:46 boris-42 flwang: and get names of all samples and then just run "rally task validate"
22:47 flwang in kilo or in zero?
22:47 boris-42 flwang: it's already in upstream
22:47 flwang boris-42: lovely
22:47 boris-42 flwang: it validate input task
22:47 boris-42 flwang: so you need to check that exit code is not 1 *
22:47 boris-42 flwang: if it is 1 it means task has same failures
22:47 boris-42 some*
22:48 boris-42 flwang: and it's full check like when you are running "rally task start"
22:48 flwang boris-42: would you mind figuring out the patch link for me?
22:48 boris-42 flwang: so it's quite simple task but very usefull
22:48 boris-42 flwang: with what?
22:48 flwang the command?
22:48 boris-42 flwang: oh it was added for ages
22:49 flwang boris-42: ah, so you mean the command can only check one task per time, is it?
22:49 boris-42 flwang: yep
22:49 flwang O:-)
22:49 boris-42 flwang: so you need to iterate through tree
22:49 boris-42 flwang: and run N times it
22:49 boris-42 flwang: for all tasks
22:49 flwang boris-42: as I mentioned many times
22:49 boris-42 flwang: ya
22:50 flwang boris-42: it would be awesome if there is a gater can make sure all of those samples are good
22:50 boris-42 flwang:  https://review.openstack.org/#/c/120303/
22:50 boris-42 flwang: so I already said how to check everything..
22:50 boris-42 flwang: just write a functional test and that's all
22:51 flwang boris-42: okay
22:51 boris-42 flwang: heh but there is only one nit
22:51 boris-42 flwang: not all tests can pass that gate... cause not all services are installed..
22:53 boris-42 flwang: so we will need to skip some dirs*
22:53 flwang boris-42: anyhow, I will fix the issue and add a case in functional test
22:53 boris-42 flwang: ya failing dirs can be skipped*
22:53 boris-42 flwang: we can update job to install more services..
22:54 boris-42 flwang: and then enable all*
22:54 flwang boris-42: IMHO, we should not miss ceilometer :)
22:54 boris-42 flwang: i hope it's enabled
22:54 boris-42 flwang: lemme check lol
22:55 flwang boris-42: thank you so much for your support, man
22:57 boris-42 flwang: so ye
22:57 boris-42 flwang: it's enabled by default => so it will be there
22:57 boris-42 flwang: but zaqar, designate, neutron won't
22:57 flwang boris-42: cool
22:57 boris-42 flwang: that can be easily fixed in future and we can just remove skip of those dirs
22:57 flwang boris-42: I love zaqar :)
22:58 boris-42 flwang: ya I'll update infra
22:58 flwang :-D
22:58 boris-42 flwang: for now you can create a functional test
22:58 boris-42 flwang: and we will just remove skipped dirs *
22:58 flwang boris-42: coding...
22:58 boris-42 flwang: great thanks=)
22:58 boris-42 flwang:  btw as a base you can use another test
22:58 flwang boris-42: thank YOU
22:59 boris-42 flwang:  https://github.com/stackforge/rally/blob/master/tests/unit/doc/test_task_samples.py#L37
22:59 boris-42 flwang:  this actually does almost similiar but it's unit *
23:02 mwagner_lap joined #openstack-rally
23:03 flwang boris-42: cool, thanks
23:08 pboros boris-42, is there any way to get more verbose information from tox?
23:08 pboros tests.unit.test_fuelclientNon-zero exit code (2) from test listing.
23:08 boris-42 pboros: oh
23:09 boris-42 pboros:  it means that some module wasn't succesffully loaded
23:09 boris-42 pboros:  I know only hack how to get info about module
23:09 boris-42 pboros:  try to do somehting like python -i -m rally.cmd.task
23:09 boris-42 pboros: you'll get some exceptions
23:24 pboros boris-42, I didn't get it, I don't have some stuff installed outside the virtualenv
23:24 pboros I will continue checking this tomorrow
23:24 boris-42 pboros: you should do next
23:25 boris-42 pboros:  . .tox/py26/bin/activate
23:25 boris-42 pboros: then you can run python -i -m rally.cmd.task
23:25 boris-42 pboros:  or py27 I don't know what you have installed
23:26 pboros both
23:26 pboros ah, rally.cmd.commands.task
23:26 pboros now I got the exception, thanks
23:45 openstackgerrit Igor Pavlovic proposed stackforge/rally: Changes in getting image id from image name functionality  https://review.openstack.org/127878
23:59 rediskin left #openstack-rally

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