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

Cannot deploy bundle for charmed kubernetes 942 #31

Open
FrancescoDeSimone opened this issue Oct 27, 2022 · 0 comments
Open

Cannot deploy bundle for charmed kubernetes 942 #31

FrancescoDeSimone opened this issue Oct 27, 2022 · 0 comments

Comments

@FrancescoDeSimone
Copy link
Contributor

FrancescoDeSimone commented Oct 27, 2022

Description

cannot deploy bundle generated from  charmed-kubernetes-942.

ERROR cannot deploy bundle: the provided bundle has the following errors:  
resource revision "kubernetes-worker" is not int or string  
resource revision "kubernetes-worker" is not int or string  
resource revision "kubernetes-worker" is not int or string  
resource revision "kubernetes-worker" is not int or string

The error seems linked to an error in the bundle resources

  kubernetes-worker:
    annotations:
      gui-x: '90'
      gui-y: '850'
    channel: 1.23/edge
    charm: ./charms/kubernetes-worker/1.23/edge
    constraints: cores=4 mem=4G root-disk=16G
    expose: true
    num_units: 3
    options:
      channel: 1.23/stable
    resources:
      cni-amd64: ./resources/kubernetes-worker/cni-amd64/cni.tgz
      cni-arm64: ./resources/kubernetes-worker/cni-arm64/cni.tgz
      cni-s390x: ./resources/kubernetes-worker/cni-s390x/cni.tgz
      core:
        description: 'core snap

          [DEPRECATED] in favor of using a Snap Store Proxy.

          See https://ubuntu.com/kubernetes/docs/proxies for more details.

          '
        filename: core.snap
        type: file
      kube-proxy:
        description: 'kube-proxy snap

          [DEPRECATED] in favor of using a Snap Store Proxy.

          See https://ubuntu.com/kubernetes/docs/proxies for more details.

          '
        filename: kube-proxy.snap
        type: file
      kubectl:
        description: 'kubectl snap

          [DEPRECATED] in favor of using a Snap Store Proxy.

          See https://ubuntu.com/kubernetes/docs/proxies for more details.

          '
        filename: kubectl.snap
        type: file
      kubelet:
        description: 'kubelet snap

          [DEPRECATED] in favor of using a Snap Store Proxy.

          See https://ubuntu.com/kubernetes/docs/proxies for more details.

          '
        filename: kubelet.snap
        type: file

but even after a manual correction I still get

ERROR cannot deploy bundle: unexpected charm "containerd", charm not found for application "containerd"

Step to reproduce

./shrinkwrap-lxc.sh charmed-kubernetes-942
cd build
tar xf cs:charmed-kubernetes-942* --force-local
cd cs:charmed-kubernetes-942*
juju deploy  ./bundle.yaml

You will find the bundle.yaml attached below
bundle.zip

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

No branches or pull requests

1 participant