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