minifabric
minifabric copied to clipboard
Ledger snapshot
Hi team, Congratulations for Minifabric, really good job!! Issue: I have bootstrapped HLF network with version 2.3 and tried taking ledger snapshot inside peer container. I got an error
====================================================================================== 2021-08-30 10:52:57.261 UTC [msp.identity] Sign -> DEBU 030 Sign: digest: D19EF270005436AF48AA63082454813AAB2A5C4A98BE30EC4F3256EE62AA8505 Error: failed to submit the request: rpc error: code = Unknown desc = failed verifying that the signed data identity satisfies local MSP principal during channelless check policy with policy [Admins]: [The identity is not an admin under this MSP [manufacturer-auto-com]: The identity does not contain OU [ADMIN], MSP: [manufacturer-auto-com]]
I had a look on certificate's subject where OU was Fabric, but for taking ledger snapshot OU must be equal to admin [OU=admin].
I request to try the same and try to get some solution for this. I possible add a snapshot function in minifab script.
@alurujawahar not really sure how you did that when you get the error, a bit more detailed process that you used to do this will probably help to figure out what went wrong.
Thanks for your response @litong01 . Actually the thing is, since version 2.3 of Hyperledger Fabric is having an option of Ledger Snapshot, I wanted to try that out using Minifabric. But, it was failing with above error. Please let me know if there any way for taking the snapshot using minifab.