hyperledger-bevel / bevel-operator-fabric

Hyperledger Fabric Kubernetes operator - Hyperledger Fabric operator for Kubernetes (v2.3, v2.4 and v2.5, soon 3.0)
https://hyperledger-bevel.github.io/bevel-operator-fabric/
Apache License 2.0
278 stars 93 forks source link

Channel signupdate command fails #228

Closed ankit-wasnik-pcn closed 2 months ago

ankit-wasnik-pcn commented 3 months ago

What happened?

"kubectl hlf channel signupdate" command is failing with error "Error: open : no such file or directory" even though I have the file with correct permissions.

Command: kubectl hlf channel signupdate --channel mychannel -f org3-ec-config-update-in-envelope.pb --config networkConfig.yaml --user=admin --mspid=Org1MSP

hlf-sign-update-issue

What did you expect to happen?

The command should not fail if config update file exists.

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

  1. Setup minimal fabric network.
  2. Create a channel
  3. Update channel config.
  4. Sign the updated channel config file.

Anything else we need to know?

hlf-operator plugin version - 1.10.0

Kubernetes version

```console v1.29.0-eks-5e0fdde ```
adityajoshi12 commented 2 months ago

Please use the latest version of plugin, this has been fixed here

ankit-wasnik-pcn commented 2 months ago

It worked. Thanks @adityajoshi12