19:00:15 #startmeeting refstack 19:00:15 Meeting started Tue Jul 18 19:00:15 2017 UTC and is due to finish in 60 minutes. The chair is catherineD. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:00:16 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 19:00:18 The meeting name has been set to 'refstack' 19:01:13 o/ 19:01:17 \o/ 19:01:34 o/ 19:02:47 chandankumar: Welcome to the RefStack team ! 19:02:59 catherineD: Thanks :-) 19:03:21 o/ 19:03:24 Let's wait for a couple minutes .. 19:03:39 #link meeting agenda and notes, https://etherpad.openstack.org/p/refstack-meeting-17-07-18 19:04:36 Alright let's start 19:04:55 #topic Run tool to update the verification field 19:05:09 currently in the middle of testing for that one 19:05:29 mguiney: great .. thx 19:05:58 Please make sure to take a copy before the real update 19:06:05 absolutely 19:06:12 Thanks 19:06:20 #topic subunit result files upload 19:06:53 there actually are a few things i wanted to bring up rgarding this one 19:07:07 chandankumar: please take a look at https://review.openstack.org/#/c/480298/ for background information 19:07:28 most importantly the way we want to manage the new data within refstack 19:07:59 catherineD: sure! 19:08:41 first we need to decide on the formats pls see 2.1.1, 2.12, and 2.13 in the agenda 19:09:05 we can discuss the pro and con of each option 19:09:34 ah yes 19:09:43 o? 19:09:48 o/ 19:10:37 sslypushenko_: Hi ... we have a new RefStack member joining us ... please meet chandankumar: 19:10:54 chandankumar: you are from RedHat right? 19:11:11 Hi chandankumar! Welcome to the team =) 19:11:37 sslypushenko_: we are now at topic 2: subunit result files upload 19:11:45 catherineD: yup, I am basically gatekeeper for tempest and its plugins for RDO and RHOS. 19:11:53 we are discussing the option to save the subunut data in RefStack 19:12:03 sslypushenko_: Thanks :-) 19:12:56 catherineD: it is hart decision 19:13:03 chandankumar: good then you must be familiar to subunit file and subunit2SQL 19:13:19 yes 19:13:51 sslypushenko_: absolutely ... l would like us to discuss the pro and con before making the best decision for RefStack 19:14:31 I don't really understand benefits from saving subunit data... but looks like hogepodge does 19:14:46 I trust that everyone knows why RefStack adopted to process the subunit data into a json file of on passed test for uploading to RefStack 19:15:44 sslypushenko_: yea we discussed a lot in the early days of RefStack/DefCore ... 19:15:46 Many companies reach out to get help with their tests, this gives me a place to receive that which is common and won't get lost like in email 19:16:19 but for today ... we already decide to implement it ... so we need to discuss the best way for implementation 19:16:30 This also allows for validation of test results. The json passed test list is really forged 19:16:47 Using a service is much more secure than plain text email 19:17:17 Basically, I'm pretty sure that it can be done without significant changes in RefStack security policy 19:17:35 so subunit2sql creates a DB to register the file as 1 execution plus each test case on that execution and whether or not it passed or failed... if it is used I see some duplication with current DB schema... 19:17:52 I like the idea of using a service instead of saving in a file 19:17:55 It's signed and transmitted over TLD, much better than email 19:17:58 For example we can encrypt subunit data before saving 19:18:49 I guess only Foundation admins really need access to these data 19:18:50 but the api will still receive the file just instead of saving it, it would be processed right? 19:19:06 sslypushenko_: I understand ... but we have discussed this and the direction today is to save the entire subunit data not just the passed test 19:19:31 catherineD: that is clear 19:19:51 I all cases we will need to to create REST APIs .. 19:19:56 so, lets save all the data, but in encrypted way 19:20:37 sslypushenko_: option is in what format do we save the data ... 19:20:53 in a file as is ? in DB? 19:21:07 if in DB separated DB or RefStack DB 19:21:11 I'm a big fan of storing in a db 19:21:26 DB should work good enough 19:21:55 and using a separate db vs a refstack db of whether it is worth the effort to reinvent the wheel, from what i have seen 19:21:59 luzC: hogepodge: pvaneck: your thoughts? 19:22:37 Object store will be more suitable here , but we don't have such option 19:22:38 +1 on the db 19:23:01 chandankumar: how about you? 19:23:02 DB, we have upstream tooling for it 19:23:21 I'm indifferent on single or separate 19:23:33 I am good with DB, but i am not sure with which DB, 19:23:43 #agreed The subunit data will be saved in database 19:23:54 +1 for separate database 19:24:05 +1 for separate database 19:24:38 But as above said using seperate db, we need to reinvent the wheel? 19:24:51 +1 for separate database 19:24:52 or using refstack DB we donot need to add extra stuff. 19:25:03 * chandankumar does not looked at refstack DB. 19:25:16 chandankumar: we don't ... this give us a path to eventually migrate to subunit2SQL 19:25:20 we would have to add a significant amount of tooling and 7 tables to refstack to keep it in the refstack db 19:25:35 mguiney: ++ 19:25:40 +1 for separate database 19:25:47 to use the internal db would require us to reinvent the wheel 19:26:00 for the DB path, it is cleaner with separated db 19:26:24 Go it, +1 with seperate DB 19:26:34 *got 19:26:42 agree on having a future path to have test results only on subunit2sql db, hence somehow deprecate that from current refstack db 19:27:17 catherineD do you refer to that wiht " a path to migrate to subunit2sql" 19:27:18 ? 19:27:42 luzC: yea that is the idea .. if we are goiing to do it now .. let do it in a way that it has a migration path in thefuture 19:27:48 luzC: yes 19:28:20 the reason we do not use subunit2sql before because we only want to save passed data ... 19:28:22 catherineD: totally agree 19:29:02 now that we decide to save everything it makes sense to use upstream tooling 19:30:24 #agreed Use subunit2SQL to save the entire subunit data in a separated db. 19:30:41 great .. thank you all! 19:30:44 excellent. I'll update the spec 19:31:07 This is much cleaner ... 19:31:21 since RefStack has a meta data table in place ... 19:32:19 Initiallty, we can add a key value pair to the meta data table to tie back the test in the new db to RefStack 19:32:41 sslypushenko_: the meta data table design comes in handy :-) 19:33:12 we do not need any change to the RefStack data model at this time 19:33:39 awesome. 19:33:41 catherineD: that was the main intention to have meta table) 19:34:00 sslypushenko_: yup .. 19:34:16 anything else to discuss? 19:34:49 if subunit will be the primary way to upload data, should probably have a reference in the refstack.test table to the subunit2sql.test_runs table to link the two in a more direct way 19:34:52 that was the main matter to be discussed on this patch for the moment 19:35:23 pvaneck: that link will be saved in the meta table for kow as a key-value pair 19:35:40 i do plan on fleshing out plans for what changes will need to be made to the api, but havnt gotten there yet 19:35:56 pvaneck: for phase 1, it is not the primary way to upload data ... but it may be in the future 19:37:52 sure 19:37:53 pvaneck: is it doable ? or should we go ahead adding a reference to the test table? 19:38:59 both are doable, but if all test runs are going to eventually be linked to a subunit2sql test set, then should probably make the reference first class 19:39:16 pvaneck: agree 19:39:39 ++ 19:39:58 for phase one let just do not change any data model in RefStack yet ... 19:40:08 can do 19:40:14 will update 19:41:06 we may learn more as time go by and when we decide to migrate we will make change at that time ... because we will need to change RefStack data model anyway .. 19:41:19 anything else? 19:41:48 alright ... 19:41:55 moving on 19:42:13 #topic Automated tempest.conf Create spec and flow chart 19:42:51 Daniel Mellado referred Chandan Kumar to work with us on this topic ... 19:43:48 I have tried python-tempestconf tool with refstack https://gitlab.com/snippets/1668319 19:44:16 I have gone through the notes mentioned here https://etherpad.openstack.org/p/refstack-pike-ptg 19:45:07 chandankumar: thank you 19:45:09 Recently we have recently introduced os-cloud-config as well as test account files. 19:45:30 as well as remove option to remove something which we donot want 19:46:25 Below is the list of things which is missing from the etherpad or not decided. 19:46:44 one of the main reason why RefStack user has issues with tempest config is because of the env 19:47:15 1. config tool does not generate config for volume but generates for volume api extensions. 19:47:46 2. It looks for flavors if got missing it will create it 19:47:59 that's it from myside 19:48:17 RefStack test cloud that are built and maybe customized by the provider .. a lot of the default & assumption that exist in devstack are not applicable 19:48:24 catherineD: you mean env = openstack deployment environment 19:48:29 yes 19:49:46 catherineD: python-tempestconf really need love to satisfy the different cloud env customization 19:49:54 a good trial may be built a RDO env from scratch and see how the tempest.config shoudl be built 19:50:08 chandankumar: ++ 19:51:11 catherineD: we generally run tempest config tool with tripleo https://github.com/openstack/tripleo-quickstart-extras/blob/master/roles/validate-tempest/templates/configure-tempest.sh.j2#L135 19:51:30 in tripleo ci against periodic tempest jobs 19:52:03 not all variable can be discovered ... and even that the variables are discovered .. often those may involve choices that a user need to make 19:52:27 catherineD: yes, correct. 19:52:42 for example in an environment that have 2 fix netwoks .. which one should be used? 19:53:56 anyway let us review https://gitlab.com/snippets/1668319 and we can discuss some more next week 19:54:08 #action everyone please review https://gitlab.com/snippets/1668319 19:54:15 currently if we have the multiple networks there is an options --network-id through which can specify network we want to use. 19:54:44 catherineD: what are the action items from here? 19:54:51 chandankumar: correct ... so a human being will have to do that by editing the config file ... 19:55:29 for me I want to see how https://gitlab.com/snippets/1668319 works 19:56:21 the goal is to ease user pain when starts with RefStack test ... 19:56:46 those users are usually not very familiar with Tempest . 19:57:54 for me this is a very hard task .. thus we still do not have a good solution so far .. 19:59:04 we are about to run out of time ... 19:59:18 let's move on .. we will revisit this topic next week 19:59:25 yup 20:00:01 everyone please review the patches listed in the pending review section 20:00:10 thank you all !!! 20:00:20 bye 20:00:27 I am glad that we had made the decision for the subunit format 20:00:29 have a good day, y'all! 20:00:31 bye everyone 20:00:42 glad to have updates so i can move it forward 20:00:46 #endmeeting