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

'Consortiums' should be nil since system channel is no longer supported in Fabric v3.x #4772

Open
rlfnb opened this issue Mar 28, 2024 · 3 comments
Labels

Comments

@rlfnb
Copy link
Contributor

rlfnb commented Mar 28, 2024

Description

I was running the devmode setup and the following warning appeared:
'Consortiums' should be nil since system channel is no longer supported in Fabric v3.x
I guess it should be fixed, as the main branch contains already pre v3.x stuff? If its safe to just remove the consortium entry, I'll be happy to do it.

Steps to reproduce

$ configtxgen -profile SampleDevModeSolo -channelID syschannel -outputBlock genesisblock -configPath $FABRIC_CFG_PATH -outputBlock "$(pwd)/sampleconfig/genesisblock"
2024-03-28 13:21:08.452 CET 0001 INFO [common.tools.configtxgen] main -> Loading configuration
2024-03-28 13:21:08.467 CET 0002 INFO [common.tools.configtxgen.localconfig] completeInitialization -> orderer type: solo
2024-03-28 13:21:08.467 CET 0003 INFO [common.tools.configtxgen.localconfig] Load -> Loaded configuration: /fabric/sampleconfig/configtx.yaml
2024-03-28 13:21:08.474 CET 0004 INFO [common.tools.configtxgen] doOutputBlock -> Generating genesis block
2024-03-28 13:21:08.474 CET 0005 ERRO [common.tools.configtxgen] doOutputBlock -> Warning: 'Consortiums' should be nil since system channel is no longer supported in Fabric v3.x
2024-03-28 13:21:08.475 CET 0006 INFO [common.tools.configtxgen] doOutputBlock -> Writing genesis block
@rlfnb rlfnb added the bug label Mar 28, 2024
@yacovm
Copy link
Contributor

yacovm commented Mar 29, 2024

which fabric sample did you use? the configtx.yaml there should not have the Consortiums

@rlfnb
Copy link
Contributor Author

rlfnb commented Mar 29, 2024

@tock-ibm
Copy link
Contributor

tock-ibm commented Nov 27, 2024

You are using SampleDevModeSolo.

If using v3, then Solo and Kafka are deprecated and not supported. The profiles with "solo" or "kafka" in the title should be avoided.
Moreover, since system channel is deprecated as well, profiles with Consortiums in them are deprecated too...

Use "SampleAppChannelEtcdRaft" or "SampleAppChannelSmartBft" for profiles that don't use the system channel constructs.

We should probably comments on these deprecated profiles or remove them to avoid confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants