07:59:47 #startmeeting daisycloud 07:59:48 Meeting started Fri Dec 16 07:59:47 2016 UTC and is due to finish in 60 minutes. The chair is huzhj. Information about MeetBot at http://wiki.debian.org/MeetBot. 07:59:49 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 07:59:51 The meeting name has been set to 'daisycloud' 08:00:02 #topic Roll Call 08:01:33 #info zeyu 08:01:41 #info Zhijiang Hu 08:02:09 #info zhouya 08:02:28 Today's topics 08:02:31 1) Roll Call 08:02:31 2) OPNFV: Daisy CI Progress 08:02:31 3) OpenStack Version management 08:02:31 4) AoB 08:02:37 #info kongwei 08:03:03 #topic OPNFV: Daisy CI Progress 08:04:12 luyao1: about #link https://gerrit.opnfv.org/gerrit/#/c/26055/ 08:05:02 I saw build started but it hasn't ended for quite a long time. 08:05:18 #agree 08:06:10 so I see in the link #link https://gerrit.opnfv.org/gerrit/#/c/26055/1/code/install_interface_patch.sh,the branch is hard-coded with newton? 08:06:29 Oh, it ended finally 08:06:35 yes 08:06:49 It takes almost 6 hours to download kolla image... 08:07:15 oh so long. 08:07:35 way too long.... 08:08:03 Is there any way to reduce the time 08:08:20 so if we do not have the image ,each time we should cost such time to download kolla image? 08:08:42 Yes. 08:08:50 But it ended like this: 08:08:58 73% [==========================> ] 2,113,530,887 137KB/s eta 1h 54m 08:08:59 -------------------------------------------------------- 08:08:59 Done! 08:08:59 Finished: SUCCESS 08:10:06 seems did a partial download 08:10:08 just one time 08:10:16 not 100% 08:10:16 next will sooner 08:10:31 because no need to wget tar 08:10:47 We need to get the artifact to see if it was fully downloaded. 08:12:16 zhouya: about #link https://gerrit.opnfv.org/gerrit/#/c/25153/, is it the finall version? 08:12:37 yes 08:13:04 But we should test this on shanghai pod aboud opnfv.bin 08:13:35 OK. 08:13:47 Now we just test it locally,not sure if the kvm env will be ok through. 08:15:13 I think you can wait until this PS merged to test: #link https://review.openstack.org/#/c/410584 08:15:19 about #link https://review.openstack.org/#/c/410584/4/tools/setup/install/install_func.sh@116 08:15:50 zhouya: I do not understand your meaning 08:16:07 It is my fault. 08:16:46 I didn't know the naming rule of registry-*.version 08:16:50 The git version in stored in the version file. the file name is something like registry-newton-201610101212.version 08:17:09 it is OK, that will match the version file 08:17:26 OK,I see. 08:17:28 since we only have on file, so it will not cause problem 08:17:52 Thank you for your explanation 08:17:56 If no problem, then I merge it? 08:18:16 yes 08:18:30 So you can rebuild a new OPNFV artifact which include that function 08:18:49 I didn't see any problem,what about@luyao1 08:19:21 yes 08:20:21 Good 08:20:33 Oh, zhouya, you should also wait #link https://gerrit.opnfv.org/gerrit/#/c/26055/ 08:20:54 got it 08:21:36 zhouya: and this one: #link https://review.openstack.org/#/c/410067/ 08:21:43 do we need to merge into mitaka? 08:22:07 Oh, I think so 08:22:16 I think so 08:22:25 because we have already merge the pxe rpm update into mitaka 08:22:43 For we maybe deploy openstack of mitaka version 08:24:47 zhouya: another one PS need to wait: #link https://review.openstack.org/#/c/410491/ 08:25:40 yes 08:26:11 you mentioned that https://review.openstack.org/#/c/410491/ should also be merged into mitaka? 08:26:39 exactly 08:26:53 OK, got it 08:27:05 we will read openstack version from globals.yml file of kolla. 08:27:21 OK, anything else about this topic? 08:27:27 Which is also needed by mitaka version. 08:27:28 no 08:28:01 #topic OpenStack Version management 08:28:58 I simply look through; 08:28:58 I simply looked through the version API 08:29:22 find that , it is not hard for us to resue it for Kolla 08:30:10 basically we need to add a version before add cluster, then add cluster which using that version file. 08:30:50 then we can even add another version , then call upgrade API to do openstack upgrading 08:31:44 daisyclient/daisyclient/v1/versions.py has the add() function for adding a version 08:31:58 great 08:32:13 #info it is not hard for us to resue it for Kolla , basically we need to add a version before add cluster, then add cluster which using that version file. 08:32:20 #info daisyclient/daisyclient/v1/versions.py has the add() function for adding a version 08:32:55 But be ware that we need put the version file to /var/lib/daisy/kolla/ before calling that API 08:33:17 just like tecs, it puts version file to /var/lib/daisy/tecs 08:33:47 yes 08:34:24 there is a trick, bad trick here in the daisyclient versions 08:34:34 only file name save in DB, not the full absolute path!!! 08:35:12 we could modify this in opensource code 08:35:52 So, later, when we trying to use a version file which metadata saved in db , we should add the /var/lib/daisy/kolla/ as the prefix 08:36:01 ues 08:36:41 Since the code is located in the kolla backend dir, not a core code, it is OK to hard code the /var/lib/daisy/kolla/ dir in that code. 08:37:54 But the version function here we discussed may not meet the requirement of escalator @kongwei 08:38:10 :( 08:38:40 escalator, as a general layer, should not rely on the version metadata defined per installer 08:39:12 for example , daisy may describe version like newton-201610101234 08:39:27 but other installers may have their own way 08:40:18 I think escalator needs the exact version of a component such as nova... 08:41:10 Or, escalator can make a verrsioning method that force all installer to follow, @kongwei 08:42:17 It will be a little hard to make a versioning method that force all installer to follow 08:44:02 Let's discuss this offline, or gather more info in OPNFV community 08:44:39 yes 08:45:00 yes 08:46:38 #info OK, so for the next steps to adapt the version management function we can probably do the following things 08:46:54 1) do not activate(extract the kolla image tgz tarball) during daisy installation phase 08:46:54 2) add/list/delete version file 08:46:54 3) pass version file id when creating cluster 08:46:54 4) activate a specific version file(extract the kolla image tgz tarball) when creating cluster 08:46:54 5) kolla deploy... 08:47:46 good 08:49:18 we can even do upgrade like this: 08:49:20 1) add another version file (new version) 08:49:20 2) call upgrade cluster API, passing the new file id. 08:49:20 3) deactivate the old version file (docker rmi) 08:49:20 4) activate the new version file(extract the kolla image tgz tarball) 08:49:20 5) kolla upgrade 08:50:07 all the rough & tough work about upgrading will be done by Kolla :) 08:50:39 #info 1) do not activate(extract the kolla image tgz tarball) during daisy installation phase 08:50:40 #info 2) add/list/delete version file 08:50:40 #info 3) pass version file id when creating cluster 08:50:40 #info 4) activate a specific version file(extract the kolla image tgz tarball) when creating cluster 08:50:40 #info 5) kolla deploy... 08:50:44 #info we can even do upgrade like this: 08:50:45 #info 1) add another version file (new version) 08:50:45 #info 2) call upgrade cluster API, passing the new file id. 08:50:45 #info 3) deactivate the old version file (docker rmi) 08:50:45 #info 4) activate the new version file(extract the kolla image tgz tarball) 08:50:45 #info 5) kolla upgrade 08:51:08 any opinion? 08:51:29 maybe first method is better. 08:52:30 for if we do like second method,the openstack service will stop,and the user will affect. 08:52:47 may be you misread, zhouya, there are not two methods to be choose, there are two different functions 08:52:58 one is installing ,other is upgrading 08:53:01 we can add version first 08:53:44 forgot to add modifying openstack_release parameter in global.yml 08:54:02 dashboard also need change 08:54:14 accord to inner 08:54:25 #info upgrading sequence , ver2 08:54:25 #info 1) add another version file (new version) 08:54:25 #info 2) call upgrade cluster API, passing the new file id. 08:54:25 #info 3) deactivate the old version file (docker rmi) 08:54:25 #info 4) activate the new version file(extract the kolla image tgz tarball) 08:54:25 #info 5) modify openstack_release parameter in global.yml 08:54:25 #info 6) kolla upgrade 08:54:40 luyao2: yes, dashboard 08:55:51 OK,I see 08:56:17 So any idea? 08:56:48 may be new idea will come up during the impl. 08:57:08 I think it is ok 08:57:56 OK. that is all for this topic 08:58:33 we are running out of time 08:58:40 move to next topic 08:58:44 #topic AoB 09:00:21 if nothing else , let's warp up 09:00:29 have a good weekend 09:00:38 bye 09:00:40 bye 09:00:42 bye 09:00:42 thanks,bye~ 09:00:43 bye 09:00:50 #endmeeting