b2c04a8fab
Prior to this commit, the Ansible bootstrap procedure on StarlingX would fail with drbd-related errors when a v5.10-based kernel was in use. The error reported by the kernel was "invalid argument". Upon further debugging, it was discovered that generic-netlink (genl) messages generated by drbdsetup would be rejected by the v5.10 kernel. After looking at the git history of the drbd-utils repository, the following two commits were found: $ git log -2 --pretty=ref 859151b228d3b3aacefb09d06d515a2589c22e35 859151b228d3 (netlink: Add NLA_F_NESTED flag to nested attribute, 2019-07-12) 92ade5989027 (netlink: prepare for kernel v5.2, 2019-07-12) This issue appears to be caused by kernel versions >= 5.2 being more strict with the validation of nested netlink attributes. The patches required very minor context adjustments and enable the Ansible bootstrap procedure to succeed. Story: 2008921 Task: 42787 Change-Id: I573d0caafc741c7668be8ee8e494fde826437a98 Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com> |
||
---|---|---|
.. | ||
0001-skip_wait_con_int_on_simplex.patch | ||
0002-drbd-conditional-crm-dependency.patch | ||
0003-drbd_report_condition.patch | ||
0004-drbdadm-ipaddr-change.patch | ||
0005-drbd_reconnect_standby_standalone.patch | ||
0006-avoid-kernel-userspace-version-check.patch | ||
0007-Update-OCF-to-attempt-connect-in-certain-states.patch | ||
0008-Increase-short-cmd-timeout-to-15-secs.patch | ||
0009-Check-for-mounted-device-before-demoting-Primary-DRB.patch | ||
0010-backport-drbd-main-ipv6-Fix-interface-indices-larger.patch | ||
0011-Unmount-all-targets-during-drbd-stop.patch | ||
0012-netlink-prepare-for-kernel-v5.2.patch | ||
0013-netlink-Add-NLA_F_NESTED-flag-to-nested-attribute.patch |