Cluster status yellow after upgrade to 1.4.0

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
mike4vr
Posts: 89
Joined: Wed Feb 04, 2015 2:23 pm

Cluster status yellow after upgrade to 1.4.0

Post by mike4vr »

Hello,

After upgrading to 1.4.0 from 1.3.0, the cluster status is now Yellow. I'm seeing 106 unassigned shards and guessing this is the problem. Is there any way I can recover?

Code: Select all

# curl 'localhost:9200/_cluster/health?level=indices&pretty' | grep yellow -A2 -B2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{
  "cluster_name" : "98ec1d45-73e0-4296-ba7f-d7d71953b7e8",
  "status" : "yellow",
  "timed_out" : false,
  "number_of_nodes" : 2,
--
  "indices" : {
    "nagioslogserver" : {
      "status" : "yellow",
      "number_of_shards" : 1,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.08" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.25" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.07" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.28" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.09" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.10" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.11" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.12" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.13" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.19" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.18" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.17" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.16" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.15" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.14" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.23" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.24" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
100  9968  100  9968    0     0  2077k      0 --:--:-- --:--:-- --:--:-- 3244k
--
    },
    "logstash-2015.12.21" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.22" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
--
    },
    "logstash-2015.12.20" : {
      "status" : "yellow",
      "number_of_shards" : 5,
      "number_of_replicas" : 1,
User avatar
mike4vr
Posts: 89
Joined: Wed Feb 04, 2015 2:23 pm

Re: Cluster status yellow after upgrade to 1.4.0

Post by mike4vr »

False alarm. The unassigned shards cleared. I ran the cleanup and we're back to green.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Cluster status yellow after upgrade to 1.4.0

Post by jolson »

Glad to hear it. I'll close this out, thanks!

Jesse
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked