Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pulumi up fails when upgrading from version 0.59.2 to 0.62.7 #529

Open
ajgassner opened this issue Dec 21, 2024 · 5 comments
Open

pulumi up fails when upgrading from version 0.59.2 to 0.62.7 #529

ajgassner opened this issue Dec 21, 2024 · 5 comments

Comments

@ajgassner
Copy link

ajgassner commented Dec 21, 2024

panic: schemaOnlyProvider does not implement runtime operation InitLogging

using Pulumi with TypeScript

versions:
"@pulumi/aws": "6.65.0",
"@pulumi/kubernetes": "4.19.0",
"@pulumi/kubernetes-cert-manager": "0.0.7",
"@pulumi/pulumi": "3.144.1",

➜ pulumi up
Previewing update (default):
     Type                          Name                                                               Plan       Info
     pulumi:pulumi:Stack           pulumi-infra-default                                                          
     └─ pulumi:providers:exoscale  default_0_62_7_github_/api.github.com/pulumiverse/pulumi-exoscale             1 error

Diagnostics:
  pulumi:providers:exoscale (default_0_62_7_github_/api.github.com/pulumiverse/pulumi-exoscale):
    error: could not read plugin [/Users/xxx/.pulumi/plugins/resource-exoscale-v0.62.7/pulumi-resource-exoscale] stdout: EOF

  pulumi:pulumi:Stack (pulumi-infra-default):
    panic: schemaOnlyProvider does not implement runtime operation InitLogging
    goroutine 1 [running]:
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/schemashim.(*SchemaOnlyProvider).InitLogging(...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.97.0/pkg/pf/internal/schemashim/provider.go:157
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.Main({_, _}, {_, _}, {{0x104c2a540, 0x14000f51950}, {0x104041704, 0x8}, {0x0, 0x0}, ...}, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.97.0/pkg/tfbridge/main.go:71 +0x34c
    main.main()
    	/home/runner/work/pulumi-exoscale/pulumi-exoscale/provider/cmd/pulumi-resource-exoscale/main.go:31 +0xa4
@PStump
Copy link

PStump commented Jan 22, 2025

I get the same error, when I try a fresh install of the latest pulumi version 3.147.0 with the latest exoscale provider 0.62.7
(Using Python as pulumi language).

Using pulumi 1.144.1 with exoscale 0.59.2 seems to work.

@dirien
Copy link
Collaborator

dirien commented Feb 10, 2025

@ajgassner can you give an example program please?

@ajgassner
Copy link
Author

@dirien here is a minimal example
pulumi-exo-demo.zip

@pcuci
Copy link

pcuci commented Feb 20, 2025

Also confirming 0.59.2 works fine for creating instances in exoscale, whereas 0.62.7 borks with:

error: 
             Detected that /home/ubuntu/.pulumi/plugins/resource-exoscale-v0.62.7/pulumi-resource-exoscale exited prematurely.
             This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
    
    To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:
    
    panic: schemaOnlyProvider does not implement runtime operation InitLogging
    
    goroutine 1 [running]:
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/schemashim.(*SchemaOnlyProvider).InitLogging(...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.97.0/pkg/pf/internal/schemashim/provider.go:157
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.Main({_, _}, {_, _}, {{0x2bd0fe0, 0xc001093710}, {0x2[68](https://gitlab.com/home.cloud/serve/torrenter/-/jobs/9202913335#L68)c38e, 0x8}, {0x0, 0x0}, ...}, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.97.0/pkg/tfbridge/main.go:71 +0x390
    main.main()
    	/home/runner/work/pulumi-exoscale/pulumi-exoscale/provider/cmd/pulumi-resource-exoscale/main.go:31 +0xca
  pulumi:providers:exoscale (default_0_62_7_github_/api.github.com/pulumiverse/pulumi-exoscale):
    error: could not read plugin [/home/ubuntu/.pulumi/plugins/resource-exoscale-v0.62.7/pulumi-resource-exoscale] stdout: EOF

@maersu
Copy link

maersu commented Mar 5, 2025

Same:

 pulumi:providers:exoscale (default_0_62_7_github_/api.github.com/pulumiverse/pulumi-exoscale):
    error: could not read plugin [/Users/maersu/.pulumi/plugins/resource-exoscale-v0.62.7/pulumi-resource-exoscale] stdout: EOF

  pulumi:pulumi:Stack (takeoff-exoscale-infra-main):
    error: 
    
             Detected that /Users/maersu/.pulumi/plugins/resource-exoscale-v0.62.7/pulumi-resource-exoscale exited prematurely.
             This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
    
    To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:
    
    panic: schemaOnlyProvider does not implement runtime operation InitLogging
    
    goroutine 1 [running]:
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/internal/schemashim.(*SchemaOnlyProvider).InitLogging(...)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.97.0/pkg/pf/internal/schemashim/provider.go:157
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.Main({_, _}, {_, _}, {{0x102be2540, 0x14001087440}, {0x101ff9704, 0x8}, {0x0, 0x0}, ...}, ...)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.97.0/pkg/tfbridge/main.go:71 +0x34c
    main.main()
        /home/runner/work/pulumi-exoscale/pulumi-exoscale/provider/cmd/pulumi-resource-exoscale/main.go:31 +0xa4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants