<div dir="ltr">Evgeniy<div><br></div><div>I am not sure you addressed me, but, anyway, - yes, we will have a situation with old containers on new host node. This will be identical to old host node from database migration point of view.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 7:38 PM, Evgeniy L <span dir="ltr"><<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vladimir,<div><br></div><div>Just to make sure that we are on the same page. We'll have to use upgrade script anyway, since you will need to run database migration and register new releases.</div><div><br></div><div>Thanks,</div><div class="HOEnZb"><div class="h5"><div><br>On Monday, 9 November 2015, Vladimir Kozhukalov <<a href="mailto:vkozhukalov@mirantis.com" target="_blank">vkozhukalov@mirantis.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like most people thing that building backup/re-install approach is more viable. So, we certainly need to invent completely new upgrade from and thus my suggestion is disable building/testing upgrade tarball right now, because anyway it makes no sense.<div> </div></div><div class="gmail_extra"><br clear="all"><div><div><div>Vladimir Kozhukalov</div></div></div>
<br><div class="gmail_quote">On Fri, Nov 6, 2015 at 8:21 PM, Vladimir Kuklin <span dir="ltr"><<a>vkuklin@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Just my 2 cents here - let's do docker backup and roll it up onto brand new Fuel 8 node.</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 7:54 PM, Oleg Gelbukh <span dir="ltr"><<a>ogelbukh@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Matt,<div><br></div><div>You are talking about this part of Operations guide [1], or you mean something else?</div><div><br></div><div>If yes, then we still need to extract data from backup containers. I'd prefer backup of DB in simple plain text file, since our DBs are not that big.</div><div><br></div><div>[1] <a href="https://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html#howto-backup-and-restore-fuel-master" target="_blank">https://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html#howto-backup-and-restore-fuel-master</a></div><span><div class="gmail_extra"><br></div><div class="gmail_extra">--</div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Oleg Gelbukh</div></span><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 6:03 PM, Matthew Mosesohn <span dir="ltr"><<a>mmosesohn@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Oleg,<br><br></div>All the volatile information, including a DB dump, are contained in the small Fuel Master backup. There should be no information lost unless there was manual customization done inside the containers (such as puppet manifest changes). There shouldn't be a need to back up the entire containers.<br><br></div>The information we would lose would include the IP configuration interfaces besides the one used for the Fuel PXE network and any custom configuration done on the Fuel Master.<br><br></div>I want #1 to work smoothly, but #2 should also be a safe route.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 6, 2015 at 5:39 PM, Oleg Gelbukh <span dir="ltr"><<a>ogelbukh@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Evgeniy,<br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Fri, Nov 6, 2015 at 3:27 PM, Evgeniy L <span dir="ltr"><<a>eli@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Also we should decide when to run containers</div><div>upgrade + host upgrade? Before or after new CentOS is installed? Probably</div><div>it should be done before we run backup, in order to get the latest scripts for</div><div>backup/restore actions.</div></div></blockquote><div><br></div></span><div>We're working to determine if we need to backup/upgrade containers at all. My expectation is that we should be OK with just backup of DB, IP addresses settings from astute.yaml for the master node, and credentials from configuration files for the services.</div><span><div><br></div><div>--</div><div>Best regards,</div><div>Oleg Gelbukh</div><div> </div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thanks,</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Nov 6, 2015 at 1:29 PM, Vladimir Kozhukalov <span dir="ltr"><<a>vkozhukalov@mirantis.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Dear colleagues,</div><div><br></div><div>At the moment I'm working on deprecating Fuel upgrade tarball. Currently, it includes the following:</div><div><br></div><div>* RPM repository (upstream + mos)</div><div>* DEB repository (mos)</div><div>* openstack.yaml</div><div>* version.yaml</div><div>* upgrade script itself (+ virtualenv)</div><div><br></div><div>Apart from upgrading docker containers this upgrade script makes copies of the RPM/DEB repositories and puts them on the master node naming these repository directories depending on what is written in openstack.yaml and version.yaml. My plan was something like:</div><div><br></div><div>1) deprecate version.yaml (move all fields from there to various places)</div><div>2) deliver openstack.yaml with fuel-openstack-metadata package</div><div>3) do not put new repos on the master node (instead we should use online repos or use fuel-createmirror to make local mirrors)</div><div>4) deliver fuel-upgrade package (throw away upgrade virtualenv)</div><div><br></div><div>Then UX was supposed to be roughly like:</div><div><br></div><div>1) configure /etc/yum.repos.d/nailgun.repo (add new RPM MOS repo)</div><div>2) yum install fuel-upgrade</div><div>3) /usr/bin/fuel-upgrade (script was going to become lighter, because there should have not be parts coping RPM/DEB repos)</div><div><br></div><div>However, it turned out that Fuel 8.0 is going to be run on Centos 7 and it is not enough to just do things which we usually did during upgrades. Now there are two ways to upgrade:</div><div>1) to use the official Centos upgrade script for upgrading from 6 to 7</div><div>2) to backup the master node, then reinstall it from scratch and then apply backup</div><div><br></div><div>Upgrade team is trying to understand which way is more appropriate. Regarding to my tarball related activities, I'd say that this package based upgrade approach can be aligned with (1) (fuel-upgrade would use official Centos upgrade script as a first step for upgrade), but it definitely can not be aligned with (2), because it assumes reinstalling the master node from scratch.</div><div><br></div><div>Right now, I'm finishing the work around deprecating version.yaml and my further steps would be to modify fuel-upgrade script so it does not copy RPM/DEB repos, but those steps make little sense taking into account Centos 7 feature.</div><div><br></div><div>Colleagues, let's make a decision about how we are going to upgrade the master node ASAP. Probably my tarball related work should be reduced to just throwing tarball away. </div><span><font color="#888888"><div><br></div><div><br></div><div>Vladimir Kozhukalov<br></div>
</font></span></div>
<br></div></div><span>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></span></blockquote></div><br></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></div></div></blockquote></div><br></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Yours Faithfully,<br>Vladimir Kuklin,<br>Fuel Library Tech Lead,<br>Mirantis, Inc.<br>+7 (495) 640-49-04<br>+7 (926) 702-39-68<br>Skype kuklinvv<br>35bk3, Vorontsovskaya Str.<br>Moscow, Russia,<br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.com</a><br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.ru</a><br><a>vkuklin@mirantis.com</a></div></div></div></div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Yours Faithfully,<br>Vladimir Kuklin,<br>Fuel Library Tech Lead,<br>Mirantis, Inc.<br>+7 (495) 640-49-04<br>+7 (926) 702-39-68<br>Skype kuklinvv<br>35bk3, Vorontsovskaya Str.<br>Moscow, Russia,<br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.com</a><br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.ru</a><br><a href="mailto:vkuklin@mirantis.com" target="_blank">vkuklin@mirantis.com</a></div></div></div></div>
</div>