16:05:24 <scottda> #startmeeting cinder_aaha
16:05:24 <openstack> Meeting started Tue Aug 23 16:05:24 2016 UTC and is due to finish in 60 minutes.  The chair is scottda. Information about MeetBot at http://wiki.debian.org/MeetBot.
16:05:25 <openstack> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
16:05:27 <openstack> The meeting name has been set to 'cinder_aaha'
16:05:29 <geguileo> scottda: I always welcome the opportunity to beg for reviews  ;-)
16:05:49 <scottda> geguileo: Yeah, that's a good use of this meeting. Everyone Review!!! and Test !!!
16:06:55 <scottda> Anyone interested in HA/AA should run through geguileo 's manual tests: http://gorka.eguileor.com/manual-validation-of-cinder-aa-patches/
16:07:07 <scottda> They make some of the inner workings very clear.
16:07:30 <geguileo> There are 2 patches that can be merged in this cycle: https://review.openstack.org/#/c/344224/  https://review.openstack.org/#/c/353068
16:07:38 <scottda> There may not be much else to talk about...so maybe aspiers , you should ask about active/passive?
16:07:45 <aspiers> ok :)
16:07:59 <aspiers> so an alternative approach to a/p has been proposed
16:08:21 <aspiers> I guess using a virtual hostname is not unusual
16:08:28 <aspiers> but this conflicts with cinder-scheduler
16:08:37 <aspiers> so the suggestion is a kind of hack:
16:08:59 <aspiers> if a machine needs to run both cinder-scheduler and cinder-volume, use separate cinder.conf files for each
16:09:07 <aspiers> which only differ with the hostname setting
16:09:11 <aspiers> does that make sense?
16:09:25 <geguileo> aspiers: You don't need different cinder.conf files
16:09:33 <aspiers> oh?
16:09:40 <geguileo> aspiers: You just need the cinder-volume to add an additional config file
16:09:49 <geguileo> aspiers: That just changes the host value
16:09:54 <aspiers> oh ok, even cleaner
16:09:57 <aspiers> but the same principle
16:10:03 <geguileo> aspiers: That's how I do it in my HA A/A tests
16:10:07 <aspiers> I didn't know it was possible to overlay config files
16:10:14 <geguileo> aspiers: Yes, as many as you want
16:10:24 <aspiers> cool, thanks! is that documented somewhere?
16:10:30 <geguileo> aspiers: They overwrite the previous values
16:10:35 <aspiers> I could work with beekhof to get it into the ha-guide
16:11:05 <aspiers> so you specify -c multiple times? or reference the underlying cinder.conf from within the one on top?
16:14:34 <scottda> aspiers: Just like a normal config file, and just add to the startup line:
16:14:55 <scottda> user@localhost:$ usr/bin/cinder-volume --config-file /etc/cinder/cinder.conf --config-file /etc/cinder/host1.conf & echo $! >/opt/stack/status/stack/c-vol.pid; fg || echo "c-vol failed to start" | tee "/opt/stack/status/stack/c-vol.failure"
16:15:30 <scottda> https://www.irccloud.com/pastebin/UVZti2rm/
16:15:34 <aspiers> scottda: perfect, thanks a lot!
16:15:56 <scottda> aspiers: Just that "cluster = mycluster" will be overriden (or added if it didn't exist)
16:16:13 <aspiers> yup, makes sense
16:16:36 <scottda> ok, keep talking amongst yourselfs. But meeting seems over...
16:16:39 <scottda> #endmeeting