https://pulumi.com logo
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
azure
  • b

    better-rainbow-14549

    01/08/2020, 2:55 PM
    it seems if you deploy one using agentPoolProfile it fills out the defaultNodePool in the outputs automatically, then on the second pass it thinks it needs to destroy the cluster to remove it
  • t

    tall-librarian-49374

    01/08/2020, 3:22 PM
    Have you tried to migrate to DefaultNodePool?
  • b

    better-rainbow-14549

    01/08/2020, 3:24 PM
    i tried by populating both:
    defaultNodePool: {
                name: args.AgentPoolProfileName,
                vmSize: args.NodeSize,
                nodeCount: args.NodeCount
            },
            agentPoolProfiles: [{
                name: args.AgentPoolProfileName,
                vmSize: args.NodeSize,
                count: args.NodeCount
            }],
  • b

    better-rainbow-14549

    01/08/2020, 3:24 PM
    but this led to the behaviour above - is it worth just removing the agentPoolProfiles entirely and trying that?
  • t

    tall-librarian-49374

    01/08/2020, 3:25 PM
    yes, you should use just one
  • b

    better-rainbow-14549

    01/08/2020, 3:31 PM
    ok thanks - i had this same issue yesterday on a very old cluster that i couldnt fix by just moving the definitions from one to the other which is what led me to having both... is it worth just editing the state file for that case?
  • b

    better-rainbow-14549

    01/08/2020, 3:31 PM
    it's worked for the new one thanks
  • c

    colossal-room-15708

    01/09/2020, 5:53 AM
    creating a new stack with an azure storage backend and receiving this error for the last hour or so
    t
    • 2
    • 3
  • r

    rhythmic-vegetable-87369

    01/09/2020, 4:55 PM
    I am trying to use pulumi in my pipelines. I included the token in the variables section.
  • r

    rhythmic-vegetable-87369

    01/09/2020, 4:56 PM
  • r

    rhythmic-vegetable-87369

    01/09/2020, 4:58 PM
  • b

    broad-dog-22463

    01/09/2020, 4:58 PM
    @rhythmic-vegetable-87369 you should really retire that token now as it's visible in that image
    👍 1
  • r

    rhythmic-vegetable-87369

    01/09/2020, 4:59 PM
  • r

    rhythmic-vegetable-87369

    01/09/2020, 4:59 PM
    it is deleted already
  • b

    broad-dog-22463

    01/09/2020, 4:59 PM
    good good!
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:00 PM
    I keep on getting this error "[error]Failed to select the stack pulumi"
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:00 PM
    any ideas as to why I get it?
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:01 PM
    actually the stack name I used wasnt dev it was "Matchy"
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:01 PM
    I tried several combinations
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:02 PM
    miflamashood/matchnetv2deploy/matchy
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:02 PM
    matchy
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:02 PM
    matchnetv2deploy
  • r

    rhythmic-vegetable-87369

    01/09/2020, 5:02 PM
    nothing works
  • g

    gentle-diamond-70147

    01/09/2020, 5:02 PM
    I believe there's a way to get extra debug/troubleshooting info from the pipeline task - can you enable that and then share the output via a https://gist.github.com/ ?
  • g

    gentle-diamond-70147

    01/09/2020, 5:03 PM
    https://docs.microsoft.com/en-us/azure/devops/pipelines/release/variables?view=azure-devops&tabs=batch#debug-mode
  • r

    rhythmic-vegetable-87369

    01/10/2020, 1:40 AM
    I managed to get that solved, I get the following error now, any help would be appreciated
  • r

    rhythmic-vegetable-87369

    01/10/2020, 1:40 AM
    ##[error]Error: There was an error when attempting to execute the process 'd:\a\_temp\425ce36a-f50c-48af-99c5-5559867ad702\pulumi\bin\pulumi.exe'. This may indicate the process failed to start. Error: spawn d:\a\_temp\425ce36a-f50c-48af-99c5-5559867ad702\pulumi\bin\pulumi.exe ENOENT
  • a

    adventurous-garage-59192

    01/10/2020, 4:37 AM
    Ah I think I know what this is, one moment
  • a

    adventurous-garage-59192

    01/10/2020, 4:46 AM
    @rhythmic-vegetable-87369 That error seems to be thrown if pulumi can't find your source code for the stack. I just encountered the same thing after moving Pulumi Deploy to a deployment job and forgot that it doesn't checkout the code by default.
  • r

    rhythmic-vegetable-87369

    01/10/2020, 9:47 AM
    How did you resolve it?
Powered by Linen
Title
r

rhythmic-vegetable-87369

01/10/2020, 9:47 AM
How did you resolve it?
View count: 3