Bug 33273 - BONDMODE и etcnet 0.9.11-alt1
Summary: BONDMODE и etcnet 0.9.11-alt1
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: etcnet (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-24 12:54 MSK by Chess
Modified: 2017-06-26 14:48 MSK (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chess 2017-03-24 12:54:30 MSK
Если после старта service network restart то начинает работать bond.
Если откатить на 0.9.10-alt18 то все работает сразу после загрузки сервера.

На 0.9.11-alt1

Если
service network stop
rmmod bonding
modprobe bonding mode=4
service network start
все работает

Если 
service network stop
rmmode bonding
service network start
не работает

cat /etc/net/ifaces/bond0/options
TYPE=bond
ONBOOT=yes
BOOTPROTO=static
HOST='eth0 eth1'
BONDMODE=4
BONDOPTIONS="miimon=100 xmit_hash_policy=1 lacp_rate=fast ad_select=bandwidth"
DISABLED=no
NM_CONTROLLED=no

когда работает то
cat /sys/class/net/bond0/bonding/mode 
802.3ad 4

когда не работает
cat /sys/class/net/bond0/bonding/mode
balance-rr 0

хотя BONDMODE=4 в /etc/net/ifaces/bond0/options
Comment 1 Lenar Shakirov 2017-03-24 13:06:11 MSK
См. так же:
https://lists.altlinux.org/pipermail/devel/2017-March/202469.html
Comment 2 Repository Robot 2017-06-26 14:48:22 MSK
etcnet-0.9.12-alt1 -> sisyphus:

Mon Jun 26 2017 Anton Farygin <rider@altlinux.ru> 0.9.12-alt1
- added network@.service for manage interfaces via systemctl
  (for example - systemctl enable network@eth0) (closes: #33588)
- bonding: avoid autocreated bond0 iface by dshadrinov (closes: #33273)
- efw: walk fw type list backward on stop by sbolshakov (closes: #33011)
- weakening checks to enable empty bridge interfaces creation by naf (closes: #33295)