Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2015-08-25

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

All times shown according to UTC.

Time Nick Message
00:01 mahito joined #openstack-rally
00:44 yingjun joined #openstack-rally
00:48 yingjun joined #openstack-rally
00:56 yingjun joined #openstack-rally
01:06 yingjun joined #openstack-rally
01:28 yingjun joined #openstack-rally
02:57 temujin_ joined #openstack-rally
04:12 openstackgerrit Luz Cazares proposed openstack/rally: Set samples default flavor to m1.tiny  https://review.openstack.org/210755
04:17 puranamr joined #openstack-rally
04:20 Prashant joined #openstack-rally
04:37 Prashant joined #openstack-rally
04:38 abhirc joined #openstack-rally
04:39 rdas joined #openstack-rally
04:43 tfreger joined #openstack-rally
04:47 abhirc joined #openstack-rally
04:48 abhirc joined #openstack-rally
05:16 boris-42 is somebody looking for simple patches?)
05:35 davideagnello joined #openstack-rally
05:51 yingjun joined #openstack-rally
05:58 exploreshaifali joined #openstack-rally
06:13 agarciam joined #openstack-rally
06:14 serverascode joined #openstack-rally
06:15 kun_huang joined #openstack-rally
06:17 boris-42 joined #openstack-rally
06:24 anshul joined #openstack-rally
06:43 yfried joined #openstack-rally
06:52 tfreger joined #openstack-rally
06:54 temujin_ joined #openstack-rally
06:59 temujin_ joined #openstack-rally
07:03 temujin_ joined #openstack-rally
07:10 temujin_ joined #openstack-rally
07:16 temujin_ joined #openstack-rally
07:36 arxcruz joined #openstack-rally
07:43 openstackgerrit Boris Pavlovic proposed openstack/rally: Move & refactor atomic actions  https://review.openstack.org/216584
07:46 ushkalim joined #openstack-rally
07:51 openstackgerrit nayna-patel proposed openstack/rally: Add Neutron create_and_list_secgroups scenario  https://review.openstack.org/216589
07:55 temujin_ joined #openstack-rally
07:56 fhubik joined #openstack-rally
07:56 temujin_ joined #openstack-rally
07:58 neeti joined #openstack-rally
07:58 amaretskiy joined #openstack-rally
08:02 temujin_ joined #openstack-rally
08:07 temujin_ joined #openstack-rally
08:08 vponomaryov joined #openstack-rally
08:10 exploreshaifali joined #openstack-rally
08:17 e0ne joined #openstack-rally
08:18 tfreger joined #openstack-rally
08:19 temujin_ joined #openstack-rally
08:21 kun_huang boris-42: Is there a 'existing-vm' context being developed?
08:21 kun_huang to use existing vm to run workload
08:25 temujin_ joined #openstack-rally
08:25 karimb joined #openstack-rally
08:27 Vishal__ joined #openstack-rally
08:28 Vishal__ amaretskiy: Hi
08:28 amaretskiy Vishal__: hi
08:29 ushkalim joined #openstack-rally
08:29 Vishal__ amaretskiy: Was going throught the cleanup code of rally...in class NeutronPort why dont we consider network:dhcp
08:30 Vishal__ amaretskiy: since deletion of such kind of port returns error..and it leads to further delays because of retries
08:32 Vishal__ amaretskiy: Also is there any chance that rally tries to delete router before removing router_interface...asking because I can see deletion request for router before deletion request for router_interface
08:32 amaretskiy Vishal__:  I'm not sure that current cleanup does not work. If so, please make a patch set
08:32 amaretskiy with fix
08:34 tosky joined #openstack-rally
08:34 amaretskiy have you caught neutron ports left in the cloud after this cleanup? were there any errors in logs?
08:36 tosky joined #openstack-rally
08:39 Vishal__ amaretskiy: Yes in my neutron logs I can see deletion request for router is coming before the deletion request of router_interface port
08:39 temujin_ joined #openstack-rally
08:39 Vishal__ amaretskiy: and router deletion request is failing stating "router xxx still has ports"
08:39 temujin_ joined #openstack-rally
08:39 tosky joined #openstack-rally
08:42 amaretskiy Vishal__: yes, it seems  we have a bug
08:43 amaretskiy Vishal__: this removal (in network wrapper) looks better: https://github.com/openstack/rally/blob/master/rally/plugins/openstack/wrappers/network.py#L334-L342
08:43 amaretskiy Vishal__: can you report a bug?
08:43 amaretskiy Vishal__: also, if you decide to fix this that would be great
08:44 Vishal__ amaretskiy: sure thanks
08:45 temujin_ joined #openstack-rally
08:49 temujin_ joined #openstack-rally
08:51 tosky joined #openstack-rally
08:51 openstackgerrit Jean-Philippe Braun proposed openstack/rally: Fix lbaas resources cleanup  https://review.openstack.org/216614
08:52 temujin_ joined #openstack-rally
08:52 temujin_ joined #openstack-rally
08:56 tosky joined #openstack-rally
08:59 tosky joined #openstack-rally
09:03 tosky joined #openstack-rally
09:05 yingjun joined #openstack-rally
09:05 yingjun joined #openstack-rally
09:10 temujin_ joined #openstack-rally
09:12 cdent joined #openstack-rally
09:12 temujin_ joined #openstack-rally
09:14 tfreger joined #openstack-rally
09:50 aix joined #openstack-rally
09:53 aix joined #openstack-rally
10:02 tosky joined #openstack-rally
10:03 exploreshaifali joined #openstack-rally
10:16 exploreshaifali joined #openstack-rally
11:12 arxcruz joined #openstack-rally
11:17 openstackgerrit Valeriy Ponomaryov proposed openstack/rally: [Manila] Add context for Manila with autocreated resources + benchmark  https://review.openstack.org/187643
11:21 openstackgerrit nayna-patel proposed openstack/rally: Add Cinder create_and_update_snapshot scenario  https://review.openstack.org/211132
11:41 exploreshaifali joined #openstack-rally
11:54 temujin_ joined #openstack-rally
12:28 openstackgerrit Nikita Konovalov proposed openstack/rally: [Sahara] Added support for proxy node  https://review.openstack.org/212036
12:37 openstackgerrit Pierre Padrixe (stannie) proposed openstack/rally: Add global path as constant in envutils  https://review.openstack.org/216257
12:44 openstackgerrit Nikita Konovalov proposed openstack/rally: [Sahara] Add Hadoop metrics collection  https://review.openstack.org/203324
13:08 moravec joined #openstack-rally
13:09 openstackgerrit Merged openstack/rally: Set samples default flavor to m1.tiny  https://review.openstack.org/210755
13:18 openstackgerrit Illia Khudoshyn proposed openstack/rally: Add task format converter  https://review.openstack.org/211160
13:20 MaxPC joined #openstack-rally
13:20 davidlenwell joined #openstack-rally
13:28 davideagnello joined #openstack-rally
13:33 openstackgerrit Oleh Anufriiev proposed openstack/rally: WIP Update rally/contrib to use install_rally.sh  https://review.openstack.org/210137
13:52 karimb joined #openstack-rally
13:58 jaypipes joined #openstack-rally
14:08 ikhudoshyn joined #openstack-rally
14:21 baker joined #openstack-rally
15:29 davideagnello joined #openstack-rally
15:40 Prashant joined #openstack-rally
15:45 puranamr joined #openstack-rally
15:46 puranamr joined #openstack-rally
15:48 puranamr joined #openstack-rally
16:00 davideagnello joined #openstack-rally
16:27 exploreshaifali joined #openstack-rally
16:28 baker joined #openstack-rally
16:36 baker joined #openstack-rally
16:37 baker joined #openstack-rally
16:39 temujin_ joined #openstack-rally
17:06 josdotso joined #openstack-rally
17:09 e0ne joined #openstack-rally
17:21 pvaneck joined #openstack-rally
17:25 davideagnello joined #openstack-rally
17:34 Prashant joined #openstack-rally
17:59 moravec joined #openstack-rally
18:06 baker joined #openstack-rally
18:14 Prashant joined #openstack-rally
18:20 tab joined #openstack-rally
18:21 tab___ joined #openstack-rally
18:23 madhu_ak joined #openstack-rally
18:26 Aish joined #openstack-rally
18:26 Aish Hi boris-42
18:27 boris-42 Aish: hi hi
18:27 Aish Did you happen to check that patch?
18:28 Aish https://review.openstack.org/#/c/213781/
18:28 Aish https://review.openstack.org/#/c/213819/
18:29 boris-42 Aish: looking
18:30 puranamr joined #openstack-rally
18:31 Aish Thanks. The problem I am facing there is, when I try to import “from neutron.agent.linux import ip_lib18
18:31 Aish from neutron.agent.linux import utils as linux_utils” Rally fails to load my tests..
18:32 boris-42 Aish: maybe we don't have it installed
18:32 boris-42 Aish: in gates
18:33 Aish But, they fail in my local environment..
18:33 boris-42 Aish: can you import
18:33 Aish Those files exist in my local env
18:33 boris-42 python
18:33 boris-42 hmmm
18:33 boris-42 are you sure?
18:34 Aish yes, I am sure.
18:34 boris-42 so you can just run
18:34 boris-42 python
18:34 boris-42 from neutron.agent.linux import iplib18?
18:34 Aish I am afraid I didn’t get ur point.
18:34 boris-42 can you just in console
18:35 boris-42 run python interpreter
18:35 boris-42 and import this module?
18:35 Aish yes, I can
18:37 masmiyam joined #openstack-rally
18:38 Aish Okay..  I am trying to execute a “ ip netns exec ….” command with root access.. And that is the functionality I am trying to import from neutron.. Is there a specifc way in rally to gain root access to execte a commnd?
18:41 Aish When I try to import those files,  this is the error i get. “2015-08-24 15:26:14.770 12688 WARNING rally.common.plugin.discover [-] Failed to load module with plugins /opt/rally/plugins/test_vpn_connectivity.py: arguments already parsed: cannot register CLI option”
18:42 Aish boris-42: ^^
18:42 spyderdyne joined #openstack-rally
18:42 boris-42 Aish: just second seems like I am missing something
18:43 boris-42 as i belive from neutron.agent.linux import utils as linux_utils this is neutron part
18:43 boris-42 and you should be able to import it without any issues
18:43 boris-42 using just python interpreter
18:43 boris-42 /opt/rally/plugins/test_vpn_connectivity.py: arguments already parsed: cannot register CLI option”
18:43 boris-42 this means that you can't use CONF inside vpn_connectivity
18:44 boris-42 because CONF is initalized already
18:44 boris-42 rally workflow is next
18:45 boris-42 hm...
18:45 boris-42 but it is really strange
18:45 boris-42 ..
18:46 Aish I don’t have CONF inside test_vpn_connectivity
18:46 Aish yes, it is strange.
18:47 boris-42 ah it says CLI options
18:47 boris-42 hm interesting
18:47 boris-42 maybe it is related to the thing that you are trying to import neutron?
18:48 boris-42 could you please do the test that I said?
18:48 Aish yeah, I have the same question. I wonder if I am trying to reimport something that rally already has.
18:48 boris-42 just open python
18:48 boris-42 and try to do the same import
18:48 boris-42 from neutron.agent.linux import ip_lib
18:48 boris-42 will it work?
18:49 Aish rally@ubuntu:/opt/stack/neutron/neutron/agent/linux$ python
18:49 Aish Python 2.7.6 (default, Jun 22 2015, 17:58:13)
18:49 Aish [GCC 4.8.2] on linux2
18:49 Aish Type "help", "copyright", "credits" or "license" for more information.
18:49 Aish >>> from neutron.agent.linux import utils as linux_utils
18:49 Aish >>>
18:49 boris-42 and
18:49 boris-42 from neutron.agent.linux import ip_lib
18:50 Aish >>> from neutron.agent.linux import ip_lib
18:50 Aish >>>
18:50 Aish yup they seems to work fine
18:51 boris-42 okay
18:51 Aish >>> linux_utils.execute
18:51 Aish <function execute at 0x7f29512c5230>
18:51 boris-42 now try next
18:51 boris-42 from rally.cli import main
18:51 boris-42 in the same interpreter
18:51 Aish it works
18:52 Aish >>> from rally.cli import main
18:52 Aish >>>
18:53 boris-42 hm it's unclear for me now totally (
18:53 Aish :(
18:54 boris-42 Aish: can we add gate job for rally?
18:54 boris-42 Aish: non voting to VPNaas
18:54 boris-42 Aish: so I will be able to debug in gates/
18:54 Aish sure..
18:55 Aish What should be done fr that?
18:55 boris-42 Aish: btw one more time try to run rally
18:55 boris-42 Aish: but in debug mode
18:55 boris-42 Aish: rally -vd task start
18:56 Aish ok I will run that and share u in a gist.
19:01 boris-42 thanks
19:01 boris-42 Aish: it shouldn't actually start
19:01 boris-42 Aish: because it won't import required plugin and it iwll just say didn't find the plugin
19:01 Aish yup..
19:01 boris-42 but we will get more debug info about why it can't import it
19:02 Aish slow network here… bear with me.
19:04 Aish https://gist.github.com/AishwaryaT/65ec480c4290bff68163
19:05 Aish boris-42:
19:05 Aish I had teh patch that was working fine checked out… and just added one of the import lines..
19:06 Aish and it fails.
19:21 yfried joined #openstack-rally
19:27 exploreshaifali joined #openstack-rally
19:28 Aish lunch. BRB
19:33 baker joined #openstack-rally
19:36 davideagnello joined #openstack-rally
19:54 Aish joined #openstack-rally
19:54 Aish back
20:09 Aish boris-42: are you around?
20:10 boris-42 Aish: yep
20:10 boris-42 Aish: sorry I have as well some meeting
20:10 boris-42 Aish: so this is the problem
20:10 boris-42 2015-08-24 22:12:58.572 7940 ERROR rally.common.plugin.discover   File "/opt/stack/neutron/neutron/common/config.py", line 151, in <module>
20:10 boris-42 2015-08-24 22:12:58.572 7940 ERROR rally.common.plugin.discover     cfg.CONF.register_cli_opts(core_cli_opts)
20:10 Aish yeah, looks so.
20:11 boris-42 You see we are trying to call 2 times cfg.CONF.register_cli_opts
20:11 boris-42 one time in neutron and one time inside rally
20:11 boris-42 I am not sure why this code is executed inside neutron
20:11 boris-42 when we are using it as a lib...
20:12 Aish Where in rally is this call actually made?
20:13 boris-42 Aish: here https://github.com/openstack/rally/blob/master/rally/cli/cliutils.py#L449
20:13 boris-42 Aish: basically what it does it adds all OpenStack arguments to command
20:14 boris-42 Aish: e.g. in case of for example neutron client
20:14 boris-42 neutron --os-user ... .
20:14 boris-42 --os-user is add by this command
20:14 baker joined #openstack-rally
20:14 boris-42 Aish: what we can do is some dirty hack
20:15 boris-42 that will change cfg.CONF.register_cli_opts
20:15 boris-42 to function that can be called once
20:15 baker joined #openstack-rally
20:18 boris-42 Aish http://paste.openstack.org/show/427360/ so like this
20:22 Aish joined #openstack-rally
20:22 puranamr joined #openstack-rally
20:25 boris-42 Aish: ping
20:25 boris-42 I was talking about such kind of hack
20:25 boris-42 http://paste.openstack.org/show/427360/
20:32 Aish But, this kind of hack has to be applied in rally/cliutils.py?
20:34 boris-42 actually you can disable this function
20:34 boris-42 inside your module
20:35 boris-42 that is failing to import
20:35 boris-42 (before you import neutron)
20:35 boris-42 just return noop function instead of register_cli
20:36 Aish Can you give an example?
20:56 boris-42 cfg.CONF.register_cli_op = noop
20:56 boris-42 def noop(*args, **kwargs): pass
20:58 openstackgerrit Boris Pavlovic proposed openstack/rally: Move & refactor atomic actions  https://review.openstack.org/216584
20:58 openstackgerrit Boris Pavlovic proposed openstack/rally: Switch scenarios plugins to plugin base  https://review.openstack.org/213631
21:13 Aish joined #openstack-rally
21:15 sasha_ joined #openstack-rally
21:16 sasha_ HI guys, got disconnected from the previous session and wondering if anyone responded to my comment/question.
21:16 sasha_ <sasha_> Hi Rally folks, I'm crafting nova scenarios and would like to know if there is a way to skip cleanup (delete vms) after running a nova boot/ boot-list scenario not having to comment the @cleanup annotation. Pls advise!
21:17 akrzos joined #openstack-rally
21:17 boris-42 sasha_: only way is to hack cleanup
21:17 boris-42 sasha_: context
21:20 sasha_ boris-42: Is it here? #@base.scenario(context={"cleanup": ["nova"]})
21:26 exploreshaifali joined #openstack-rally
21:28 temujin_ joined #openstack-rally
21:35 boris-42 sasha_: yep you can remove it
21:35 boris-42 sasha_: be careful you will have to delete manulally nova resources
21:36 sasha_ boris-42: yep, thx!
21:37 davideagnello joined #openstack-rally
21:40 Prashant joined #openstack-rally
21:42 boris-42 kun_huang: around?
21:42 boris-42 yfried: ping?
21:44 davideagnello joined #openstack-rally
21:48 e0ne joined #openstack-rally
21:56 Aish boris-42: I commented out the lines “ #cfg.CONF.register_cli_opts(core_cli_opts) and #logging.register_options(cfg.CONF) “ from  /opt/stack/neutron/neutron/common/config.py and my tests are running fine..
21:56 Aish Would be helpful if you could explain me about the hack u suggested
21:59 jaypipes joined #openstack-rally
22:07 aix joined #openstack-rally
22:12 baker joined #openstack-rally
22:13 baker_ joined #openstack-rally
22:20 boris-42 Aish: so instead of commenting
22:20 boris-42 you can just replace register_cli_opts function to NOOP one
22:20 boris-42 so when you call it nothing is happening
22:21 a2hill joined #openstack-rally
22:24 a2hill left #openstack-rally
22:25 Aish You mean from my test code?
22:25 Aish I am not sure how to do that.
22:25 Aish I will look into it.
22:29 Aish boris-42: thanks a lot.
22:37 tosky joined #openstack-rally
22:38 boris-42 Aish: as I said
22:38 boris-42 before you import neutron
22:38 boris-42 in your code
22:38 boris-42 do the next
22:38 boris-42 def noop(*args, **kwargs): pass
22:38 boris-42 cfg.CONF.register_cli_opts = noop
22:38 boris-42 that is all
22:40 Aish Oh, cool.. I shall try this :)
22:41 puranamr joined #openstack-rally
22:44 Aish But, in this case, pycharm couldn’t resolve cfg.CONF
22:45 Aish @boris-42
22:45 Aish ^^
23:11 boris-42 you need to import it
23:11 boris-42 all_plugins = [p for p in plugin.Plugin.get_all(namespace=namespace)]
23:11 boris-42 sry
23:12 boris-42 from oslo_config import cfg
23:12 boris-42 ^ Aish
23:15 Aish Awesome. It works now :) Thank u so much boris-42.
23:26 dmorita joined #openstack-rally
23:28 bitblt joined #openstack-rally
23:31 davideagnello joined #openstack-rally
23:41 boris-42 Aish: you are welcome=)
23:42 Aish :)

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