Open masterkain opened 1 year ago
@RedbackThomson do you think this is a case of the adoption reconciler discovering an existing Bucket CR (that is in Terminal state) and setting the AdoptedResource to an ACK.Adopted state erroneously?
This line of the s3-controller
indicates that the adoption spec field we need to use for adopting a bucket is nameOrId
with the bucket name as the value.
It seems our generated code in resource.go
isn't returning an error if the wrong spec identifier field is used (arn
instead of nameOrId
). Any behaviour past that point is just erroneous, and it's probably failing strangely with S3 because list-buckets
takes no filter argument and our S3 code would be stuck in an infinite loop trying to describe the bucket using its name (which is an empty string here).
Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale
this is still an issue, is there something I can do to help debug?
Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale
Stale issues rot after 60d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 60d of inactivity.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle rotten
I did a lot of testing but apparently
AdoptedResource
for s3 is not working.the generations here are incrementing I guess because I'm testing out different things but if there's a log mentioning that that bucket got adopted it is not shown.
s3-controller:1.0.4
:bucket status