by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
michelescarlato
@michelescarlato
TASK [bigchaindb : Place systemd unit file] *********************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.203]
ok: [192.168.100.202]
ok: [192.168.100.204]

TASK [nginx : Update apt] ***************************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Install nginx] ************************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Download bigchaindb nginx config.] ****************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Install ssl requirements] *************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Create cert directory] ****************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Generate certificate] *****************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Populate ssl directory] ***************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [nginx : Edit nginx.conf] **********************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]
skipping: [192.168.100.204]

TASK [postconfig : Connect nodes] *******************************************************************************************************************************************
included: /root/bigchaindb-node-ansible/roles/postconfig/tasks/network.yml for 192.168.100.200, 192.168.100.201, 192.168.100.202, 192.168.100.203, 192.168.100.204
TASK [postconfig : clear tendermint] ****************************************************************************************************************************************
[WARNING]: Consider using the file module with state=absent rather than running 'rm'.  If you need to use command because file is insufficient you can add 'warn: false' to
this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.

changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Register genesis time] ***********************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.202]
changed: [192.168.100.204]

TASK [postconfig : Register chain id] ***************************************************************************************************************************************
changed: [192.168.100.201]
changed: [192.168.100.200]
changed: [192.168.100.202]
changed: [192.168.100.204]
changed: [192.168.100.203]

TASK [postconfig : Set chain id custom] *************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.204]

TASK [postconfig : Register validator json string] **************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.204]
changed: [192.168.100.202]

TASK [postconfig : Set validator power] *************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.204]

TASK [postconfig : Register node id] ****************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.204]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Init variables] ******************************************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
ok: [192.168.100.204]
TASK [postconfig : Compile multi-host arguents] *****************************************************************************************************************************
ok: [192.168.100.200] => (item=192.168.100.200)
ok: [192.168.100.200] => (item=192.168.100.201)
ok: [192.168.100.201] => (item=192.168.100.200)
ok: [192.168.100.201] => (item=192.168.100.201)
ok: [192.168.100.200] => (item=192.168.100.202)
ok: [192.168.100.202] => (item=192.168.100.200)
ok: [192.168.100.202] => (item=192.168.100.201)
ok: [192.168.100.203] => (item=192.168.100.200)
ok: [192.168.100.201] => (item=192.168.100.202)
ok: [192.168.100.203] => (item=192.168.100.201)
ok: [192.168.100.204] => (item=192.168.100.200)
ok: [192.168.100.200] => (item=192.168.100.203)
ok: [192.168.100.202] => (item=192.168.100.202)
ok: [192.168.100.201] => (item=192.168.100.203)
ok: [192.168.100.204] => (item=192.168.100.201)
ok: [192.168.100.203] => (item=192.168.100.202)
ok: [192.168.100.200] => (item=192.168.100.204)
ok: [192.168.100.202] => (item=192.168.100.203)
ok: [192.168.100.201] => (item=192.168.100.204)
ok: [192.168.100.204] => (item=192.168.100.202)
ok: [192.168.100.203] => (item=192.168.100.203)
ok: [192.168.100.202] => (item=192.168.100.204)
ok: [192.168.100.204] => (item=192.168.100.203)
ok: [192.168.100.203] => (item=192.168.100.204)
ok: [192.168.100.204] => (item=192.168.100.204)

TASK [postconfig : Compile global arguments based on host 0] ****************************************************************************************************************
ok: [192.168.100.200]
ok: [192.168.100.201]
ok: [192.168.100.202]
ok: [192.168.100.203]
fatal: [192.168.100.204]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'unicode object' has no attribute 'stdout'\n\nThe error appears to be in '/root/bigchaindb-node-ansible/roles/postconfig/tasks/network.yml': line 55, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Compile global arguments based on host 0\n  ^ here\n"}

TASK [postconfig : script] **************************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Enable services] *****************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.202]
changed: [192.168.100.203]

TASK [postconfig : Restart services] ****************************************************************************************************************************************
changed: [192.168.100.200]
changed: [192.168.100.201]
changed: [192.168.100.203]
changed: [192.168.100.202]

