Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.37 KB

upgrade-neutron-ha.md

File metadata and controls

43 lines (27 loc) · 1.37 KB

Upgrade Neutron

  1. Prevent Pacemaker from triggering the Neutron cleanup scripts:

     pcs resource unmanage neutron-ovs-cleanup-clone
     pcs resource unmanage neutron-netns-cleanup-clone
    
  2. Stop Neutron resources in Pacemaker:

     pcs resource disable neutron-server-clone
     pcs resource disable neutron-openvswitch-agent-clone
     pcs resource disable neutron-dhcp-agent-clone
     pcs resource disable neutron-l3-agent-clone
     pcs resource disable neutron-metadata-agent-clone
    
  3. Upgrade the relevant packages:

     yum upgrade 'openstack-neutron*' 'python-neutron*'
    
  4. Reload systemd to account for updated unit files:

     systemctl daemon-reload
    
  5. Update the Neutron database schema

  6. Update the Neutron rootwrap configuration

  7. Restart Neutron resources in Pacemaker:

     pcs resource enable neutron-metadata-agent-clone
     pcs resource enable neutron-l3-agent-clone
     pcs resource enable neutron-dhcp-agent-clone
     pcs resource enable neutron-openvswitch-agent-clone
     pcs resource enable neutron-server-clone
    
  8. Return the cleanup agents to Pacemaker control

     pcs resource manage neutron-ovs-cleanup-clone
     pcs resource manage neutron-netns-cleanup-clone
    
  9. Wait until the output of pcs status shows that the above resources are running.