Tuesday, 2018-05-15

*** markvoelker has quit IRC06:20
*** markvoelker has joined #refstack07:20
*** kopecmartin has joined #refstack07:24
*** tosky has joined #refstack07:49
*** markvoelker has quit IRC07:55
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: [DNM] Dummy patch, testing timouts  https://review.openstack.org/56828607:58
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Make tempestconf easier to use as an library  https://review.openstack.org/56267207:59
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Set auth.use_dynamic_credentials to true be default  https://review.openstack.org/56850708:04
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Set auth.use_dynamic_credentials to true be default  https://review.openstack.org/56850708:05
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Set auth.use_dynamic_credentials to true by default  https://review.openstack.org/56850708:06
toskykopecmartin, arxcruz, chandankumar: I blocked https://review.openstack.org/#/c/567798, see my comment08:15
arxcruztosky: me and kopecmartin tested locally in our env08:16
toskyarxcruz: and is it a reason to not test it there in any way?08:16
toskythe change introduce a way to use tempestconf without default-config, which means a duplicate set of variables, and it's not clear that it is working or not08:17
toskyif an additional test is too much, there was an open question about then removing the file and using the new inline file completely08:17
toskybut no more discussion about that08:18
toskywas it decided to keep it? Boh08:18
toskyjust an answer like "ok, after some discussion, maybe for now we can keep it" could be nice08:19
toskynot nice; required08:19
openstackgerritArx Cruz proposed openstack/python-tempestconf master: DNM - Testing tempestconf without default-overrides.conf  https://review.openstack.org/56851208:19
arxcruztosky: ^08:19
chandankumartosky: https://review.openstack.org/#/c/568512/ changes will break tripleo for sure08:20
toskysure, and that does not answer the question still08:20
toskychandankumar: and was it too difficult to write it there in a comment?08:20
toskyand remember that more than others, if this code path is not tested, it *will* break (not may)08:21
toskyor can go easily out of sync with the existing file08:21
arxcruztosky: done :)08:22
arxcruztosky: it will not break, and let me explain why08:22
chandankumararxcruz: commented08:22
arxcruztempest init creates a tempest dir with an etc/default-overrides.conf08:23
arxcruzthis etc/default-overrides.conf comes from python-tempestconf08:23
arxcruzonce installed, it adds the default-overrides.conf in /etc/tempest/default-overrides.conf08:23
arxcruztempest just copy from there, so the default-overrides always comes from python-tempestconf08:23
arxcruznot from tempest side08:24
chandankumararxcruz: tripleo build the packages from each commit08:24
chandankumarusing DLRN and then consume that package08:24
arxcruztempest checks for /etc/tempest/ ~/.tempest and ~/.config/tempest08:24
toskyI'm not concerned about the case which uses default-overrides.conf, which is tested by the current zuul jobs08:24
arxcruzchandankumar: so ?08:24
toskyI was talking about this new code path08:24
chandankumararxcruz: https://github.com/rdo-packages/tempestconf-distgit/blob/rpm-master/python-tempestconf.spec#L177 file will be not found it is give error08:25
chandankumarfile not found08:25
toskychandankumar: are you saying that removing default-overrides.conf will break tripleo, or that it would require a change in the packaging, and after that everything else should work08:26
chandankumarbut in rdoinfo python-tempestconf is pinned at rdoinfo08:27
chandankumarlet' see which one is picked08:27
chandankumartosky: yup, it requires a change in packaging08:28
toskychandankumar: but apart from that, would it work?08:28
chandankumartosky: apart from we need to fix constants.py or the reference where file is used08:29
chandankumartosky: current DNM patch will work08:29
chandankumarapart from that08:30
openstackgerritArx Cruz proposed openstack/python-tempestconf master: DNM - Testing tempestconf without default-overrides.conf  https://review.openstack.org/56851908:30
arxcruzchandankumar: done, it will not remove the default-overrides.conf, just rename it to default-overrides.old.conf08:30
arxcruzso it will not be read by python-tempestconf08:30
chandankumararxcruz: yup08:30
toskychandankumar: apparently there are no other references to default-overrides.conf, at least by checking codesearch.openstack.org08:33
toskynot sure about other tools like infrared08:33
toskybut that's less relevant08:34
arxcruztosky: exactly, default-overrides.conf only exists in python-tempestconf08:38
*** rmart04 has joined #refstack08:39
toskyso, to summarize: apart from the (maybe) required fixes to the packaging (which could be avoided in an initial step with thanks to renaming), do you see any other issues with keeping just one codepath by default?08:42
toskyI'd just mention that another possibility would be not to copy the default-overrides.conf file and refer to the copy installed at the system level08:42
toskythat would solve the use case of using tempestconf outside a tempest workspace08:43
toskywas it considered too?08:43
arxcruztosky: default-overrides.conf is installed at system level when it comes from the rpm08:43
arxcruztosky: it was considered08:43
arxcruztosky: so08:43
arxcruzif you just source the rc file08:43
arxcruzand run the tool08:44
arxcruzthis patch will work08:44
arxcruzit will not find the default-overrides.conf and it will use the minimum one from code08:44
toskyyes, sure, and that makes that file useless08:44
arxcruzif you run tempest init, it will copy the default-overrides.conf from /etc/tempest/08:44
arxcruzand if you run the tool from inside the tempet init directory, it will ready the default-overrides.conf08:45
chandankumartosky: arxcruz in future we can get rid of that file, what about sticking to default values?08:45
arxcruzi'm okay with that08:45
toskyarxcruz: I understand that, what is not clear right now is: when you run tempest init, why is default-overrides.conf copied? Because it is inside /etc/tempest ?08:46
arxcruztosky: yes08:46
arxcruztosky: https://github.com/openstack/tempest/blob/master/tempest/cmd/init.py#L39-L4308:46
toskyok, and then tempest does not really care about that file08:47
toskyarxcruz: what I was saying is that the alternative could be: not install default-overrides.conf inside /etc/tempest, but with the rest of the data of tempestconf08:47
toskytempestconf could always refer to files installed with its own resources08:47
toskyno need for a new code path08:48
toskythat's the other solution that I was wondering08:48
arxcruztosky: imho the best would be hardcode the defaults, and get rid of d-o.conf08:48
arxcruzsorry, too big to keep typing the name of this file08:48
toskyoh, it's fine08:49
toskymy point in all of this discussion, and I hope it is clear, is just to avoid the case when one of the two cases is used more, the other is not normally used, and it breaks at the wrong time08:49
arxcruznp08:50
arxcruzso, once the dnm pass, please, give me your blessing :)08:50
*** markvoelker has joined #refstack08:52
toskyso no plan to remove that file for now? Just to understand the outcome08:52
chandankumartosky: remove the file in such a way it will not break anything08:53
chandankumaronce this patch will land, we can first remove file from rdo package and then from the codebase08:54
chandankumartosky: there is no reference of   default-overrides.conf in infrared, so we are good there08:55
toskyit seems (luckily) an implementation detail of tempestconf, not part of any "public interface"08:56
arxcruztosky: if i reply the gerrit email, do my comments goes to gerrit web interface?09:20
* arxcruz receives a lot of messages from gerrit in email09:20
toskyarxcruz: good question, I don't know; I don't think I tried09:22
toskyI would say: try09:22
toskyin the worst case, you will get a reply from the mail server09:22
tosky("what could go wrong?")09:22
*** markvoelker has quit IRC09:25
arxcruztosky: kopecmartin http://logs.openstack.org/19/568519/1/check/python-tempestconf-tempest-devstack-demo/4ed6bc8/job-output.txt.gz#_2018-05-15_09_06_08_67211709:38
toskyso something is missing from the internal defaults09:41
arxcruzyup09:41
arxcruztosky: nothing happens in the email btw09:42
*** xinliang has quit IRC09:51
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Load basic default config  https://review.openstack.org/56779809:51
kopecmartintosky, timeout issue, it was not fixed by turning ceilometer off :/09:55
kopecmartinhttps://review.openstack.org/#/c/568286/09:55
toskykopecmartin: uhm, I tried; I remember that reducing the concurrency AND disabling ceilometer was working, but maybe just a lucky shot09:58
toskycan you recheck with reducing the concurrency again to see if both things combined works?09:58
toskyshot in the dark, I know, but...09:58
kopecmartinsure09:58
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: [DNM] Reducing concurrency  https://review.openstack.org/56828610:01
*** xinliang has joined #refstack10:04
*** tosky has quit IRC10:11
*** tosky has joined #refstack10:12
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Set auth.use_dynamic_credentials to true by default  https://review.openstack.org/56850710:12
chandankumararxcruz: ^^10:12
arxcruzchandankumar: so, https://github.com/openstack/tempest/blob/master/tempest/config.py#L58 is already true in tempest10:14
arxcruzdo we need to set to true here as well ?10:14
chandankumararxcruz: if we donot set in tempest.conf it will take bydefault10:15
chandankumarah, I missed that one10:15
arxcruzchandankumar: so, is really needed?10:16
chandankumararxcruz: since tempest has setted in byfeault we can remove it from TQE10:16
arxcruzchandankumar: and what about your patch ?10:17
chandankumararxcruz: I will abandon it https://github.com/openstack/tripleo-quickstart-extras/blob/master/roles/validate-tempest/templates/configure-tempest.sh.j2#L14210:17
*** markvoelker has joined #refstack10:23
chandankumararxcruz: for volume encryption one method is that10:25
chandankumarhttps://docs.openstack.org/ocata/config-reference/block-storage/volume-encryption.html10:25
chandankumarif there is a creator role present there, then encryption can be support10:25
chandankumarotherwise set to failse10:25
chandankumarthat is the current way10:26
arxcruztosky: chandankumar is it possible to cleanup a env and reinstall packstack ?10:52
arxcruzchandankumar: not really, the creator role is just if you want non admin users to run encrypted volumes10:52
arxcruzit's not needed for admin for example10:52
*** markvoelker has quit IRC10:55
toskyarxcruz: I have some hand-crafted scripts which should clenaup all packstack traces, let me copy them11:33
toskyarxcruz: http://paste.openstack.org/show/72098611:35
arxcruztosky: thanks, i have a machine on rdocloud but it's so freaking hard to get 16gb of ram there that i don't want to give up this machine11:40
arxcruztosky: https://review.openstack.org/#/c/568519/ passed11:41
*** markvoelker has joined #refstack11:52
*** markvoelker_ has joined #refstack12:02
*** markvoelker has quit IRC12:04
toskyuh12:11
*** rmart04 has quit IRC12:31
kopecmartintosky, https://review.openstack.org/#/c/568286/ , it was a lucky shot before :D13:03
toskyaufff13:09
toskythen another step is reproduce locally again and again (with 8GiB)13:10
kopecmartinuff :/13:23
toskykopecmartin: did you also check with the other people running packstack tests if they hit issues like that?13:56
kopecmartintosky, not yet, for now rechecking needs to be enough .. I think, yesterday, when i opened logs from random jobs, i saw the same issue13:57
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Allow image creation by default for all users  https://review.openstack.org/56825214:27
*** tosky has quit IRC14:40
*** tosky has joined #refstack14:44
openstackgerritMerged openstack/python-tempestconf master: Load basic default config  https://review.openstack.org/56779815:17
chandankumar\o/15:33
chandankumarhogepodge: mguiney Do we have refstack meeting today?15:37
hogepodgeyes, we should have a meeting in advance of the summit. Just to catch up a bit15:38
hogepodgechandankumar: tosky: mguiney: ^^15:38
mguineyok, can do15:41
toskyoki15:44
openstackgerritChandan Kumar proposed openstack/python-tempestconf master: Allow creation/setting of image/flavor-*alt for all users  https://review.openstack.org/56825215:45
hogepodgechandankumar: tosky: https://etherpad.openstack.org/p/refstack-meeting-18-05-15 agenda here16:32
hogepodgeI'll let you pick the important reviews you want to cover16:41
kopecmartinarxcruz, are you still here?16:54
openstackgerritmegan guiney proposed openstack/refstack master: Revert eslint version to es5  https://review.openstack.org/56864316:56
arxcruzkopecmartin: depend16:58
kopecmartinarxcruz, can you rebase this? https://review.openstack.org/#/c/567820/16:59
chandankumartosky: regarding this review https://review.openstack.org/#/c/568252/ you are correct, since user might have permission to create image/flavor if not then it will fail, my main intension is to auto  detect flavor and two image id show that instances can be spinned17:01
toskychandankumar: I'm still having some troubles understanding the scope17:01
toskyare you trying to show that a non-admin user as deployed by devstack can still create flavors and upload the images?17:02
toskychandankumar, arxcruz, kopecmartin: if you are around, #openstack-meeting-alt17:02
chandankumartosky: the scope of this change is to auto set image_ref and image_altref and flavor/flaver_alt in compute17:02
chandankumartosky: yes17:03
toskyI guess I need to recheck the code, because I'm missing something17:04
*** kopecmartin has quit IRC17:17
*** tosky has quit IRC17:33
*** tosky has joined #refstack17:38
*** ekhugen has quit IRC20:18
*** ekhugen has joined #refstack20:25
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Filter deprecated versions out  https://review.openstack.org/56869520:55
*** tosky has quit IRC23:26

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