canonical / canonical/stsstack-bundles

kubernetes ceph overlay is broken

Open
#332 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
10
Forks
37
Avg merge
7d 16h
Merged PRs (30d)
1

Description

```sh
$ cd kubernetes

$ ./generate-bundle.sh --ceph --ceph-fs > deploy.txt
$ cat deploy.txt
INFO: juju model will use network with port security enabled.
Created jammy:1.32/stable bundle and overlays:
+ easyrsa.yaml
+ kubernetes/canonical-k8s-base.yaml
+ kubernetes/k8s-openstack-integrator.yaml
+ kubernetes/k8s-openstack-cloud-controller.yaml
+ kubernetes/k8s-openstack-integrator-trust.yaml
+ ceph/ceph.yaml
+ ceph/ceph-juju-storage.yaml
+ kubernetes/k8s-ceph.yaml
+ kubernetes/k8s-ceph-csi.yaml
+ ceph/ceph-fs.yaml
+ ceph/ceph-fs-k8s.yaml
+ kubernetes/k8s-cephfs-csi.yaml

Command to deploy:
juju deploy --trust /home/ubuntu/stsstack-bundles/kubernetes/b/kubernetes.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/easyrsa.yaml --overlay /home/ubuntu
/stsstack-bundles/kubernetes/b/o/kubernetes/canonical-k8s-base.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-openstack-integrator.yaml --overlay
/home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-openstack-cloud-controller.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-openstack-
integrator-trust.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph-juju-storage.yam
l --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-ceph.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-ceph-csi.yaml --overl
ay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph-fs.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph-fs-k8s.yaml --overlay /home/ubuntu/stsstac
k-bundles/kubernetes/b/o/kubernetes/k8s-cephfs-csi.yaml


Post-Deployment Info/Actions:

[common]
- run ./configure to initialise your deployment
- run ./tools/bootstrap-k8s-cloud.sh to deploy k8s bundles
- PROXY: Hostname squid.internal resolves, setting containerd proxy to http://squid.internal:3128

$ juju deploy --trust /home/ubuntu/stsstack-bundles/kubernetes/b/kubernetes.yaml --overlay /home
/ubuntu/stsstack-bundles/kubernetes/b/o/easyrsa.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/canonical-k8s-base.yaml --overlay /home/ubuntu/stsstac
k-bundles/kubernetes/b/o/kubernetes/k8s-openstack-integrator.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-openstack-cloud-controller.yaml --ove
rlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-openstack-integrator-trust.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph.yaml --over
lay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph-juju-storage.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-ceph.yaml --overlay /home/
ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-ceph-csi.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/ceph/ceph-fs.yaml --overlay /home/ubuntu/stsstack-
bundles/kubernetes/b/o/ceph/ceph-fs-k8s.yaml --overlay /home/ubuntu/stsstack-bundles/kubernetes/b/o/kubernetes/k8s-cephfs-csi.yaml
WARNING series are being deprecated in favour of bases. For more information about the transition to bases see https://discourse.charmhub.io/t/transition-from-series-to-base
-in-juju-4-0/14127
Located charm "ceph-csi" in charm-hub, channel latest/stable
Located charm "ceph-fs" in charm-hub, channel quincy/edge
Located charm "ceph-mon" in charm-hub, channel quincy/edge
Located charm "ceph-osd" in charm-hub, channel quincy/edge
Located charm "easyrsa" in charm-hub, channel latest/stable
Located charm "k8s" in charm-hub, channel 1.32/stable
Located charm "k8s-worker" in charm-hub, channel 1.32/stable
Located charm "openstack-cloud-controller" in charm-hub, channel latest/stable
Located charm "openstack-integrator" in charm-hub, channel latest/stable
Executing changes:
- upload charm ceph-csi from charm-hub for base ubuntu@22.04/stable from channel stable with architecture=amd64
- deploy application ceph-csi from charm-hub on ubuntu@22.04/stable with stable
- upload charm ceph-fs from charm-hub for base ubuntu@22.04/stable from channel quincy/edge with architecture=amd64
- deploy application ceph-fs from charm-hub on ubuntu@22.04/stable with quincy/edge
- upload charm ceph-mon from charm-hub for base ubuntu@22.04/stable from channel quincy/edge with architecture=amd64
- deploy application ceph-mon from charm-hub on ubuntu@22.04/stable with quincy/edge
added resource alert-rules
- upload charm ceph-osd from charm-hub for base ubuntu@22.04/stable from channel quincy/edge with architecture=amd64
- deploy application ceph-osd from charm-hub on ubuntu@22.04/stable with quincy/edge
- upload charm easyrsa from charm-hub for base ubuntu@22.04/stable from channel latest/stable with architecture=amd64
- deploy application easyrsa from charm-hub on ubuntu@22.04/stable with latest/stable
added resource easyrsa
- upload charm k8s from charm-hub for base ubuntu@22.04/stable from channel 1.32/stable with architecture=amd64
- deploy application k8s from charm-hub on ubuntu@22.04/stable with 1.32/stable
ERROR cannot deploy bundle: cannot deploy application "k8s": unknown option "allow-privileged"
```

The allow-privileged is for charmed-kubernetes [references](https://github.com/charmed-kubernetes/ceph-csi-operator/blob/c3ce58c956b906d2bfb81a7e82c95eba0a5f9b94/README.md?plain=1#L10-L12), since we switch to canonical k8s, the ceph overlay need updated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.