Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The crypto_script for orderer organization is enrolling the same admin user multiple times in Fabric. #1094

Closed
lakshyakumar opened this issue Oct 9, 2020 · 1 comment · Fixed by #1102
Assignees
Labels
bug Something isn't working fabric Related to the Hyperledger Fabric DLT Platform

Comments

@lakshyakumar
Copy link
Contributor

lakshyakumar commented Oct 9, 2020

Describe the bug
The Admin user for orderer organization is enrolled multiple times. The Admin user is organization specific and enrolled only once per Admin user.

To Reproduce
Steps to reproduce the behavior:

  1. Edit fabric network.yaml with multiple orderers.
  2. Deploy the fabric network.
  3. Check the Admin user certificates at build/crypto-config/ordererOrganizations/sl-net/users/Admin@sl-net/msp/keystore
  4. See error

Expected behavior
The fabric Admin user should be enrolled once per organization.

Screenshots
image

Environment (please complete the following information):

  • Version Fabric 1.4 and 2.2

Additional context
For reference, the Fabric documention for enrolling the admin is here .

@lakshyakumar
Copy link
Contributor Author

RCA:
The organization level enrollment were done in the orderer level script. The sollution was to segregate those organization level and orderer level based commands to form differernt scripts for each level.

@sownak sownak closed this as completed Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fabric Related to the Hyperledger Fabric DLT Platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants