How to upgrade all neutron-* packages on Openstack HA 5.1.1 with latest ones

Asked by Vasilios Tzanoudakis

I am running a Mirantis Openstack 5.1.1 HA with 3 nodes. I would like to upgrade all neutron-* packages on all nodes with the latest ones found on http://fuel-repository.mirantis.com/fwm/5.1.2/ubuntu/pool/main/

Services:
-----------------------------------------------------------------------------------
p_neutron-dhcp-agent runs on node-1
p_neutron-l3-agent runs on node-3
p_neutron-plugin-openvswitch-agent runs on all nodes
p_neutron-metadata-agent runs on all nodes

 what is the proper way to do it and what commands do I need to run on each node to ensure that all routers and dhcp servers will continue to run properly after the upgrade? I don't want for my VMs to loose connectivity if possible.

thank you in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Solved by:
Fabrizio Soppelsa
Solved:
Last query:
Last reply:
Revision history for this message
Best Fabrizio Soppelsa (fsoppelsa) said :
#1

Hello Vasilios

you should manually pull the packages on the nodes and then dpkg -i *.deb.
What you need to ensure is to upgrade neutron-server on the controller/s and then restart all the neutron services on all nodes.

Best regards,
Fabrizio
Mirantis Fuel Team

Revision history for this message
Vasilios Tzanoudakis (vtzanoudakis) said :
#2

Dear Fabrizio,

thank you for your reply.

What is the right service restart procedure? Controller Nodes first and then compute nodes?

I am a litle nervous about what should I do to force neutron recreation of dnsmasq and l3 routers if something goes wrong after service restart. Could you guide me on this?

Can i send neutron service restart commands via crm? will this be more safe?

thank you in advance.

Revision history for this message
Fabrizio Soppelsa (fsoppelsa) said :
#3

Hello Vasilios,

I suggest you to restart the compute nodes services first, and then controllers, in /etc/init.d.
You can backup your configuration files and the Neutron database before, if you fear an upgrade will fail. But since it's a minor jump, I wouldn't be that perplexed.

Best regards,
Fabrizio
Mirantis Fuel Team

Revision history for this message
Vasilios Tzanoudakis (vtzanoudakis) said :
#4

Thanks Fabrizio Soppelsa, that solved my question.