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

ansible-collection-1.1.1 fails with v1.x tutorial #574

Open
mbwhite opened this issue Oct 7, 2021 · 0 comments
Open

ansible-collection-1.1.1 fails with v1.x tutorial #574

mbwhite opened this issue Oct 7, 2021 · 0 comments

Comments

@mbwhite
Copy link
Collaborator

mbwhite commented Oct 7, 2021

I installed the ansible collections v1.1.1
I want to setup a v1.x network on a Saas instance.
When running the build_network.sh script from the v1.x tutorial it fails with following output:

TASK [ibm.blockchain_platform.endorsing_organization : Create peer] **************************************************************************************************************************************************************************
task path: /home/uhaller/.ansible/collections/ansible_collections/ibm/blockchain_platform/roles/endorsing_organization/tasks/create.yml:145
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: uhaller
<127.0.0.1> EXEC /bin/sh -c 'echo ~uhaller && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /home/uhaller/.ansible/tmp"&& mkdir "echo /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961" && echo ansible-tmp-1633335209.4080968-75816-133220335810961="echo /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961" ) && sleep 0'
Using module file /home/uhaller/.ansible/collections/ansible_collections/ibm/blockchain_platform/plugins/modules/peer.py
<127.0.0.1> PUT /home/uhaller/.ansible/tmp/ansible-local-72936pkdwupqr/tmph6xn20qq TO /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961/AnsiballZ_peer.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961/ /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961/AnsiballZ_peer.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961/AnsiballZ_peer.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/uhaller/.ansible/tmp/ansible-tmp-1633335209.4080968-75816-133220335810961/ > /dev/null 2>&1 && sleep 0'
The full traceback is:
File "/tmp/ansible_ibm.blockchain_platform.peer_payload_x7ht2avg/ansible_ibm.blockchain_platform.peer_payload.zip/ansible_collections/ibm/blockchain_platform/plugins/modules/peer.py", line 732, in main
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"admin_certificates": [
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNSVENDQWV5Z0F3SUJBZ0lVU09nRk9Nc0VYK0Z2QUVnOWtBUFBsMlhoaXZrd0NnWUlLb1pJemowRUF3SXcKWVRFTE1Ba0dBMVVFQmhNQ1ZWTXhGekFWQmdOVkJBZ1REazV2Y25Sb0lFTmhjbTlzYVc1aE1SUXdFZ1lEVlFRSwpFd3RJZVhCbGNteGxaR2RsY2pFUE1BMEdBMVVFQ3hNR1JtRmljbWxqTVJJd0VBWURWUVFERXdsdmNtY3hZMkV0ClkyRXdIaGNOTWpFeE1EQTBNRGd3TlRBd1doY05Nakl4TURBME1EZ3hNekF3V2pBa01RNHdEQVlEVlFRTEV3VmgKWkcxcGJqRVNNQkFHQTFVRUF4TUpiM0puTVdGa2JXbHVNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRApRZ0FFV25hejRFM2RUUmx6bFN6aTE5dFUrWnRJLzM5OGg5L1RZdnpOaCs1cjdhdEp4T3YwcVJpYTdSZkVpNS9ICi91LzQ3STVzMmt6NW9OaVpJM3ZGZm1IY2thT0J2akNCdXpBT0JnTlZIUThCQWY4RUJBTUNCNEF3REFZRFZSMFQKQVFIL0JBSXdBREFkQmdOVkhRNEVGZ1FVbWpIVS9Ka293aUJjRHNQZjJ5ZjlNYXVBeFVV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CQWY4RUJBTUNCNEF3REFZRFZSMFQKQVFIL0JBSXdBREFkQmdOVkhRNEVGZ1FVbWpIVS9Ka293aUJjRHNQZjJ5ZjlNYXVBeFVVd0h3WURWUjBqQkJndwpGb0FVcWF6dzZoSUxDRDUwM2kvVDFOZVJMUlhkTXVrd1d3WUlLZ01FQlFZSENBRUVUM3NpWVhSMGNuTWlPbnNpCmFHWXVRV1ptYVd4cFlYUnBiMjRpT2lJaUxDSm9aaTVGYm5KdmJHeHRaVzUwU1VRaU9pSnZjbWN4WVdSdGFXNGkKTENKb1ppNVVlWEJsSWpvaVlXUnRhVzRpZlgwd0NnWUlLb1pJemowRUF3SURSd0F3UkFJZ1JTK1JEYWlXdEh4ZApYakZpeTl0OEJRRUhDMTlVRWd0ZStNTS9XcDdBZThVQ0lFN1dmcmZEN2hoRkJ0QVowQ2VINVVOT0w3S0crSFpjCnZTVVovbTBtTkJ2MwotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
],
"api_authtype": "ibmcloud",
"api_endpoint": "https://e25045a1906049c4be5372d5837ccfdb-ibpconsole-console.euc02.blockchain.cloud.ibm.com",
"api_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"api_secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"api_timeout": 60,
"api_token_endpoint": "https://iam.cloud.ibm.com/identity/token",
"certificate_authority": "Org1 CA",
"config": null,
"config_override": {},
"enrollment_id": "org1peer",
"enrollment_secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"hsm": null,
"msp_id": "Org1MSP",
"name": "Org1 Peer",
"resources": {
"chaincodelauncher": {
"requests": {
"cpu": "200m",
"memory": "400M"
}
},
"couchdb": {
"requests": {
"cpu": "200m",
"memory": "400M"
}
},
"dind": {
"requests": {
"cpu": "1",
"memory": "1G"
}
},
"peer": {
"requests": {
"cpu": "200m",
"memory": "1G"
}
},
"proxy": {
"requests": {
"cpu": "100m",
"memory": "200M"
}
}
},
"state": "present",
"state_db": "couchdb",
"storage": {
"peer": {
"size": "100Gi"
},
"statedb": {
"size": "100Gi"
}
},
"version": null,
"wait_timeout": 600,
"zone": null
}
},
"msg": "'version'"
}

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
localhost : ok=8 changed=6 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0

_RC=2

==> 'building network, exit'

_RC=2

==> 'handleArgs(), exit, _RC = 2'

==> '<== main, exit, _RC = 2'

==> '<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<=='

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

No branches or pull requests

1 participant