container.recon file not not found on container-server

Bug #1941611 reported by Markus Bock
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Confirmed
Medium
Unassigned

Bug Description

On our swift log there are messages like these:

syslog.local0.err {"Payload":"swift-container-server: Error reading recon cache file: #012Traceback (most recent call last):#012 File \"/var/lib/kolla/venv/lib/python3.8/site-packages/swift/common/middleware/recon.py\", line 80, in _from_recon_cache#012 with openr(cache_file, 'r') as f:#012FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/swift/container.recon'\u0000","log_level":"err","Hostname":"swift1.dev.cloud-fc.de","programname":"swift"}

The problem is that the swift_recon_cache-volume,
is not mounted on every container which needed it.

To fix we change the file kolla-ansible/ansible/roles/swift/tasks/start.yml.
We added the line - "swift_recon_cache:/var/cache/swift" to each container, that needed it.

In our case he swift-container-server

This error was also our swift-account-server, but is the same procedure as above.

Markus Bock (mbock2021)
summary: - account.recon file not not found on account-server
+ container.recon file not not found on account-server
summary: - container.recon file not not found on account-server
+ container.recon file not not found on container-server
Markus Bock (mbock2021)
description: updated
Revision history for this message
Mark Goddard (mgoddard) wrote :

Thanks Markus, are you able to propose a fix for this issue?

Changed in kolla-ansible:
importance: Undecided → Medium
Changed in kolla-ansible:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.