This topic describes the possible causes of and solutions to the issue that inventory lists have not been generated for a bucket for an extended period of time after you configure an inventory for the bucket.
Inventory lists cannot be written to the specified bucket because a DENY policy is configured for the bucket
For example, if the destination bucket that stores inventory lists is configured with a policy that allows only specific IP addresses to access inventory lists, the IP addresses used by the inventory daemon to write inventory lists to the destination bucket are not included in the allowed IP addresses.
Solutions:
-
Specify another bucket to store the inventory lists generated for the source bucket. Make sure that the bucket is located in the same region as the source bucket and no DENY policies are configured for the bucket.
-
Create a bucket in the same region as the source bucket to store the inventory lists generated for the source bucket.
The specified prefix in the inventory configured for the source bucket is invalid
Solution: Check whether the specified prefix in the inventory configured for the source bucket is valid based on the following rules:
-
To scan all objects in the bucket, leave the Object Prefix field empty.
-
To scan all objects under a specific path in the bucket, set Object Prefix to the full path, without including the bucket name.
For example, to scan all objects under the
exampledir1/path in theexamplebucketbucket, set Object Prefix toexampledir1/. To scan all objects under theexampledir1/exampledir2/path inexamplebucket, set Object Prefix toexampledir1/exampledir2/.
The specified prefix in the inventory configured for the source bucket does not match any objects in the bucket
If the specified prefix in the inventory configured for the source bucket does not match any objects in the bucket, no inventory lists are generated.
Solution: Make sure that the specified prefix in the inventory configured for the source bucket matches one or more objects in the bucket.
You view inventory lists in a wrong path
Solution: Check whether you go to a correct path to view inventory lists.
The following structure shows the directories in which generated inventory lists are stored.
dest_bucket
└──destination-prefix/
└──src_bucket/
└──inventory_id/
├──YYYY-MM-DDTHH-MMZ/
│ ├──manifest.json
│ └──manifest.checksum
└──data/
└──745a29e3-bfaa-490d-9109-47086afcc8f2.csv.gz
Locate the inventory list files in the path specified in the Inventory Path setting.
-
If you left the Inventory Path setting empty, the aggregated manifest is in the
src_bucket/inventory_idpath, and the inventory data files are in thesrc_bucket/datapath. In these paths, replacesrc_bucketwith the source bucket name andinventory_idwith the inventory ID. -
If you set Inventory Path to
exampledir1, the aggregated manifest is in theexampledir1/src_bucket/inventory_idpath, and the inventory data files are in theexampledir1/src_bucket/datapath within the destination bucket. -
If you set Inventory Path to
exampledir1/exampledir2, the aggregated manifest is in theexampledir1/exampledir2/src_bucket/inventory_idpath, and the inventory data files are in theexampledir1/exampledir2/src_bucket/datapath within the destination bucket.
The RAM role does not have the permissions to export inventory lists
If you modify the permissions of the RAM role that is associated with an inventory, inventory lists may fail to be exported due to insufficient permissions of the RAM role.
Solution: Grant the required permissions to the RAM role. For more information, see Required permissions.