TASK [postconfig : Enable nginx] ********************************************************************************************************************************************
skipping: [192.168.100.200]
skipping: [192.168.100.201]
skipping: [192.168.100.202]
skipping: [192.168.100.203]

PLAY RECAP ******************************************************************************************************************************************************************
192.168.100.200            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.201            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.202            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.203            : ok=36   changed=21   unreachable=0    failed=0    skipped=11   rescued=0    ignored=0   
192.168.100.204            : ok=32   changed=18   unreachable=0    failed=1    skipped=10   rescued=0    ignored=0   

Runtime: 0:2:36 (hh:mm:ss)
root@bigchaindb_clone32_series_Ansible:~/scripts#

@zzappie I tried with only 5 nodes.

Same result.

Is there any reason why Ansible is functioning only with 4 nodes?

Do you think it is possible to run Ansible script with more than 4 nodes ?

I am doing experiments, and I need to collect results related to the throughput in terms of number of transactions per seconds .

I don't think that testing a consensus protocol with only 4 nodes, can be an approach good enough.

Abbas Ogaji
@abbasogaji
hey guys how should i manage user credentials (private keys specifically)?
aayushm72
@aayushm72
Does BigchainDB implement any tamper resistance? If someone was to change the data of a node through mongodb directly, is BigchainDB able to detect that and trigger a sync?
Scott Guyton
@kiljoy001
@abbasogaji they are created client side and should stay that way. You will at the very least need to encrypt them in some way if you have to store them locally. Ideally you'd want some HSM or something like that.
David Dashyan
@zzappie
@michelescarlato Hi. It is definitely possible. You just need to find out what is causing the problem. See there is a error message there saying where the error has occurred. Based on that I assume that there is something wrong has happened during registering genesis time. Because this is the only variable we are accessing stdout of. Hence you need to manually check out what is happening at this stage:
- name: Register genesis time shell: | cat /home/{{ tendermint_user }}/.tendermint/config/genesis.json | jq .genesis_time register: genesis_time become: yes
zzappie @zzappie don't know whats wrong with indents btw
David Dashyan
@zzappie
You can do so by going to /install.yml/ and commenting out unnecessary roles. Then comment out things after task at which the error occurs, running the playbook and then connecting to the problematic node and looking at stodout of the command above.
aayushm72
@aayushm72

Does BigchainDB implement any tamper resistance? If someone was to change the data of a node through mongodb directly, is BigchainDB able to detect that and trigger a sync?

can someone please answer this for me?

Ada922
@Ada922

Tomorrow Algorand is hosting a live webinar on implementing the world’s first CBDC. I have submitted a few questions and will be attending. This is a great way to spend your quarantine :)

Register and submit questions here: https://register.gotowebinar.com/register/5273854108710515471

1640design
@1640design
I am new to the blockchain world and would like to know if there is a way to build a gateway between a blockchain database and a relational database?
akkolwalkar
@akkolwalkar
are bigchaindb and ipdp separate things?
how to use bigchaindb with ethereum smart contracts? I have seen that some examples of the bigchaindb github have been deprecated
Conor Coxxx
@Conor_Coxxx_twitter
Anyone available to help me build a database?
Oswaldo Neto
@oswaldocostaneto
@Conor_Coxxx_twitter localhost or cloud?
akkolwalkar
@akkolwalkar
which companies are using bigchain db and how are they using it?
akkolwalkar
@akkolwalkar
can anyone explain me who are service providers of bigchaindb? Isn't bigchaindb free and opensource?
akkolwalkar
@akkolwalkar
can we work on encrypted data with bigchaindb?
akkolwalkar
@akkolwalkar
who is the service provider of bigchaindb?
Oswaldo Neto
@oswaldocostaneto
You can use BigchainDB with mongoDB on local machine, virtual machine or even on the cloud
akkolwalkar
@akkolwalkar
@oswaldocostaneto bigchain internally uses mongodb right or do we have to separately connect bigchaindb and mongodb?
Oswaldo Neto
@oswaldocostaneto
@akkolwalkar
as you can see in the documentation, mongoDB is installed together in the package when creating bigchaindb. So, if you do a BigchainDB installation, you will already be with mongoDB too. However, data manipulation within the database used by bigchainDB (default is 'bigchain') must be done using the appropriate drivers.
akkolwalkar
@akkolwalkar
@oswaldocostaneto thanks, I am getting confused with ipdb, rethinkdb, in bigchaindb 2.0
akkolwalkar
@akkolwalkar
they shifted bigchain to ipdp right?
can bigchaindb search on encrypted data?
how to store data does every client have their own bigchaindb?
shiva-p17
@shiva-p17
Hi All. I have tried the example "create a digital record " getting the error
TypeError: bip39.mnemonicToSeed(...).slice is not a function
please let me know what I'm missing
Simon Pfeifhofer
@simonpfeifhofer

