Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Secrets not found MountVolume.SetUp failed for volume "tls" : secret "hlf-tls-admin" not found #150

Open
demshin opened this issue Feb 19, 2023 · 1 comment

Comments

@demshin
Copy link

demshin commented Feb 19, 2023

Hi!

I trying to start hlf on my kubernetes cluster on OpenStack with csi-sc-cinderplugin for PVC.
Some pods succesfully started (like couchdb, ca).
Other pods is stuck in ContainerCreating status. I've got typical errors from these pods like:

Events:
  Type     Reason       Age                    From               Message
  ----     ------       ----                   ----               -------
  Normal   Scheduled    48m                    default-scheduler  Successfully assigned hlf-dev/hlf-hlf-k8s-toolbox-775bd96b6f-xph7m to k8s5
  Warning  FailedMount  48m (x2 over 48m)      kubelet            MountVolume.SetUp failed for volume "ord-tls-rootcert" : secret "ord-tls-rootcert" not found
  Warning  FailedMount  48m (x2 over 48m)      kubelet            MountVolume.SetUp failed for volume "id-key" : secret "hlf-msp-key-user" not found
  Warning  FailedMount  48m (x2 over 48m)      kubelet            MountVolume.SetUp failed for volume "cacert" : secret "hlf-cacert" not found
  Warning  FailedMount  48m (x2 over 48m)      kubelet            MountVolume.SetUp failed for volume "admin-key" : secret "hlf-msp-key-admin" not found
  Warning  FailedMount  48m (x2 over 48m)      kubelet            MountVolume.SetUp failed for volume "tls-client" : secret "hlf-tls-user" not found
  Warning  FailedMount  48m (x3 over 48m)      kubelet            MountVolume.SetUp failed for volume "tls-rootcert" : secret "hlf-cacert" not found
  Warning  FailedMount  48m (x2 over 48m)      kubelet            MountVolume.SetUp failed for volume "admin-cert" : secret "hlf-msp-cert-admin" not found
  Warning  FailedMount  42m (x10 over 48m)     kubelet            MountVolume.SetUp failed for volume "id-cert" : secret "hlf-msp-cert-user" not found
  Warning  FailedMount  38m (x8 over 48m)      kubelet            MountVolume.SetUp failed for volume "tls-clientrootcert" : secret "hlf-cacert" not found
  Warning  FailedMount  22m (x19 over 48m)     kubelet            MountVolume.SetUp failed for volume "tls" : secret "hlf-tls-admin" not found
  Warning  FailedMount  3m31s (x109 over 48m)  kubelet            (combined from similar events): Unable to attach or mount volumes: unmounted volumes=[id-key cacert tls-clientrootcert tls-rootcert tls-client id-cert ord-tls-rootcert admin-key tls admin-cert], unattached volumes=[id-key cacert tls-clientrootcert kube-api-access-x4kqv tls-rootcert tls-client id-cert ord-tls-rootcert admin-key fabric-config tls admin-cert]: timed out waiting for the condition

Please help me to debug & resolve.

@demshin
Copy link
Author

demshin commented Feb 19, 2023

I think that secrets are do not exist. But why? Do I have to generate them manually or with a helm chart??

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

No branches or pull requests

1 participant