Commit Graph

26 Commits

Author SHA1 Message Date
Ghanshyam Mann b4f5c8f670 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: Icfd5b97688d8906e0b873065a6e5f80cb63df451
2024-02-17 20:50:10 -08:00
Samuel Cassiba 766e9fba5c Stop iptables from being enabled by force
This change enables convergence in containers by removing iptables in a
workaround as a result of upstream[1] efforts[2].

[1] https://review.rdoproject.org/r/9702
[2] https://review.rdoproject.org/r/9703

Change-Id: I8793cb8d1ee376d45e7521b8ff9434c704e05497
2018-06-25 06:17:04 -07:00
Elliott Davis 64fd769eb5 Removed all files not needed by the neutron cookbook
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
2015-01-15 01:48:24 -06:00
Wei Tie 4f3f0b729d L3 agent migration should only choose enabled agent
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
2014-11-13 22:32:48 +08:00
Ralf Haferkamp 7ef149c5c7 neutron-ha-tool: fix some cosmetic flake8 issues
Change-Id: Ibfb8ee7e9f6400f249bdbfa5fbf24ebd89a91390
2014-04-04 14:17:19 +02:00
Ralf Haferkamp 553937edd6 neutron-ha-tool: Add ssl options
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
2014-04-04 12:39:13 +02:00
Jenkins 967839cfba Merge "neutron-ha-tool: Fix return values of agent_(alive|dead)_id_list" 2014-03-27 09:14:33 +00:00
Jenkins f10f955cf4 Merge "Add --quiet option to neutron-ha-tool" 2014-03-27 03:18:38 +00:00
Ralf Haferkamp a8f824c885 neutron-ha-tool: Fix return values of agent_(alive|dead)_id_list
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
2014-03-26 16:57:39 +01:00
Jenkins 674c5de426 Merge "Have neutron-ha-tool use the internal neutron endpoint" 2014-03-26 15:57:13 +00:00
Ralf Haferkamp b115d88326 Add --quiet option to neutron-ha-tool
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
2014-03-26 16:55:51 +01:00
Ralf Haferkamp 701a07e24f Have neutron-ha-tool use the internal neutron endpoint
Using the public endpoint for it's task just seems wrong.

Change-Id: I880d89445027a614eaf0626ab6b3dcece985d4e2
2014-03-26 12:40:15 +01:00
Ralf Haferkamp c202bb725f Fix indentation error in neutron-ha-tool
Was introduced by last commit (1ab0e472)

Change-Id: If54794b29c176394f5478390274d511cae672308
2014-03-26 12:20:12 +01:00
Ionuț Arțăriși 1ab0e472b5 fix flake8 problems in neutron-ha-tool
Change-Id: Ie6bbb1dcafb8a59ff6c268fdb13ae4b1532ccbf3
2014-03-19 18:22:31 +01:00
Ralf Haferkamp ae6cdb70d2 neutron-ha-tool: Use a non-zero exit code when a migration is needed
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
2014-03-18 17:04:31 +01:00
Ralf Haferkamp 2ff4fa9168 Add new command line switch --now
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
2014-03-18 17:04:31 +01:00
gengjh 8eaa0eab1f Delete the rootwrap.d filters
Delete the rootwrap.d filters templates and use the config provided by
openstack upstream packages.

Change-Id: Ia386d550e2dbd939038c913b2bd5c0dda1fc0a8c
2014-01-10 09:50:43 +08:00
gengjh 6cda0639c3 Support neutron configuration
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
2013-12-13 22:37:04 +08:00
Jenkins b2b237a78c Merge "Add ovs-dpctl-top tool for better troubleshooting" 2013-10-07 20:58:07 +00:00
Kevin Bringard e8c6ff46d4 Add ovs-dpctl-top tool for better troubleshooting
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
2013-10-07 10:08:49 -06:00
Alan Meadows 802f414f26 Add takeover delay to quantum-ha-tool
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
2013-10-07 08:06:31 -07:00
Alan Meadows f167c17cf4 Add NIC offload disable feature
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
2013-08-13 12:52:32 -07:00
Alan Meadows 8ccb4fa063 Add syslog logging to quantum-ha-tool
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
2013-08-12 14:03:02 -07:00
Alan Meadows 63cc909530 Fix bugs with quantum-ha-tool
* Fixed command line flags not calling check properly
* Fixed migrate_router arguments naming issue

Change-Id: I700204d1b09ce2f9c7de0f95fdbf360dff34ee71
2013-08-08 12:32:04 -07:00
Alan Meadows 3c97dc59f5 Add high availability tool for neutron networking
* 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
2013-08-06 09:35:37 -07:00
Alan Meadows e31a3c4eab initial commit of working cookbook-openstack-network
Change-Id: Ib9fd63532becac6738db19f8de81885a5e04025a
2013-06-21 17:10:45 -07:00