[UBUNTU 20.04] nfs storage failed to run on top of kubernetes-core cluster on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CDK |
Invalid
|
Undecided
|
Unassigned | ||
Kubernetes Worker Charm |
Invalid
|
Medium
|
Unassigned | ||
Ubuntu on IBM z Systems |
Invalid
|
High
|
Skipper Bug Screeners |
Bug Description
Steps to reproduce:
LXD setup and juju installation are done following these instructions https:/
Kubernetes Core bundle is installed as described here https:/
juju deploy cs:bundle/
Install nfs as it is mentioned at https:/
juju deploy nfs --constraints root-disk=10G
juju add-relation nfs kubernetes-worker
Expected result:
`kubectl get sc,po` will show running pod and storage class
Actual result:
# kubectl get sc,po
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPA
storageclass.
NAME READY STATUS RESTARTS AGE
pod/nfs-
# kubectl describe pod nfs-client-
Name: nfs-client-
Namespace: default
Priority: 0
Node: juju-62238e-
Start Time: Fri, 31 Jul 2020 11:39:19 +0200
Labels: app=nfs-
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: ReplicaSet/
Containers:
nfs-client-
Container ID:
Image: rocks.canonical
Image ID:
Port: <none>
Host Port: <none>
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Environment:
PROVISION
NFS_SERVER: 10.70.13.33
NFS_PATH: /srv/data/
Mounts:
/
/
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
nfs-client-root:
Type: NFS (an NFS mount that lasts the lifetime of a pod)
Server: 10.70.13.33
Path: /srv/data/
ReadOnly: false
default-
Type: Secret (a volume populated by a Secret)
SecretName: default-token-r2qgb
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned default/
Warning FailedMount 2m58s kubelet, juju-62238e-2 MountVolume.SetUp failed for volume "nfs-client-root" : mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: --description=
Output: Running scope as unit: run-r946191ed44
mount.nfs: requested NFS version or transport protocol is not supported
Warning FailedMount 2m57s kubelet, juju-62238e-2 MountVolume.SetUp failed for volume "nfs-client-root" : mount failed: exit status 32
Mounting command: systemd-run
Mounting arguments: --description=
Output: Running scope as unit: run-r5291c4d534
mount.nfs: requested NFS version or transport protocol is not supported
Warning FailedMount 2m56s kubelet, juju-62238e-2 MountVolume.SetUp failed for volume "nfs-client-root" : mount failed: exit status 32
....
So nfs pod actually fails to start because of "requested NFS version or transport protocol is not supported"
tags: | added: architecture-s39064 bugnameltc-187024 severity-high targetmilestone-inin2004 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → cdk |
Changed in cdk: | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → CDK (cdk8s) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
importance: | Undecided → High |
Changed in cdk: | |
assignee: | CDK (cdk8s) → nobody |
Changed in cdk: | |
status: | New → Invalid |
no longer affects: | charmed-kubernetes-bundles |
Changed in charm-kubernetes-worker: | |
status: | Triaged → Invalid |
Changed in ubuntu-z-systems: | |
status: | New → Invalid |
I'm not sure if kubernetes-core is supposed to run on s390x - leaving that to the CDK team. kubernetes' - at least of v1.16 (some time ago).
But I did the deployment with: 'juju deploy cs:canonical-