Page 1 of 1

Cluster status yellow after upgrade to 1.4.0

Posted: Mon Dec 28, 2015 2:07 pm
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,

Re: Cluster status yellow after upgrade to 1.4.0

Posted: Mon Dec 28, 2015 3:05 pm
by mike4vr
False alarm. The unassigned shards cleared. I ran the cleanup and we're back to green.

Re: Cluster status yellow after upgrade to 1.4.0

Posted: Mon Dec 28, 2015 3:08 pm
by jolson
Glad to hear it. I'll close this out, thanks!

Jesse