*** mahito has joined #openstack-rally | 00:01 | |
*** pvaneck has quit IRC | 00:23 | |
*** yingjun has joined #openstack-rally | 00:44 | |
*** mahito has quit IRC | 00:45 | |
*** yingjun has quit IRC | 00:47 | |
*** yingjun has joined #openstack-rally | 00:48 | |
*** yingjun has quit IRC | 00:52 | |
*** yingjun has joined #openstack-rally | 00:56 | |
*** yingjun has quit IRC | 01:06 | |
*** yingjun has joined #openstack-rally | 01:06 | |
*** yingjun has quit IRC | 01:11 | |
*** yingjun has joined #openstack-rally | 01:28 | |
*** temujin_ has joined #openstack-rally | 02:57 | |
*** oanufriev_ has quit IRC | 03:00 | |
*** davideagnello has quit IRC | 03:33 | |
*** yingjun has quit IRC | 03:47 | |
openstackgerrit | Luz Cazares proposed openstack/rally: Set samples default flavor to m1.tiny https://review.openstack.org/210755 | 04:12 |
---|---|---|
*** puranamr has joined #openstack-rally | 04:17 | |
*** Prashant has joined #openstack-rally | 04:20 | |
*** puranamr has quit IRC | 04:29 | |
*** Prashant has quit IRC | 04:36 | |
*** Prashant has joined #openstack-rally | 04:37 | |
*** abhirc has quit IRC | 04:37 | |
*** abhirc has joined #openstack-rally | 04:38 | |
*** rdas has joined #openstack-rally | 04:39 | |
*** Prashant has quit IRC | 04:41 | |
*** abhirc has quit IRC | 04:42 | |
*** tfreger has joined #openstack-rally | 04:43 | |
*** abhirc has joined #openstack-rally | 04:47 | |
*** abhirc has quit IRC | 04:48 | |
*** abhirc has joined #openstack-rally | 04:48 | |
*** abhirc has quit IRC | 05:04 | |
boris-42 | is somebody looking for simple patches?) | 05:16 |
*** davideagnello has joined #openstack-rally | 05:36 | |
*** yingjun has joined #openstack-rally | 05:51 | |
*** exploreshaifali has joined #openstack-rally | 05:58 | |
*** yfried has quit IRC | 06:06 | |
*** boris-42 has quit IRC | 06:12 | |
*** serverascode has quit IRC | 06:12 | |
*** kun_huang has quit IRC | 06:13 | |
*** agarciam has joined #openstack-rally | 06:13 | |
*** serverascode has joined #openstack-rally | 06:14 | |
*** kun_huang has joined #openstack-rally | 06:15 | |
*** boris-42 has joined #openstack-rally | 06:17 | |
*** yingjun has quit IRC | 06:18 | |
*** anshul has joined #openstack-rally | 06:24 | |
*** exploreshaifali has quit IRC | 06:40 | |
*** yfried has joined #openstack-rally | 06:43 | |
*** tfreger has quit IRC | 06:51 | |
*** tfreger has joined #openstack-rally | 06:52 | |
*** temujin_ has quit IRC | 06:52 | |
*** temujin_ has joined #openstack-rally | 06:54 | |
*** davideagnello has quit IRC | 06:57 | |
*** temujin_ has quit IRC | 06:57 | |
*** temujin_ has joined #openstack-rally | 06:59 | |
*** temujin_ has quit IRC | 07:02 | |
*** temujin_ has joined #openstack-rally | 07:03 | |
*** temujin_ has quit IRC | 07:09 | |
*** temujin_ has joined #openstack-rally | 07:10 | |
*** temujin_ has quit IRC | 07:14 | |
*** temujin_ has joined #openstack-rally | 07:16 | |
*** temujin_ has quit IRC | 07:20 | |
*** arxcruz has joined #openstack-rally | 07:36 | |
openstackgerrit | Boris Pavlovic proposed openstack/rally: Move & refactor atomic actions https://review.openstack.org/216584 | 07:43 |
*** ushkalim has joined #openstack-rally | 07:46 | |
openstackgerrit | nayna-patel proposed openstack/rally: Add Neutron create_and_list_secgroups scenario https://review.openstack.org/216589 | 07:51 |
*** temujin_ has joined #openstack-rally | 07:55 | |
*** fhubik has joined #openstack-rally | 07:56 | |
*** temujin_ has quit IRC | 07:56 | |
*** temujin_ has joined #openstack-rally | 07:56 | |
*** neeti has joined #openstack-rally | 07:58 | |
*** amaretskiy has joined #openstack-rally | 07:58 | |
*** temujin_ has quit IRC | 08:00 | |
*** temujin_ has joined #openstack-rally | 08:02 | |
*** temujin_ has quit IRC | 08:07 | |
*** temujin_ has joined #openstack-rally | 08:07 | |
*** vponomaryov has joined #openstack-rally | 08:08 | |
*** exploreshaifali has joined #openstack-rally | 08:10 | |
*** temujin_ has quit IRC | 08:10 | |
*** tfreger has quit IRC | 08:15 | |
*** ushkalim has quit IRC | 08:17 | |
*** e0ne has joined #openstack-rally | 08:17 | |
*** tfreger has joined #openstack-rally | 08:18 | |
*** temujin_ has joined #openstack-rally | 08:19 | |
kun_huang | boris-42: Is there a 'existing-vm' context being developed? | 08:21 |
kun_huang | to use existing vm to run workload | 08:21 |
*** temujin_ has quit IRC | 08:25 | |
*** temujin_ has joined #openstack-rally | 08:25 | |
*** karimb has joined #openstack-rally | 08:25 | |
*** Vishal__ has joined #openstack-rally | 08:28 | |
Vishal__ | amaretskiy: Hi | 08:28 |
amaretskiy | Vishal__: hi | 08:28 |
*** ushkalim has 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:29 |
Vishal__ | amaretskiy: since deletion of such kind of port returns error..and it leads to further delays because of retries | 08:30 |
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:32 |
*** tosky has joined #openstack-rally | 08:34 | |
*** tosky has quit IRC | 08:34 | |
amaretskiy | have you caught neutron ports left in the cloud after this cleanup? were there any errors in logs? | 08:34 |
*** tosky has joined #openstack-rally | 08:36 | |
*** tosky has quit IRC | 08:38 | |
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_ has quit IRC | 08:39 | |
*** temujin_ has joined #openstack-rally | 08:39 | |
*** temujin_ has quit IRC | 08:39 | |
Vishal__ | amaretskiy: and router deletion request is failing stating "router xxx still has ports" | 08:39 |
*** temujin_ has joined #openstack-rally | 08:39 | |
*** tosky has joined #openstack-rally | 08:39 | |
*** temujin_ has quit IRC | 08:42 | |
amaretskiy | Vishal__: yes, it seems we have a bug | 08:42 |
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:43 |
Vishal__ | amaretskiy: sure thanks | 08:44 |
*** temujin_ has joined #openstack-rally | 08:45 | |
*** temujin_ has quit IRC | 08:48 | |
*** tosky has quit IRC | 08:48 | |
*** temujin_ has joined #openstack-rally | 08:49 | |
*** tosky has joined #openstack-rally | 08:51 | |
openstackgerrit | Jean-Philippe Braun proposed openstack/rally: Fix lbaas resources cleanup https://review.openstack.org/216614 | 08:52 |
*** temujin_ has quit IRC | 08:52 | |
*** temujin_ has joined #openstack-rally | 08:52 | |
*** exploreshaifali has quit IRC | 08:52 | |
*** temujin_ has quit IRC | 08:52 | |
*** temujin_ has joined #openstack-rally | 08:52 | |
*** tosky has quit IRC | 08:54 | |
*** tosky has joined #openstack-rally | 08:56 | |
*** tosky has quit IRC | 08:57 | |
*** tosky has joined #openstack-rally | 08:59 | |
*** tosky has quit IRC | 09:00 | |
*** temujin_ has quit IRC | 09:00 | |
*** tfreger has quit IRC | 09:01 | |
*** tosky has joined #openstack-rally | 09:03 | |
*** tosky has quit IRC | 09:04 | |
*** yingjun has joined #openstack-rally | 09:05 | |
*** yingjun has quit IRC | 09:05 | |
*** yingjun has joined #openstack-rally | 09:06 | |
*** yingjun has quit IRC | 09:10 | |
*** temujin_ has joined #openstack-rally | 09:10 | |
*** cdent has joined #openstack-rally | 09:12 | |
*** temujin_ has quit IRC | 09:12 | |
*** temujin_ has joined #openstack-rally | 09:12 | |
*** tfreger has joined #openstack-rally | 09:15 | |
*** temujin_ has quit IRC | 09:15 | |
*** fhubik is now known as fhubik_brb | 09:46 | |
*** aix has joined #openstack-rally | 09:50 | |
*** aix has quit IRC | 09:52 | |
*** aix has joined #openstack-rally | 09:53 | |
*** tosky has joined #openstack-rally | 10:02 | |
*** exploreshaifali has joined #openstack-rally | 10:03 | |
*** fhubik_brb is now known as fhubik | 10:04 | |
*** yfried is now known as yfried|afk | 10:08 | |
*** exploreshaifali has quit IRC | 10:15 | |
*** exploreshaifali has joined #openstack-rally | 10:16 | |
*** fhubik is now known as fhubik_brb | 10:30 | |
*** yfried|afk is now known as yfried | 10:45 | |
*** dmorita has quit IRC | 10:50 | |
*** arxcruz has quit IRC | 11:06 | |
*** arxcruz has joined #openstack-rally | 11:13 | |
openstackgerrit | Valeriy Ponomaryov proposed openstack/rally: [Manila] Add context for Manila with autocreated resources + benchmark https://review.openstack.org/187643 | 11:17 |
openstackgerrit | nayna-patel proposed openstack/rally: Add Cinder create_and_update_snapshot scenario https://review.openstack.org/211132 | 11:21 |
*** fhubik_brb is now known as fhubik | 11:24 | |
*** exploreshaifali has quit IRC | 11:36 | |
*** exploreshaifali has joined #openstack-rally | 11:41 | |
*** temujin_ has joined #openstack-rally | 11:54 | |
*** fhubik is now known as fhubik_brb | 12:22 | |
*** fhubik_brb is now known as fhubik | 12:22 | |
*** fhubik is now known as fhubik_brb | 12:23 | |
openstackgerrit | Nikita Konovalov proposed openstack/rally: [Sahara] Added support for proxy node https://review.openstack.org/212036 | 12:28 |
*** Vishal__ has quit IRC | 12:29 | |
openstackgerrit | Pierre Padrixe (stannie) proposed openstack/rally: Add global path as constant in envutils https://review.openstack.org/216257 | 12:37 |
*** rdas has quit IRC | 12:42 | |
openstackgerrit | Nikita Konovalov proposed openstack/rally: [Sahara] Add Hadoop metrics collection https://review.openstack.org/203324 | 12:45 |
*** neeti has quit IRC | 12:59 | |
*** moravec has joined #openstack-rally | 13:08 | |
openstackgerrit | Merged openstack/rally: Set samples default flavor to m1.tiny https://review.openstack.org/210755 | 13:09 |
openstackgerrit | Illia Khudoshyn proposed openstack/rally: Add task format converter https://review.openstack.org/211160 | 13:18 |
*** davidlenwell has quit IRC | 13:19 | |
*** MaxPC has joined #openstack-rally | 13:20 | |
*** davidlenwell has joined #openstack-rally | 13:20 | |
*** davideagnello has joined #openstack-rally | 13:28 | |
*** davideagnello has quit IRC | 13:28 | |
openstackgerrit | Oleh Anufriiev proposed openstack/rally: WIP Update rally/contrib to use install_rally.sh https://review.openstack.org/210137 | 13:33 |
*** bapalm has quit IRC | 13:44 | |
*** karimb has quit IRC | 13:46 | |
*** fhubik_brb is now known as fhubik | 13:51 | |
*** bapalm_ is now known as bapalm | 13:51 | |
*** karimb has joined #openstack-rally | 13:52 | |
*** jaypipes has joined #openstack-rally | 13:58 | |
*** yfried has quit IRC | 14:03 | |
*** ikhudoshyn has joined #openstack-rally | 14:08 | |
*** adiantum_ has quit IRC | 14:19 | |
*** baker has joined #openstack-rally | 14:21 | |
*** tfreger has quit IRC | 14:35 | |
*** exploreshaifali has quit IRC | 14:59 | |
*** davideagnello has joined #openstack-rally | 15:29 | |
*** davideagnello has quit IRC | 15:34 | |
*** Prashant has joined #openstack-rally | 15:40 | |
*** puranamr has joined #openstack-rally | 15:45 | |
*** puranamr has quit IRC | 15:46 | |
*** puranamr has joined #openstack-rally | 15:46 | |
*** puranamr has quit IRC | 15:47 | |
*** puranamr has joined #openstack-rally | 15:48 | |
*** davideagnello has joined #openstack-rally | 16:00 | |
*** agarciam has quit IRC | 16:08 | |
*** aix has quit IRC | 16:08 | |
*** ikhudoshyn has quit IRC | 16:14 | |
*** arxcruz has quit IRC | 16:18 | |
*** davideagnello has quit IRC | 16:18 | |
*** ushkalim has quit IRC | 16:19 | |
*** puranamr has quit IRC | 16:19 | |
*** temujin_ has quit IRC | 16:20 | |
*** e0ne has quit IRC | 16:20 | |
*** exploreshaifali has joined #openstack-rally | 16:27 | |
*** baker has quit IRC | 16:27 | |
*** baker has joined #openstack-rally | 16:28 | |
*** fhubik is now known as fhubik_brb | 16:30 | |
*** fhubik_brb is now known as fhubik | 16:32 | |
*** baker has quit IRC | 16:33 | |
*** baker has joined #openstack-rally | 16:36 | |
*** baker has quit IRC | 16:37 | |
*** baker has joined #openstack-rally | 16:37 | |
*** temujin_ has joined #openstack-rally | 16:39 | |
*** fhubik has quit IRC | 16:43 | |
*** amaretskiy has quit IRC | 16:44 | |
*** karimb has quit IRC | 17:04 | |
*** josdotso has joined #openstack-rally | 17:06 | |
*** e0ne has joined #openstack-rally | 17:09 | |
*** moravec has quit IRC | 17:20 | |
*** pvaneck has joined #openstack-rally | 17:21 | |
*** davideagnello has joined #openstack-rally | 17:25 | |
*** Prashant has quit IRC | 17:33 | |
*** Prashant has joined #openstack-rally | 17:34 | |
*** Prashant has quit IRC | 17:38 | |
*** exploreshaifali has quit IRC | 17:40 | |
*** moravec has joined #openstack-rally | 17:59 | |
*** baker has quit IRC | 17:59 | |
*** baker has joined #openstack-rally | 18:06 | |
*** Prashant has joined #openstack-rally | 18:14 | |
*** cdent has quit IRC | 18:16 | |
*** tab has joined #openstack-rally | 18:20 | |
*** tab is now known as Guest55946 | 18:20 | |
*** Guest55946 has quit IRC | 18:20 | |
*** tab___ has joined #openstack-rally | 18:21 | |
*** madhu_ak has joined #openstack-rally | 18:23 | |
*** Aish has joined #openstack-rally | 18:26 | |
Aish | Hi boris-42 | 18:26 |
boris-42 | Aish: hi hi | 18:27 |
Aish | Did you happen to check that patch? | 18:27 |
Aish | https://review.openstack.org/#/c/213781/ | 18:28 |
Aish | https://review.openstack.org/#/c/213819/ | 18:28 |
boris-42 | Aish: looking | 18:29 |
*** puranamr has joined #openstack-rally | 18:30 | |
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:31 |
boris-42 | Aish: maybe we don't have it installed | 18:32 |
boris-42 | Aish: in gates | 18:32 |
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:33 |
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:34 |
boris-42 | run python interpreter | 18:35 |
boris-42 | and import this module? | 18:35 |
Aish | yes, I can | 18:35 |
*** masmiyam has joined #openstack-rally | 18:37 | |
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:38 |
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:41 |
Aish | boris-42: ^^ | 18:42 |
*** spyderdyne has joined #openstack-rally | 18:42 | |
boris-42 | Aish: just second seems like I am missing something | 18:42 |
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:43 |
boris-42 | because CONF is initalized already | 18:44 |
boris-42 | rally workflow is next | 18:44 |
boris-42 | hm... | 18:45 |
boris-42 | but it is really strange | 18:45 |
boris-42 | .. | 18:45 |
Aish | I don’t have CONF inside test_vpn_connectivity | 18:46 |
Aish | yes, it is strange. | 18:46 |
boris-42 | ah it says CLI options | 18:47 |
boris-42 | hm interesting | 18:47 |
*** puranamr has quit IRC | 18:47 | |
boris-42 | maybe it is related to the thing that you are trying to import neutron? | 18:47 |
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:48 |
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:49 |
Aish | >>> from neutron.agent.linux import ip_lib | 18:50 |
Aish | >>> | 18:50 |
Aish | yup they seems to work fine | 18:50 |
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:51 |
Aish | >>> from rally.cli import main | 18:52 |
Aish | >>> | 18:52 |
boris-42 | hm it's unclear for me now totally ( | 18:53 |
*** baker has quit IRC | 18:53 | |
Aish | :( | 18:53 |
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:54 |
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:55 |
Aish | ok I will run that and share u in a gist. | 18:56 |
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:01 |
Aish | slow network here… bear with me. | 19:02 |
Aish | https://gist.github.com/AishwaryaT/65ec480c4290bff68163 | 19:04 |
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:05 |
Aish | and it fails. | 19:06 |
*** temujin_ has quit IRC | 19:12 | |
*** yfried has joined #openstack-rally | 19:22 | |
*** exploreshaifali has joined #openstack-rally | 19:27 | |
Aish | lunch. BRB | 19:28 |
*** baker has joined #openstack-rally | 19:33 | |
*** davideagnello has quit IRC | 19:36 | |
*** davideagnello has joined #openstack-rally | 19:36 | |
*** davideagnello has quit IRC | 19:37 | |
*** Aish has quit IRC | 19:38 | |
*** spyderdyne has quit IRC | 19:48 | |
*** Aish has joined #openstack-rally | 19:54 | |
Aish | back | 19:54 |
Aish | boris-42: are you around? | 20:09 |
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:10 |
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:11 |
Aish | Where in rally is this call actually made? | 20:12 |
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:13 |
boris-42 | Aish: e.g. in case of for example neutron client | 20:14 |
*** baker has quit IRC | 20:14 | |
boris-42 | neutron --os-user ... . | 20:14 |
boris-42 | --os-user is add by this command | 20:14 |
*** baker has joined #openstack-rally | 20:14 | |
boris-42 | Aish: what we can do is some dirty hack | 20:15 |
*** baker has quit IRC | 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 has joined #openstack-rally | 20:15 | |
*** Aish has quit IRC | 20:16 | |
*** exploreshaifali has quit IRC | 20:17 | |
boris-42 | Aish http://paste.openstack.org/show/427360/ so like this | 20:18 |
*** Aish has joined #openstack-rally | 20:22 | |
*** puranamr has joined #openstack-rally | 20:22 | |
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:25 |
Aish | But, this kind of hack has to be applied in rally/cliutils.py? | 20:32 |
*** anshul has quit IRC | 20:32 | |
boris-42 | actually you can disable this function | 20:34 |
boris-42 | inside your module | 20:34 |
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:35 |
*** e0ne has quit IRC | 20:35 | |
Aish | Can you give an example? | 20:36 |
*** MaxPC has quit IRC | 20:40 | |
*** Aish has quit IRC | 20:54 | |
boris-42 | cfg.CONF.register_cli_op = noop | 20:56 |
boris-42 | def noop(*args, **kwargs): pass | 20:56 |
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 | 20:58 |
*** josdotso has quit IRC | 21:00 | |
*** tab___ has quit IRC | 21:08 | |
*** moravec has quit IRC | 21:10 | |
*** Aish has joined #openstack-rally | 21:13 | |
*** sasha_ has joined #openstack-rally | 21:15 | |
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:16 |
*** akrzos has joined #openstack-rally | 21:17 | |
boris-42 | sasha_: only way is to hack cleanup | 21:17 |
boris-42 | sasha_: context | 21:17 |
sasha_ | boris-42: Is it here? #@base.scenario(context={"cleanup": ["nova"]}) | 21:20 |
*** exploreshaifali has joined #openstack-rally | 21:26 | |
*** temujin_ has joined #openstack-rally | 21:28 | |
boris-42 | sasha_: yep you can remove it | 21:35 |
boris-42 | sasha_: be careful you will have to delete manulally nova resources | 21:35 |
sasha_ | boris-42: yep, thx! | 21:36 |
*** davideagnello has joined #openstack-rally | 21:37 | |
*** Prashant has quit IRC | 21:39 | |
*** Prashant has joined #openstack-rally | 21:40 | |
boris-42 | kun_huang: around? | 21:42 |
boris-42 | yfried: ping? | 21:42 |
*** davideagnello has quit IRC | 21:43 | |
*** davideagnello has joined #openstack-rally | 21:44 | |
*** Prashant has quit IRC | 21:45 | |
*** e0ne has joined #openstack-rally | 21:48 | |
*** jaypipes has quit IRC | 21:55 | |
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 |
*** tosky has quit IRC | 21:56 | |
Aish | Would be helpful if you could explain me about the hack u suggested | 21:56 |
*** jaypipes has joined #openstack-rally | 21:59 | |
*** aix has joined #openstack-rally | 22:07 | |
*** baker has quit IRC | 22:12 | |
*** baker has joined #openstack-rally | 22:12 | |
*** baker_ has joined #openstack-rally | 22:13 | |
*** baker has quit IRC | 22:13 | |
*** e0ne has quit IRC | 22:16 | |
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:20 |
*** a2hill has joined #openstack-rally | 22:21 | |
*** baker_ has quit IRC | 22:23 | |
*** a2hill has left #openstack-rally | 22:24 | |
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:25 |
Aish | boris-42: thanks a lot. | 22:29 |
*** tosky has joined #openstack-rally | 22:37 | |
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:39 |
Aish | Oh, cool.. I shall try this :) | 22:40 |
*** puranamr has quit IRC | 22:41 | |
*** puranamr has joined #openstack-rally | 22:41 | |
Aish | But, in this case, pycharm couldn’t resolve cfg.CONF | 22:44 |
Aish | @boris-42 | 22:45 |
Aish | ^^ | 22:45 |
*** jaypipes has quit IRC | 22:48 | |
*** masmiyam has quit IRC | 22:54 | |
*** tosky has quit IRC | 22:55 | |
*** madhu_ak has quit IRC | 23:05 | |
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:11 |
boris-42 | from oslo_config import cfg | 23:12 |
boris-42 | ^ Aish | 23:12 |
Aish | Awesome. It works now :) Thank u so much boris-42. | 23:15 |
*** davideagnello has quit IRC | 23:24 | |
*** dmorita has joined #openstack-rally | 23:26 | |
*** bitblt has joined #openstack-rally | 23:28 | |
*** bitblt has quit IRC | 23:28 | |
*** davideagnello has joined #openstack-rally | 23:31 | |
boris-42 | Aish: you are welcome=) | 23:41 |
Aish | :) | 23:42 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!