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

Repro issue with newer apache helm chart #939

Closed
wants to merge 2 commits into from
Closed

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented Mar 10, 2021

To repro, cd classic-azure-ts-ask-helm and follow instructions, eventually pulumi up.

Having some issues running this example.

  • First you need a fixed pulumi-resource-kubernetes binary that includes this fix Fix helm chart resolution issue pulumi-kubernetes#1491

  • The 1.0.0 chart does not seem to deploy, hypothesis: not compatible with modern K8S version

  • The latest chart is 8.3.2 but it does not deploy with an error from pulumi:

pulumi up --yes
Previewing update (anton-pulumi-onboard-azure-stack)

View Live: https://app.pulumi.com/t0yv0/azure-ts-aks-helm/anton-pulumi-onboard-azure-stack/previews/b6855b7b-1da3-4e8d-8930-2313dbf18389

    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack  warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack  warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin

    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack running warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack running warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    kubernetes:helm.sh/v3:Chart apache
    azuread:index:Application aks
    azuread:index:ServicePrincipal aksSp
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack running error: Running program '/Users/anton/examples/classic-azure-ts-aks-helm' failed with an unhandled exception:
    azure:core:ResourceGroup aks
    azuread:index:ServicePrincipalPassword aksSpPassword
    azure:containerservice:KubernetesCluster aksCluster
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack running (node:54386) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 2)
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack running (node:54386) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack running warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    pulumi:providers:kubernetes aksK8s
 +  kubernetes:core/v1:Service apache create
 +  kubernetes:apps/v1:Deployment apache create
    pulumi:pulumi:Stack azure-ts-aks-helm-anton-pulumi-onboard-azure-stack  1 error; 4 warnings; 2 messages

Diagnostics:
  pulumi:pulumi:Stack (azure-ts-aks-helm-anton-pulumi-onboard-azure-stack):
    warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin
    error: Running program '/Users/anton/examples/classic-azure-ts-aks-helm' failed with an unhandled exception:
    TypeError: Cannot read property 'status' of undefined
        at /Users/anton/examples/classic-azure-ts-aks-helm/node_modules/@pulumi/yaml/yaml.ts:2373:33
        at /Users/anton/examples/classic-azure-ts-aks-helm/node_modules/@pulumi/pulumi/output.js:249:35
        at Generator.next (<anonymous>)
        at /Users/anton/examples/classic-azure-ts-aks-helm/node_modules/@pulumi/pulumi/output.js:21:71
        at new Promise (<anonymous>)
        at __awaiter (/Users/anton/examples/classic-azure-ts-aks-helm/node_modules/@pulumi/pulumi/output.js:17:12)
        at applyHelperAsync (/Users/anton/examples/classic-azure-ts-aks-helm/node_modules/@pulumi/pulumi/output.js:228:12)
        at /Users/anton/examples/classic-azure-ts-aks-helm/node_modules/@pulumi/pulumi/output.js:182:65
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
    warning: resource plugin kubernetes is expected to have version >=2.8.2, but has ; the wrong version may be on your path, or this may be a bug in the plugin

    (node:54386) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 2)
    (node:54386) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)

@t0yv0
Copy link
Member Author

t0yv0 commented Mar 10, 2021

I edited { providers: { kubernetes: k8sProvider } }, as I was getting errors there as well.

@t0yv0 t0yv0 closed this Mar 10, 2021
@t0yv0 t0yv0 deleted the wip-newer-apache branch March 10, 2021 23:48
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

Successfully merging this pull request may close these issues.

None yet

1 participant