Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcos-check cockraoch checks also dead/decommissioned nodes. #41

Open
azzeddinefaik opened this issue Nov 16, 2019 · 0 comments
Open

dcos-check cockraoch checks also dead/decommissioned nodes. #41

azzeddinefaik opened this issue Nov 16, 2019 · 0 comments

Comments

@azzeddinefaik
Copy link

I am doing upgrade of dcos nodes and todo this successfully, I need to replace nodes. I keep same IPs. When I deployed first master node all went well. but when I tryed second node. I see Master Node Poststart Checks failing due to 'underreplicated ranges' error.

When I checked Cockroachdb :

+----+-------------------+--------+---------------------+---------------------+---------+------------------+-----------------------+--------+--------------------+------------------------+------------+-----------+-------------+--------------+--------------+-------------------+--------------------+-------------+
| id | address | build | updated_at | started_at | is_live | replicas_leaders | replicas_leaseholders | ranges | ranges_unavailable | ranges_underreplicated | live_bytes | key_bytes | value_bytes | intent_bytes | system_bytes | gossiped_replicas | is_decommissioning | is_draining |
+----+-------------------+--------+---------------------+---------------------+---------+------------------+-----------------------+--------+--------------------+------------------------+------------+-----------+-------------+--------------+--------------+-------------------+--------------------+-------------+
| 1 | 10.46.24.38:26257 | v2.0.7 | 2019-11-10 15:53:09 | 2019-11-05 13:51:50 | false | 67 | 67 | 277 | 0 | 62 | 9180582124 | 101507003 | 9079461165 | 0 | 321398 | 0 | true | true |
| 2 | 10.46.24.32:26257 | v2.0.7 | 2019-11-12 10:01:23 | 2019-11-03 01:36:50 | true | 54 | 54 | 277 | 0 | 0 | 9191030118 | 102172223 | 9089443619 | 0 | 434627 | 278 | false | false |
| 3 | 10.46.24.18:26257 | v2.0.7 | 2019-11-10 15:14:21 | 2019-11-05 09:25:50 | false | 57 | 57 | 277 | 0 | 0 | 9167215758 | 101497475 | 9066035078 | 0 | 265050 | 0 | true | true |
| 4 | 10.46.24.24:26257 | v2.0.7 | 2019-11-12 10:01:29 | 2019-11-11 14:45:05 | true | 60 | 59 | 277 | 0 | 0 | 9191091750 | 102172283 | 9089505369 | 0 | 434633 | 278 | false | false |
| 5 | 10.46.24.34:26257 | v2.0.7 | 2019-11-12 10:01:27 | 2019-11-10 17:41:37 | true | 55 | 54 | 277 | 0 | 0 | 9191071206 | 102172259 | 9089484779 | 0 | 434633 | 278 | false | false |
| 6 | 10.46.24.18:26257 | v2.0.7 | 2019-11-12 10:01:26 | 2019-11-11 09:26:36 | true | 54 | 54 | 277 | 0 | 0 | 9191050662 | 102172235 | 9089464187 | 0 | 434627 | 278 | false | false |
| 7 | 10.46.24.38:26257 | v2.0.7 | 2019-11-12 10:01:21 | 2019-11-12 08:46:40 | true | 54 | 50 | 277 | 0 | 0 | 9191009574 | 102172175 | 9089422981 | 0 | 434627 | 278 | false | false |
+----+-------------------+--------+---------------------+---------------------+---------+------------------+-----------------------+--------+--------------------+------------------------+------------+-----------+-------------+--------------+--------------+-------------------+--------------------+-------------+
(7 rows)
[root@thor-eu2-master-1 centos]#

I check zone configuration looks : replica factor is 5.
when I checked, I saw that the dcos-check used 127.0.0.1:8090/_status/nodes to get stats about nodes. but it include dead nodes. in my case one of dead/decommissioned node have under-replicated range ( node 1 - 62 ) but as I am using same IP as node 7. I can not recommission it.

can you help to re-mediate the situation.
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant