There were three files provided by the neutron cookbook that were
not related to neutron or used by the cookbook. This patch removes
those files along with the files directory. This patch also removes
any related tests or code to put said files in place.
Closes Bug: #1411032
Change-Id: I07f72e0b16d5f83f6c670b191a0904122c2e54ae
L3 agent migration only choose agent with {"admin_state_up":True},
in order to avoid error from neutron client.
Closes-Bug: #1392226
Change-Id: I8131567440dd4d67e6dce717635c333e27755931
Allow specifying a CA Certificate bundle to use for server
verification via the OS_CACERT environment variable and a
argument "--insecure" to disable server certificate
completely.
Change-Id: I5a0356faead4dbe2a543c607cf3e442252fc820b
Both function are supposed to return a list of agent_ids not a list of agents.
Seems this got introduced by the recent code clean up (1ab0e472).
Change-Id: I3b4ef33deed7bff5f40787785077fb473b2bd0c3
To disable all logging except for warnings in errors. Increase log level of
"router needs migration" message from info to warning and also use logging for
printing exceptions in __main__.
Change-Id: Iedf2d15b1ad98050913730cdd703720c09ebd339
This can be helpful when using "neutron-ha-tool --l3-agent-check" outside of
the network cookbook to check whether some routers are offline.
Change-Id: I4b502a778bd32980680ccc3202a14d637199b81d
When using --l3-agent-migrate together with --now, neutron-ha-tool will
do the router migration immediately, instead of waiting for some random
amount of time.
Change-Id: I314d2cc5b79091685421813102494e2fcce04768
Delete the rootwrap.d filters templates and use the config provided by
openstack upstream packages.
Change-Id: Ia386d550e2dbd939038c913b2bd5c0dda1fc0a8c
Since in OpenStack Havana release the Quantum project was renamed to the
Neutron, for the cookbooks we also need do the same things to support
the Neutron. I do the %s/Quantum/Neutron/g in all the files under
cookbook-openstack-netwrok. It will effect other cookbooks:
openstack-compute, openstack-ops-database which should be covered in
others patches.
Implemented: blueprint neutron-support
Change-Id: I59f3f2d8dfad678f70b97d4cbc4e10dfa163e9b2
Nicira added a tool to emulate top for ovs-dpctl output
in this commit:
http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commit;h=14b4c575c28421d1181b509dbeae6e4849c7da69
This tool allows you to quickly, and in real time, get better insight
into what the traffic looks like on any given OVS node.
This is especially useful on L3 agent (logical router) nodes as it
will allow you to pinpoint trouble flows/links/ips which may be
causing bottlenecks or consuming an inordinate amount of CPU.
Change-Id: I54c9e6e86ce0942c206227b45123d17ca27109be
Add a takeover delay to the quantum-ha-tool to ensure we do
not try to aggressively takeover. We want to ensure an agent
is offline for some period of time (TAKEOVER_DELAY seconds)
before we begin a migration. We also randomize it a bit in the
event that this script is being run in parallel from several hosts.
Change-Id: Ied9a75791b27af310f81f4cec327b3699fbae7ed
On some ubuntu kernels with some versions
of Openvswitch and Nicira, when NIC offloading
is enabled on the adapter, the kernel may OOPS
within the openvswitch module. There is now a flag
to attempt to disable all offload settings for the
adapter prior to openvswitch service startup.
Change-Id: I61b195c69fbb827876de1c3537cece01f36c6db0
Add syslog logging to quantum-ha-tool and direct
any output from the command to /dev/null so we do
not generate output to cron
Change-Id: I225dd90252a4a54b4bdab05a98068ca4e06903f0
* Setup optional cron jobs to call the tool in order to find
offline l3 agents and migrate them to another online agent
* Supports a rebalance feature to shuffle tenants around
given the scheduler for neutron is very simplistic right now
* Supports rebalancing DHCP configuration to all DHCP agents
Change-Id: Iaf0686c2fa93ec1dcdd644b75cb3b4528d4cabf0