notaryproject / roadmap

Roadmap for Notary Project
7 stars 6 forks source link

Hashicorp Vault is not working properly (Uninitialized and Unsealed issue) #55

Closed sohailanjum97 closed 2 years ago

sohailanjum97 commented 2 years ago

Hi folks, I am trying to run vault on Minikube clustre running on my local machine in Virtual Box. I am following this documentation. https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube The versions I am using now are mentioned in the pic:

image

The problem is mainly I have faced in this step of documentation: "Initialize and unseal Vault" When I am trying to run this command "kubectl exec vault-0 -- vault operator init -key-shares=1 -key-threshold=1 -format=json > cluster-keys.json"
&& "cat cluster-keys.json | jq -r ".unseal_keys_b64[]" ". I couldn't get any output like mentioned in the documentation

My cluster and pods are running as in the pic:

image

But the vault-0, vault-1 and vault-2 ready state is 0/1 because I am unable to "Initialize" and "Unseal" the vault.

However on the other side, I have used this command: "vault server -dev"
The output is:

image image

The Browser:

image

But I heard that this is not recommended. Looking the detailed help about this issue how to handle the initiazation and unsealing.

Furthermore, When I can stop the vault operator -dev and used vault operator init its shows this error. image

SteveLasker commented 2 years ago

Hi @sohailanjum97, Are you trying to use Hashicorp Vault with Notary v2? We have this working item for integration: #54.

dtzar commented 2 years ago

Due to lack of response here and no clear indication this has anything to do with notary v2, I'm closing it out.