Skip to content

Instantly share code, notes, and snippets.

@odyssey4me
Last active December 14, 2018 17:26
Show Gist options
  • Save odyssey4me/5e9df7ebce1eff5e9321bfbaf6959a3f to your computer and use it in GitHub Desktop.
Save odyssey4me/5e9df7ebce1eff5e9321bfbaf6959a3f to your computer and use it in GitHub Desktop.
Automated neutron agent migrations for P->Q
# 1. Place this file in /etc/openstack_deploy before running Queens playbooks.
# 2. Run the Pike-Queens upgrade.
# 3. Confirm that there are now agents on the network hosts.
# 4. Disable the agents in the network_agents container.
# 5. Ensure all rebalancing is done to make everything run on the host agents.
# 6. Use lxc-containers-destroy to remove all members of the neutron_agents_container group.
# 7. Use inventory-manage to remove all members of the neutron_agents_container group.
# 8. Remove this file from /etc/openstack_deploy.
# ref:
# - https://bugs.launchpad.net/openstack-ansible/+bug/1804770
# - https://bugs.launchpad.net/openstack-ansible/+bug/1785592
[neutron_agent:children]
network_hosts
[neutron_bgp_dragent:children]
network_hosts
[neutron_dhcp_agent:children]
network_hosts
[neutron_l3_agent:children]
network_hosts
[neutron_lbaas_agent:children]
network_hosts
[neutron_linuxbridge_agent:children]
network_hosts
[neutron_metadata_agent:children]
network_hosts
[neutron_metering_agent:children]
network_hosts
[neutron_openvswitch_agent:children]
network_hosts
[neutron_sriov_nic_agent:children]
network_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment