Skip to content

Commit

Permalink
[fabric] Fix playbook add organization 2.5.4 (#2422)
Browse files Browse the repository at this point in the history
Primary Changes
--------------
Removed the platforms/hyperledger-fabric/configuration/roles/create/new_organization/syschannel_block role. Since this playbook is used to add a peer organization. To set up an orderer type organization, the add-orderer-organization.yaml playbook will be executed. Therefore it never runs.

Modifications
-----------------------
platforms/hyperledger-fabric/configuration/add-organization.yaml
platforms/hyperledger-fabric/configuration/roles/k8_component/templates/existing_peer_cli.tpl

fixes #2399

Signed-off-by: mgCepeda <[email protected]>
  • Loading branch information
mgCepeda authored Nov 13, 2023
1 parent 7eba1e1 commit 63972b4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 95 deletions.
17 changes: 0 additions & 17 deletions platforms/hyperledger-fabric/configuration/add-organization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,22 +169,6 @@
profile_name: "{{ item.channel_name }}"
loop: "{{ network['channels'] }}"

# This role adds the new org to the existing consortium and updates the block

- include_role:
name: "create/new_organization/syschannel_block"
vars:
build_path: "./build"
orderers: "{{ org.services.orderers }}"
docker_url: "{{ network.docker.url }}"
channel_name: "syschannel"
update_type: "tls"
component_ns: "{{ org.name | lower}}-net"
loop: "{{ network.organizations }}"
loop_control:
loop_var: org
when: org.type == 'orderer'

# This role creates the value file for peers of organisations and write couch db credentials
# to the vault.
- include_role:
Expand Down Expand Up @@ -219,7 +203,6 @@
name: "setup/config_block/sign_and_update"
vars:
build_path: "./build"
channel_sys: "syschannel"
participants: "{{ item.participants }}"
docker_url: "{{ network.docker.url }}"
loop: "{{ network['channels'] }}"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 63972b4

Please sign in to comment.