Project

General

Profile

Bug #37376

rgw metadata search (elastic search): meta sync: ERROR: failed to read mdlog info with (2) No such file or directory

Added by hoan nv over 1 year ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Hi all.

I am install rgw metadata search, i create 2 zone: hn-1 and hn-1-es.
My all command.

radosgw-admin realm create --rgw-realm=ss --default
radosgw-admin zonegroup create --rgw-zonegroup=hn --endpoints=http://10.5.8.118:80 --rgw-realm=ss --master --default
radosgw-admin zone create --rgw-zonegroup=hn --rgw-zone=hn-1 --endpoints=http://10.5.8.118:80 --master --default

radosgw-admin zonegroup remove --rgw-zonegroup=default --rgw-zone=default
radosgw-admin period update --commit
radosgw-admin zone delete --rgw-zone=default
radosgw-admin period update --commit
radosgw-admin zonegroup delete --rgw-zonegroup=default
radosgw-admin period update --commit

radosgw-admin user create --uid="synchronization-user" --display-name="Synchronization User" --system

radosgw-admin period update --commit

radosgw-admin zone modify --rgw-zone hn-1 --access-key=CCO3A2ABT5S2HCJ1T9QL --secret=Y7ZcNzjiMPIoBQNp1FokKX4cimDvFS98qTfmmZk8
radosgw-admin period update --commit

radosgw-admin realm pull --url=http://10.5.8.118:80 --access-key=CCO3A2ABT5S2HCJ1T9QL --secret=Y7ZcNzjiMPIoBQNp1FokKX4cimDvFS98qTfmmZk8
radosgw-admin period pull --url=http://10.5.8.118:80 --access-key=CCO3A2ABT5S2HCJ1T9QL --secret=Y7ZcNzjiMPIoBQNp1FokKX4cimDvFS98qTfmmZk8

radosgw-admin period update --commit
radosgw-admin zone create --rgw-zonegroup=hn --rgw-zone=hn-1-es --access-key=CCO3A2ABT5S2HCJ1T9QL --secret=Y7ZcNzjiMPIoBQNp1FokKX4cimDvFS98qTfmmZk8 --endpoints=http://10.5.8.176:8080
radosgw-admin period update --commit
radosgw-admin zone modify --rgw-zone=hn-1-es --tier-type=elasticsearch --tier-config=endpoint=http://10.5.10.26:9200,num_shards=10,num_replicas=1
radosgw-admin period update --commit

My rgw config

[client.rgw.hoannv-ceph-luminous-zone-3-rados-2]
host = hoannv-ceph-luminous-zone-3-rados-2
rgw_frontends = civetweb port=80
rgw_zone = hn-1-es
rgw enable usage log = true
rgw_enable_ops_log = true
rgw_dynamic_resharding = false

I create user and upload file rgw. my logs in attach files.

Thanks

rgw-es-error-1.txt View (246 KB) hoan nv, 11/23/2018 08:35 AM


Related issues

Duplicates rgw - Bug #38698: non existant mdlog failures logged at level 0 Resolved 03/12/2019
Copied to rgw - Backport #40032: luminous: rgw metadata search (elastic search): meta sync: ERROR: failed to read mdlog info with (2) No such file or directory Resolved
Copied to rgw - Backport #40033: mimic: rgw metadata search (elastic search): meta sync: ERROR: failed to read mdlog info with (2) No such file or directory Resolved

History

#1 Updated by Abhishek Lekshmanan over 1 year ago

this error is not a fatal error and usually occurs when the mdlog isnt empty

#2 Updated by hoan nv over 1 year ago

How i can ignore/prevent this logs. A lot of them in my log, i can't see other logs.

#3 Updated by hoan nv over 1 year ago

Abhishek Lekshmanan wrote:

this error is not a fatal error and usually occurs when the mdlog isnt empty

My command show mdlog list


radosgw-admin mdlog list
No --period given, using current period=9fa11a46-8af2-4202-a98e-acb4c4c9de12
[]


mdlog empty but have this log.

#4 Updated by Chang Liu 10 months ago

  • Assignee set to Chang Liu

#5 Updated by Casey Bodley 10 months ago

  • Status changed from New to Pending Backport
  • Pull request ID set to 26908

#6 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #40032: luminous: rgw metadata search (elastic search): meta sync: ERROR: failed to read mdlog info with (2) No such file or directory added

#7 Updated by Nathan Cutler 10 months ago

  • Copied to Backport #40033: mimic: rgw metadata search (elastic search): meta sync: ERROR: failed to read mdlog info with (2) No such file or directory added

#8 Updated by Nathan Cutler 8 months ago

  • Duplicates Bug #38698: non existant mdlog failures logged at level 0 added

#9 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF