Commit Graph

16 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
Sergey Vasilenko d096bfe121 Fix OVS-related issues with underlay networking
* more intelligent calculation of default port provider
* additional check of patchcord existing in the bridge

OVS provider should be used for fake (OVS) ports, inserted
into OVS bridge. OVS provider should be used for inserting
native linux interface into OVS bridge.

But if we try to add native linux subinterface into
OVS bridge we should use lnx provider for creating
such port correctly.

Change-Id: Ib76b3340eca1ea22095da1cfffe7c224a139fb71
Closes-bug: #1682835
2017-04-28 16:01:58 +00: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
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
Matthew Mosesohn 3508d8bc34 Interpolate vars in ns_IPaddr2 ocf
Corrected all bash tests for zero and non-zero
length vars. Corrected missing quotes when checking
for netmask and ns string length.

Renamed [[ to [ where appropriate for -n and -z tests.

Change-Id: Ic83a406ab7681222679edee6688f4ba1aa0a19aa
Closes-Bug: #1455961
2015-09-23 17:23:57 +03:00
Vladimir Kuklin 8f280f6ac4 Send gratutious ARPs on ip monitor event also
This commit sends gratuitious ARP requests in case
ip_monitor returns zero exit code. This will allow
for periodical updates of neighbours in case our IP
is OK and neighbour did not receive arps of the node
after ip was initially started.

Change-Id: I6d6134eee08352c1b0f0ef85dc79bfd6ee804378
Closes-bug: #1492210
2015-09-10 20:40:51 +00:00
Dmitry Ilyin 4536284876 Send both REQUEST and REPLY packets to the peers
Change-Id: I6957026028372ecc5e98ac395cad2c1c375ce11d
Related-Bug: 1492210
2015-09-04 21:53:09 +03:00
Sergey Vasilenko b03a12d413 Two fixes for ns_IPaddr2 OCF script
* Allow gateway for VIP to be an
  * none
  * link
  * ip address
  for correct processing into ns_IPaddr2 OCF script
* Operate with OVS-based bridges

Change-Id: Idfb7b45fedbccef1e4dc127ab64505f238ea286e
Closes-bug: #1490596
2015-09-01 13:27:34 +03:00
Sergey Vasilenko c17567cc89 Modify net.namespace-to-bridge connection scheme for OVS bridges
We will use veth-pair for both cases (OVS and LNX).

Change-Id: I899476224b9dfd430095954dfd38ffa4c05065e0
Closes-bug: #1489840
2015-08-28 16:23:23 +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 47425f336b Fix interface name to send gracious arp in IPaddr2
Change-Id: Icc83c49e9b82a2a91be3934ffccf2f2d8396e29b
Related-Bug: 1463382
2015-07-31 15:29:21 +03:00
Sergii Golovatiuk a4aa1062e2 Revert "Run test command against actual variables in ns_IPaddr2"
This reverts commit 297a557557.

Change-Id: I659efa67147366c4bd04a067330e191df68ec8bd
2015-07-23 03:05:53 +00:00
Bartłomiej Piotrowski 297a557557 Run test command against actual variables in ns_IPaddr2
Change-Id: I29bffcbb441cc402ede64982054f6dd94b1c643c
Closes-Bug: 1455961
2015-07-23 00:31:12 +00:00
Vladimir Kuklin ab0048dddd Fix for stale arp table usage
Run sendarp command in network namespace

Related-bug: #1463382
Change-Id: I37201196ac2daeedb2ba9e2d0765b72c7afdbbd4
2015-06-15 23:06:07 +03:00
Vladimir Kuklin 0ccd804849 Backward-compatible commit for packaging of fuel-library
based on Change-Id: Ie759857fb94db9aa94aaeaeda2c6ab5bb159cc9e
All the work done for fuel-library packaging

Should be overriden by the change above after we switch
CI to package-based

implements blueprint: package-fuel-components

Change-Id: I48ed37a009b42f0a9a21cc869a869edb505b39c3
2015-04-16 11:23:29 +03:00