Friday, 2020-04-17

*** rcernin has quit IRC03:10
*** anilvenkata has joined #openstack-rally03:10
*** rcernin has joined #openstack-rally03:25
*** Anticimex has quit IRC05:10
*** Anticimex has joined #openstack-rally05:15
*** nikparasyr has joined #openstack-rally06:19
*** tosky has joined #openstack-rally07:30
*** threestrands has quit IRC07:56
openstackgerritAndrey Kurilin proposed openstack/rally master: Improve rally-docker jobs to be usefull for rally-openstack  https://review.opendev.org/72047408:32
openstackgerritAndrey Kurilin proposed openstack/rally-openstack master: Add regular pushes to dockerhub  https://review.opendev.org/72019909:15
marosgandreykurilin: you were right about network_id, I made copy/paste mistake. thanks09:26
openstackgerritMerged openstack/rally master: Improve rally-docker jobs to be usefull for rally-openstack  https://review.opendev.org/72047409:26
andreykurilinnice09:26
*** anilvenkata has quit IRC10:06
*** anilvenkata has joined #openstack-rally10:08
*** nikparasyr has quit IRC11:35
*** nikparasyr has joined #openstack-rally11:41
*** rcernin has quit IRC12:11
openstackgerritAndrey Kurilin proposed openstack/rally-openstack master: Add regular pushes to dockerhub  https://review.opendev.org/72019912:36
marosghello andreykurilin I would like to make sanity checks for parameters. context now requires new dict and using json schema I cna make sure that if this dict is specified then there is a mandatory key in that dict12:57
marosgbut, how could I check in scenario that this specific key is provided?12:58
andreykurilin`if "super-new-key" in self.config`12:58
marosgsorry, I meant using decorators, not in code12:59
andreykurilinwhat do you mean?12:59
andreykurilincan you elaborate?13:00
*** anilvenkata has quit IRC13:12
marosgandreykurilin: https://paste.ubuntu.com/p/TSHTztzbj5/13:24
marosgin scenario I can set validation that zone context is there13:24
marosgbut I would like also a check that test_existing_designate_from_VM was specified13:25
marosgI know I can do if-then test in my code13:25
marosgbut was wondering if i can use decorator13:26
andreykurilinso you want to add validation to a scenario that it should work only if the context is configured with this key, right?13:27
marosgcorrect13:28
andreykurilinok13:28
andreykurilinmarosg: you need to implement a custom validation plugin for that. take a look at - https://github.com/openstack/rally/blob/master/rally/plugins/common/validators.py#L30513:30
andreykurilinhttps://github.com/openstack/rally/blob/master/rally/plugins/common/validators.py#L331 <-this dict contains a configuration of contexts13:31
andreykurilinafter you implement a new plugin, you will able to use decorator to scenario like @validation.add("name-of-my-new-validator")13:31
marosgI hoped there was something I could already use :)13:34
andreykurilinunfortunately no13:34
marosgI checked validators.py and saw many promising, but they check 'args' section of config13:34
*** mpjetta has quit IRC14:29
*** anilvenkata has joined #openstack-rally15:16
openstackgerritMerged openstack/rally-openstack master: Add regular pushes to dockerhub  https://review.opendev.org/72019916:06
*** nikparasyr has quit IRC17:18
*** anilvenkata has quit IRC17:46
*** tosky has quit IRC23:21

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!