[#Issue] tmp

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2024-11-13 12:38:39 +03:00
parent 17d40245de
commit a365f7af81

View file

@ -1,180 +1,207 @@
package logs package logs
const ( const (
RequestUnmatched = "request unmatched" // Error in ../../api/router.go appTagPrefix = "tag:app "
CheckContainer = "check container" // Info in ../../authmate/authmate.go configTagPrefix = "tag:config "
CreateContainer = "create container" // Info in ../../authmate/authmate.go controlpathTagPrefix = "tag:controlpath "
StoreBearerTokenIntoFrostFS = "store bearer token into FrostFS" // Info in ../../authmate/authmate.go datapathTagPrefix = "tag:datapath "
UpdateAccessCredObjectIntoFrostFS = "update access cred object into FrostFS" // Info in ../../authmate/authmate.go datapathBlockchainTagPrefix = "tag:datapath_blockchain "
MetricsAreDisabled = "metrics are disabled" // Warn in ../../metrics/app.go datapathStorageTagPrefix = "tag:datapath_storage "
FoundMoreThanOneUnversionedNode = "found more than one unversioned node" // Debug in ../../pkg/service/tree/tree.go datapathStorageTreeTagPrefix = "tag:datapath_storage_tree "
ServiceIsRunning = "service is running" // Info in ../../cmd/s3-gw/service.go )
ServiceCouldntStartOnConfiguredPort = "service couldn't start on configured port" // Warn in ../../cmd/s3-gw/service.go
ServiceHasntStartedSinceItsDisabled = "service hasn't started since it's disabled" // Info in ../../cmd/s3-gw/service.go const (
ShuttingDownService = "shutting down service" // Info in ../../cmd/s3-gw/service.go CheckContainer = appTagPrefix + "check container"
CantGracefullyShutDownService = "can't gracefully shut down service, force stop" // Error in ../../cmd/s3-gw/service.go CreateContainer = appTagPrefix + "create container"
ContainerResolverWillBeDisabled = "container resolver will be disabled because of resolvers 'resolver_order' is empty" // Info in ../../cmd/s3-gw/app.go StoreBearerTokenIntoFrostFS = appTagPrefix + "store bearer token into FrostFS"
FailedToInitializeTracing = "failed to initialize tracing" // Warn in ../../cmd/s3-gw/app.go UpdateAccessCredObjectIntoFrostFS = appTagPrefix + "update access cred object into FrostFS"
TracingConfigUpdated = "tracing config updated" // Info in ../../cmd/s3-gw/app.go MetricsAreDisabled = appTagPrefix + "metrics are disabled"
FailedToShutdownTracing = "failed to shutdown tracing" // Warn in ../../cmd/s3-gw/app.go ServiceIsRunning = appTagPrefix + "service is running"
UsingCredentials = "using credentials" // Info in ../../cmd/s3-gw/app.go ServiceHasntStartedSinceItsDisabled = appTagPrefix + "service hasn't started since it's disabled"
ApplicationStarted = "application started" // Info in ../../cmd/s3-gw/app.go ShuttingDownService = appTagPrefix + "shutting down service"
ApplicationFinished = "application finished" // Info in ../../cmd/s3-gw/app.go CantGracefullyShutDownService = appTagPrefix + "can't gracefully shut down service, force stop"
StartingServer = "starting server" // Info in ../../cmd/s3-gw/app.go FailedToInitializeTracing = appTagPrefix + "failed to initialize tracing"
StoppingServer = "stopping server" // Info in ../../cmd/s3-gw/app.go TracingConfigUpdated = appTagPrefix + "tracing config updated"
SIGHUPConfigReloadStarted = "SIGHUP config reload started" // Info in ../../cmd/s3-gw/app.go FailedToShutdownTracing = appTagPrefix + "failed to shutdown tracing"
FailedToReloadConfigBecauseItsMissed = "failed to reload config because it's missed" // Warn in ../../cmd/s3-gw/app.go UsingCredentials = appTagPrefix + "using credentials"
FailedToReloadConfig = "failed to reload config" // Warn in ../../cmd/s3-gw/app.go ApplicationStarted = appTagPrefix + "application started"
FailedToReloadResolvers = "failed to reload resolvers" // Warn in ../../cmd/s3-gw/app.go ApplicationFinished = appTagPrefix + "application finished"
FailedToReloadServerParameters = "failed to reload server parameters" // Warn in ../../cmd/s3-gw/app.go StartingServer = appTagPrefix + "starting server"
SIGHUPConfigReloadCompleted = "SIGHUP config reload completed" // Info in ../../cmd/s3-gw/app.go StoppingServer = appTagPrefix + "stopping server"
LogLevelWontBeUpdated = "log level won't be updated" // Warn in ../../cmd/s3-gw/app.go PrepareConnectionPool = appTagPrefix + "prepare connection pool"
FailedToAddServer = "failed to add server" // Warn in ../../cmd/s3-gw/app.go PrepareFrostfsIDClient = appTagPrefix + "prepare frostfsid client"
AddServer = "add server" // Info in ../../cmd/s3-gw/app.go PreparePolicyClient = appTagPrefix + "prepare policy client"
ResolverNNSWontBeUsedSinceRPCEndpointIsntProvided = "resolver 'nns' won't be used since 'rpc_endpoint' isn't provided" // Warn in ../../cmd/s3-gw/app.go CreateSubjectInFrostFSID = appTagPrefix + "create subject in frostfsid"
InvalidLifetimeUsingDefaultValue = "invalid lifetime, using default value (in seconds)" // Error in ../../cmd/s3-gw/app_settings.go SubjectAlreadyExistsInFrostFSID = appTagPrefix + "subject already exists in frostfsid"
InvalidCacheSizeUsingDefaultValue = "invalid cache size, using default value" // Error in ../../cmd/s3-gw/app_settings.go SetSubjectNameInFrostFSID = appTagPrefix + "set subject name in frostfsid"
FailedToParseDefaultLocationConstraint = "failed to parse 'default' location constraint, default one will be used" // Warn in cmd/s3-gw/app_settings.go AddPolicyChainRules = appTagPrefix + "add policy chain rules"
FailedToReadRegionMapFilePolicies = "failed to read region map file, policies will be empty" // Warn in cmd/s3-gw/app_settings.go CantShutDownService = appTagPrefix + "can't shut down service"
DefaultLocationConstraintCantBeOverriden = "'default' location constraint can't be overriden by custom policy, use 'placement_policy.default'" // Warn in cmd/s3-gw/app_settings.go CouldntGenerateRandomKey = appTagPrefix + "couldn't generate random key"
FailedToParseLocationConstraint = "failed to parse location constraint, it cannot be used" // Warn in cmd/s3-gw/app_settings.go FailedToCreateResolver = appTagPrefix + "failed to create resolver"
FailedToParseDefaultCopiesNumbers = "failed to parse 'default' copies numbers, default one will be used" // Warn in cmd/s3-gw/app_settings.go CouldNotLoadFrostFSPrivateKey = appTagPrefix + "could not load FrostFS private key"
FailedToParseCopiesNumbers = "failed to parse copies numbers, skip" // Warn in cmd/s3-gw/app_settings.go FailedToCreateConnectionPool = appTagPrefix + "failed to create connection pool"
DefaultNamespacesCannotBeEmpty = "default namespaces cannot be empty, defaults will be used" // Warn in cmd/s3-gw/app_settings.go FailedToDialConnectionPool = appTagPrefix + "failed to dial connection pool"
FailedToParseNamespacesConfig = "failed to unmarshal namespaces config" // Warn in cmd/s3-gw/app_settings.go FailedToCreateTreePool = appTagPrefix + "failed to create tree pool"
DefaultNamespaceConfigValuesBeOverwritten = "default namespace config value be overwritten by values from 'namespaces.config'" // Warn in cmd/s3-gw/app_settings.go FailedToDialTreePool = appTagPrefix + "failed to dial tree pool"
MultipleDefaultOverridesFound = "multiple default overrides found, only one will be used" // Warn in cmd/s3-gw/app_settings.go ListenAndServe = appTagPrefix + "listen and serve"
FailedToParseDefaultDefaultLocationConstraint = "failed to parse default 'default' location constraint" // Fatal in cmd/s3-gw/app_settings.go NoHealthyServers = appTagPrefix + "no healthy servers"
ConstraintAdded = "constraint added" // Info in ../../cmd/s3-gw/app_settings.go CouldNotInitializeAPIHandler = appTagPrefix + "could not initialize API handler"
SkipEmptyAddress = "skip, empty address" // Warn in ../../cmd/s3-gw/app_settings.go InitFrostfsIDContractFailed = appTagPrefix + "init frostfsid contract failed"
AddedStoragePeer = "added storage peer" // Info in ../../cmd/s3-gw/app_settings.go InitPolicyContractFailed = appTagPrefix + "init policy contract failed"
PrepareConnectionPool = "prepare connection pool" // Debug in ../../cmd/s3-authmate/modules/utils.go ServerReconnecting = appTagPrefix + "reconnecting server..."
PrepareFrostfsIDClient = "prepare frostfsid client" // Debug in ../../cmd/s3-authmate/modules/utils.go ServerReconnectedSuccessfully = appTagPrefix + "server reconnected successfully"
PreparePolicyClient = "prepare policy client" // Debug in ../../cmd/s3-authmate/modules/utils.go ServerReconnectFailed = appTagPrefix + "failed to reconnect server"
CreateSubjectInFrostFSID = "create subject in frostfsid" // Debug in ../../cmd/s3-authmate/modules/utils.go CouldNotFetchCORSContainerInfo = appTagPrefix + "couldn't fetch CORS container info"
SubjectAlreadyExistsInFrostFSID = "subject already exists in frostfsid" // Debug in ../../cmd/s3-authmate/modules/utils.go CouldNotFetchAccessBoxContainerInfo = appTagPrefix + "couldn't fetch AccessBox container info"
SetSubjectNameInFrostFSID = "set subject name in frostfsid" // Debug in ../../cmd/s3-authmate/modules/utils.go CloseCredsObjectPayload = appTagPrefix + "close creds object payload"
AddPolicyChainRules = "add policy chain rules" // Debug in ../../cmd/s3-authmate/modules/utils.go CouldNotFetchLifecycleContainerInfo = appTagPrefix + "couldn't fetch lifecycle container info"
InvalidCacheEntryType = "invalid cache entry type" // Warn in ../../api/cache/* CheckCustomAccessKeyIDUniqueness = appTagPrefix + "check custom access key id uniqueness"
InvalidCacheKeyType = "invalid cache key type" // Warn in ../../api/cache/objectslist.go FailedToLoadMultinetConfig = appTagPrefix + "failed to load multinet config"
ObjectIsCopied = "object is copied" // Info in ../../api/handler/copy.go MultinetConfigWontBeUpdated = appTagPrefix + "multinet config won't be updated"
RequestFailed = "request failed" // Error in ../../api/handler/util.go MultinetDialSuccess = appTagPrefix + "multinet dial successful"
GetBucketInfo = "get bucket info" // Warn in ../../api/handler/cors.go MultinetDialFail = appTagPrefix + "multinet dial failed"
GetBucketCors = "get bucket cors" // Warn in ../../api/handler/cors.go )
CouldntDeleteObject = "couldn't delete object" // Error in ../../api/layer/layer.go
BucketIsCreated = "bucket is created" // Info in ../../api/handler/put.go const (
CouldNotParseContainerObjectLockEnabledAttribute = "could not parse container object lock enabled attribute" // Error in ../../api/layer/container.go ContainerResolverWillBeDisabled = configTagPrefix + "container resolver will be disabled because of resolvers 'resolver_order' is empty"
CouldNotListUserContainers = "could not list user containers" // Error in ../../api/layer/container.go FailedToAddServer = configTagPrefix + "failed to add server"
CouldNotFetchContainerInfo = "could not fetch container info" // Error in ../../api/layer/container.go LogLevelWontBeUpdated = configTagPrefix + "log level won't be updated"
MismatchedObjEncryptionInfo = "mismatched obj encryptionInfo" // Warn in ../../api/layer/multipart_upload.go FailedToReloadConfigBecauseItsMissed = configTagPrefix + "failed to reload config because it's missed"
UploadPart = "upload part" // Debug in ../../api/layer/multipart_upload.go FailedToReloadConfig = configTagPrefix + "failed to reload config"
CouldntDeleteOldPartObject = "couldn't delete old part object" // Error in ../../api/layer/multipart_upload.go FailedToReloadResolvers = configTagPrefix + "failed to reload resolvers"
CouldNotPutCompletedObject = "could not put a completed object (multipart upload)" // Error in ../../api/layer/multipart_upload.go FailedToReloadServerParameters = configTagPrefix + "failed to reload server parameters"
CouldNotDeleteUploadPart = "could not delete upload part" // Warn in ../../api/layer/multipart_upload.go AddServer = configTagPrefix + "add server"
CouldntDeletePart = "couldn't delete part" // Warn in ../../api/layer/multipart_upload.go ResolverNNSWontBeUsedSinceRPCEndpointIsntProvided = configTagPrefix + "resolver 'nns' won't be used since 'rpc_endpoint' isn't provided"
PartDetails = "part details" // Debug in ../../api/layer/multipart_upload.go InvalidLifetimeUsingDefaultValue = configTagPrefix + "invalid lifetime, using default value (in seconds)"
GetObject = "get object" // Debug in ../../api/layer/layer.go InvalidCacheSizeUsingDefaultValue = configTagPrefix + "invalid cache size, using default value"
ResolveBucket = "resolve bucket" // Info in ../../api/layer/layer.go FailedToParseDefaultLocationConstraint = configTagPrefix + "failed to parse 'default' location constraint, default one will be used"
CouldntDeleteCorsObject = "couldn't delete cors object" // Error in ../../api/layer/cors.go FailedToReadRegionMapFilePolicies = configTagPrefix + "failed to read region map file, policies will be empty"
PutObject = "put object" // Debug in ../../api/layer/object.go DefaultLocationConstraintCantBeOverriden = configTagPrefix + "'default' location constraint can't be overriden by custom policy, use 'placement_policy.default'"
FailedToDeleteObject = "failed to delete object" // Debug in ../../api/layer/object.go FailedToParseLocationConstraint = configTagPrefix + "failed to parse location constraint, it cannot be used"
FailedToDiscardPutPayloadProbablyGoroutineLeaks = "failed to discard put payload, probably goroutine leaks" // Warn in ../../api/layer/object.go FailedToParseDefaultCopiesNumbers = configTagPrefix + "failed to parse 'default' copies numbers, default one will be used"
FailedToSubmitTaskToPool = "failed to submit task to pool" // Warn in ../../api/layer/object.go FailedToParseCopiesNumbers = configTagPrefix + "failed to parse copies numbers, skip"
CouldNotFetchObjectMeta = "could not fetch object meta" // Warn in ../../api/layer/object.go DefaultNamespacesCannotBeEmpty = configTagPrefix + "default namespaces cannot be empty, defaults will be used"
GetTreeNode = "get tree node" // Debug in ../../api/layer/tagging.go FailedToParseNamespacesConfig = configTagPrefix + "failed to unmarshal namespaces config"
GetTreeNodeToDelete = "get tree node to delete" // Debug in ../../api/layer/tagging.go DefaultNamespaceConfigValuesBeOverwritten = configTagPrefix + "default namespace config value be overwritten by values from 'namespaces.config'"
CouldntPutBucketInfoIntoCache = "couldn't put bucket info into cache" // Warn in ../../api/layer/cache.go MultipleDefaultOverridesFound = configTagPrefix + "multiple default overrides found, only one will be used"
CouldntAddObjectToCache = "couldn't add object to cache" // Warn in ../../api/layer/cache.go FailedToParseDefaultDefaultLocationConstraint = configTagPrefix + "failed to parse default 'default' location constraint"
CouldntCacheAccessControlOperation = "couldn't cache access control operation" // Warn in ../../api/layer/cache.go ConstraintAdded = configTagPrefix + "constraint added"
CouldntPutObjAddressToNameCache = "couldn't put obj address to name cache" // Warn in ../../api/layer/cache.go SkipEmptyAddress = configTagPrefix + "skip, empty address"
CouldntCacheListOfObjects = "couldn't cache list of objects" // Warn in ../../api/layer/cache.go AddedStoragePeer = configTagPrefix + "added storage peer"
CouldntCacheListSession = "couldn't cache list session" // Warn in ../../api/layer/cache.go FailedToInitializeHTTPLogger = configTagPrefix + "failed to initialize http logger"
CouldntCacheTags = "couldn't cache tags" // Error in ../../api/layer/cache.go InvalidDefaultMaxAge = configTagPrefix + "invalid defaultMaxAge"
CouldntCacheLockInfo = "couldn't cache lock info" // Error in ../../api/layer/cache.go RuntimeSoftMemoryDefinedWithGOMEMLIMIT = configTagPrefix + "soft runtime memory defined with GOMEMLIMIT environment variable, config value skipped"
CouldntCacheBucketSettings = "couldn't cache bucket settings" // Warn in ../../api/layer/cache.go RuntimeSoftMemoryLimitUpdated = configTagPrefix + "soft runtime memory limit value updated"
CouldntCacheCors = "couldn't cache cors" // Warn in ../../api/layer/cache.go InvalidAccessBoxCacheRemovingCheckInterval = configTagPrefix + "invalid accessbox check removing interval, using default value"
CouldntCacheListPolicyChains = "couldn't cache list policy chains" // Warn in ../../api/layer/cache.go WarnDuplicateAddress = configTagPrefix + "duplicate address"
RequestEnd = "request end" // Info in ../../api/middleware/response.go WarnDuplicateNamespaceVHS = configTagPrefix + "duplicate namespace with enabled VHS, config value skipped"
CouldntReceiveAccessBoxForGateKeyRandomKeyWillBeUsed = "couldn't receive access box for gate key, random key will be used" // Debug in ../../api/middleware/auth.go WarnValueVHSEnabledFlagWrongType = configTagPrefix + "the value of the VHS enable flag for the namespace is of the wrong type, config value skipped"
FailedToPassAuthentication = "failed to pass authentication" // Error in ../../api/middleware/auth.go WarnDomainContainsInvalidPlaceholder = configTagPrefix + "the domain contains an invalid placeholder, domain skipped"
FailedToResolveCID = "failed to resolve CID" // Debug in ../../api/middleware/metrics.go )
RequestStart = "request start" // Info in ../../api/middleware/reqinfo.go
LogHTTP = "http log" // Info in ../../api/middleware/log_http.go const (
FailedToCloseHTTPBody = "failed to close http body" // Error in ../../api/middleware/log_http.go SIGHUPConfigReloadStarted = controlpathTagPrefix + "SIGHUP config reload started"
FailedToInitializeHTTPLogger = "failed to initialize http logger" // Error in ../../api/middleware/log_http.go SIGHUPConfigReloadCompleted = controlpathTagPrefix + "SIGHUP config reload completed"
FailedToReloadHTTPFileLogger = "failed to reload http file logger" // Error in ../../api/middleware/log_http.go )
FailedToReadHTTPBody = "failed to read http body" // Error in ../../api/middleware/log_http.go
FailedToProcessHTTPBody = "failed to process http body" // Error in ../../api/middleware/log_http.go const (
LogHTTPDisabledInThisBuild = "http logging disabled in this build" // Warn in ../../api/middleware/log_http_stub.go RequestUnmatched = datapathTagPrefix + "request unmatched"
FailedToUnescapeObjectName = "failed to unescape object name" // Warn in ../../api/middleware/reqinfo.go RequestStart = datapathTagPrefix + "request start"
InvalidDefaultMaxAge = "invalid defaultMaxAge" // Fatal in ../../cmd/s3-gw/app_settings.go RequestEnd = datapathTagPrefix + "request end"
CantShutDownService = "can't shut down service" // Panic in ../../cmd/s3-gw/service.go RequestFailed = datapathTagPrefix + "request failed"
CouldntGenerateRandomKey = "couldn't generate random key" // Fatal in ../../cmd/s3-gw/app.go ObjectIsCopied = datapathTagPrefix + "object is copied"
FailedToCreateResolver = "failed to create resolver" // Fatal in ../../cmd/s3-gw/app.go GetBucketInfo = datapathTagPrefix + "get bucket info"
CouldNotLoadFrostFSPrivateKey = "could not load FrostFS private key" // Fatal in ../../cmd/s3-gw/app.go GetBucketCors = datapathTagPrefix + "get bucket cors"
FailedToCreateConnectionPool = "failed to create connection pool" // Fatal in ../../cmd/s3-gw/app.go CouldntDeleteObject = datapathTagPrefix + "couldn't delete object"
FailedToDialConnectionPool = "failed to dial connection pool" // Fatal in ../../cmd/s3-gw/app.go BucketIsCreated = datapathTagPrefix + "bucket is created"
FailedToCreateTreePool = "failed to create tree pool" // Fatal in ../../cmd/s3-gw/app.go CouldNotParseContainerObjectLockEnabledAttribute = datapathTagPrefix + "could not parse container object lock enabled attribute"
FailedToDialTreePool = "failed to dial tree pool" // Fatal in ../../cmd/s3-gw/app.go CouldNotListUserContainers = datapathTagPrefix + "could not list user containers"
ListenAndServe = "listen and serve" // Fatal in ../../cmd/s3-gw/app.go CouldNotFetchContainerInfo = datapathTagPrefix + "could not fetch container info"
NoHealthyServers = "no healthy servers" // Fatal in ../../cmd/s3-gw/app.go MismatchedObjEncryptionInfo = datapathTagPrefix + "mismatched obj encryptionInfo"
CouldNotInitializeAPIHandler = "could not initialize API handler" // Fatal in ../../cmd/s3-gw/app.go CouldNotPutCompletedObject = datapathTagPrefix + "could not put a completed object (multipart upload)"
RuntimeSoftMemoryDefinedWithGOMEMLIMIT = "soft runtime memory defined with GOMEMLIMIT environment variable, config value skipped" // Warn in ../../cmd/s3-gw/app.go PartDetails = datapathTagPrefix + "part details"
RuntimeSoftMemoryLimitUpdated = "soft runtime memory limit value updated" // Info in ../../cmd/s3-gw/app.go GetObject = datapathTagPrefix + "get object"
AnonRequestSkipFrostfsIDValidation = "anon request, skip FrostfsID validation" // Debug in ../../api/middleware/auth.go ResolveBucket = datapathTagPrefix + "resolve bucket"
FrostfsIDValidationFailed = "FrostfsID validation failed" // Error in ../../api/middleware/auth.go CouldntDeleteCorsObject = datapathTagPrefix + "couldn't delete cors object"
InitFrostfsIDContractFailed = "init frostfsid contract failed" // Fatal in ../../cmd/s3-gw/app.go PutObject = datapathTagPrefix + "put object"
InitPolicyContractFailed = "init policy contract failed" // Fatal in ../../cmd/s3-gw/app.go FailedToDiscardPutPayloadProbablyGoroutineLeaks = datapathTagPrefix + "failed to discard put payload, probably goroutine leaks"
PolicyValidationFailed = "policy validation failed" FailedToSubmitTaskToPool = datapathTagPrefix + "failed to submit task to pool"
ServerReconnecting = "reconnecting server..." CouldntPutBucketInfoIntoCache = datapathTagPrefix + "couldn't put bucket info into cache"
ServerReconnectedSuccessfully = "server reconnected successfully" CouldntAddObjectToCache = datapathTagPrefix + "couldn't add object to cache"
ServerReconnectFailed = "failed to reconnect server" CouldntCacheAccessControlOperation = datapathTagPrefix + "couldn't cache access control operation"
ParseTreeNode = "parse tree node" CouldntPutObjAddressToNameCache = datapathTagPrefix + "couldn't put obj address to name cache"
FailedToGetRealObjectSize = "failed to get real object size" CouldntCacheListOfObjects = datapathTagPrefix + "couldn't cache list of objects"
CouldntDeleteObjectFromStorageContinueDeleting = "couldn't delete object from storage, continue deleting from tree" CouldntCacheListSession = datapathTagPrefix + "couldn't cache list session"
CouldntPutAccessBoxIntoCache = "couldn't put accessbox into cache" CouldntCacheTags = datapathTagPrefix + "couldn't cache tags"
InvalidAccessBoxCacheRemovingCheckInterval = "invalid accessbox check removing interval, using default value" CouldntCacheLockInfo = datapathTagPrefix + "couldn't cache lock info"
CouldNotCloseRequestBody = "could not close request body" CouldntCacheBucketSettings = datapathTagPrefix + "couldn't cache bucket settings"
BucketOwnerKeyIsMissing = "bucket owner key is missing" CouldntCacheCors = datapathTagPrefix + "couldn't cache cors"
SettingsNodeInvalidOwnerKey = "settings node: invalid owner key" CouldntCacheListPolicyChains = datapathTagPrefix + "couldn't cache list policy chains"
SuccessfulAuth = "successful auth" InvalidCacheEntryType = datapathTagPrefix + "invalid cache entry type"
PolicyRequest = "policy request" InvalidCacheKeyType = datapathTagPrefix + "invalid cache key type"
FailedToGenerateRequestID = "failed to generate request id" CouldntReceiveAccessBoxForGateKeyRandomKeyWillBeUsed = datapathTagPrefix + "couldn't receive access box for gate key, random key will be used"
InvalidBucketObjectLockEnabledHeader = "invalid X-Amz-Bucket-Object-Lock-Enabled header" FailedToPassAuthentication = datapathTagPrefix + "failed to pass authentication"
InvalidTreeKV = "invalid tree service meta KV" FailedToResolveCID = datapathTagPrefix + "failed to resolve CID"
FailedToWriteResponse = "failed to write response" LogHTTP = datapathTagPrefix + "http log"
WarnDuplicateAddress = "duplicate address" FailedToCloseHTTPBody = datapathTagPrefix + "failed to close http body"
PolicyCouldntBeConvertedToNativeRules = "policy couldn't be converted to native rules, only s3 rules be applied" FailedToReadHTTPBody = datapathTagPrefix + "failed to read http body"
CouldntCacheSubject = "couldn't cache subject info" FailedToProcessHTTPBody = datapathTagPrefix + "failed to process http body"
UserGroupsListIsEmpty = "user groups list is empty, subject not found" LogHTTPDisabledInThisBuild = datapathTagPrefix + "http logging disabled in this build"
CouldntCacheUserKey = "couldn't cache user key" FailedToUnescapeObjectName = datapathTagPrefix + "failed to unescape object name"
ObjectTaggingNodeHasMultipleIDs = "object tagging node has multiple ids" AnonRequestSkipFrostfsIDValidation = datapathTagPrefix + "anon request, skip FrostfsID validation"
BucketTaggingNodeHasMultipleIDs = "bucket tagging node has multiple ids" FrostfsIDValidationFailed = datapathTagPrefix + "FrostfsID validation failed"
BucketSettingsNodeHasMultipleIDs = "bucket settings node has multiple ids" PolicyValidationFailed = datapathTagPrefix + "policy validation failed"
BucketCORSNodeHasMultipleIDs = "bucket cors node has multiple ids" FailedToGetRealObjectSize = datapathTagPrefix + "failed to get real object size"
SystemNodeHasMultipleIDs = "system node has multiple ids" CouldntDeleteObjectFromStorageContinueDeleting = datapathTagPrefix + "couldn't delete object from storage, continue deleting from tree"
FailedToRemoveOldSystemNode = "failed to remove old system node" CouldntPutAccessBoxIntoCache = datapathTagPrefix + "couldn't put accessbox into cache"
FailedToParseAddressInTreeNode = "failed to parse object addr in tree node" CouldNotCloseRequestBody = datapathTagPrefix + "could not close request body"
UnexpectedMultiNodeIDsInSubTreeMultiParts = "unexpected multi node ids in sub tree multi parts" BucketOwnerKeyIsMissing = datapathTagPrefix + "bucket owner key is missing"
FoundSeveralSystemNodes = "found several system nodes" PolicyRequest = datapathTagPrefix + "policy request"
FailedToParsePartInfo = "failed to parse part info" FailedToGenerateRequestID = datapathTagPrefix + "failed to generate request id"
CouldNotFetchCORSContainerInfo = "couldn't fetch CORS container info" SuccessfulAuth = datapathTagPrefix + "successful auth"
CouldNotFetchAccessBoxContainerInfo = "couldn't fetch AccessBox container info" InvalidBucketObjectLockEnabledHeader = datapathTagPrefix + "invalid X-Amz-Bucket-Object-Lock-Enabled header"
CloseCredsObjectPayload = "close creds object payload" FailedToWriteResponse = datapathTagPrefix + "failed to write response"
CouldntDeleteLifecycleObject = "couldn't delete lifecycle configuration object" PolicyCouldntBeConvertedToNativeRules = datapathTagPrefix + "policy couldn't be converted to native rules, only s3 rules be applied"
CouldntCacheLifecycleConfiguration = "couldn't cache lifecycle configuration" CouldntCacheLifecycleConfiguration = datapathTagPrefix + "couldn't cache lifecycle configuration"
CouldNotFetchLifecycleContainerInfo = "couldn't fetch lifecycle container info" CouldntCacheNetworkInfo = datapathTagPrefix + "couldn't cache network info"
BucketLifecycleNodeHasMultipleIDs = "bucket lifecycle node has multiple ids" NotSupported = datapathTagPrefix + "not supported"
GetBucketLifecycle = "get bucket lifecycle" )
WarnDuplicateNamespaceVHS = "duplicate namespace with enabled VHS, config value skipped"
WarnValueVHSEnabledFlagWrongType = "the value of the VHS enable flag for the namespace is of the wrong type, config value skipped" const (
WarnDomainContainsInvalidPlaceholder = "the domain contains an invalid placeholder, domain skipped" UserGroupsListIsEmpty = datapathBlockchainTagPrefix + "user groups list is empty, subject not found"
FailedToRemoveOldPartNode = "failed to remove old part node" CouldntCacheSubject = datapathBlockchainTagPrefix + "couldn't cache subject info"
CouldntCacheNetworkInfo = "couldn't cache network info" CouldntCacheUserKey = datapathBlockchainTagPrefix + "couldn't cache user key"
NotSupported = "not supported" )
CheckCustomAccessKeyIDUniqueness = "check custom access key id uniqueness"
FailedToLoadMultinetConfig = "failed to load multinet config" const (
MultinetConfigWontBeUpdated = "multinet config won't be updated" CouldntDeleteOldPartObject = datapathStorageTagPrefix + "couldn't delete old part object"
MultinetDialSuccess = "multinet dial successful" CouldNotDeleteUploadPart = datapathStorageTagPrefix + "could not delete upload part"
MultinetDialFail = "multinet dial failed" CouldntDeletePart = datapathStorageTagPrefix + "couldn't delete part"
FailedToDeleteObject = datapathStorageTagPrefix + "failed to delete object"
CouldNotFetchObjectMeta = datapathStorageTagPrefix + "could not fetch object meta"
CouldntDeleteLifecycleObject = datapathStorageTagPrefix + "couldn't delete lifecycle configuration object"
)
const (
ServiceCouldntStartOnConfiguredPort = datapathStorageTreeTagPrefix + "service couldn't start on configured port"
FoundMoreThanOneUnversionedNode = datapathStorageTreeTagPrefix + "found more than one unversioned node"
UploadPart = datapathStorageTreeTagPrefix + "upload part"
GetTreeNode = datapathStorageTreeTagPrefix + "get tree node"
GetTreeNodeToDelete = datapathStorageTreeTagPrefix + "get tree node to delete"
ParseTreeNode = datapathStorageTreeTagPrefix + "parse tree node"
SettingsNodeInvalidOwnerKey = datapathStorageTreeTagPrefix + "settings node: invalid owner key"
InvalidTreeKV = datapathStorageTreeTagPrefix + "invalid tree service meta KV"
ObjectTaggingNodeHasMultipleIDs = datapathStorageTreeTagPrefix + "object tagging node has multiple ids"
BucketTaggingNodeHasMultipleIDs = datapathStorageTreeTagPrefix + "bucket tagging node has multiple ids"
BucketSettingsNodeHasMultipleIDs = datapathStorageTreeTagPrefix + "bucket settings node has multiple ids"
BucketCORSNodeHasMultipleIDs = datapathStorageTreeTagPrefix + "bucket cors node has multiple ids"
SystemNodeHasMultipleIDs = datapathStorageTreeTagPrefix + "system node has multiple ids"
FailedToRemoveOldSystemNode = datapathStorageTreeTagPrefix + "failed to remove old system node"
FailedToParseAddressInTreeNode = datapathStorageTreeTagPrefix + "failed to parse object addr in tree node"
UnexpectedMultiNodeIDsInSubTreeMultiParts = datapathStorageTreeTagPrefix + "unexpected multi node ids in sub tree multi parts"
FoundSeveralSystemNodes = datapathStorageTreeTagPrefix + "found several system nodes"
FailedToParsePartInfo = datapathStorageTreeTagPrefix + "failed to parse part info"
BucketLifecycleNodeHasMultipleIDs = datapathStorageTreeTagPrefix + "bucket lifecycle node has multiple ids"
GetBucketLifecycle = datapathStorageTreeTagPrefix + "get bucket lifecycle"
FailedToRemoveOldPartNode = datapathStorageTreeTagPrefix + "failed to remove old part node"
) )