bevel-operator-fabric icon indicating copy to clipboard operation
bevel-operator-fabric copied to clipboard

Cannot create channel using hlf channel generate command

Open OptimusPrimo11 opened this issue 7 months ago • 0 comments

What happened?

I try to create a channel with the hlf channel generate --outpu flag but it seems that an error of : unknown flag: --output appear. Then by switching the order of the flags to --name first, still it shows error : unknown flag: --name.

Next, I run the kubectl hlf channel --help Output : Usage: hlf channel [command]

Available Commands: inspect
top
update

Flags: -h, --help help for channel

So, not "generate" exist.

What am I missing here? Please help.

What did you expect to happen?

A channel file with the filename specified in the --output flag which contains the 2 OrgMSP & 1 OrdererMSP in the channel name given in the --name flag.

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

kubectl hlf channel generate --output=testchannel.block --name=testchannel --organizations Org1MSP --organizations Org2MSP --ordererOrganizations OrdererMSP

Anything else we need to know?

No response

Kubernetes version

# kubectl get nodes -o wide

OptimusPrimo11 avatar Jul 10 '24 08:07 OptimusPrimo11