Monday, 2018-08-13

*** chandankumar has quit IRC03:05
*** openstackgerrit has quit IRC05:18
*** chandankumar has joined #refstack05:41
*** kopecmartin has joined #refstack05:47
kopecmartinarxcruz, hi, around?08:02
arxcruzkopecmartin: yes08:04
kopecmartinarxcruz, can you help with this review? https://review.openstack.org/#/c/580975/08:05
kopecmartinit's regarding your method https://github.com/openstack/python-tempestconf/blob/83e6ecb0791165305ba754e0dd116eb710fbbf2b/config_tempest/credentials.py#L6808:05
kopecmartinwe need to reuse it and I don't know where is the best place to store it so that it's reusable08:05
arxcruzkopecmartin: i had the same problem, so i decided to use in credentials, put it in another place would mean change a bunch of tests, etc08:07
arxcruzkopecmartin: perhaps create an utils.py08:07
arxcruz?08:07
kopecmartinyeah, i was thinking about something similar, we can create config_tempest/utils.py and put it there08:08
chandankumararxcruz: kopecmartin https://review.openstack.org/#/c/541273/ is there a way to check in env where a particular api is deprecated?08:08
kopecmartinchandankumar, what do you mean? i put a pudb breakpoint here https://github.com/openstack/python-tempestconf/blob/master/config_tempest/services/volume.py#L3008:10
kopecmartinand i printed out the versions obtained from the cloud08:10
arxcruzwe are checking only v2 and v3 for volume08:11
kopecmartinthat's correct and we are filtering out the deprecated versions: https://github.com/openstack/python-tempestconf/blob/master/config_tempest/services/base.py#L13408:12
arxcruzchandankumar: kopecmartin https://review.openstack.org/#/c/590789/ btw please +2 :)08:12
arxcruzbrb08:12
kopecmartinarxcruz, I was going to, I was checking the review in the morning :)08:12
chandankumarkopecmartin: how we are filtering what is deprecated?08:13
kopecmartinchandankumar, versions with status = DEPRECATED are not used - https://github.com/openstack/python-tempestconf/blob/master/config_tempest/services/base.py#L13408:14
chandankumarkopecmartin: ok08:15
kopecmartinchandankumar, so regarding that review , i see only one option .. if refstack tests requires to use those v2 tests, we will need to hardcode an override in refstack_client.py so that volume-feature-enabled.api_v2 is set to True08:16
chandankumarkopecmartin: yes that is what I am thinking08:17
chandankumarkopecmartin: let me update the patch08:17
kopecmartinwith a TODO comment that it's temporary and will be removed as soon as ..08:17
chandankumarkopecmartin: arxcruz we need to plan for next sprint also08:17
chandankumarfrom ideabox, we need to prepare tempest plugins for rocky release in RDO08:18
kopecmartinchandankumar, let me know when you have time and we can do it .. btw since Friday I'm on PTO one week08:18
chandankumarrelease tempestconf-2.0.0 next week08:18
chandankumarkopecmartin: arxcruz let's talk during today's scrum call08:19
chandankumarkopecmartin: I will be on PTO probably after 26 Aug08:19
kopecmartinok08:19
arxcruzkopecmartin: chandankumar please review my patch it's my last card for this scrum09:11
arxcruzi want it finished09:11
arxcruzplus tomorrow i'll be on pto09:11
kopecmartinarxcruz, waiting for rdo gates, I'll plus 2 it than :)09:11
kopecmartin20 min09:11
kopecmartinarxcruz, done :)09:32
kopecmartinarxcruz, chandankumar, please have a look on this https://review.openstack.org/#/c/583504/09:33
arxcruzkopecmartin: thanks, no issues this time, no comments, clean patch, and at patchset 1 :D09:33
kopecmartinarxcruz, good job ;)09:36
*** tosky has joined #refstack09:59
toskyarxcruz: I had to -209:59
arxcruz:O09:59
arxcruztosky: so, what? i mean, we are discovering from the catalog name10:00
arxcruz¯\_(ツ)_/¯10:01
toskythat's incorrect10:01
toskythere are "services" without catalog names10:01
tosky(horizon)10:01
*** openstackgerrit has joined #refstack10:01
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Create utils.py  https://review.openstack.org/59132610:01
toskythere are services with multiple catalog names (volume)10:01
arxcruzyes, but right now the discovering is being done via catalog10:02
arxcruzwe get the list of catalog, do a match, and get the proper class10:02
toskywhat is the point of a change that does not fix the issues which is supposed to fix?10:02
toskyin my mind, "implement dynamic discovery" means "do the discovery of the classes as it should be done, in a generic way, getting all children of Services"10:03
arxcruzwell, the change wasn't related to this, it was to automatically get the proper class without the need to have a dict hardcoded10:03
toskydon't use the service name10:03
toskyno argument10:03
toskyjust define a new class property with the name of the service, unrelated to the service name, and you can get stuff like horizon in10:04
arxcruzwe don't even have a class for horizon i think, it's just a method10:06
toskyyes, but that's not the point10:06
toskythis change does not address the fact that a) there are "services" with no catalog b) there are services with possibly more catalog10:07
arxcruzok, so you realize i'll just create a property that will return the same as get_catalog right ?10:07
toskynot the same10:07
toskythe one for volume can just be "volume"10:07
toskyand so on10:08
toskyit's not the same, that's my point; if it was the same semantic object, I would not have complained10:08
toskyyou don't even need a method for that - it can be just a directly property10:09
arxcruztosky: but for example10:09
toskythe point is: some children of Services may not have a catalog name or a unique catalog name; all the children of Services have a unique internal identifier10:09
arxcruzwe have volume and volume310:09
toskyand they are covered both by services/volume.py10:10
arxcruztosky: not really, if volume is getting from Service while volumev3 from ServiceVolume10:11
arxcruzif you try to add volume as ServiceVolume you get an error10:12
arxcruzanyway, i'll do what you ask, but not today, and i'll be on pto the whole week because new wow expansion10:12
arxcruzso, i'll fix it next week10:12
toskywow expansion?10:12
toskywhat is ServiceVolume?10:12
arxcruzalso then i think we should start to get the list of services not from the catalog, but from service list10:12
arxcruzVolumeService i don't remember the name from the top of my head10:13
arxcruzfrom services/volume.py10:13
arxcruzwow = world of warcraft10:13
toskyVolumeService handles both v2 and v3 volume service10:14
toskythe service is one, it has different entry points10:14
toskyand sure, get the service list should not depend on the catalog, that's my entire point :)10:15
*** tosky has quit IRC10:19
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127311:19
chandankumarkopecmartin: ^^ done as discussed11:23
*** tosky has joined #refstack11:41
kopecmartinchandankumar, good, but one thing11:46
kopecmartinchandankumar,  why are you replacing = for a space but then split through a comma? https://review.openstack.org/#/c/541273/68..69/refstack_client/refstack_client.py@45511:48
kopecmartinoh, sorry, i get it11:48
kopecmartintosky, btw, what do you say on this https://review.openstack.org/#/c/583504/ .. I have finally implemented (at least partially) the argument to the gates12:00
chandankumarkopecmartin: I think I am doing something wrong there12:01
toskykopecmartin: I've seen the notes; I was just a bit unsure about the hidden failure if done the other way12:02
toskyso I said myself "ok, I will recheck it later"12:02
kopecmartintosky, i don't think there is a hidden failure, at least i can't image where . . i would say it's just some settings ..12:03
kopecmartinok sure12:03
chandankumarkopecmartin: not sure what is that12:04
*** tosky has quit IRC12:35
openstackgerritLiron Kuchlani proposed openstack/python-tempestconf master: Add support for volume api microversion  https://review.openstack.org/58097512:43
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127313:08
chandankumarkopecmartin: ^^ it will work now13:08
kopecmartinchandankumar, extra_overrides is undefined13:23
openstackgerritLiron Kuchlani proposed openstack/python-tempestconf master: Add support for volume api microversion  https://review.openstack.org/58097513:42
openstackgerritChandan Kumar proposed openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127314:30
*** kopecmartin has quit IRC15:00
*** kopecmartin has joined #refstack15:15
chandankumarkopecmartin arxcruz hogepodge I have updated the patch please have a look https://review.openstack.org/54127315:20
kopecmartinchandankumar, nice, and from the logs can be see, that volume api_v2 tests were not skipped!15:30
kopecmartin*seen15:31
*** kopecmartin has quit IRC16:20
*** openstackgerrit has quit IRC17:19
hogepodgechandankumar: lgtm, +2/+118:05
hogepodgethanks18:05
hogepodgeThere's one more variable that I think we need to set, but we can send up a new patch to handle that18:06
hogepodgeI need to investigate it a bit more.18:06
*** mgagne_ has joined #refstack19:24
*** davidlenwell has quit IRC19:25
*** serverascode_ has quit IRC19:25
*** tommylikehu has quit IRC19:25
*** mgagne has quit IRC19:25
*** openstackgerrit has joined #refstack21:07
openstackgerritMerged openstack/refstack-client master: Remove usage of tempest install_venv scripts  https://review.openstack.org/56408021:07
chandankumarhogepodge: thanks :-) https://review.openstack.org/#/c/562956/ this one is also needed i think21:18
chandankumarhogepodge: thanks for keeping the patience, guiding us :-)21:18
openstackgerritMerged openstack/refstack-client master: Generate tempest.conf automatically using refstack-client  https://review.openstack.org/54127321:47

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