question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Efs.GetFileSystem perhaps has outdated definition

See original GitHub issue
    ```
    var unmanagedEfs = await Aws.Efs.GetFileSystem.InvokeAsync(
        new Aws.Efs.GetFileSystemArgs()
        {
            FileSystemId = "fs-17aa2de6",
        });
        ```

EFS File system id is valid returns GRPC error of Unexpected multiple elements in array with MaxItems=1

Latest Pulumi CLI and sdk. dotnet 3.1

  panic: fatal: A failure has occurred: Unexpected multiple elements in array with MaxItems=1
    goroutine 116 [running]:
    github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.13.2/go/common/util/contract/failfast.go:23
    github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Failf(0x7dad8cc, 0x35, 0x0, 0x0, 0x0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.13.2/go/common/util/contract/fail.go:30 +0x18d
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput.func1(0x899ffd8, 0xc0005ab4f0, 0x62c2d80, 0xc001ef49d8, 0x89a2198, 0xc000a07180, 0xc00170d5f0, 0x0, 0x89a0100, 0xf, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.8.2-0.20210930033847-5bba386a0e79/pkg/tfbridge/schema.go:736 +0x550
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutput(0x899ffd8, 0xc0005ab4f0, 0x62c2d80, 0xc001ef49d8, 0x89a2198, 0xc000a07180, 0xc00170d5f0, 0x0, 0x89a0100, 0xc000a07180, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.8.2-0.20210930033847-5bba386a0e79/pkg/tfbridge/schema.go:764 +0xaf
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformOutputs(0x899ffd8, 0xc0005ab4f0, 0xc002548e70, 0x8984e50, 0xc000269e00, 0xc0016fbbf0, 0x0, 0xc0014a0100, 0x0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.8.2-0.20210930033847-5bba386a0e79/pkg/tfbridge/schema.go:637 +0x1c6
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.MakeTerraformResult(0x899ffd8, 0xc0005ab4f0, 0x8964e68, 0xc0014a57c0, 0x8984e50, 0xc000269e00, 0xc0016fbbf0, 0x0, 0x1, 0x0, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.8.2-0.20210930033847-5bba386a0e79/pkg/tfbridge/schema.go:612 +0x99
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Invoke(0xc00000a5a0, 0x8963f88, 0xc000548a50, 0xc0027d1500, 0xc00000a5a0, 0x6ca9101, 0xc00043a080)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.8.2-0.20210930033847-5bba386a0e79/pkg/tfbridge/provider.go:1179 +0x8f3
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Invoke_Handler.func1(0x8963f88, 0xc000548a50, 0x79d02a0, 0xc0027d1500, 0x7a24600, 0xd580058, 0x8963f88, 0xc000548a50)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.13.2/proto/go/provider.pb.go:2509 +0x89
    github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1(0x8963f88, 0xc0005489c0, 0x79d02a0, 0xc0027d1500, 0xc00278be00, 0xc002bac9c0, 0x0, 0x0, 0x8876e20, 0xc0005a6cf0)
    	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x30a
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Invoke_Handler(0x7b63f20, 0xc00000a5a0, 0x8963f88, 0xc0005489c0, 0xc0027d14a0, 0xc00140c9e0, 0x8963f88, 0xc0005489c0, 0xc0005f0cb0, 0x68)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.13.2/proto/go/provider.pb.go:2511 +0x150
    google.golang.org/grpc.(*Server).processUnaryRPC(0xc000af96c0, 0x898bcf8, 0xc00042e300, 0xc000398c60, 0xc0017a2030, 0xd53a9a0, 0x0, 0x0, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1217 +0x52b
    google.golang.org/grpc.(*Server).handleStream(0xc000af96c0, 0x898bcf8, 0xc00042e300, 0xc000398c60, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1540 +0xd0c
    google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc001048040, 0xc000af96c0, 0x898bcf8, 0xc00042e300, 0xc000398c60)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:878 +0xab
    created by google.golang.org/grpc.(*Server).serveStreams.func1
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:876 +0x1fd
 

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mattbdccommented, Oct 14, 2021

I remove the second policy “Transition out of IA” from the admin UI console.

I can now call GetFileSystem so yep I would agree that it is MaxItemsOne on lifecycle_policy that is responsible. In broader sense does grpc not communicate in the exception somehow what path fails validation? I guess its probably mute if we’re matching forward on AwsNative

1reaction
leezencommented, Oct 13, 2021

I was able to reproduce this after tweaking an existing EFS FileSystem I had to include a lifecycle policy. Without it, I couldn’t repro. https://github.com/pulumi/pulumi-aws/blob/master/provider/resources.go#L3951 looks suspicious so I suspect we’ll have to revisit the mapping here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Amazon Elastic File System? - AWS Documentation
Amazon EFS is built to scale on demand to petabytes without disrupting applications, growing and shrinking automatically as you add and remove files....
Read more >
Target Management » programmatically use RSE - Eclipse
But the EFS implementation for FTP and SSH (2. item under 'known implementations') seems not to be accessible. Maybe the link is outdated?...
Read more >
Isilon OneFS 8.2.2 CLI Administration Guide - Dell
This guide describes how the Isilon OneFS command-line interface provides access to cluster configuration, management, and monitoring.
Read more >
ANS 0000-9999: Version 7.1.2 messages - IBM
On dsmSendObj, dsmDeleteObj, or dsmUpdateFS the filespace is not registered. ... No associated data mover is defined for the given node.
Read more >
0xdf hacks stuff | CTF solutions, malware analysis, home lab ...
Outdated has three steps that are all really interesting. ... The mistake it makes is using the private key to encrypt, which means...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found