Available in Classic and VPC
You may encounter the following issues when you use Object Storage: View the causes and solutions by problem and take proper action.
Object transfer error
I set the lifecycle policy, but the object is not transferred.
Cause
- Lifecycle Management starts at 01:00 AM, 07:00 AM, 13:00 PM, and 19:00 PM in Korean time every day. The end time may vary depending on the task volume.
- The Lifecycle Management feature may not operate properly if the number of objects in the single bucket exceeds 1 million.
Solution
- View the policy and the transfer path again referring to lifecycle policy examples.
If you use Cloud Activity Tracer, you can view whether the lifecycle policy features work and the number of objects transferred. - When the number of objects in the single bucket exceeds 1 million, try again after reducing the number of objects or uploading the objects by dividing them into other buckets.
Unable to transfer to Archive Storage
I set the lifecycle policy, but some objects are not transferred to Archive Storage.
Cause
If the transferred target name has a duplicate slash (/) or is beyond 215 bytes, it may not be transferred.
Solution
- View whether the file name has a duplicate slash.
- View the length of the file name. To view the length of the object's file name, see the following example codes:
<Example code>
The Python SDK example codes to view objects whose file name is beyond 215 Bytes are as follows:import boto3 service_name = 's3' endpoint_url = 'https://kr.object.ncloudstorage.com' region_name = 'kr-standard' access_key = 'ACCESS_KEY' secret_key = 'SECRET_KEY' if __name__ == "__main__": s3 = boto3.client(service_name, endpoint_url=endpoint_url, aws_access_key_id=access_key, aws_secret_access_key=secret_key) bucket_name = ‘sample-bucket’ # Paginator to handle cases with many objects paginator = s3.get_paginator('list_objects_v2') for page in paginator.paginate(Bucket=bucket_name): for obj in page.get('Contents', []): key = obj['Key'] byte_length = len(key.encode('utf-8')) if byte_length >= 215: print(f"{key}: {byte_length} bytes")
Note
If you cannot find information you need in this guide, or if you need more information, click the feedback icon below and send your opinions at any time. We will refer to your opinions and provide more useful information.