Bug #37376
closedrgw metadata search (elastic search): meta sync: ERROR: failed to read mdlog info with (2) No such file or directory
0%
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 --defaultradosgw-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 --commitradosgw-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 --commitradosgw-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=Y7ZcNzjiMPIoBQNp1FokKX4cimDvFS98qTfmmZk8radosgw-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
Updated by Abhishek Lekshmanan over 5 years ago
this error is not a fatal error and usually occurs when the mdlog isnt empty
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.
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.
Updated by Casey Bodley almost 5 years ago
- Status changed from New to Pending Backport
- Pull request ID set to 26908
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
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
Updated by Nathan Cutler almost 5 years ago
- Is duplicate of Bug #38698: non existant mdlog failures logged at level 0 added
Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved