08:00:00 #startmeeting storlets 08:00:00 Meeting started Tue Nov 1 08:00:00 2016 UTC and is due to finish in 60 minutes. The chair is eranrom. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:00:02 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 08:00:04 The meeting name has been set to 'storlets' 08:00:17 Hi 08:00:26 o/ 08:00:50 takashi: Hi. Shell we start? 08:01:07 kota_: around? 08:01:50 takashi: Do you know if he planned on joining? 08:02:13 here 08:02:21 kota_: Hi. 08:02:26 ok, lets start. 08:02:40 hi eranrom, just finished the previous meeting 08:02:40 eranrom: yes :-) 08:02:46 I have one topic for today: 08:03:00 #topic use destack for s2aio 08:03:34 At the summit, we agreed that the next step in the big-tent work would be to get rid of 'apt-get install keystone' 08:04:18 I figured out that the best way to do that is to use devstack (with keystone and swift only) instead of the current 'proprietary' swift/keystone Ansible installation scripts 08:04:26 eranrom: Do you mind if I explain some context for that to kota_? 08:04:38 takashi: sure, please do 08:04:48 eranrom: thanks 08:05:05 akihito: hi 08:05:24 kota_: As I told you before I'm hitting a permission problem in my packaging work 08:05:24 akihito: hi 08:05:27 akihito!!! 08:05:30 Sorry for the delay 08:05:40 Hi! 08:06:08 takashi: liberasurecode? 08:07:50 takashi: no. I forgot the precise name, but something like crypto 08:08:00 ^^^^ not for me, but for kota_ 08:09:02 which is caused by duplicate install about the package by apt and pip 08:09:42 As you advised me, I stoped to install requirement.txt for functional testing, but it can not be the solution because it seems to be required by python-keystoneclient, which is in test-requirements.txt 08:10:00 s/it seems/that crypto package seems/g 08:11:02 That's why we are currently trying to get rid of apt installation. 08:11:29 I didn't get yet why that causes using devstack? 08:11:49 I don't have opposite but wondering 08:12:18 kota_: It just seems the easiest way to install keystone without taking care of many dependenies. 08:12:54 trying to do "pip install ." from a freshly checkout keystone master does not seem to work. 08:13:22 that is, the install finished successfully, but nothing actually runs due to missing deps 08:13:23 eranrom: how about stable/xxx release? 08:13:36 of keystone? 08:14:06 yup 08:14:20 i think we have a couple of problems 08:14:30 A. installation, B. setup 08:15:02 kota_: you mean installation and setup of keystone? 08:15:09 eranrom: yes 08:15:43 kota_: well, devstack takes care of both (with some config nobs as well) 08:15:53 eranrom: maybe? 08:16:08 kota_: takling about the test for stable release, you can sepcify which tag/branch for each project do you checkout in devstack 08:16:27 i think devstack should work for both keystone installation and setup independently 08:17:18 regarding stable/release, the keystone docs specifically state that the keystone repo does not take care of deps. see note here: http://docs.openstack.org/developer/keystone/installing.html 08:17:26 but the problem takashi got seems virtual env installation on the keystone-installed environment??? 08:18:22 that doesn't seem to be related to the way (whether using apt or devstack). 08:18:24 kota_: oh, so you were saying that if takashi used stable/XXX for keystone that conflict between apt and pip would have been gone? 08:18:38 eranrom: yup 08:18:59 exactly, using devstack is an easy way to intallation/setup 08:19:15 but the environment should be similar with installed by apt 08:19:41 the keystone will be setup-ed in the out of virtualenv? 08:20:31 kota_: Apologies the ignorance, but does devstack install in a virtual env? 08:20:32 I cannot cleary say which way is the best though. 08:20:40 idk 08:20:59 devstack creates virtual env for each services, so keystone is installed in one virtual env, and swift is installed in the other env (if we also install swift in devstack) 08:21:25 takashi: you're wise 08:21:55 takashi: that is the idea. with devstack we also get for free additional distros, and no longer need to maintain our own install scripts 08:21:59 that mean, storlets also cannot use the keystone virtualenv? 08:22:32 takashi:^^ 08:23:19 kota_: still need some more look, but maybe no 08:23:31 interesting 08:23:33 kota_: takashi: does it matter? 08:23:55 that is if storlets can use the keystone virtual env? 08:24:10 i think what we need is to install keystone-client module in the virtual env, right? 08:24:26 s/the virtual env/storlets virtual env/ 08:24:29 kota_: right 08:25:40 ah, it might work if duplicated installation for keystone-client to both keystone server virtual env and storlets virtual env 08:26:00 and no installtion to outside python. 08:26:13 takashi: that's what you'd like to do? 08:27:05 kota_: yes, and the important point here is that if we install keystone in virtualenv, we don't need 'sudo' anymore for installing keystone 08:27:53 The current problem seems to be caused when we install one package in root (by apt), and again install the same package in non-root (by pip) 08:28:27 takashi: that looks a bit far from the fact, that avoids the installation from storlets anymore, right? IIRC? 08:28:40 s/IIRC/IIUC/ 08:31:09 kota_: oh, yes. 08:31:26 (or just, keeping as reference scripts) 08:32:27 So are we in agreement for going the devstack way? 08:33:00 could try 08:33:18 but we have some tasks to consider 08:33:39 how we're migrating the test environment to devstack gate 08:34:39 kota_: Well, currently, I am not looking at moving the storlets installation to devstack, only using devstack to install swift and storlets as part of s2aio. 08:34:48 kota_: unless I am missing here something. 08:35:35 eranrom: k 08:35:44 eranrom: my point is 08:35:59 how to set up the gate job 08:36:32 kota_: we already have a gate job that calls s2aio followed by calling the functional tests 08:36:33 now we're using s2io setup script in the functional test gate job and it stops takashi's work 08:37:15 kota_: At the first point, we can call stack.sh from s2aio.sh 08:37:19 the next step is adding devstack job to run functional? I'm not sure it works or not. 08:37:41 and keep using current func test setting 08:38:00 takashi: ah, you mean, we are including devstack dependency to current storlets master? 08:38:33 kota_: yes 08:39:05 Is that a problem? 08:39:50 to be honest, i don't like that way because it increases extra dependencies which we don't need in production 08:40:45 i thought, just running storlets setup and functional on devstack vm instead of adding dependency to storlets repo. 08:40:58 kota_: this is only used in the s2aio script, which IMO, is not actually used in production 08:41:13 that should be crearly separated from our repo. 08:41:52 kota_: FYI, some openstack projects like magnum has a devstack plugin in their repo, which is used for testing purpose 08:41:59 s/has/have/g 08:42:10 takashi: but swift doesn't 08:42:34 kota_: That's because swift is totally cared in devstack and don't need any additional plugin 08:42:53 ok, what do we mean by having dependency on devstack? 08:43:01 takashi: what's additional plugin? 08:43:33 kota_: something like this https://github.com/openstack/magnum/tree/master/devstack 08:44:19 Nova, Cinder or other 'core' projects do not have this kind of things, because they are taken care by devstack totally. 08:45:01 But young projects sometimes have this kind of additonal install framework for testing in their own repo 08:46:32 So for me, it seems reasonable to have installation framework for testing in our repo. Of cause we should mark them for 'testing purpose', not for production. 08:47:02 takashi: I'm now confusing 08:47:13 Recently, devstack plugin is main stream. Heat moved devstack plugin from devstack itself 08:47:44 takashi: you said, we need to call stack.sh in the s2io.sh but the plugin looks to be prepared when devstack setuping 08:48:11 takashi: I think just making preparation for setuping for devstack, that looks good 08:48:42 yuanying_: and I think we should do the same as a next step. However, I think that we are currently trying to settle some other misunderstanding. 08:49:01 takashi: but I'm feeling that's bad to make install script via devstack (meaning fetch devstack and calling stack.sh) . 08:49:27 eranrom: that's what I'm feeling > misunderstanding. 08:50:28 kota_: sorry. I think this is a first step that should be followed by having a storlet devstack plugin 08:50:48 eranrom: sounds reasonable 08:50:54 maybe the steps are 08:51:05 eranrom: +1 08:51:28 1. making plugin, 2. making devstack gate which can run with plugin (this should be successful) and then 08:51:45 3. making a package which can run in the env 2 08:52:28 maybe 4. set the 2, 3 to voting job and deprecate current env or set as non-voting? 08:52:40 kota_: do you mean to add another gate job which runs over devstack installation? 08:52:49 takashi: sur 08:52:50 sure 08:53:23 which can run successfuly with your new packaging? 08:53:54 otherwise, current gate job should fail forever? 08:53:59 am i missing something? 08:54:04 kota_: 2 questions. 08:54:24 because current gate envrionment for functests is not on devstack, IIRC. 08:54:34 eranrom: go ahead. 08:54:35 1. This means that we cannot land Takashi's work until we are done with step 2 08:55:20 eranrom: for 1, i think so. 08:55:28 2. In the suggested steps, where do we place the functional tests? 08:56:17 eranrom: are you talking about the way to run functional tests over devstack? 08:56:38 (the way to kick our functional tests over devstack 08:56:39 takashi: yes. 08:56:39 eranrom: for 2, functests will run in current env until step 2, and since step 2 functests will run both environment 08:57:01 and then, after step3 or at the same time, we will stop to run functests in the current environment. 08:57:42 i think 08:58:05 ok, I think I gotcha. I think we have two options to go forward: 08:58:53 1. replace current swift/keystone installation with devstack installation, land takashis packaging work, and then proceed to adding a storlet devstack plugin and move the gate job 08:59:05 2. follow kota's steps above. 08:59:30 I am afraid that getting a storlet plugin into devstack might take a long time. 08:59:42 eranrom: true 08:59:55 +1 for 1. 09:00:21 time is up, shell we move to #openstack-storlets? 09:00:34 eranrom: yes 09:00:34 #endmeeting