17:00:03 #startmeeting refstack 17:00:04 Meeting started Tue May 15 17:00:03 2018 UTC and is due to finish in 60 minutes. The chair is hogepodge. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:05 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:07 The meeting name has been set to 'refstack' 17:00:20 o/ 17:00:40 #link https://etherpad.openstack.org/p/refstack-meeting-18-05-15 agenda 17:01:36 going to give everyone a few minutes 17:02:31 o/ 17:03:42 #chair tosky 17:03:43 Current chairs: hogepodge tosky 17:03:55 #topic python-tempestconf 17:04:30 take it away tosky 17:04:57 as you may noticed on the IRC channel, there was a lot of work 17:05:21 the main goal being addressed is one of the stories coming from the PTG, namely 17:05:44 #link https://storyboard.openstack.org/#!/story/2001696 Refactor tempestconf in order to integrate with refstack_client tool 17:06:03 chandankumar is working on 17:06:06 #link https://review.openstack.org/#/c/541273/ Generate tempest.conf automatically using refstack-client 17:06:13 and other changes are related to it, for example: 17:06:19 tosky: the above is ready, still depends on https://review.openstack.org/#/c/567820/ and https://review.openstack.org/#/c/562672/ 17:06:26 #link https://review.openstack.org/#/c/567798/ Make tempestconf easier to use as an library 17:06:32 chandankumar: and also ^^ 17:06:39 chandankumar: because it will change the API a bit 17:07:03 uhm, sorry, I messed up the review numbers 17:07:13 tosky: the devstack zuul job is failing due to permission issue to write tempest.conf file in devstack job 17:07:25 tosky: the code is ready for testing, if we pull the patches 17:07:58 #undo 17:07:59 Removing item from minutes: #link https://review.openstack.org/#/c/567798/ 17:08:04 #link https://review.openstack.org/#/c/562672/ Make tempestconf easier to use as an library 17:08:36 the latter needs a rebase after other changes 17:08:53 chandankumar: yes, and the other patches are not (totally) ready 17:08:53 One help is needed here how to use pip3 here https://review.openstack.org/#/c/541273/42/tox.ini@14 when tox -e py35 is called 17:09:41 hogepodge: there was one more confusion related --os-cloud flag 17:10:18 so when refstack-client config --os-cloud will be used does, it needs to generate tempest account file? 17:10:37 since we donot to set expose credentials in tempest.conf 17:10:42 chandankumar: we can discuss about it later, are trying to install a package from git master? 17:10:55 tosky: yup 17:11:01 tempest will need to get the credential from somewhere 17:11:01 o/ 17:11:11 I think the choice is either tempest.conf or accounts.yaml 17:11:23 accounts.yaml is what isolates the credentials from tempest.conf 17:12:44 chandankumar: I'm not sure how to switch between pip and pip3, is there a variable that can be set to choose? 17:13:57 when os-cloud is used, we are taking credentials from os-client-config and dumping it in tempest.conf using tempestconf, the question stays the same, do we need to create accounts.yaml or better not expose --os-cloud with refstack-client? 17:15:03 I guess that we are talking about 17:15:17 #link https://storyboard.openstack.org/#!/story/2001693 Generate accounts.yaml when --os-cloud is used with python-tempestconf 17:15:21 ? 17:15:29 hogepodge: that would be doable adding small script under command section to export pip3 when py3 is ised 17:15:31 tosky: yes 17:16:12 chandankumar: re pip3: I think that the release team would probably advise to release a version of tempestconf and depend on it 17:16:42 tosky: that is also another option, I will check with them 17:16:46 with the normal requirements.txt 17:16:52 but yes, better check with them 17:16:57 +1 to that 17:18:16 chandankumar: refstack requires 'test_accounts_file' to be set up on tempest.conf 17:18:51 in this case accounts.yaml must exist or refstack-client will throw an exception 17:19:04 fortunately, there's already tooling that generates that 17:19:19 so the generation hopefully won't be awful 17:19:22 chandankumar: about --os-cloud: I think we may have discuss it already and I hope I'm not contradicting myself, but: 17:19:49 why should not we create accounts.yaml? What do you mean by "expose --os-cloud"? 17:19:55 what is the problem that you foresee? 17:20:27 I don't see any problem. If an cloud file exists, we have the necessary information to populate both accounts.yaml with credentials and tempest.conf with endpoints. 17:21:08 I'm looking at refstack-client if there is no account.yaml it can work with 'username' and 'password' under 'identity' section at tempest.conf 17:23:06 tosky: hogepodge we can create accounts.yaml from os-cloud, tosky last time we discussed on that but we were not able convince why we need accoints.yaml from os-cloud as tempest account-generaotr already does that 17:23:07 yeah, refstack-client isn't enforcing this. it's all tempest 17:23:23 that's why i wanted to confirm 17:24:37 that's it from myside 17:24:55 I'm confused as to why this is an issue. If we have tooling to generate the config we need it should all be fine. No need to reproduce what's already there. 17:25:11 uhm, tempest account generator creates new users, so it does not work if you have no admin credentials 17:25:18 at least checking https://docs.openstack.org/tempest/latest/account_generator.html 17:25:34 Oh yeah, it's different use cases. 17:25:47 tosky: yup it does not work with non-admin credentials 17:25:48 With tempest the presumption is your credentials are non-admin. 17:25:54 right. i forgot you needed admin for that 17:26:14 with case of os-cloud, we have already credentials 17:26:23 So you should pull the credentials from the cloud config and populate accounts.yaml and tempest.conf with the correct values. 17:26:45 chandankumar: we don't have necessarily admin credentials even with os-cloud 17:27:04 the credentials available through --os-cloud may not be admin 17:27:06 tosky: yes 17:28:19 we could discuss if the tempest account generator can be used internally by tempestconf to replace the custom code which creates the account, but that's unrelated to the present discussion 17:29:42 tosky: so, i think we need custom code to generate account.yaml from os-cloud in python-tempestconf 17:30:21 I think we're all on the same page now. custom code needed to generate account.yaml and tempest.conf from a cloud config file 17:31:10 umpf, network 17:31:25 sorry for the possible duplicate 17:31:55 chandankumar: not just from os-cloud; from the information that tempestconf has; you could pass the credentials from the command line too 17:33:52 ok, we good on this? 17:33:57 I would say yes 17:34:00 tosky_: so if we are using os-cloud or sourcing keystonerc file, in both cases, if accounts.yaml is need we can create 17:34:06 yes we are good 17:34:30 chandankumar: yes, the source is not really relevant 17:35:21 #topic refstack 17:35:48 thanks hogepodge tosky_ mguiney luzC_ for the inputs:-) 17:36:00 chandankumar: of course :-) 17:36:06 o7 17:36:15 some other refstack-clients patches in flight 17:36:47 luzC_: do you want to cover these? 17:36:50 #link https://review.openstack.org/#/c/564080/ Remove usage of tempest install_venv scripts 17:37:02 #link https://review.openstack.org/#/c/562956/ Refstack-client should use stestr for tempest testing 17:37:58 the first looks straight forward to me 17:39:45 looks like the second needs a bit of testing, but also looks like it covers old and new cases 17:40:17 I can try to test next week once my summit obligations are out of the way (need to finish writing my talk...) 17:40:39 mguiney: if you have a chance to user test them that would be great. 17:41:01 can do! 17:42:08 On RefStack, new guideline rendering merged 17:42:10 #link https://review.openstack.org/#/c/547246/ New Capability Sources (merged) 17:42:59 We should decide if we want to release now with that capability (and major version bump, since we changed an undocumented but still public API), or wait until the subunit patches land 17:43:09 #link https://review.openstack.org/#/c/530681/ RefStack Subunit Upload API 17:43:19 #link https://review.openstack.org/#/c/538786/ RefStack Client 17:43:23 mguiney: any comments? 17:44:10 still in flight, working through a few issues 17:45:01 oh wait no, thats the other one 17:45:25 im considering just modifying the existing subunit handling, rather than building a whole new thing 17:45:38 yeah? 17:45:42 it ocxurs to me that a full rebuold isnt neccesaary 17:46:06 i still need to finish teating that hypothesis, but we do have a subunit upload 17:46:28 *testing. apologies, tiny keyboard 17:47:32 but we already have a subunit upload, its just that it converts immediately to test result, which it shoulsnt newd to do, since we are switching over regardless 17:47:50 *shouldnt need 17:48:53 ah, ok 17:50:03 I thought refstack-client converted it client side. Where is the code to handle it server side? 17:50:59 its in the api utils 17:51:57 the core coversion utilities, that is 17:52:14 it makes more sense to convert it serverside, i think 17:52:40 otherwise youd have to send two separate payloads 17:54:22 ok. can you send pointers to me? 17:54:29 plus, if we maintain the front facing part of the clientside util, there will be no appreciable change for end users 17:54:38 absolutely. 17:55:32 just a few minutes left 17:55:56 last items, npm update, still need to work out a strategy for getting our javascript house in order 17:56:08 #link https://review.openstack.org/#/c/559459/ 17:56:33 Once all of these patches are in, we're probably going to put the server into maintenance mode unless there's a need for new features. 17:56:35 so the method suggested to me was to use webpack as well as one of its plugins 17:57:00 Ok, cool on that. 17:57:15 it looks like that may not even be neccessary, i'm just hunting down a few JS errors that are causing rendering issues 17:57:16 That seems like a common solution 17:57:57 Last three minutes, who will be at the summit? 17:58:00 i can try and make it work, but i'm a little baffled by the use of so heavy a tool to (as far as i can tell) simply copy the files into a more appropriate location 17:58:07 tosky_: chandankumar: luzC_ ? 17:58:33 mguiney: because why do something simple when you can use a framework to obscure it! ;-) 17:58:35 no summit for me 18:00:25 bummer 18:01:54 ok, that's it. Thanks everyone! 18:01:56 #endmeeting