Skip to content

Commit

Permalink
Add "auth: error parsing file or auth: failed to load" (#632)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Jun 28, 2024
1 parent 349aabb commit b61203f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/guides/troubleshooting-guide/openstack.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,25 @@ testbed-node-0>>> restart kolla_toolbox
kolla_toolbox
testbed-node-0>>>
```

## Ceph connections not working

* Problem: `auth: error parsing file` or `auth: failed to load`

```
$ docker exec -ti nova_compute ceph -k /etc/ceph/ceph.client.nova.keyring -n client.nova -s
2024-06-28T06:43:05.660+0000 7d5df526b640 -1 auth: error parsing file /etc/ceph/ceph.client.nova.keyring: cannot parse buffer: Malformed input
2024-06-28T06:43:05.660+0000 7d5df526b640 -1 auth: failed to load /etc/ceph/ceph.client.nova.keyring: (5) Input/output error
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 auth: error parsing file /etc/ceph/ceph.client.nova.keyring: cannot parse buffer: Malformed input
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 auth: failed to load /etc/ceph/ceph.client.nova.keyring: (5) Input/output error
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 auth: error parsing file /etc/ceph/ceph.client.nova.keyring: cannot parse buffer: Malformed input
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 auth: failed to load /etc/ceph/ceph.client.nova.keyring: (5) Input/output error
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 auth: error parsing file /etc/ceph/ceph.client.nova.keyring: cannot parse buffer: Malformed input
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 auth: failed to load /etc/ceph/ceph.client.nova.keyring: (5) Input/output error
2024-06-28T06:43:05.664+0000 7d5df526b640 -1 monclient: keyring not found
[errno 5] RADOS I/O error (error connecting to the cluster)
```

Solution:

Check your Ceph keyfiles. Probably a missing newline at the EOF.

0 comments on commit b61203f

Please sign in to comment.