Closed Erdem-Sevilmis closed 8 months ago
@Erdem-Sevilmis could you try to run a pulumi stack export --json > stack-state.json
and send us a copy at support@pulumi.com please? In that email, please reference this issue as well as the full name of your stack please (org/project/stack).
@Erdem-Sevilmis could you try to run a
pulumi stack export --json > stack-state.json
and send us a copy at support@pulumi.com please? In that email, please reference this issue as well as the full name of your stack please (org/project/stack).
The command pulumi stack export --json > stack-state.json
does not work for me as --json
is not a flag I did run the following command pulumi stack export --file stack-state.json
and send you guys an email with the full name of my stack.
This isn't a state issue. Somehow your triggering two registrations of the root stack resource.
You don't have multiple calls to Deployment.Run
, or mixing automation api with normal deployments?
Could you further elaborate what you mean by mixing automation api with normal deployments?
Fraser Waters @.***> schrieb am Mi., 27. März 2024, 23:49:
This isn't a state issue. Somehow your triggering two registrations of the root stack resource.
You don't have multiple calls to Deployment.Run, or mixing automation api with normal deployments?
— Reply to this email directly, view it on GitHub https://github.com/pulumi/pulumi-dotnet/issues/248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMMB4HPIYP5JHBFV2PYXRY3Y2M5H3AVCNFSM6AAAAABFJ5XRNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGEYTGNBUGI . You are receiving this because you were mentioned.Message ID: @.***>
Mixing things in Pulumi.Automation
with standard Deployment.Run
calls.
Ok i can assure you i have only a single Deployment.Run and no Pulumi.Automation.
Fraser Waters @.***> schrieb am Do., 28. März 2024, 09:05:
Mixing things in Pulumi.Automation with standard Deployment.Run calls.
— Reply to this email directly, view it on GitHub https://github.com/pulumi/pulumi-dotnet/issues/248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMMB4HNPOXHOT2HOIAMBTI3Y2O6NFAVCNFSM6AAAAABFJ5XRNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGYZDONRZHA . You are receiving this because you were mentioned.Message ID: @.***>
And presumably no oddities like calling new Pulumi.Stack
explicitly?
Might need debug logs to track down what's happening here, can you run up
with --logtostderr -v10 --logflow
and send us the output from that?
Here is the output and no I just double checked I have no oddities like new Pulumi.Stack or something similar.
Am Do., 28. März 2024 um 11:21 Uhr schrieb Fraser Waters < @.***>:
And presumably no oddities like calling new Pulumi.Stack explicitly?
Might need debug logs to track down what's happening here, can you run up with --logtostderr -v10 --logflow and send us the output from that?
— Reply to this email directly, view it on GitHub https://github.com/pulumi/pulumi-dotnet/issues/248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMMB4HMZAC2KA73UU2BL36DY2POITAVCNFSM6AAAAABFJ5XRNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUHA2TCOBSGU . You are receiving this because you were mentioned.Message ID: @.***>
PS C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link> pulumi up --logtostderr -v10 --logflow I0328 11:26:14.042146 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/user/stacks?project=CL-Link I0328 11:26:14.615098 3556 api.go:328] Pulumi API call response code (https://api.pulumi.com/api/user/stacks?project=CL-Link): 200 OK I0328 11:26:14.615142 3556 backend.go:615] found username for access token Please choose a stack, or create a new one: dev I0328 11:26:15.455643 3556 backend.go:615] found username for access token I0328 11:26:15.455643 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev I0328 11:26:15.455643 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/capabilities I0328 11:26:15.931644 3556 api.go:328] Pulumi API call response code (https://api.pulumi.com/api/capabilities): 200 OK I0328 11:26:15.971275 3556 api.go:328] Pulumi API call response code (https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev): 200 OK I0328 11:26:16.000143 3556 backend.go:615] found username for access token Previewing update (dev)
I0328 11:26:16.000143 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/update I0328 11:26:16.549026 3556 api.go:328] Pulumi API call response code (https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/update): 200 OK I0328 11:26:16.550245 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/update/fbd2b95b-5237-49e7-917f-486a0f0cb051 I0328 11:26:16.798646 3556 api.go:328] Pulumi API call response code (https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/update/fbd2b95b-5237-49e7-917f-486a0f0cb051): 200 OK I0328 11:26:16.798805 3556 backend.go:615] found username for access token I0328 11:26:16.799155 3556 backend.go:1264] Stack dev being updated to version 1 I0328 11:26:16.799155 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/export I0328 11:26:17.321985 3556 api.go:328] Pulumi API call response code (https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/export): 200 OK I0328 11:26:17.322075 3556 update.go:203] Starting Update(preview=true) View in Browser (Ctrl+O): https://app.pulumi.com/Slown4128/CL-Link/dev/previews/fbd2b95b-5237-49e7-917f-486a0f0cb051
I0328 11:26:17.322491 3556 plugins.go:123] gatherPluginsFromProgram(): gathering plugins from language host
I0328 11:26:17.330485 3556 plugins.go:1789] GetPluginPath(language, dotnet, C:\Program Files\dotnet\dotnet.exe
<{%reset%}>)
Type Name Plan Info
pulumi:pulumi:Stack CL-Link-dev I0328 11:26:17.388986 17724 main.go:87] language host identified executor from path: C:\Program Files\dotnet\dotnet.exe
I0328 11:26:17.409986 3556 langruntime_plugin.go:248] langhost[dotnet].GetPluginInfo() executing
I0328 11:26:17.410486 3556 langruntime_plugin.go:135] langhost[dotnet].GetRequiredPlugins(root=C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link, program=C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link, entryPoint=.) executing
I0328 11:26:17.410486 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:17.410486 17724 main.go:159] GetRequiredPlugins: .
<{%reset%}>)
I0328 11:26:17.410486 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:17.410486 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe build -nologo .
pulumi:pulumi:Stack CL-Link-dev running 'dotnet build -nologo .'
I0328 11:26:17.740564 3556 eventsink.go:70] eventSink::Info(<{%reset%}> Wiederherzustellende Projekte werden ermittelt...C:\Program Files\dotnet\dotnet.exe build -nologo .
pulumi:pulumi:Stack CL-Link-dev Wiederherzustellende Projekte werden ermittelt...
I0328 11:26:17.874612 3556 eventsink.go:70] eventSink::Info(<{%reset%}> Alle Projekte sind für die Wiederherstellung auf dem neuesten Stand.
pulumi:pulumi:Stack CL-Link-dev Alle Projekte sind für die Wiederherstellung auf dem neuesten Stand.
I0328 11:26:19.190433 3556 eventsink.go:70] eventSink::Info(<{%reset%}> CL-Link -> C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link\bin\Debug\net6.0\CL-Link.dll
pulumi:pulumi:Stack CL-Link-dev CL-Link -> C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link\bin\Debug\net6.0\CL-Link.dll
I0328 11:26:19.197166 3556 eventsink.go:70] eventSink::Info(<{%reset%}>
I0328 11:26:19.197166 3556 eventsink.go:70] eventSink::Info(<{%reset%}>Der Buildvorgang wurde erfolgreich ausgeführt.
0 Warnung(en)
0 Fehler
Verstrichene Zeit 00:00:01.65
pulumi:pulumi:Stack CL-Link-dev Der Buildvorgang wurde erfolgreich ausgeführt.
I0328 11:26:19.227685 3556 eventsink.go:70] eventSink::Info(<{%reset%}>'dotnet build -nologo .' completed successfully<{%reset%}>)
I0328 11:26:19.227685 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.227685 17724 main.go:231] GetRequiredPlugins: Determining pulumi packages
I0328 11:26:19.227685 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.227685 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe list package --include-transitive
pulumi:pulumi:Stack CL-Link-dev I0328 11:26:19.227685 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe list package --include-transitive
I0328 11:26:19.723691 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.723691 17724 main.go:288] GetRequiredPlugins: Pulumi packages: [][]string{[]string{"Pulumi.Aws", "6.27.0"}, []string{"Pulumi.AzureNative", "2.33.0"}, []string{"Pulumi.Gcp", "7.14.0"}, []string{"Ben.Demystifier", "0.4.1"}, []string{"Google.Protobuf", "3.21.5"}, []string{"Grpc.AspNetCore.Server", "2.51.0"}, []string{"Grpc.AspNetCore.Server.Reflection", "2.51.0"}, []string{"Grpc.Core.Api", "2.51.0"}, []string{"Grpc.Net.Client", "2.51.0"}, []string{"Grpc.Net.Common", "2.51.0"}, []string{"Grpc.Reflection", "2.51.0"}, []string{"Microsoft.Extensions.DependencyInjection.Abstractions", "2.0.0"}, []string{"Microsoft.Extensions.Logging", "2.0.0"}, []string{"Microsoft.Extensions.Logging.Abstractions", "3.1.16"}, []string{"Microsoft.Extensions.Options", "2.0.0"}, []string{"Microsoft.Extensions.Primitives", "2.0.0"}, []string{"OneOf", "3.0.216"}, []string{"Pulumi.Protobuf", "3.20.1"}, []string{"Semver", "2.1.0"}, []string{"Serilog", "2.10.0"}, []string{"Serilog.Extensions.Logging", "3.0.1"}, []string{"Serilog.Sinks.Console", "4.0.1"}, []string{"System.Collections.Immutable", "5.0.0"}, []string{"System.Memory", "4.5.3"}, []string{"System.Reflection.Metadata", "5.0.0"}, []string{"System.Runtime.CompilerServices.Unsafe", "4.4.0"}}
<{%reset%}>)
I0328 11:26:19.723691 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.723691 17724 main.go:296] GetRequiredPlugins: Determining package directory
<{%reset%}>)
I0328 11:26:19.723691 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.723691 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe nuget locals global-packages --list
pulumi:pulumi:Stack CL-Link-dev I0328 11:26:19.723691 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe nuget locals global-packages --list
I0328 11:26:19.894182 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:317] GetRequiredPlugins: Package directory: C:\Users\Erdem Sevilmis.nuget\packages\
<{%reset%}>)
I0328 11:26:19.894182 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Pulumi.Aws, 6.27.0
<{%reset%}>)
I0328 11:26:19.894182 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.aws\6.27.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.894182 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.aws\6.27.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.894182 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:421] GetRequiredPlugins: Determining plugin dependency: &pulumirpc.PluginDependency{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), Name:"aws", Kind:"resource", Version:"v6.27.0", Server:""}
I0328 11:26:19.894666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Pulumi.AzureNative, 2.33.0
<{%reset%}>)
I0328 11:26:19.894666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.azurenative\2.33.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.894666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.azurenative\2.33.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.894666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:421] GetRequiredPlugins: Determining plugin dependency: &pulumirpc.PluginDependency{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), Name:"azure-native", Kind:"resource", Version:"v2.33.0", Server:""}
<{%reset%}>)
I0328 11:26:19.895166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Pulumi.Gcp, 7.14.0
<{%reset%}>)
I0328 11:26:19.895166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.gcp\7.14.0\content\version.txt
I0328 11:26:19.895166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894182 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.gcp\7.14.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.895166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:421] GetRequiredPlugins: Determining plugin dependency: &pulumirpc.PluginDependency{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), Name:"gcp", Kind:"resource", Version:"v7.14.0", Server:""}
<{%reset%}>)
I0328 11:26:19.895166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Ben.Demystifier, 0.4.1
I0328 11:26:19.895666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\ben.demystifier\0.4.1\content\version.txt
<{%reset%}>)
I0328 11:26:19.895666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\ben.demystifier\0.4.1\content\version.txt
<{%reset%}>)
I0328 11:26:19.895666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Google.Protobuf, 3.21.5
<{%reset%}>)
I0328 11:26:19.895666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\google.protobuf\3.21.5\content\version.txt
<{%reset%}>)
I0328 11:26:19.895666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\google.protobuf\3.21.5\content\version.txt
I0328 11:26:19.896166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.AspNetCore.Server, 2.51.0
<{%reset%}>)
I0328 11:26:19.896166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.aspnetcore.server\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.896166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.894666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.aspnetcore.server\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.896166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.AspNetCore.Server.Reflection, 2.51.0
<{%reset%}>)
I0328 11:26:19.896166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.aspnetcore.server.reflection\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.896665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.aspnetcore.server.reflection\2.51.0\content\version.txt
I0328 11:26:19.896665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.Core.Api, 2.51.0
<{%reset%}>)
I0328 11:26:19.896665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.core.api\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.896665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.core.api\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.896665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.Net.Client, 2.51.0
I0328 11:26:19.896665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.net.client\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.net.client\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.Net.Common, 2.51.0
<{%reset%}>)
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.net.common\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.net.common\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.Reflection, 2.51.0
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.reflection\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\grpc.reflection\2.51.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Microsoft.Extensions.DependencyInjection.Abstractions, 2.0.0
<{%reset%}>)
I0328 11:26:19.897665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.0.0\content\version.txt
I0328 11:26:19.897665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.897665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Microsoft.Extensions.Logging, 2.0.0
<{%reset%}>)
I0328 11:26:19.897665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.logging\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.898165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.logging\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.898165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Microsoft.Extensions.Logging.Abstractions, 3.1.16
I0328 11:26:19.898165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.logging.abstractions\3.1.16\content\version.txt
<{%reset%}>)
I0328 11:26:19.898165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.logging.abstractions\3.1.16\content\version.txt
<{%reset%}>)
I0328 11:26:19.898165 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Microsoft.Extensions.Options, 2.0.0
I0328 11:26:19.898665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.options\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.898665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.895666 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.options\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.898665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.896166 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Microsoft.Extensions.Primitives, 2.0.0
<{%reset%}>)
I0328 11:26:19.898665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.896166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.primitives\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.898665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.896166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\microsoft.extensions.primitives\2.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.898665 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.896166 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, OneOf, 3.0.216
I0328 11:26:19.899166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.896166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\oneof\3.0.216\content\version.txt
<{%reset%}>)
I0328 11:26:19.899166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.896166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\oneof\3.0.216\content\version.txt
<{%reset%}>)
I0328 11:26:19.899166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Pulumi.Protobuf, 3.20.1
<{%reset%}>)
I0328 11:26:19.899166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.protobuf\3.20.1\content\version.txt
<{%reset%}>)
I0328 11:26:19.899166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\pulumi.protobuf\3.20.1\content\version.txt
I0328 11:26:19.899166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Semver, 2.1.0
<{%reset%}>)
I0328 11:26:19.899666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\semver\2.1.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.899166 3556 langruntime_plugin.go:185] langhost[dotnet].GetRequiredPlugins(root=C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link, program=C:\Users\Erdem Sevilmis\Documents\GitHub\CL-Link, entryPoint=.) success: #versions=3
I0328 11:26:19.899666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\semver\2.1.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.899666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Serilog, 2.10.0
<{%reset%}>)
I0328 11:26:19.899666 3556 plugins.go:136] gatherPluginsFromProgram(): plugin aws 6.27.0 () is required by language hostplugin dependency: &pulumirpc.PluginDependency{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{},
I0328 11:26:19.899666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\serilog\2.10.0\content\version.txt
I0328 11:26:19.899666 3556 plugins.go:136] gatherPluginsFromProgram(): plugin azure-native 2.33.0 () is required by language host
I0328 11:26:19.900166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897165 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\serilog\2.10.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.900166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Serilog.Extensions.Logging, 3.0.1
<{%reset%}>)
I0328 11:26:19.900166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\serilog.extensions.logging\3.0.1\content\version.txt
<{%reset%}>)
I0328 11:26:19.900166 3556 plugins.go:192] ensurePluginsAreInstalled(): beginningo:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\ben.demystifier\0.4.1\content\version.txt
I0328 11:26:19.900666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\serilog.extensions.logging\3.0.1\content\version.txt
I0328 11:26:19.900666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Serilog.Sinks.Console, 4.0.1
<{%reset%}>)
I0328 11:26:19.900666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\serilog.sinks.console\4.0.1\content\version.txt
<{%reset%}>)
I0328 11:26:19.900666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\serilog.sinks.console\4.0.1\content\version.txt
<{%reset%}>)
I0328 11:26:19.901166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, System.Collections.Immutable, 5.0.0
I0328 11:26:19.901166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\system.collections.immutable\5.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.901166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\system.collections.immutable\5.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.901166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, System.Memory, 4.5.3
<{%reset%}>)
I0328 11:26:19.901166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\system.memory\4.5.3\content\version.txt
<{%reset%}>)
I0328 11:26:19.901166 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\system.memory\4.5.3\content\version.txt
<{%reset%}>)
I0328 11:26:19.901666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, System.Reflection.Metadata, 5.0.0
I0328 11:26:19.901666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\system.reflection.metadata\5.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.901666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\system.reflection.metadata\5.0.0\content\version.txt
<{%reset%}>)
I0328 11:26:19.901666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.897665 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, System.Runtime.CompilerServices.Unsafe, 4.4.0
<{%reset%}>)
I0328 11:26:19.901666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.899166 17724 main.go:358] GetRequiredPlugins: plugin file path: C:\Users\Erdem Sevilmis.nuget\packages\system.runtime.compilerservices.unsafe\4.4.0\content\version.txt
I0328 11:26:19.901666 3556 eventsink.go:78] eventSink::Infoerr(<{%reset%}>I0328 11:26:19.899166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\system.runtime.compilerservices.unsafe\4.4.0\content\version.txt
pulumi:pulumi:Stack CL-Link-dev I0328 11:26:19.899166 17724 main.go:359] GetRequiredPlugins: version file path: C:\Users\Erdem Sevilmis.nuget\packages\system.runtime.compilerservices.unsafe\4.4.0\content\version.txt
I0328 11:26:19.913166 3556 plugins.go:1863] GetPluginPath(resource, gcp, 7.14.0): enabling new plugin behaviortermining plugin dependency: C:\Users\Erdem Sevilmis.nuget\packages\, Grpc.AspNetCore.Server, 2.51.0
I0328 11:26:19.913166 3556 plugins.go:1997] SelectCompatiblePlugin(..., gcp): beginning
I0328 11:26:19.913166 3556 plugins.go:2026] SelectCompatiblePlugin(..., gcp): best plugin gcp-7.14.0: semver match
I0328 11:26:19.913166 3556 plugins.go:1872] GetPluginPath(resource, gcp, 7.14.0): found in cache at C:\Users\Erdem Sevilmis.pulumi\plugins\resource-gcp-v7.14.0\pulumi-resource-gcp.exe
I0328 11:26:19.913166 3556 plugins.go:202] ensurePluginsAreInstalled(): plugin gcp 7.14.0 already installed
I0328 11:26:19.921165 3556 plugins.go:1789] GetPluginPath(language, dotnet,
pulumi:pulumi:Stack CL-Link-dev create 1 error; 91 messages Diagnostics: pulumi:pulumi:Stack (CL-Link-dev): error: Duplicate resource URN 'urn:pulumi:dev::CL-Link::pulumi:pulumi:Stack::CL-Link-dev'; try giving it a unique name I0328 11:26:20.470666 3556 api.go:314] Making Pulumi API call: https://api.pulumi.com/api/stacks/Slown4128/CL-Link/dev/update/fbd2b95b-5237-49e7-917f-486a0f0cb051/events/batch
I0328 11:26:17.388986 17724 main.go:87] language host identified executor from path: C:\Program Files\dotnet\dotnet.exe
I0328 11:26:17.410486 17724 main.go:159] GetRequiredPlugins: .
I0328 11:26:17.410486 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe build -nologo .
I0328 11:26:19.227685 17724 main.go:231] GetRequiredPlugins: Determining pulumi packages
I0328 11:26:19.227685 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe list package --include-transitive
I0328 11:26:19.723691 17724 main.go:288] GetRequiredPlugins: Pulumi packages: [][]string{[]string{"Pulumi.Aws", "6.27.0"}, []string{"Pulumi.AzureNative", "2.33.0"}, []string{"Pulumi.Gcp", "7.14.0"}, []string{"Ben.Demystifier", "0.4.1"}, []string{"Google.Protobuf", "3.21.5"}, []string{"Grpc.AspNetCore.Server", "2.51.0"}, []string{"Grpc.AspNetCore.Server.Reflection", "2.51.0"}, []string{"Grpc.Core.Api", "2.51.0"}, []string{"Grpc.Net.Client", "2.51.0"}, []string{"Grpc.Net.Common", "2.51.0"}, []string{"Grpc.Reflection", "2.51.0"}, []string{"Microsoft.Extensions.DependencyInjection.Abstractions", "2.0.0"}, []string{"Microsoft.Extensions.Logging", "2.0.0"}, []string{"Microsoft.Extensions.Logging.Abstractions", "3.1.16"}, []string{"Microsoft.Extensions.Options", "2.0.0"}, []string{"Microsoft.Extensions.Primitives", "2.0.0"}, []string{"OneOf", "3.0.216"}, []string{"Pulumi.Protobuf", "3.20.1"}, []string{"Semver", "2.1.0"}, []string{"Serilog", "2.10.0"}, []string{"Serilog.Extensions.Logging", "3.0.1"}, []string{"Serilog.Sinks.Console", "4.0.1"}, []string{"System.Collections.Immutable", "5.0.0"}, []string{"System.Memory", "4.5.3"}, []string{"System.Reflection.Metadata", "5.0.0"}, []string{"System.Runtime.CompilerServices.Unsafe", "4.4.0"}}
I0328 11:26:19.723691 17724 main.go:296] GetRequiredPlugins: Determining package directory
I0328 11:26:19.723691 17724 main.go:451] Language host launching process: C:\Program Files\dotnet\dotnet.exe nuget locals global-packages --list
I0328 11:26:19.894182 17724 main.go:317] GetRequiredPlugins: Package directory: C:\Users\Erdem Sevilmis.nuget\packages\
I0328 11:26:19.894182 17724 main.go:350] GetRequiredPlugins: Determining plugin dependency: C:\Users\Er
Going to move this to the dotnet repo, doesn't look like an engine bug. Can you try using an older version of the Pulumi nuget package?
Tried using an older version didn't help, same error. I upgraded back to the newest version and published my repo, here is a link to it Git-Repo. Im curious if it works on your machine.
Ah this is expected. Deployment.RunAsync
makes an implicit Stack
resource with the stack and project name, but then inside your run function you're trying to create another stack resource with the same name.
You should either get rid of your stack class, or use one of the deployment run overloads that takes a stack type to initialise with.
Thank you so much for the help!!
What happened?
My stack worked fine until I destroyed it and wanted to create a new one. I've done this before with no issues, but since the last time, I'm encountering the following error:
Now, here's the funny part: I have emptied my stack completely, yet this issue persists. I don't know if this is an issue on my side or if it's a bug. I haven't made any changes related to the CLI, and I'll also share my .yaml files with you, which have also not been touched.
Example
Pulumi.dev.yaml
Pulumi.dev.yaml
Output of
pulumi about
CLI Version 3.109.0 Go Version go1.22.0 Go Compiler gc
Plugins NAME VERSION aws 6.27.0 azure-native 2.33.0 dotnet unknown gcp 7.14.0
Host OS Microsoft Windows 10 Pro Version 10.0.19045 Build 19045 Arch x86_64
This project is written in dotnet: executable='C:\Program Files\dotnet\dotnet.exe' version='7.0.203'
Backend Name pulumi.com URL https://app.pulumi.com/Slown4128 User Slown4128 Organizations Slown4128 Token type personal
Dependencies: NAME VERSION Pulumi 3.60.0 Pulumi.Aws 6.27.0 Pulumi.AzureNative 2.33.0 Pulumi.Gcp 7.14.0
Pulumi locates its logs in C:\Users\\AppData\Local\Temp by default
Additional context
Using C# with VS
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).