Skip to content

Getting errors because of the repetition of registration of CA as an admin user #284

@Meharab

Description

@Meharab

What happened?

I am encountering errors due to the repetition of registering CA as an admin user in the tutorial.

What did you expect to happen?

I expect not getting errors.

How can we reproduce it (as minimally and precisely as possible)?

Remove the extra two times of registering CA as an admin user in the tutorial.

Anything else we need to know?

Here is the repeated command:

kubectl hlf ca register --name=org1-ca --user=admin --secret=adminpw --type=admin \
 --enroll-id enroll --enroll-secret=enrollpw --mspid Org1MSP  

Kubernetes version

Details
# kubectl get nodes -o wide

NAME                   STATUS   ROLES                  AGE     VERSION        INTERNAL-IP   EXTERNAL-IP   OS-IMAGE           KERNEL-VERSION     CONTAINER-RUNTIME
k3d-k8s-hlf-agent-0    Ready    <none>                 3h26m   v1.31.5+k3s1   172.18.0.4    <none>        K3s v1.31.5+k3s1   6.10.14-linuxkit   containerd://1.7.23-k3s2
k3d-k8s-hlf-agent-1    Ready    <none>                 3h26m   v1.31.5+k3s1   172.18.0.5    <none>        K3s v1.31.5+k3s1   6.10.14-linuxkit   containerd://1.7.23-k3s2
k3d-k8s-hlf-server-0   Ready    control-plane,master   3h26m   v1.31.5+k3s1   172.18.0.3    <none>        K3s v1.31.5+k3s1   6.10.14-linuxkit   containerd://1.7.23-k3s2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions