<div dir="ltr">Sure! Here we go...<br><br>Upgrading from IceHouse to Juno on Ubuntu 14.04.1.<br><br>-----<br>1- Stop all OpenStack services on each node, right before running the<br>upgrade procedure;<br><br>  service keystone stop<div>  cd /etc/init/; for i in $(ls neutron-* | cut -d \. -f 1 | xargs); do sudo service $i stop; done</div><div><br>  cd /etc/init/; for i in $(ls nova-* | cut -d \. -f 1 | xargs); do sudo service $i stop; done<br>  cd /etc/init/; for i in $(ls glance-* | cut -d \. -f 1 | xargs); do sudo service $i stop; done<br>  cd /etc/init/; for i in $(ls cinder-* | cut -d \. -f 1 | xargs); do sudo service $i stop; done<br>  cd /etc/init/; for i in $(ls heat-* | cut -d \. -f 1 | xargs); do sudo service $i stop; done<br>  ...<br><br><br>2- Run this: "curl -s <a href="https://raw.githubusercontent.com/tmartinx/openstack-guides/master/Juno/controller/etc/apt/sources.list.d/ubuntu-cloud-archive-juno-trusty.list">https://raw.githubusercontent.com/tmartinx/openstack-guides/master/Juno/controller/etc/apt/sources.list.d/ubuntu-cloud-archive-juno-trusty.list</a> > /etc/apt/sources.list.d/ubuntu-cloud-archive-juno-trusty.list"<br><br><br>3- Then: "apt-get install ubuntu-cloud-keyring python-software-properties ; apt-get update";<br><br><br>4- Upgrade to Juno with: "apt-get dist-upgrade";<br><br>  During the upgrade procedure, `dpkg` will ask you to replace some<br>configuration files, you'll need to chose to keep the files untouched<br>(n), or to upgrade to the latest version (y).<br><br> I prefer to keep with my `nova.conf` (and with my `ml2_conf.ini`),<br>since it is very customized. Right after the upgrade, I updated<br>`nova.conf` file according to `<a href="http://doc.openstack.org/juno`">doc.openstack.org/juno`</a>.<br><br> Upgrade the following files: neutron.conf, keystone.conf,<br>glance-registry.conf, glance-api.conf, glance-scrubber.conf,<br>/etc/openstack-dashboard/local_settings.py, heat.conf...<br><br> Also, keep your ml2_conf.ini (update it later by comparing<br>`ml2_conf.ini.dpkg-dist`).<br><br><br>5- Repeat step 1, stop all services again (their confs are wrong /<br>empty / from factory);<br><br><br>6- Manually compare and update all the configuration files that was<br>upgraded by `dpkg` on step 4, like this:<br><br> cd /etc/keystone</div><div> diff -Nru keystone.conf.dpkg-old keystone.conf | vim -<br><br> Where "keystone.conf.dpkg-old" is your previous "keystone.conf".<br>Lines starting with "minus -", was removed by new "keystone.conf",<br>lines starting with "plus +" was added by it. So, you might want to<br>restore mostly of your customized settings. Like for example:<br><br> admin_token<br> bind_host = ::<br> connection # [database]<br><br> Save new "keystone.conf" with your custom settings from<br>"keystone.conf.dpkg-old"...<br><br> Run:<br><br> "rm /var/lib/keystone/keystone.db"<br> "su -s /bin/sh -c "keystone-manage db_sync" keystone";<br> "service keystone restart"<br> "keystone tenant-list"<br><br><br>7- Repeat step 6 for each configuration file... Remember to run</div><div>`diff -Nru ... ...` to compare each new config file with its<br>`backup.conf.dpkg-old` and before running "db_sync" to starting the<br>services again (for each service you might have), plus a reboot in the<br>end to make sure everything is working as expected. Pay attention to<br>your `ml2_conf.ini`, you'll want to enable `ipset`, compare yours with<br>`ml2_conf.ini.dpkg-dist`. Review your Cinder confs!<br><br><br>8- Enjoy OpenStack Juno!<br><br><br>Note: When updating Neutron Server, you'll need to run:<br><br> neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini stamp icehouse<br><br> ...Before:<br><br> su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron<br>-----<br><br><br>Sorry if this is not a complete upgrade procedure but, let me know if<br>something goes wrong...<br><br>Keep two eyes on `<a href="http://doc.openstack.org/juno`">doc.openstack.org/juno`</a>!<br><br>First hand: I'm updating my Juno guide, here: <a href="https://github.com/tmartinx/openstack-guides/tree/master/Juno">https://github.com/tmartinx/openstack-guides/tree/master/Juno</a> - I'll announce it later, when finished...    :-)<br><br>Best!<br>Thiago<br><br>On 30 October 2014 02:36, Vijay Kakkar <<a href="mailto:vijaykakkars@gmail.com">vijaykakkars@gmail.com</a>> wrote:<br>> Great to know Martinx,Can you share some more details of the process which<br>> you followed to upgrade to Juno ?<br>><br>> On Wed, Oct 29, 2014 at 7:56 AM, Martinx - ジェームズ <<a href="mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@gmail.com</a>><br>> wrote:<br>>><br>>> Hey guys,<br>>><br>>> I just want to say that (small feedback) I just upgraded a huge (for<br>>> me) OpenStack Region, with about 50 Compute Nodes, from IceHouse to<br>>> Juno.<br>>><br>>> I'm using Ubuntu 14.04.1.<br>>><br>>> It is working without any problems!<br>>><br>>> The `dpkg` upgraded a lots of config files (keystone.conf, nova.conf,<br>>> neutron.conf, ml2_conf.ini and etc) but, after reading the new files,<br>>> I just copied the previous modifications to the new files and voiala'!<br>>> Juno online!<br>>><br>>> Thank you guys! IceHouse is already impressive and now, with Juno, I<br>>> have native IPv6 support! YAY!   :-D<br>>><br>>> Cheers!<br>>> Thiago<br>>><br>>> _______________________________________________<br>>> Mailing list:<br>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>>> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>>> Unsubscribe :<br>>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>><br>><br>><br>><br>> --<br>> Regards,<br>><br>> Vijay Kakkar - RHC{E,SS,VA,DS,A,I,X}<br>><br>> Techgrills Systems Pvt. Ltd.<br>> E4,3rd Floor,<br>> South EX Part I,<br>> New Delhi,110049<br>> 011-46521313 | +919999103657<br>> Singapore: +6593480537<br>> Australia: +61426044312<br>> <a href="http://lnkd.in/bnj2VUU">http://lnkd.in/bnj2VUU</a><br>> <a href="http://www.facebook.com/techgrills">http://www.facebook.com/techgrills</a><br></div></div>