08:00:53 #startmeeting Functest weekly meeting November 22th 2016 08:00:53 Meeting started Tue Nov 22 08:00:53 2016 UTC. The chair is jose_lausuch. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:00:53 Useful Commands: #action #agreed #help #info #idea #link #topic. 08:00:53 The meeting name has been set to 'functest_weekly_meeting_november_22th_2016' 08:00:58 #chair HelenYao SerenaFeng juhak 08:00:58 Current chairs: HelenYao SerenaFeng jose_lausuch juhak 08:01:06 #topic role call 08:01:16 #info Juha Kosonen 08:01:20 #info Helen Yao 08:01:31 #info agenda for today here: https://wiki.opnfv.org/display/functest/Functest+Meeting#FunctestMeeting-22/11(8UTC) 08:01:38 #info previous minutes: http://ircbot.wl.linuxfoundation.org/meetings/opnfv-functest/2016/opnfv-functest.2016-11-15-08.01.html 08:01:54 #info SerenaFeng 08:03:08 #topic Action point follow-up 08:03:22 morgan is not in today, I will post some info he gave me 08:03:28 #info AP: morgan_orange remove ref to hardcoded ruby version => done. No problem planned unti we retry to launch vIMS case... 08:03:43 #info AP: morgan_orange answer Bitergia: done, wait for cost/negotiation with LF...wait & see... 08:04:07 #info AP: HelenYao jose_lausuch SerenaFeng check if things could work with docker compose 08:04:15 I think we didn't do much about this 08:04:29 I don't work on it last week 08:04:42 I think docker compose is suitable for running container in a batch 08:05:31 it could run the test cases by just 1 call 08:05:52 it's an alternative to docker remote api, maybe 08:05:57 let's keep that activity 08:06:05 #action HelenYao jose_lausuch SerenaFeng check if things could work with docker compose 08:06:32 #info AP: jose_lausuch HelenYao have a look at building the docker image with Alpine 08:06:44 HelenYao: you started looking into Alpine, right? 08:06:52 I did some tests, but didn't manage to install much :) 08:07:02 instead of apt get, it uses apk 08:07:08 and not all the libraries are the same 08:07:14 but didn't have much time to look into it 08:07:15 I played with Alpine and got a problem with building the image 08:07:26 the only think I can tell is that we save ~200 MB of OS 08:07:38 yeah, i found all alternative apk packages for apt-get 08:08:01 #info still in investigation, using Alpine is not compatible with what we have over Ubuntu and need some modifications 08:08:04 size is one matter, i am a bit worried about the package support 08:08:40 we also need to do a + and - analysis against alpine 08:08:46 do you think we won't be able to find all the packages we need? 08:09:18 we may find all of them. we will still hit detailed problem of package usage 08:09:34 such pip problem that I am running into 08:09:48 i still need to look a closer look at it 08:10:02 ok 08:10:13 #action HelenYao jose_lausuch continue Alpine study 08:10:14 thanks 08:10:31 #info AP: juhak troobleshoot new errors on rally launch on stable branch 08:10:38 was already corrected by Michael Polenchuk, https://gerrit.opnfv.org/gerrit/#/c/24353/ 08:10:52 #undo 08:10:52 Removing item from minutes: 08:10:56 #info AP: juhak troobleshoot new errors on rally launch on stable branch. DONE 08:11:06 great 08:11:27 #topic SNAPS integration in new tier 08:11:41 unfortunately, Steven is not here due to the time zone 08:11:56 there is a patch from him 08:11:56 https://gerrit.opnfv.org/gerrit/#/c/24519/ 08:12:16 he wanted to create a new tier (See email discusson) 08:12:33 at least we know something clear 08:12:56 #info SNAPS is not written for Apex, it can work on any OpenStack environment. 08:13:05 will will use SNAP 08:13:09 #info The SNAPS tests are not even NFV specific (at this point) and have been designed to be generic in nature. 08:13:20 so 08:13:36 the idea he had is about creating a healthcheck based on SNAPs 08:13:40 to replace our bash script 08:13:45 I think it's a good idea 08:14:03 the only problem for example is that in some scenarios floating-ips is not supported 08:14:17 healtcheck doesn't look at floating-ips 08:14:26 and Steven created a flavor of the test case without floating-ips 08:14:48 SerenaFeng: we could replace some of the api calls with SNAPs 08:14:55 I agree 08:15:00 the idea for Danube is to still keep our openstack utils 08:15:05 but start using snaps 08:15:11 for some things 08:15:15 like healtcheck, vping maybe 08:15:19 as we are in the process of intergrating SNAPS, it's ok to have a tier only for testing purpose. once it is fully integrated, i think SNAPS will not visible to user as it only takes cared of IaaS 08:15:28 but I don't know whether we will use SNAP as a 3rd party library or a new feature? 08:15:41 snaps is not a feature 08:15:50 it's another tooling for testing 08:15:59 it doesn't implement new features or functionality 08:16:05 so I don't think we need to assign a new tie or testcase to it 08:16:11 only libraries that are useful for making api calls 08:16:18 and write test cases 08:16:23 yes, that was Morgan's view and mine 08:16:41 we need to support a way to switch between snaps and current implementation 08:16:47 shall we agree on including SNAPs healthcheck in an existing tier? 08:17:23 I agree 08:17:37 my idea was to place it in the healtcheck tier 08:17:38 I think we can create a health check using snaps to substitute the current one 08:17:45 yes 08:17:48 he did it :) 08:18:00 but I'd like to run both before we replace it 08:18:07 so we can run both for now 08:18:16 and when we see it's stable, we remove our bash 08:18:18 good to run both for now 08:18:27 do you all agree? 08:18:35 yes 08:18:37 agree 08:18:43 yes 08:19:57 #agreed: using existing Tier for the SNAPS healtcheck, probably in the "healthcheck" tier (need to check duration of the test) 08:19:59 thanks 08:20:30 #topic Replace nova/neutron/glance... client api calls by openstack client 08:20:48 we have a dilema now 08:21:04 I think we agreed on keeping our openstack_utils library for Danube 08:21:09 so 08:21:25 shall we work on re-writting it a bit so that it's more consistent? 08:21:48 Shell.py is more complicated than we can think of. It 08:21:48 https://github.com/openstack/python-openstackclient/blob/master/openstackclient/shell.py 08:21:48 i think release schedule comes first 08:21:58 #info HelenYao proposed using openstack_client for things that can be done through it (creating image, creating user, tenant, network, ....) 08:22:18 we may have option A and B on hand 08:22:43 option A: leverage openstack_util as it requires much less work 08:23:04 you can info that :) 08:23:08 option B: leverage python-openstackclient for long term support 08:23:34 #info we may have option A and B on hand;option A: leverage openstack_util as it requires much less work;option B: leverage python-openstackclient for long term support 08:23:35 how about using Restful api directly? 08:23:47 I think that is another option 08:24:06 #info modifying openstack_utils implies modifying all the test scripts using that module 08:24:11 what restful api? 08:24:33 with curl and so on? 08:24:34 SerenaFeng: it requires more work as client is calling rest api actually and it does some chaos work 08:24:35 openstack Restful apis expose to outside 08:24:36 no client 08:25:14 we need to take care of authentication, and going thru all APIs to finish a flow 08:25:16 but that is what the python clients do underneath 08:25:21 why should we re do the work? 08:25:33 jose_lausuch: agree 08:25:36 I think Restful apis is little bit stable compared to clint 08:25:54 maybe using openstack_client is stable enough 08:26:07 we can see... 08:27:08 SerenaFeng: could you write an example of usage of the rest api? for example to get a token, create a glance image or something? 08:27:10 ok, just a suggestion 08:27:13 (not now) 08:27:30 and then we can see how much effort would be changing everything 08:27:31 ok, I will do the investigation 08:27:44 if we are able to use openstack_client to fully replace openstack_util, we won't hit API version upgrading problem in the future 08:27:44 let's see which one is more convenient 08:27:52 also, we need to change the way we return values in openstack_utils 08:28:29 #info HelenYao jose_lausuch try to work together to use openstack_client and replace all the functions in openstack_utils 08:28:34 HelenYao: I think we can split the work 08:28:40 sure 08:28:52 https://git.opnfv.org/functest/tree/functest/utils/openstack_utils.py 08:28:59 there are different sectons 08:29:22 how about you cutting the cake 08:29:28 nova / glance / neutron / sec.groups / cinder 08:29:30 you are more familiar with it 08:29:34 keystone 08:29:40 mmmh 08:29:52 the biggest task is neutron 08:30:04 and nova 08:30:12 how about start with nova and glance 08:30:23 yes 08:30:37 #info start modifying nova a glance 08:30:42 I'll create the JIRAs 08:30:46 so we can split the work a bit 08:30:50 sound great 08:31:19 #info code affected: all the scripts in functest, sfc (own repo), sdnvpn (own repo) 08:31:25 we have to be careful 08:31:29 we can break other test cases 08:31:45 for example, sdnvpn uses these functions, but the code is not in functest 08:31:51 but I'll take care of it 08:31:57 we might have some disruption 08:32:06 what about creating a second openstack_utils? 08:32:09 we can create multiple files 08:32:09 and keep this one 08:32:12 yes 08:32:13 exactly 08:32:44 I can use a separate file such as openstackclient_utils 08:32:50 ok 08:33:05 I think nova_utils.py 08:33:07 my typo 08:33:14 neutron_utils.py would be better 08:33:21 sounds good 08:33:30 openstack_utils.py is too big 08:33:40 #info create different files for each function (neutron_utils.py, nova_utils, ...) 08:33:48 let's create 08:34:03 yeah. splitting the module will make it easier to maintain 08:34:08 functest/utils/openstack/ 08:34:09 functest/utils/openstack/nova_utils.py 08:34:09 functest/utils/openstack/neutron_utils.py .. 08:34:46 ok. could you help to submit the patch? I can continue to work based on you 08:34:50 sure 08:35:15 #action submit a patch with a new directory "openstack" functest/utils/openstack/ to put all the new utils 08:35:35 nova_utils.py or just nova.py 08:35:41 we already have the name "utils" 08:35:47 nova.py is fine 08:35:53 nova.py 08:36:08 so we will do: import functest.utils.openstack.nova orimport functest.utils.openstack.* 08:36:12 ok 08:36:22 awesome 08:36:23 awesome 08:36:26 :) 08:37:09 no more topics, but let's see other business 08:37:11 #topic AoB 08:37:22 I will put some info I got from Morgan 08:37:24 I submitted a patch, could you help to review 08:37:25 https://gerrit.opnfv.org/gerrit/#/c/24619/3 08:37:44 such a big patch :) 08:37:44 sure 08:37:48 it is about the path mgmt, 08:37:52 yeah 08:37:55 it will take some time 08:37:58 the path is everywhere 08:37:59 I hope I can do it today 08:38:04 good idea 08:38:06 no hurry 08:38:35 i hope it can be fully reviewed before merging to the master 08:38:36 #info patch https://gerrit.opnfv.org/gerrit/#/c/24619/3 to avoid path problems. Review all 08:38:52 and vping adaption is ok for reviewing now 08:39:07 #action all review vping refactor and merge 08:39:15 SerenaFeng: can you put the link? 08:39:17 #undo 08:39:17 Removing item from minutes: 08:39:27 jose_lausuch: a side question about adding the reviewer, how to use your group on gerrit? 08:39:31 #link https://gerrit.opnfv.org/gerrit/#/c/24541/ 08:39:35 #action all review vping refactor and merge https://gerrit.opnfv.org/gerrit/#/c/24541/ 08:39:37 thanks 08:39:38 i cannot set the value as you created in gerrit 08:39:54 HelenYao: you can start typing "functest.." and you'll see the group 08:39:58 currently, i add reviewer one by one 08:40:19 when you add a new person 08:40:26 if you type functest, don't you get functest-contributors ? 08:40:34 no 08:40:36 strange 08:40:41 I can 08:40:45 I can 08:40:47 SerenaFeng: juhak: ? 08:41:03 i've been adding one by one... 08:41:18 juhak: aha, but don't you have the alias automatically? 08:41:41 i'll check 08:41:55 maybe it's a commiter right, not sure 08:42:19 i checked just now. there is no functest-contributors when adding a review 08:43:25 I can see both functest-contributor and functest-committer 08:43:48 HelenYao: when you become commiter you'll be able to see it :) 08:44:21 yes, I see both functest-contributor and functest-committer too 08:44:31 but I think at least the contributor can see functest-contributor group 08:44:54 can you see this? https://gerrit.opnfv.org/gerrit/#/admin/groups/37 08:45:10 strange. i can stay with the current 08:46:27 #info from Morgan: regarding Domino: I made the change and merged without testing. It seems that it runs but the satus is seen as failed. As far as I remember it was SKIP as it is not possible to connect 08:46:40 jose_lausuch: i can see it 08:46:48 #link https://build.opnfv.org/ci/view/functest/job/functest-joid-baremetal-daily-master/lastFailedBuild/console 08:47:00 #info EPIC done for the 2 interships security groups & VNF catalog 08:47:05 aha 08:47:17 I use Morgan's code, it not work 08:47:19 #info we have an intern for our VNF catalog activity 08:47:23 I think I know the problem 08:47:28 ok 08:47:33 he is back on Thursday 08:47:43 if it is a quick fix, could you help? 08:47:56 yeah 08:48:09 I can correct it 08:48:14 #action fix Domino test case in CI 08:48:17 thanks 08:48:20 one sentence is wrong 08:48:30 which sentence? 08:48:44 args = parser.parse_args() 08:48:49 ah ok 08:48:55 it should be args = vars(parser.parse_args()) 08:49:10 it seems it's a quick fix :) 08:49:16 in args = parser.parse_args(), args is a namespace 08:49:21 not a mapping 08:49:29 ok 08:49:56 #info mail sent on Testing priority 08:50:10 #info patch on exceptions and constants open and ready to be merged (no risk..but more +2/+1 would be interesting) https://gerrit.opnfv.org/gerrit/#/c/24517/ 08:50:43 #info Orange POD2 lab is not available (we were refactoring it) - and due to the tempest we got power supply issue since this week end...no more power in our experimental DC 08:51:05 I don't have more to share 08:51:09 any other thing? 08:51:19 no from me 08:51:31 after working on parser and vping 08:51:32 ah! 08:51:42 I want to enrich TestcasesBase a little bit 08:51:44 #info jose_lausuch juhak attending the plugfest/hackfest :) 08:51:58 congrats 08:52:08 SerenaFeng: sure, feel free. I think Morgan wanted to work on the TestCaseBase for VNFs 08:52:19 to abstract some common processes 08:52:20 good to see you there! 08:52:24 ok, thanks 08:52:48 juhak: yess, I think we will need help from SerenaFeng to setup a TEST DB for the plugfest 08:53:09 I have a ansible script in qtip 08:53:20 it is very easy to deploy a testapi now :) 08:53:25 cool 08:53:31 could you teach us? 08:53:39 using mongo container and testapi container 08:53:53 sure 08:54:00 thanks 08:54:09 we will ask you questions soon :) 08:54:17 the code is in /qtip/opt/servers 08:54:52 modify inventory 08:55:19 SerenaFeng: great work 08:55:34 i tried to deploy testapi before and it was really easy 08:55:36 yes 08:55:46 then run ansible-playbook ssh.yml/testapi.yml/mongo.yml/ngnix.yml 08:55:58 very easy, I will send a email later 08:56:06 ok 08:56:12 thanks a lot 08:56:12 thanks 08:56:23 if we don't have more topics, we can close the meeting 08:56:32 it is very difficult to explain it in simple code 08:56:35 ok? 08:56:45 ok 08:56:49 :) 08:57:06 thank you all 08:57:10 keep the good work 08:57:15 #endmeeting