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

Resource plugin version mismatch despite no conflicting binaries #477

Closed
aureq opened this issue Dec 16, 2024 · 5 comments · Fixed by #486
Closed

Resource plugin version mismatch despite no conflicting binaries #477

aureq opened this issue Dec 16, 2024 · 5 comments · Fixed by #486
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Milestone

Comments

@aureq
Copy link
Member

aureq commented Dec 16, 2024

What happened?

When I run p up or p pre and my Pulumi app uses the Pulumi Service provider, as of version 0.27.3, it returns the following warning

warning: resource plugin pulumiservice is expected to have version >=0.27.3, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin

Not affected: 0.27.1
Affected: 0.27.2 and 0.27.3

While the warning is annoying this doesn't seem to affect the management of resources.

Example

import * as pulumi from "@pulumi/pulumi";
import * as pulumiservice from "@pulumi/pulumiservice";

export = async() => {

    const serviceName = "platform-infra";

    const org = pulumi.getOrganization();

    const escAwsAccess = new pulumiservice.Environment(`${serviceName}-oidc-provider`, {
        name: "oidc-access",
        organization: org,
        project: "aws",
        yaml: "",
    });

    return {

    };
};

Output of pulumi about

CLI          
Version      3.143.0
Go Version   go1.23.4
Go Compiler  gc

Plugins
KIND      NAME           VERSION
resource  aws            6.64.0
resource  aws-native     1.14.0
language  nodejs         3.143.0
resource  pulumiservice  0.27.3

Host     
OS       debian
Version  12.8
Arch     x86_64

This project is written in nodejs: executable='/usr/local/bin/node' version='v22.11.0'

Current Stack: menfin-demo/platform-infra/prod

TYPE                             URN
pulumi:pulumi:Stack              urn:pulumi:prod::platform-infra::pulumi:pulumi:Stack::platform-infra-prod
pulumi:providers:pulumiservice   urn:pulumi:prod::platform-infra::pulumi:providers:pulumiservice::default_0_27_3
pulumiservice:index:Environment  urn:pulumi:prod::platform-infra::pulumiservice:index:Environment::platform-infra-oidc-provider


Found no pending operations associated with menfin-demo/prod

Backend        
Name           pulumi.com
URL            https://app.pulumi.com/aureq
User           aureq
Organizations  aureq, team-ce, menfin-demo, menfin, menfin-team, demo
Token type     personal

Dependencies:
NAME                   VERSION
@pulumi/aws-native     1.14.0
@pulumi/aws            6.64.0
@pulumi/pulumi         3.142.0
@pulumi/pulumiservice  0.27.3
@types/node            18.19.67
typescript             5.7.2

Pulumi locates its logs in /tmp by default

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@aureq aureq added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Dec 16, 2024
@komalali komalali removed the needs-triage Needs attention from the triage team label Dec 18, 2024
@komalali komalali added this to the 0.115 milestone Dec 18, 2024
@komalali
Copy link
Member

@IaroslavTitov could this be a side-effect of the ci-mgmt change?

@komalali komalali modified the milestones: 0.115, 0.114 Dec 19, 2024
@IaroslavTitov
Copy link
Contributor

@IaroslavTitov could this be a side-effect of the ci-mgmt change?

Yes, I think you're right, likely version is not passed in someplace it needs to be.. I'll take a look

@komalali komalali modified the milestones: 0.114, 0.115 Jan 6, 2025
IaroslavTitov added a commit that referenced this issue Jan 13, 2025
### Summary
- Fixes: #477
- Fixes the first bullet point of
#465
- Fixing missed Version insertion using -ldflags
- Moving location of Version to main.go to eliminate empty file
- Moving serve.go logic to main.go to pull out serving logic out of
provider package
- Minor cleanup of Makefile - creating one BUILD_PATH variable to avoid
repeating path blocks
- Adding missed version specification for java sdk generation

### Summary
- Tested build works locally and provider works as expected
- Integ tests
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Jan 13, 2025
@kdawgwilk
Copy link

Still seeing this on 0.27.4

@aureq
Copy link
Member Author

aureq commented Feb 3, 2025

@kdawgwilk The most likely reason for this is because we haven't published a new version of this provider. The fix should become available when a new version is released.

@pulumi-bot
Copy link

This issue has been addressed in PR #486 and shipped in release v0.29.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants