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

panic: interface conversion: interface {} is float64, not map[string]interface {} #175

Closed
kody-abe opened this issue May 18, 2021 · 4 comments

Comments

@kody-abe
Copy link

Getting the following panic when using elasticsearch_opendistro_ism_policy_mapping

Terraform Version: v0.12.29
Provider Version: v1.5.4
Elasticsearch Version: 7.10.2

panic: interface conversion: interface {} is float64, not map[string]interface {}
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: goroutine 46 [running]:
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/phillbaker/terraform-provider-elasticsearch/es.resourceElasticsearchOpenDistroISMPolicyMappingRead(0xc0003908c0, 0x1e1be20, 0xc0002fa000, 0xc0003908c0, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   github.com/phillbaker/terraform-provider-elasticsearch/es/resource_elasticsearch_opendistro_ism_policy_mapping.go:84 +0x516
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000148360, 0xc0008a42d0, 0x1e1be20, 0xc0002fa000, 0xc00000e630, 0x0, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   github.com/hashicorp/[email protected]/helper/schema/resource.go:460 +0x119
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc00000e180, 0x242d140, 0xc000818180, 0xc0009120c0, 0xc00000e180, 0xc000818180, 0xc0004f0b78)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   github.com/hashicorp/[email protected]/internal/helper/plugin/grpc_provider.go:525 +0x3d8
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x20739e0, 0xc00000e180, 0x242d140, 0xc000818180, 0xc000912060, 0x0, 0x242d140, 0xc000818180, 0xc00071ac80, 0xc25)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   github.com/hashicorp/[email protected]/internal/tfplugin5/tfplugin5.pb.go:3269 +0x217
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000782c00, 0x243b2e0, 0xc000783b00, 0xc00075e100, 0xc00078e4e0, 0x2e4c250, 0x0, 0x0, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   google.golang.org/[email protected]/server.go:1024 +0x501
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: google.golang.org/grpc.(*Server).handleStream(0xc000782c00, 0x243b2e0, 0xc000783b00, 0xc00075e100, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   google.golang.org/[email protected]/server.go:1313 +0xd3d
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000034130, 0xc000782c00, 0x243b2e0, 0xc000783b00, 0xc00075e100)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   google.golang.org/[email protected]/server.go:722 +0xa1
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: created by google.golang.org/grpc.(*Server).serveStreams.func1
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch:   google.golang.org/[email protected]/server.go:720 +0xa1
2021/05/18 11:41:21 [ERROR] module.elasticsearch: eval: *terraform.EvalRefresh, err: rpc error: code = Unavailable desc = transport is closing
2021/05/18 11:41:21 [ERROR] module.elasticsearch: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/05/18 11:41:21 [TRACE] [walkRefresh] Exiting eval tree: module.elasticsearch.elasticsearch_opendistro_ism_policy_mapping.ultrawarm[0]
2021/05/18 11:41:21 [TRACE] vertex "module.elasticsearch.elasticsearch_opendistro_ism_policy_mapping.ultrawarm[0]": visit complete
2021/05/18 11:41:21 [TRACE] vertex "module.elasticsearch.elasticsearch_opendistro_ism_policy_mapping.ultrawarm": dynamic subgraph encountered errors
2021/05/18 11:41:21 [TRACE] vertex "module.elasticsearch.elasticsearch_opendistro_ism_policy_mapping.ultrawarm": visit complete
2021/05/18 11:41:21 [TRACE] dag/walk: upstream of "provider.elasticsearch (close)" errored, so skipping
2021/05/18 11:41:21 [TRACE] dag/walk: upstream of "root" errored, so skipping
2021-05-18T11:41:21.461-0400 [DEBUG] plugin: plugin process exited: path=/Users/kody.peterson/.terraform.d/plugins/darwin_amd64/terraform-provider-elasticsearch pid=30805 error="exit status 2"
2021-05-18T11:41:21.461-0400 [DEBUG] plugin: plugin exited
2021-05-18T11:41:21.462-0400 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-05-18T11:41:21.467-0400 [DEBUG] plugin: plugin process exited: path=/usr/local/bin/terraform pid=30799
2021-05-18T11:41:21.468-0400 [DEBUG] plugin: plugin exited

Debug Log (Interesting Portion):

2021-05-18T11:41:20.924-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 2021/05/18 11:41:20 [INFO] Using AWS: us-east-1
2021-05-18T11:41:21.456-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 2021/05/18 11:41:21 [INFO] &map[abe-service-log-v1-2021-01-25:map[enabled:false index:abe-service-log-v1-2021-01-25 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.611532800265e+12 index_uuid:bIezvwkHQDakl9aVMBX7sg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-01-26:map[enabled:false index:abe-service-log-v1-2021-01-26 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.611619203775e+12 index_uuid:EExXKjj6TP6ULaceOd4nIA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-01-27:map[enabled:false index:abe-service-log-v1-2021-01-27 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.611705600314e+12 index_uuid:F45e2fsJSQCEZ9FjnqF-Vw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-01-28:map[enabled:false index:abe-service-log-v1-2021-01-28 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.611792005936e+12 index_uuid:tPo3p8QUR1WLwk9WTx4aMQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-01-29:map[enabled:false index:abe-service-log-v1-2021-01-29 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.611878406931e+12 index_uuid:6qrzMPFGQIyKgNbvgnXNMw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-01-30:map[enabled:false index:abe-service-log-v1-2021-01-30 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.611964802481e+12 index_uuid:95BOXGA-SsiDaEJ4Iyhdkw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-01-31:map[enabled:false index:abe-service-log-v1-2021-01-31 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612051200927e+12 index_uuid:pNeFdmg_Rl6v486s5UC7ag policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-01:map[enabled:false index:abe-service-log-v1-2021-02-01 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612137602314e+12 index_uuid:ENaqqJQDScyExxa-RzfA_Q policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-02:map[enabled:false index:abe-service-log-v1-2021-02-02 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612224000118e+12 index_uuid:n9UTzhn6Q9ywuigeMOBl1A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-03:map[enabled:false index:abe-service-log-v1-2021-02-03 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612310402339e+12 index_uuid:EHG6tlDcRzyX-FLkudHGCQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-04:map[enabled:false index:abe-service-log-v1-2021-02-04 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612396802115e+12 index_uuid:Jn_NZhVgToSAPmM_-E2Hpw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-05:map[enabled:false index:abe-service-log-v1-2021-02-05 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612483200924e+12 index_uuid:nEJE-CuCSyCwivJv-T8u5w policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-06:map[enabled:false index:abe-service-log-v1-2021-02-06 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612569600863e+12 index_uuid:m6EUFWh4R_WDgIvK4QURSw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-07:map[enabled:false index:abe-service-log-v1-2021-02-07 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612656001808e+12 index_uuid:x_j5XOeHTaqt0aH8wNJw_g policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-08:map[enabled:false index:abe-service-log-v1-2021-02-08 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61274240139e+12 index_uuid:4YLeQb41RY-VjhjMAu2SqA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-09:map[enabled:false index:abe-service-log-v1-2021-02-09 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612828800813e+12 index_uuid:4k6663JmQxGorwcg_gAVug policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-10:map[enabled:false index:abe-service-log-v1-2021-02-10 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.612915200899e+12 index_uuid:jgddBU1kSn-yzHLZWzZ7ZA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-11:map[enabled:false index:abe-service-log-v1-2021-02-11 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613001601229e+12 index_uuid:4aWnse1tQbmtrtld9-mwQA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-12:map[enabled:false index:abe-service-log-v1-2021-02-12 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613088000458e+12 index_uuid:3jPvxzu8QoCIOfFbAD8Eyw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-13:map[enabled:false index:abe-service-log-v1-2021-02-13 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61317440006e+12 index_uuid:HYZw4kqMTJKMDpZPY59uwA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-14:map[enabled:false index:abe-service-log-v1-2021-02-14 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613260801853e+12 index_uuid:9O8wmU3CRfiDy8GHRB__NQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-15:map[enabled:false index:abe-service-log-v1-2021-02-15 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61334720007e+12 index_uuid:VVNdJnAOSyuQNoflB-jBJw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-16:map[enabled:false index:abe-service-log-v1-2021-02-16 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613433600948e+12 index_uuid:hP9zhOeHR2GySmSI8b2w4Q policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-17:map[enabled:false index:abe-service-log-v1-2021-02-17 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613520000933e+12 index_uuid:ykZoLCJ_Qv6NgqDJUHHi9w policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-18:map[enabled:false index:abe-service-log-v1-2021-02-18 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61360640005e+12 index_uuid:xspmJb61RQuMkW5pcY7zqg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-19:map[enabled:false index:abe-service-log-v1-2021-02-19 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613692800104e+12 index_uuid:HfFy6LZLSkumKQfC4OojLQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-20:map[enabled:false index:abe-service-log-v1-2021-02-20 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613779200779e+12 index_uuid:qfUcMA9UQLqUSZczoWNtjw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-21:map[enabled:false index:abe-service-log-v1-2021-02-21 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613865601346e+12 index_uuid:T9LV6yQHSa6UY2j6KcjkzA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-22:map[enabled:false index:abe-service-log-v1-2021-02-22 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.613952000332e+12 index_uuid:_iy0R1nOT3-hTYBK6_NDMA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-23:map[enabled:false index:abe-service-log-v1-2021-02-23 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614038400305e+12 index_uuid:UIPbIqqITua-hAUS-ctxPw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-24:map[enabled:false index:abe-service-log-v1-2021-02-24 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614124800647e+12 index_uuid:VSmhsO6CRYi2yRLYB9xk7w policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-25:map[enabled:false index:abe-service-log-v1-2021-02-25 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614211200606e+12 index_uuid:7U85xeHpQteej5gy__1JCA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-26:map[enabled:false index:abe-service-log-v1-2021-02-26 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614297600812e+12 index_uuid:PW-N4sv3SIackwPXcO0rzQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-27:map[enabled:false index:abe-service-log-v1-2021-02-27 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614384000486e+12 index_uuid:Xvwlqjo8SNKpuED7Z83aLg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-02-28:map[enabled:false index:abe-service-log-v1-2021-02-28 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614470400531e+12 index_uuid:1ykTBRkwTN-vNcGTT2c6bA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-01:map[enabled:false index:abe-service-log-v1-2021-03-01 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61455680012e+12 index_uuid:Kf4zBKZ0TEekeMsDIp3RRw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-02:map[enabled:false index:abe-service-log-v1-2021-03-02 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614643202558e+12 index_uuid:qgEdy1URSKiTWsz6qndmjA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-03:map[enabled:false index:abe-service-log-v1-2021-03-03 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614729600605e+12 index_uuid:5BgxjxcVT5qJEHndzYZoHA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-04:map[enabled:false index:abe-service-log-v1-2021-03-04 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614816003428e+12 index_uuid:rmq_IQkTT0O3YATsJAF7hw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-05:map[enabled:false index:abe-service-log-v1-2021-03-05 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.6149024001e+12 index_uuid:p03wE-jHSlaGT_YeZA8A_A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-06:map[enabled:false index:abe-service-log-v1-2021-03-06 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.614988800054e+12 index_uuid:jjuPTVKNSkSjWioQwGDsVw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-07:map[enabled:false index:abe-service-log-v1-2021-03-07 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61507520016e+12 index_uuid:0zs7V9EnRJOQzxrj9uVmtQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-08:map[enabled:false index:abe-service-log-v1-2021-03-08 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615161600263e+12 index_uuid:pKfdg5zyRXCZPWb1LV03zw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-09:map[enabled:false index:abe-service-log-v1-2021-03-09 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61524800094e+12 index_uuid:obpTt_YyT8upPyGZO4wvBw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-10:map[enabled:false index:abe-service-log-v1-2021-03-10 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615334400351e+12 index_uuid:u6GBBwGdQNiOi6fCuYYXpg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-11:map[enabled:false index:abe-service-log-v1-2021-03-11 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615420801097e+12 index_uuid:CIPRBVu-S_OfZi7E3p9puQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-12:map[enabled:false index:abe-service-log-v1-2021-03-12 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615507200397e+12 index_uuid:u4d4vrmlRLiiK7EV1HbB0g policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-13:map[enabled:false index:abe-service-log-v1-2021-03-13 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615593600975e+12 index_uuid:ZzdqUsK7SwOXR46BnlqmvA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-14:map[enabled:false index:abe-service-log-v1-2021-03-14 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615680000074e+12 index_uuid:DLp1AL3DRE6tMs8bvC9b5Q policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-15:map[enabled:false index:abe-service-log-v1-2021-03-15 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615766400767e+12 index_uuid:skDLwAGAS3C8eYY9RIHURg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-16:map[enabled:false index:abe-service-log-v1-2021-03-16 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615852801454e+12 index_uuid:WQSMH8rIRcuWOua2tvvJxg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-17:map[enabled:false index:abe-service-log-v1-2021-03-17 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.615939201221e+12 index_uuid:cAXuu6ksQg6n0hjYeFvlHg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-18:map[enabled:false index:abe-service-log-v1-2021-03-18 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616025600652e+12 index_uuid:dz3gYpMAQre2WoZo-Jfmbg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-19:map[enabled:false index:abe-service-log-v1-2021-03-19 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61611200022e+12 index_uuid:x_sFozRBRBOxy21IZMqwuQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-20:map[enabled:false index:abe-service-log-v1-2021-03-20 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616198401065e+12 index_uuid:1xwLG10gTmGFGGgQHKtlTA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-21:map[enabled:false index:abe-service-log-v1-2021-03-21 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616284800546e+12 index_uuid:hbzgqY2wRUG5NHAS7rkV4A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-22:map[enabled:false index:abe-service-log-v1-2021-03-22 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61637120021e+12 index_uuid:aTGl-PV0SfuCBgH1ugsZ5w policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-23:map[enabled:false index:abe-service-log-v1-2021-03-23 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616457600871e+12 index_uuid:brJ284aWQlq9y_Pjy-EedQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-24:map[enabled:false index:abe-service-log-v1-2021-03-24 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616544000217e+12 index_uuid:yoCn1XONS3KW3XUJK-IvNg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-25:map[enabled:false index:abe-service-log-v1-2021-03-25 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616630400702e+12 index_uuid:8_dAmmdeT5eN_I2xe_OpUg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-26:map[enabled:false index:abe-service-log-v1-2021-03-26 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616716801008e+12 index_uuid:nNEghz3ARLufRGfvbfrbOQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-27:map[enabled:false index:abe-service-log-v1-2021-03-27 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616803200131e+12 index_uuid:8jViO3I_TbOV2p8avQd-aQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-28:map[enabled:false index:abe-service-log-v1-2021-03-28 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616889600051e+12 index_uuid:P2-UiLuWQV-rO4LH8qqAmA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-29:map[enabled:false index:abe-service-log-v1-2021-03-29 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.616976000738e+12 index_uuid:R5IZp_spSaK9MSBTd_YHFQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-30:map[enabled:false index:abe-service-log-v1-2021-03-30 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617062401341e+12 index_uuid:VntosuZzTXmbvZTfVu4VxA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-03-31:map[enabled:false index:abe-service-log-v1-2021-03-31 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617148800207e+12 index_uuid:Si5CHc55TT2KaXXXy4pOqw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-01:map[enabled:false index:abe-service-log-v1-2021-04-01 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.6172352001e+12 index_uuid:9tZi2dSPQJ-ecjhf5FU6TQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-02:map[enabled:false index:abe-service-log-v1-2021-04-02 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617321600367e+12 index_uuid:z1ZfsBHOSh2HZgPoM4vuOA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-03:map[enabled:false index:abe-service-log-v1-2021-04-03 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617408000723e+12 index_uuid:CsvTlNJ7Que6dVaFs42yqQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-04:map[enabled:false index:abe-service-log-v1-2021-04-04 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617494401292e+12 index_uuid:lVFezrYVRye1GcfEt4QgIw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-05:map[enabled:false index:abe-service-log-v1-2021-04-05 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617580803346e+12 index_uuid:74X_bznIQr-Fz6ak8Nh4Qw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-06:map[enabled:false index:abe-service-log-v1-2021-04-06 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617667203321e+12 index_uuid:x9CaTJo9SNqZ-h2wnWEm1w policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-07:map[enabled:false index:abe-service-log-v1-2021-04-07 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617753601477e+12 index_uuid:H_ztc4NOTt6YZ2tAPy5_eQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-08:map[enabled:false index:abe-service-log-v1-2021-04-08 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617840000701e+12 index_uuid:67MkV4DzQNOCx17X5uFu5A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-09:map[enabled:false index:abe-service-log-v1-2021-04-09 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.617926403783e+12 index_uuid:1n8xyV9-TG-oRswT126CvQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-10:map[enabled:false index:abe-service-log-v1-2021-04-10 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618012800654e+12 index_uuid:88jszbGORWCrU1ClSQ4etg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-11:map[enabled:false index:abe-service-log-v1-2021-04-11 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618099200276e+12 index_uuid:Jik_wli8Qg6qcH5vo_zGbA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-12:map[enabled:false index:abe-service-log-v1-2021-04-12 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618185600114e+12 index_uuid:DrPWSsEsTi2bKDpSAH6QWg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-13:map[enabled:false index:abe-service-log-v1-2021-04-13 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618272000875e+12 index_uuid:UiNhR-StRy2yxjADyeMACw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-14:map[enabled:false index:abe-service-log-v1-2021-04-14 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618358401494e+12 index_uuid:c0wf9mvtQP2GewGJ3I8yww policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-15:map[enabled:false index:abe-service-log-v1-2021-04-15 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.61844480089e+12 index_uuid:F_hAqd2QSyuICRnUlhcv8Q policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-16:map[enabled:false index:abe-service-log-v1-2021-04-16 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618531200947e+12 index_uuid:XQo1ad4BSfOWb0XSgypP7g policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-17:map[enabled:false index:abe-service-log-v1-2021-04-17 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618617601064e+12 index_uuid:a9nFqs4ORfKcM8osQ1MX0A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-18:map[enabled:false index:abe-service-log-v1-2021-04-18 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618704002336e+12 index_uuid:UmuKwmWzQnqKT6TMTG4J2g policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-19:map[enabled:false index:abe-service-log-v1-2021-04-19 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.618790400292e+12 index_uuid:C8G7vpCnRiOszHxTr8Fjzw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-04-20:map[enabled:false index:abe-service-log-v1-2021-04-20 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:atZeo-XfTGmEJXmN4cd2ug policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-21:map[enabled:false index:abe-service-log-v1-2021-04-21 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:99pzLY8cSnGj47QF1xzD1g policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-22:map[enabled:false index:abe-service-log-v1-2021-04-22 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:VrIdP32uSgusYbMSAxYRMw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-23:map[enabled:false index:abe-service-log-v1-2021-04-23 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:TqjJi6EFRViPvoCCDupZUw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-24:map[enabled:false index:abe-service-log-v1-2021-04-24 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:nWrOhCg_QpKg4mS3KkPHvA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-25:map[enabled:false index:abe-service-log-v1-2021-04-25 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:-79xzRG3TCupNV9LBuwGyg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-26:map[enabled:false index:abe-service-log-v1-2021-04-26 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:skgR48ZKRwy9_4ALhnyJjA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-27:map[enabled:false index:abe-service-log-v1-2021-04-27 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:jJBqqkLZSxKrDB8603Pklg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-28:map[enabled:false index:abe-service-log-v1-2021-04-28 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:t20xjvKXQ5m9Uhsk7GdRuw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-29:map[enabled:false index:abe-service-log-v1-2021-04-29 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:dCKOLXrHSX2TtcuN5W3e8Q policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-04-30:map[enabled:false index:abe-service-log-v1-2021-04-30 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:qgxhVfQNQSiTLmz1gYzE-A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-01:map[enabled:false index:abe-service-log-v1-2021-05-01 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:tHifrJ1dT5Gyxu5dw-SoDA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-02:map[enabled:false index:abe-service-log-v1-2021-05-02 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:ckNRJZJvQ5GFQrKODgPmdw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-03:map[enabled:false index:abe-service-log-v1-2021-05-03 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:KdiFi220SYWfYQeSdNimQA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-04:map[enabled:false index:abe-service-log-v1-2021-05-04 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:7tlacJHgSFSAM_Kavy0L-A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-05:map[enabled:false index:abe-service-log-v1-2021-05-05 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:DVe2EbBPTJ6pGOHVkvNMpA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-06:map[enabled:false index:abe-service-log-v1-2021-05-06 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:t3bRX3BXTTq3RKqWnC7l9A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-07:map[enabled:false index:abe-service-log-v1-2021-05-07 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:kxnPgnTVTGiqoKehkAvMPw policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-08:map[enabled:false index:abe-service-log-v1-2021-05-08 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:ALEwgpaZRryGQrbOCDVu9A policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-09:map[enabled:false index:abe-service-log-v1-2021-05-09 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:dscLnipqT0ix3VHNnLWFEg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-10:map[enabled:false index:abe-service-log-v1-2021-05-10 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:IZaK38oiShy2LrgZdI57pA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-11:map[enabled:false index:abe-service-log-v1-2021-05-11 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_uuid:AhojxTnRQMm98LP7BoaEEg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:2] abe-service-log-v1-2021-05-12:map[enabled:false index:abe-service-log-v1-2021-05-12 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.62077760047e+12 index_uuid:nOweZeeKRIGaPXVW6Auy7w policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-05-13:map[enabled:false index:abe-service-log-v1-2021-05-13 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.620864003962e+12 index_uuid:axlv0-J-QXKR0m0Y9_isZA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-05-14:map[enabled:false index:abe-service-log-v1-2021-05-14 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.62095040318e+12 index_uuid:DtjKEp7rTXWTyF0vLOt8BA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-05-15:map[enabled:false index:abe-service-log-v1-2021-05-15 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.621036805177e+12 index_uuid:TVKy3kcfTRCaZFsuzigebA policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-05-16:map[enabled:false index:abe-service-log-v1-2021-05-16 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.621123201829e+12 index_uuid:kXNwT-6MRF69QFxXLk1qPQ policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-05-17:map[enabled:false index:abe-service-log-v1-2021-05-17 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.621209603561e+12 index_uuid:wwUFTspsTZ-WhseLxicEyg policy_completed:true policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54] abe-service-log-v1-2021-05-18:map[action:map[consumed_retries:0 failed:false index:-1 last_retry_time:0 name:transition start_time:1.621300446314e+12] enabled:true index:abe-service-log-v1-2021-05-18 index.opendistro.index_state_management.policy_id:abe-service-log-v1-move-after-1d index_creation_date:1.621296005073e+12 index_uuid:XdeYNanYS6a2ndmbWTrZsA info:map[message:Evaluating transition conditions [index=abe-service-log-v1-2021-05-18]] policy_id:abe-service-log-v1-move-after-1d policy_primary_term:1 policy_seq_no:54 retry_info:map[consumed_retries:0 failed:false] state:map[name:hot start_time:1.621298847918e+12] step:map[name:attempt_transition start_time:1.621300447108e+12 step_status:condition_not_met]] total_managed_indices:164]
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: panic: interface conversion: interface {} is float64, not map[string]interface {}
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: goroutine 46 [running]:
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/phillbaker/terraform-provider-elasticsearch/es.resourceElasticsearchOpenDistroISMPolicyMappingRead(0xc0003908c0, 0x1e1be20, 0xc0002fa000, 0xc0003908c0, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	github.com/phillbaker/terraform-provider-elasticsearch/es/resource_elasticsearch_opendistro_ism_policy_mapping.go:84 +0x516
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000148360, 0xc0008a42d0, 0x1e1be20, 0xc0002fa000, 0xc00000e630, 0x0, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	github.com/hashicorp/[email protected]/helper/schema/resource.go:460 +0x119
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc00000e180, 0x242d140, 0xc000818180, 0xc0009120c0, 0xc00000e180, 0xc000818180, 0xc0004f0b78)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	github.com/hashicorp/[email protected]/internal/helper/plugin/grpc_provider.go:525 +0x3d8
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x20739e0, 0xc00000e180, 0x242d140, 0xc000818180, 0xc000912060, 0x0, 0x242d140, 0xc000818180, 0xc00071ac80, 0xc25)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	github.com/hashicorp/[email protected]/internal/tfplugin5/tfplugin5.pb.go:3269 +0x217
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000782c00, 0x243b2e0, 0xc000783b00, 0xc00075e100, 0xc00078e4e0, 0x2e4c250, 0x0, 0x0, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	google.golang.org/[email protected]/server.go:1024 +0x501
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: google.golang.org/grpc.(*Server).handleStream(0xc000782c00, 0x243b2e0, 0xc000783b00, 0xc00075e100, 0x0)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	google.golang.org/[email protected]/server.go:1313 +0xd3d
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000034130, 0xc000782c00, 0x243b2e0, 0xc000783b00, 0xc00075e100)
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	google.golang.org/[email protected]/server.go:722 +0xa1
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: created by google.golang.org/grpc.(*Server).serveStreams.func1
2021-05-18T11:41:21.459-0400 [DEBUG] plugin.terraform-provider-elasticsearch: 	google.golang.org/[email protected]/server.go:720 +0xa1
resource "elasticsearch_opendistro_ism_policy_mapping" "ultrawarm" {
  count = length(var.warm_indicies)

  policy_id = elasticsearch_opendistro_ism_policy.ultrawarm[count.index].policy_id
  indexes   = "${var.warm_indicies[count.index]["prefix"]}*"
}

Example var.warm_indicies:

[
    {
      prefix          = "abe-service-log-v1-"
      move_after_days = 1
    },
    {
      prefix          = "abe-log-proxy-error-report-"
      move_after_days = 1
    },
    {
      prefix          = "unknown-log-v1-"
      move_after_days = 1
    },
    {
      prefix          = "abe-tracing-jaeger-span-"
      move_after_days = 1
    },
    {
      prefix          = "abe-tracing-jaeger-service-"
      move_after_days = 1
    },
    {
      prefix          = "abe-tracing-jaeger-dependencies-"
      move_after_days = 1
    },
  ]
@phillbaker
Copy link
Owner

It looks like this is likely due to a new key total_managed_indices in this endpoint, related bug filed upstream: opendistro-for-elasticsearch/index-management#443

Looks like the provider will have to skip this key

@kody-abe
Copy link
Author

Thanks @phillbaker any idea on when we could see this one fixed or a workaround for it? We are bit dead in the water currently.

@phillbaker
Copy link
Owner

This should be fixed with 23401b2, however, it looks like there's another problem with elasticsearch_opendistro_ism_policy_mapping on 1.13.2, which is why master is failing.

@phillbaker
Copy link
Owner

Closing this as fixed in 23401b2, the failure is unrelated to this change.

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

2 participants