Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Jaeger 854b3c5d37 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Iffe3a7de281b48693606fe0c84ebec8190018167
2019-12-18 09:41:48 +01:00
Oleksiy Molchanov 89659ee6cb Refactor ns_vrouter ocf
Change-Id: Ia39bcdb634ce9c4cd67ecbac44035c0fe7cd1517
Closes-Bug: 1657745
2017-02-21 14:31:37 +00:00
Jenkins 02efbd2c68 Merge "Set ip_forward in vrouter namespace to 1 each monitor" 2017-01-12 17:05:54 +00:00
Vladimir Kuklin 066c7e5de9 Set ip_forward in vrouter namespace to 1 each monitor
For some reason we can have ip_forward reset sometimes
in the vrouter namespace, which leads to connectivity tests
issues. In order to fix this we move ip_forward setting
to get_ns() function to monitor and set it each monitor operation

Change-Id: I2d10d465259adc1f30161fee488feef4179b5c70
Related-bug: #1654967
2017-01-12 13:15:05 +03:00
Vladimir Kuklin 9f3edd83bb Fix vrouter route flush
1. Do not set routing on status command - this is useless and
destructive

2. Save default routes into a separate file and restore them
after flush

Change-Id: Ia128979920e054343b2ac05e437683772c81731a
Closes-bug: #1654967
2017-01-11 21:32:31 +00:00
Vladimir Kuklin a4ad419368 Fix multirack routes installation for vrouter and haproxy
1. Both scripts do not flush ip route table for non-local
   routes, which makes them non-idempotent
2. Haproxy did not add routes on reload

Change-Id: I498870b45ac47e6d6d8808d18964f3c2777c930c
Closes-bug: #1652765
2017-01-04 20:47:26 +03:00
Alex Schultz 10dd6a082e Add --wait to iptables calls
This change updates the calls that we us in the ocf scripts to determine
if the rules are present to include the -w flag to prevent the scripts
from failing if another iptables call is currently running. It has been
reported that this can occur when the ocf scripts are running in
parallel to the puppet deployment (firewall task)

Change-Id: Ia603f5643720a5fa5407de36ca75830a7c3f57fa
Closes-Bug: #1605540
2016-08-17 21:15:42 +00:00
Alex Schultz 28e3108dcf Add -n to iptables calls
This change updates the calls that we use in the ocf scripts to
determine if the rules are present to include the -n flag to prevent
unnecessary dns lookups which can lead to deployment failures if dns is
unavailable.

Change-Id: I17d04fbad6def1217429fc3c92bed997fd510eb8
Closes-Bug: #1605540
2016-07-27 22:43:18 +00:00
Bartosz Kupidura 244456a3b7 Set net.ipv4.ip_nonlocal_bind=1 for vrouter namespace
Change-Id: I123af7e3b53f9a53fcd9d2818640c0bd4699e024
Closes-Bug: #1595957
2016-06-24 15:58:17 +02:00
dmburmistrov 8e8bbf305b Replace backticks with "$()" syntax
Backticks eat backslash from awk
expression.

Closes-bug: #1580963

Change-Id: I21b015b79e52e8dd1fcfccce0fd8dea2abd7a84e
2016-05-24 15:10:31 +03:00
Jenkins 592849904e Merge "Accept "ip link" changed output format" 2016-05-17 09:15:54 +00:00
dmburmistrov d956661f74 Accept "ip netns list" changed output format
Now ip-netns also displays namespace ids,
here are outputs:
root@14.04:~# ip netns list | tail -1
vrouter
root@16.04:~# ip netns list | tail -1
haproxy (id: 0)

Closes-bug: #1580963

Change-Id: I2966a19ef078f256464a93be549215648b036828
2016-05-16 17:37:57 +03:00
dmburmistrov 88f90b8528 Accept "ip link" changed output format
Now "ip link" has "@"-signes in 2nd columnt,
here are outputs:
root@14.04:~# ip link | grep vr-host-base
17: vr-host-base: <BROADCAST,MULTI...
root@16.04:~# ip link | grep vr-host-base
1708: vr-host-base@if1707: <BROADCAST,MULTI...

Closes-bug: #1581058

Change-Id: I200673d68c49e5ce59f24718c6d131fb5a04b74c
2016-05-12 17:03:34 +03:00
Sergey Vasilenko ddc5d07b88 Remove PROXY-ARP artifacts from ns_IPaddr2 OCF script
This patchset implements:
* remove proxy-arp artefects
* replace internal (broken in ubuntu) Send Gratuitous ARP manner to arping
* optimize monitor() method
* remove ifconfig usage. Only iproute2 used.
* remove NIC parameter. Only bridges may be connected with network namespace without proxy-arp.
* remove unused parameters
* remove setup forwarding (not need more for bridging + veth-pairs usage)
* use arping instead icmp ping, because no IP address from VIP subnet on host system allowed.

Change-Id: I0d545567de84e13bf88fd95e2fc13a03378693b0
Closes-bug: 1485951
2015-08-24 22:47:07 +03:00
Bogdan Dobrelya 6d90814c56 Fix missing OCF logging
W/o this patch, the most of the OCF agents
sending their own logs to nothere.

This is a major issue, because we want to
be able troubleshoot and keep OCF events
in syslog and collected at remote logs
server(s) as well.

The solution is to enable HA_LOGTAG and
HA_LOGFACILITY for each OCF script shipped
with the Fuel.

DocImpact: Ops guide. Logging events from
Fuel OCF agents will be collected both
locally in the /var/log/daemon.log and remotely,
with the file names based on the agent "foo-agent"
name as the "ocf-foo-agent.log". Note, that the
RabbitMQ will continue to log its OCF events
to the lrmd.log due to backwards compatibility reasons.

Closes-bug: #1487083
Change-Id: Ida2d5fe31de42d31131e0f3a3e7b1a771caf8dfd
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-08-21 09:40:56 +02:00
Dmitry Ilyin cd3f8b2cb2 Refactor virtual_ips task
* Use function instead of hardcoded values
* Use ocf_handlers for vrouter and vip manifests
* Add prefix option to pcmk wrapper
* Netmask_to_cidr should always return strings
* Fix naming of interfaces in vrouter OCF

Implements: blueprint templates-for-networking
Related-Blueprint: detach-components-from-controllers

Change-Id: I3527f2d85baac83b209c7af713466b593238555f
2015-08-04 15:57:07 +03:00
Vladimir Kuklin 710553c1cc All the work done for fuel-library packaging
1) Package fuel library into three different
packages:
RPM: fuel-library6.1
ALL: fuel-ha-utils, fuel-misc

2) Install packages onto slave nodes
implements blueprint: package-fuel-components

Change-Id: Ie759857fb94db9aa94aaeaeda2c6ab5bb159cc9e
2015-05-15 02:44:53 +03:00