Accepting request 444078 from network:ha-clustering:Factory

1

OBS-URL: https://build.opensuse.org/request/show/444078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd-utils?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2016-12-07 23:31:00 +00:00 committed by Git OBS Bridge
commit 2fd4747ded
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 6 08:06:00 UTC 2016 - nwang@suse.com
- bsc#1006105, initialize node id when creating md.
- Add patch initialize-node-id-when-create-md.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 3 03:39:18 UTC 2016 - nwang@suse.com Wed Aug 3 03:39:18 UTC 2016 - nwang@suse.com

View File

@ -33,6 +33,7 @@ Patch4: service-mod.patch
Patch5: fence-after-pacemaker-down.patch Patch5: fence-after-pacemaker-down.patch
Patch6: support-drbd9-ra.patch Patch6: support-drbd9-ra.patch
Patch7: fix-segfault-up-stacked-resource.patch Patch7: fix-segfault-up-stacked-resource.patch
Patch8: initialize-node-id-when-create-md.patch
Provides: drbd-bash-completion = %{version} Provides: drbd-bash-completion = %{version}
Provides: drbd-pacemaker = %{version} Provides: drbd-pacemaker = %{version}
@ -82,6 +83,7 @@ raid 1. It is a building block for setting up clusters.
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1
%build %build
./autogen.sh ./autogen.sh

View File

@ -0,0 +1,19 @@
---
user/shared/drbdmeta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/user/shared/drbdmeta.c b/user/shared/drbdmeta.c
index fd8cc17..e8089f8 100644
--- a/user/shared/drbdmeta.c
+++ b/user/shared/drbdmeta.c
@@ -3845,6 +3845,7 @@ void md_convert_08_to_09(struct format *cfg)
cfg->md.flags &= ~(MDF_CONNECTED_IND | MDF_FULL_SYNC | MDF_PEER_OUT_DATED);
+ cfg->md.node_id = -1;
cfg->md.magic = DRBD_MD_MAGIC_09;
re_initialize_md_offsets(cfg);
--
1.8.5.6