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