goofys
goofys copied to clipboard
fails to mount when using instance profile role and requiring Metadata v2.0
I have discovered that when enabling Amazons new Metadata version 2 to be required instead of optional, goofys fails to mount if using instance profile role because the access key id, secret, and token are retrieved from the metadata but version 2.0 requires generating a token before making the metadata call. Please add compatibility for this.
for reference that's https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html . I think all that's needed is probably update aws-sdk-go
@kahing is this something that you will update in the next release or is there a way for me to update my linux box to do it?
@kahing can this please be implemented in next release? This is restricting our progress to move to metadata version 2
I was looking for a similar bugfix. Stumbled on https://github.com/kahing/goofys/issues/671
It looks like it's been implemented but there isn't a pre-built release including it yet so currently requires 'build it yourself' to enable. I also have not tested it yet, but worth looking at. I suspect this ticket can probably be closed in favor of that one (or related).