14:00:42 #startmeeting Solum Team Meeting 14:00:43 Meeting started Wed Jun 15 14:00:42 2016 UTC and is due to finish in 60 minutes. The chair is devkulkarni. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:44 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:47 The meeting name has been set to 'solum_team_meeting' 14:00:51 #topic Roll Call 14:00:55 Devdatta Kulkarni 14:01:00 Hi 14:01:08 hi Ablu 14:02:17 lets wait for few minutes for others to join 14:10:17 Hi Devdatta Kulkarni 14:10:23 oh hi caowei 14:10:30 good to see you 14:10:38 we also have Ablu with us 14:10:38 hi Ablu 14:11:02 lets get started 14:11:22 there is not much on the agenda for today: https://wiki.openstack.org/wiki/Meetings/Solum#Agenda_for_2016-06-15_1400_UTC 14:11:48 caowei: all your patches have been merged 14:12:04 cool 14:12:13 yep 14:12:41 since there is nothing major on agenda, why not we keep the discussion open for anything that you want to discuss.. 14:13:14 we can stop whenever our discussion is over 14:14:42 caowei: any progress on setting up the vm option? 14:15:26 I want us to write more documents about Solum 14:16:14 caowei: yes, more documentation would help overall 14:16:31 any particular part you have in mind? 14:19:09 How to put solum into the production environment ? 14:20:16 caowei: yes, that will be a good documentation piece .. we already have document showing how to deploy various services 14:20:24 let me get it 14:20:25 just a second 14:21:16 caowei: https://github.com/openstack/solum/blob/master/doc/source/configure_and_run/index.rst 14:21:33 this is based on the deployment of solum that we have at rackspace 14:22:08 this can be further improved upon 14:22:41 how is your experience of deploying solum? 14:22:50 devkulkarni: About Solum using VM, I have been deployed successfully, 14:23:13 devkulkarni : I just don't know how to use it 14:23:30 caowei: oh nice!! congratulations !!! can you tell us more on your setup 14:23:45 what is the vm image that you used? did you use coreos image? 14:23:53 how did you get around the libvirt issue 14:24:48 caowei: as far as using the setup, it is no different than using regular setup.. the steps outlined in our getting_started_guide should work without any modifications 14:26:13 I can share my local.conf 14:26:54 sure 14:27:15 you can paste it in http://paste.openstack.org/ 14:28:57 Wait for me to start the virtual machine 14:29:15 ok 14:30:06 caowei: what vm image did you use as the base image to spin up the vm? 14:32:23 This step I have not succeeded 14:32:37 hm, recently the meetings seem to be mostly usual support questions. Do we really need to do this in this context? 14:33:06 caowei: which step? 14:33:25 Ablu: since there was no agenda today, I opened up the meeting for open discussion 14:33:40 devkulkarni: hm ok. 14:33:57 devkulkarni : I don't know how to use it , about coreos image 14:34:04 Ablu: feel free to jump in with anything that you have on your mind 14:34:13 we are not following a pre-defined agenda today 14:34:31 well i only have the discussion about the languagepacks :P 14:34:47 But I am not prepared enough to to a productive chat discussion for that at the moment 14:35:11 Ablu: sure, no problem. we can continue the discussion in the solum irc channel later 14:35:41 hi Ablu ~ 14:36:16 caowei: ah okay.. so the way you would go about using the coreos image is to first load it in glance as shown here: https://coreos.com/os/docs/latest/booting-on-openstack.html 14:37:03 https://wiki.openstack.org/wiki/Solum/configurations , This document needs to be written in more detail. 14:37:17 and then add that image's id and flavor to /etc/solum/solum.conf as mentioned on https://wiki.openstack.org/wiki/Solum/configurations 14:38:02 caowei: ack .. I will update the part on how to use the coreos image 14:43:51 caowei: I have updated https://wiki.openstack.org/wiki/Solum/configurations#Deploying_DU_on_VM 14:44:38 caowei: I acknowledge that the instructions on that are little terse. but I am glad that we are iterating on it based on your trial and experience 14:45:49 please let me know if there any other steps that are unclear 14:45:54 I know how to use corros image, I just don't know how uses it in solum 14:46:09 caowei: ah I see.. 14:46:23 caowei: you would not need to worry about directly using it as end user 14:46:38 all you have to do is specify the image id and the flavor in /etc/solum/solum.conf 14:47:10 then, at runtime, when solum wants to deploy the application, it will spin up this heat stack 14:47:17 https://github.com/openstack/solum/blob/master/etc/solum/templates/coreos.yaml 14:47:29 notice these lines: https://github.com/openstack/solum/blob/master/etc/solum/templates/coreos.yaml#L17 14:47:37 https://github.com/openstack/solum/blob/master/etc/solum/templates/coreos.yaml#L15 14:47:42 image and flavor 14:48:07 then, at runtime, when solum wants to deploy the application, it will spin up this heat stack 14:48:13 solum's heat deployer reads these from /etc/solum/solum.conf and passes them as parameters to the heat stack-create 14:48:17 yep 14:48:48 notice also this line https://github.com/openstack/solum/blob/master/etc/solum/templates/coreos.yaml#L35 14:49:09 the robust-du-handling.sh is the script which solum's deployer will inject in the heat stack 14:49:24 that is this script https://github.com/openstack/solum/blob/master/contrib/common/robust-du-handling.sh 14:50:01 if you look at the script, all it is doing is following: 14:50:15 1) download the DU (https://github.com/openstack/solum/blob/master/contrib/common/robust-du-handling.sh#L13) 14:50:31 2) load it (https://github.com/openstack/solum/blob/master/contrib/common/robust-du-handling.sh#L14) 14:50:41 3) run it (https://github.com/openstack/solum/blob/master/contrib/common/robust-du-handling.sh#L32) 14:51:27 these steps happen at the VM boot time (since we are injecting the script using cloud-init) 14:52:00 all this is part of heat.py 14:52:17 https://github.com/openstack/solum/blob/master/solum/deployer/handlers/heat.py 14:53:06 yes ,Need to ensure that the clond-init is normal 14:54:07 caowei: yes.. last time I checked it was working fine with a coreos image that we use internally 14:54:34 however, let me mention that having a coreos image is not a strict requirement 14:54:51 the vm image could also be a Ubuntu image on which docker has been installed 14:55:19 or, we can also modify https://github.com/openstack/solum/blob/master/contrib/common/robust-du-handling.sh to first install docker and then perform other steps 14:55:33 caowei: if that is easier for you, please try that 14:55:46 as cloud-init will definitely work with ubuntu images 14:55:55 Need to install docker and cloud-init 14:56:58 yes 14:57:35 isn't cloud-init already available on ubuntu cloud images? 14:58:09 yes 14:58:25 Already exist 14:58:47 right, that's what I thought 14:59:25 so in that case, all we will have to do is install docker as the first step in https://github.com/openstack/solum/blob/master/contrib/common/robust-du-handling.sh#L13h 14:59:33 time check 14:59:40 we are almost at the end of our meeting time 14:59:57 we can continue discussion in solum irc channel after the meeting is over 15:00:09 alright, it is top of the hour 15:00:11 Good communication 15:00:19 thanks Ablu caowei for joining the meeting today 15:00:23 see you next week 15:00:26 #endmeeting