Hi All,

I've a simple bigchaindb-setup:
Node A, B, C.

B connects to A (using persistent_peers). Blocks get synched, everything ok.
C connects to A (using persistent_peers). Error: "err="auth failure: secret conn failed: EOF" attempts=X"

If I disconnect B, then C can establish the connection, however it shouldn't be a problem to connect more than one node to a single node.

Where is my mistake?
What could be the problem?

Please.

triptisamal
@triptisamal
Hi All, I have a question related to verification of signature on bigchaindb. How is the verification of signature on a transaction done? In models.py, InvalidSignature error is raised, however I am not able to identify what the exact verifying funtion /algorithm is. Any help is appreciated. Thanks!
kodalo
@kodalo
Hi all,
I have BDB network with 4 nodes and it works fine. Now I want to add new node. I have tried election new upsert-validator from node1, but I got error:
ERROR:bigchaindb.commands.bigchaindb:Public key is not a part of the validator set. Public key (for node1) is valid and it is taken from working genesis.json. What I have done wrong?
triptisamal
@triptisamal

Hi all, I am new to bigchaindb. When I try to start service tendermint (sudo docker-compose up -d bigchaindb), I get an error : "from github.com.tendermint.tendermint.crypto.merkle import merkle_pb2 as github_dot_com_dot_tendermint_dot_tendermint_dot_crypto_dot_merkle_dot_merkle__pb2
ModuleNotFoundError: No module named 'github.com.tendermint.tendermint'
ERROR: Service 'bigchaindb' failed to build: The command '/bin/sh -c bigchaindb -y configure' returned a non-zero code: 1"

What could be the issue?Any help is appreciated.

SyedSuhail753
@SyedSuhail753
image.png
Hi all,I have set up bigchain db ,mongdb and tenderment by this link https://docs.bigchaindb.com/projects/server/en/latest/simple-deployment-template/set-up-node-software.html . When I start bigchaindb with command bigchaindb start Iam getting this error(screenshot below given)
pdelgadohurtado
@pdelgadohurtado
Hi !
@zzappie Thanks !
@zzappie i have another question, how do you ensure that the underlying database cant be changed from a local user ?
i want to try a similar architecture but with a relational database
saksham verma
@sksvsp16_gitlab
Hi everyone ! i want to search transaction using transaction id that is generated after asset being transferred . ( using nodejs ) any solution?
Oswaldo Neto
@oswaldocostaneto
@pdelgadohurtado , This is a basic thing for Blockchain. The fact that there is Hash control between the blocks (pointing to the hash of the previous block), prevents inadvertent changes in the database locally. If you want, do a test: Manually modify a transaction in the database and, later, search for it through its ID in the transaction search engine available through the BigchainDB API.
@sksvsp16_gitlab , You can do any type of query with MongoDB engines. Just search for the ID in the TRANSACTIONS collection.
pdelgadohurtado
@pdelgadohurtado
@oswaldocostaneto im talking about the UNDERLYING database. AFAI BigchainDB uses MongoDB internally, i want to know, what happen if an user can modify locally Mongodb, and alter the register somehow...