Depending on the S3 bucket format, it would write the correct cluster UUID or not. This is because one of the buckets we are using has the clusters near the root level and the other uses some prefixes.
Now I'm getting the cluster UUID from back to front instead of front to back. With these changes it won't fail as both buckets use the same format for the last paths (CLUSTER/DATE/HOUR/TARBALL).
Type of change
Please delete options that are not relevant.
Bug fix (non-breaking change which fixes an issue)
Testing steps
Checklist
[x] make before_commit passes
[x] updated documentation wherever necessary
[x] added or modified tests if necessary
[x] updated schemas and validators in insights-data-schemas in case of input/output change
Description
Depending on the S3 bucket format, it would write the correct cluster UUID or not. This is because one of the buckets we are using has the clusters near the root level and the other uses some prefixes.
Now I'm getting the cluster UUID from back to front instead of front to back. With these changes it won't fail as both buckets use the same format for the last paths (CLUSTER/DATE/HOUR/TARBALL).
Type of change
Please delete options that are not relevant.
Testing steps
Checklist
make before_commit
passes