[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
Tested with environment variable set and saw no issues. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
This bug was fixed in the package drbd8 - 2:8.4.3-0ubuntu0.12.04.2 --- drbd8 (2:8.4.3-0ubuntu0.12.04.2) precise-proposed; urgency=low * d/p/ubuntu-fix-drbdsetup-legacy-path.patch Test kernel module version and run the legacy drbdsetup early if it is lower than 8.4. Also do not try to be smart about paths for the legacy command (newer upstream versions do the same) (LP: #1314289). * d/p/ubuntu-compat83-init-script.patch: Fix service stop to shut down the resources (LP: #1314289). * d/p/ubuntu-compat83-ocf-script.patch: Fix pacemaker/corosync startup when running compat mode (LP: #1314289). * d/p/ubuntu-fix-drbdadm-version-check.patch: Fix compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set (LP: #1314598) * d/rules: Create soft-links for compat binaries in /sbin to work around the tools looking for compat binaries in their own path when called with full path (LP: #1314289). -- Stefan Bader stefan.ba...@canonical.com Wed, 30 Apr 2014 15:20:23 +0200 ** Changed in: drbd8 (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
Hello Stefan, or anyone else affected, Accepted drbd8 into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/drbd8/2:8.4.3-0ubuntu0.12.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: drbd8 (Ubuntu Precise) Status: Triaged = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
** Description changed: SRU Justification: Impact: This is for now only relevant for the 12.04 (Precise) backport of drbd-utils 8.4.x as that uses the 8.3 compat mode when running with a linux kernel module from kernel 3.2.x. Problem is the following code: - if (!getenv(DRBD_DONT_WARN_ON_VERSION_MISMATCH)) - warn_on_version_mismatch(); + if (!getenv(DRBD_DONT_WARN_ON_VERSION_MISMATCH)) + warn_on_version_mismatch(); - maybe_exec_drbdadm_83(argv); + maybe_exec_drbdadm_83(argv); Because maybe_ecec_drbdadm_83 relies on a structure being filled in warn_on_version_mismatch only. - Fix: Move the code to set up the version number from - warn_on_version_mismatch() outside, so it is always called. + Fix: Add a call to setup the kernel version to maybe_exec_drbdadm_83. + This function does the full setup only once already. Testcase: When running a 3.2 kernel and the 8.4.x version of drbd8-utils drbdadm --version without DRBD_DONT_WARN_ON_VERSION_MISMATCH set in the environment, It will return a 8.3 version number. Otherwise a version 8.4. When the bug is fixed it has to be a 8.3 version in both cases. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
** Patch added: drbdadm-compat-fix.debdiff https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+attachment/4101365/+files/drbdadm-compat-fix.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
** Also affects: drbd8 (Ubuntu Precise) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1314598] Re: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set
** Changed in: drbd8 (Ubuntu Precise) Status: New = Triaged ** Changed in: drbd8 (Ubuntu Precise) Importance: Undecided = Medium ** Changed in: drbd8 (Ubuntu Precise) Assignee: (unassigned) = Stefan Bader (smb) ** Changed in: drbd8 (Ubuntu) Assignee: Stefan Bader (smb) = (unassigned) ** Changed in: drbd8 (Ubuntu) Status: Triaged = Won't Fix ** Changed in: drbd8 (Ubuntu) Status: Won't Fix = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to drbd8 in Ubuntu. https://bugs.launchpad.net/bugs/1314598 Title: [Precise] drbd8: drbdadm does not run compat mode when DRBD_DONT_WARN_ON_VERSION_MISMATCH is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1314598/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs