* 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
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
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
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
* 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
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
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>
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