Is your feature request related to a problem? Please describe.
We tested the certificate renewal procedure and found some possible playbook errors and unstable behavior. Our environment- Fabric v2.5.4, Bevel v1.0.0 (from github tag v1.0.0.0).
Describe the solution you'd like
Please check the following things in refresh-certificates playbook:
Looks like sys_channel_name variable should be masterchl instead of syschannel
Create all orderers task should have a variable channel_name because task Fetch the genesis block from vault in role create/orderer requires a channel name.
After applying these changes we were able to execute the playbook successfully.
But after a couple of days we tried to launch the same playbook (without any additional changes) to ensure that all certificates have been renewed. And we have an error (some lines have been omitted):
Is your feature request related to a problem? Please describe. We tested the certificate renewal procedure and found some possible playbook errors and unstable behavior. Our environment- Fabric v2.5.4, Bevel v1.0.0 (from github tag
v1.0.0.0
).Describe the solution you'd like Please check the following things in
refresh-certificates
playbook:"Create CA tools for each organization" task should have a variable
sc_name: "{{ component }}-bevel-storageclass"
(same as in deploy-network playbook)Looks like sys_channel_name variable should be
masterchl
instead ofsyschannel
Create all orderers task should have a variable
channel_name
because taskFetch the genesis block from vault
in rolecreate/orderer
requires a channel name.Looks like
channel.channel_name
variable in Create genesis block and Write genesis block to Vault tasks in role create_channel_block should be different (maybesys_channel_name
). Otherwise an errorchannel is undefined
occurs.After applying these changes we were able to execute the playbook successfully. But after a couple of days we tried to launch the same playbook (without any additional changes) to ensure that all certificates have been renewed. And we have an error (some lines have been omitted):
As I said above, the first launch of the playbook was successful.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.