[ZBX-2154] can't delete and recreate master node Created: 2010 Mar 12  Updated: 2017 May 30  Resolved: 2010 Mar 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 1.8.2

Type: Incident report Priority: Blocker
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

1.8 svn head



 Description   

create master node, delete it - no new master can be added.
the frontend does not change masterid for local node entry



 Comments   
Comment by Artem Suharev (Inactive) [ 2010 Mar 18 ]

Deletion of the local node should be deprecated.

Deletion of the master node from child node(DB) should be allowed, but re-adding might result in broken synchronization between nodes.

Comment by Artem Suharev (Inactive) [ 2010 Mar 18 ]

svn://svn.zabbix.com/branches/dev/zbx-2154-zbx

Comment by richlv [ 2010 Mar 18 ]

confirming the fix in dev branch rev 10902.

Comment by Artem Suharev (Inactive) [ 2010 Mar 18 ]

implemented

Comment by Marzena Piko [ 2011 Jun 22 ]

Similar problem in 1.8.5
master node was turned off, in child nodes (nodeid 2 and nodeid 3) I deleted the master node (nodeid 1) from Administration ->DM, restarted zabbix_server, when tried add now masternode (id 4) frontend do not offer adding node in diffrent type then child
Restarted again etc..
at this point in log still
nodeid 2:
2451:20110622:104904.358 NODE 2: Sending history_str_sync of node 2 to node 1 datalen 368610
2451:20110622:104904.358 NODE 2: Node [1] is unknown
2451:20110622:104904.358 NODE 2: Node [1] is unknown
2451:20110622:104904.358 NODE 2: Node [1] is unknown
2451:20110622:104904.358 NODE 2: Node [1] is unknown
2451:20110622:104904.358 NODE 2: Node [1] is unknown

nodeid 3
20276:20110622:103255.917 NODE 3: Sending history_uint_sync of node 3 to node 1 datalen 292863
20276:20110622:103255.918 NODE 3: Node [1] is unknown
20276:20110622:103255.919 NODE 3: Node [1] is unknown
20276:20110622:103255.919 NODE 3: Node [1] is unknown
20276:20110622:103255.920 NODE 3: Node [1] is unknown
20276:20110622:103255.920 NODE 3: Node [1] is unknown
even that node id 1 was deleted, and I don't haver chance to add new master, in type: there is only child.

Comment by Marzena Piko [ 2011 Jun 22 ]

Problem I described was because before I deleted nodeid 1 in frontend, I tried update it (from id 1 to id 4 and new adress IP),
I when it didn't work I did delete it. When I restore my database and only delete old masternode it went OK, althow i have some strange log entries like "NOT OK", after all, I still thin It is a bug, Idf user do have passibility to modify nodeid and IP, then it should work as espected, but it isn;t as much related to this issue as much as I thought..

Generated at Fri Mar 29 16:36:51 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.