Monday, 2018-06-18

*** lifeless has quit IRC04:52
*** kopecmartin has joined #refstack07:04
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Updating object-storage.operator_role  https://review.openstack.org/57550107:12
*** tosky has joined #refstack07:36
kopecmartintosky, chandankumar arxcruz any idea how to find out all attributes needed for user creation in older OpenStack releases?07:49
kopecmartinhttps://github.com/openstack/python-tempestconf/blob/master/config_tempest/users.py#L11107:49
kopecmartinbecause tenantId doesn't seem to be right07:49
kopecmartinand upstream developer.openstack documenation is absolutely useless, I don't know, why they don't keep the doc for older releases too07:50
arxcruzkopecmartin: https://developer.openstack.org/api-ref/identity/v3/#create-user07:51
arxcruzkopecmartin: users_client is v307:51
kopecmartinarxcruz, yeah, i found that, so we know, the attribute is deprecated for the current release, how do i find out, when it was used last time?07:52
arxcruzgit history?07:53
kopecmartinthat could take forever :/07:53
toskywell, if it's just something from API v2, go back to a commit before the removal of API v2, regenerate its documentation locally with tox -e api-ref or so, and read it07:55
kopecmartintosky, ach, wouldn't it be great, if the documentation would be kept on the web and not removed? :D07:59
kopecmartinbut thanks, I'm gonna try it07:59
toskykopecmartin: previously the documentation for past releases was now kept, but this was changed during Denver08:37
toskythat said, this is not the documentation of a past release, but an API reference for a past release08:37
toskyand this was not exactly covered08:37
toskybetter ask on #openstack-doc08:37
*** lifeless has joined #refstack08:55
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: WIP: Replace tenant by project, part 2  https://review.openstack.org/57523309:11
*** rmart04 has joined #refstack09:37
arxcruzshit man10:02
*** lifeless has quit IRC10:03
*** lifeless has joined #refstack10:04
openstackgerritMerged openstack/python-tempestconf master: Fix boto method  https://review.openstack.org/57521310:08
*** szaher has joined #refstack10:54
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Updating object-storage.operator_role  https://review.openstack.org/57550110:59
arxcruzkopecmartin: http://logs.openstack.org/01/575501/3/check/python-tempestconf-tempest-devstack-demo/29ca66b/job-output.json.gz and http://logs.openstack.org/73/574773/7/check/python-tempestconf-tempest-devstack-demo/b3747cd/job-output.json.gz11:00
arxcruzkopecmartin: two diferent patches, one the admin tests run, and fails11:00
arxcruzthe other is being skipped11:00
arxcruzi don't know what's wrong11:00
arxcruzon devstack-demo admin tests shouldn't run11:00
arxcruzkopecmartin: is there a way to check if the user is admin or not in python-tempestconf ?11:00
arxcruzbrb, get my daughter at school11:00
chandankumarhogepodge: mguiney tosky kopecmartin please have a look at refstack patch https://review.openstack.org/#/c/541273/11:07
toskyafter kopecmartin verifies that his issues were addressed11:08
toskyenough things to do at this point11:08
*** lifeless has quit IRC11:10
arxcruzback11:37
arxcruztosky: is there a way to identify if tempestconf is running as admin or demo ?12:58
* arxcruz don't know too much about identity stuff12:58
tosky*with* admin or with demo? Not sure either12:59
toskythe roles are only a collection of capabilities iirc, so you should try to do something to see if you can really do it12:59
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Use healthcheck api to determine swift service  https://review.openstack.org/56886914:04
arxcruztosky: chandankumar I took liberty to use chandankumar patch to set the operator_role because some logic was required that would be duplicated on chandankumar patch, and his patch was already on the way14:05
arxcruzalso, i add an except when creating the roles because was throwing exceptions.conflict14:05
toskyno problem with fixing it14:06
arxcruzi'll abandom my patch14:07
arxcruztosky: my change to ResellerAdmin was to test the demo test14:07
toskyI see14:07
arxcruzit seems if we set admin you must have admin credentials14:08
arxcruzif we don't and try to use admin, it will fail14:08
arxcruzso now, chandankumar is priority, because we are blocked in the production chain :)14:08
arxcruztosky: I also notice some exceptions.conflict so I took the liberty of add a try/except14:09
arxcruzso if you guys have chance, please review14:09
toskybut right now keystone is a bit borked anyway, and that's going to break more14:10
toskyI mean, I'm busy with a bigger breakage14:10
arxcruztosky: no problem, let's wait the check jobs, if pass, please review when you have time14:11
arxcruzkopecmartin: you too14:11
toskysure, check jobs are good to wait for anyway14:12
toskyand also RDO CI jobs14:12
toskyso that compatibility is not broken14:12
* kopecmartin is back, checking the chat14:40
*** rmart04 has quit IRC15:02
mguineyo/will take a look15:36
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Use healthcheck api to determine swift service  https://review.openstack.org/56886916:01
arxcruznice, just realize you can't run swift tests if you're not admin16:05
kopecmartinarxcruz, what are those reviews you mentioned? I can review in the evening if gates are still running now16:06
toskyarxcruz: about that patch: why set service_available false in the set_default_tempest_option?16:07
toskylater, tempestconf will go through all services and set service_available explicitly16:07
toskyso if you want to make sure that it's set to False, maybe setting it in set_default_tempest_options is not the best choice16:09
*** kopecmartin has quit IRC16:12
arxcruztosky: if you don't have permission to create roles, you can't run swift tests16:17
arxcruzit's failing because swift requires admin role16:17
arxcruztosky: and i just realize that now16:17
arxcruztosky: may i ping you later to review this patch? it's blocking promotion...16:21
toskyarxcruz: -1 already16:21
arxcruzlol16:21
toskyarxcruz: you can't run *any* tests without admin permissions? I don't think so16:21
toskyyou just need the specific swift role, iirc16:21
arxcruztosky: nope, when you enable swift, the tempest.api.admin.object_storage start to run and fails16:22
toskyI was able to run swift tests for sahara with a demo user, which could not run swift commands by default, just adding the proper swift role16:22
toskyof course tempest.api._admin_ fails16:22
toskythat should fail for everything if you are not admin, not just object-storage16:22
toskynot unexpected16:23
toskyadmin tests should be run only by admin16:23
openstackgerritArx Cruz proposed openstack/python-tempestconf master: Use healthcheck api to determine swift service  https://review.openstack.org/56886916:31
arxcruztosky: i think you're right, update16:31
toskyarxcruz: thanks; did you know that a recent change in keystone changed the defaults a bit, and member should be basically the same as Member (i.e. the lowercase version is the primary one)?16:49
toskyor something like that16:49
toskyit broke few things16:51
toskyarxcruz: see comment 2 on https://bugs.launchpad.net/horizon/+bug/177735916:51
openstackLaunchpad bug 1777359 in OpenStack Dashboard (Horizon) "Unable to create a project from horizon on devstack" [Undecided,New] - Assigned to Lance Bragstad (lbragstad)16:51
toskybut not sure if it should work with older versions too16:51
toskylet's see the gates16:51
arxcruzwell, at least lance is a very nice guy to fix these problems :)17:39
arxcruztosky: https://review.openstack.org/#/c/572243/17:40
toskyarxcruz: yes, that's the function for which I proposed a revert (see last comment)17:40
tosky:D17:40
toskyif you want to read all the fun, check the logs of #openstack-keystone starting from this (our) morning17:41
arxcruztosky: no, all i'm thinking about now is my trip to brazil on friday :D17:41
toskyoh, good too17:41
toskybut you can read the logs on the plane17:41
toskyinstead of watching bad movies17:42
tosky:D17:42
arxcruzlol i already have a collection of tv shows to watch17:44
arxcruzthat i'm missing17:44
arxcruzlegion, colony, the expanse17:44
arxcruzplus, skyrim on nintendo switch17:45
*** rmart04 has joined #refstack19:25
*** lifeless has joined #refstack19:26
*** rmart04 has quit IRC20:05
*** lifeless has quit IRC21:21
*** lifeless has joined #refstack21:22
openstackgerritMartin Kopec proposed openstack/python-tempestconf master: Replace tenant by project, part 2  https://review.openstack.org/57523322:13
*** lifeless_ has joined #refstack22:32
*** lifeless has quit IRC22:32
*** ekhugen has quit IRC22:55
*** ekhugen has joined #refstack22:59
*** lifeless_ has quit IRC23:05
*** lifeless has joined #refstack23:06
*** tosky has quit IRC23:20
*** lifeless has quit IRC23:43
*** lifeless has joined #refstack23:46

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