You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the delete on the storage in _cleanupInternalCRLMapping in builtin/logical/pki/issuing/config_revocation.go passes a path with two consecutive slashes to the backend, e.g. when baseCRLPath is "unified-crls/" in the !isLocal case
if err := s.Delete(ctx, baseCRLPath+"/"+crl); err != nil {
return fmt.Errorf("failed cleaning up orphaned CRL %v: %w", crl, err)
}
While probably no issue for the default backends it trips up the zookeeper one in cleanupLogicalPath
URL: PUT ....:8200/v1/ui/.../root/generate/internal
* 1 error occurred:
* unable to update local CRL config's modification time: error persisting local CRL config: failed to clean up internal CRL mapping: failed cleaning up orphaned CRL c6e199ee-8f9c-18e0-d07b-c541f9c1ff71-delta: failed to acquire node data: zk: invalid path
adding filepath.Clean to the splitting in cleanupLogicalPath (nodes := strings.Split(filepath.Clean(path), "/")) or properly joining in _cleanupInternalCRLMapping fixes the problem
The text was updated successfully, but these errors were encountered:
the delete on the storage in _cleanupInternalCRLMapping in builtin/logical/pki/issuing/config_revocation.go passes a path with two consecutive slashes to the backend, e.g. when baseCRLPath is "unified-crls/" in the !isLocal case
While probably no issue for the default backends it trips up the zookeeper one in cleanupLogicalPath
adding filepath.Clean to the splitting in cleanupLogicalPath (
nodes := strings.Split(filepath.Clean(path), "/")
) or properly joining in _cleanupInternalCRLMapping fixes the problemThe text was updated successfully, but these errors were encountered: