Project

General

Profile

Actions

Bug #37376

closed

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 5 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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


Files

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

Related issues 3 (0 open3 closed)

Is duplicate of rgw - Bug #38698: non existant mdlog failures logged at level 0ResolvedAbhishek Lekshmanan03/12/2019

Actions
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 directoryResolvedPrashant DActions
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 directoryResolvedNathan CutlerActions
Actions #1

Updated by Abhishek Lekshmanan over 5 years ago

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

Actions #2

Updated by hoan nv over 5 years ago

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

Actions #3

Updated by hoan nv over 5 years 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.

Actions #4

Updated by Chang Liu almost 5 years ago

  • Assignee set to Chang Liu
Actions #5

Updated by Casey Bodley almost 5 years ago

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

Updated by Nathan Cutler almost 5 years 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
Actions #7

Updated by Nathan Cutler almost 5 years 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
Actions #8

Updated by Nathan Cutler over 4 years ago

  • Is duplicate of Bug #38698: non existant mdlog failures logged at level 0 added
Actions #9

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF