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

add Nomadic's and BCD tezos indexers #166

Closed
wants to merge 37 commits into from

Conversation

nicolasochem
Copy link
Collaborator

@nicolasochem nicolasochem commented Mar 24, 2021

Both indexers are able to index a private chain.

BCD indexer needs private images with env variables to set the hostname for elastic/db/rabbitmq. Next release of BCD hub will have them, until then it is necessary to build your own containers:

baking-bad/bcdhub#554

The indexer need to be activated in values.yaml and does not run by default. The default values.yaml has an explanation in comments.

Both indexers are able to index a private chain.

BCD indexer needs private images with env variables to set the hostname for elastic/db/rabbitmq. Next release of BCD hub will have them, until then it is necessary to build your own containers:

baking-bad/bcdhub#554

The indexer need to be activated in values.yaml and does not run by default. The default values.yaml has an explanation in comments.
@brandisimus brandisimus added this to the Integrated indexers milestone Mar 24, 2021
My immediate need is to deploy an archive node; I need 300Gi of storage.
│ The files belonging to this database system will be owned by user "postgres".
│ This user must also own the server process.
│ The database cluster will be initialized with locale "en_US.utf8".
│ The default database encoding has accordingly been set to "UTF8".
│ The default text search configuration will be set to "english".
│ Data page checksums are disabled.
│ initdb: error: directory "/var/lib/postgresql/data" exists but is not empty
│ It contains a lost+found directory, perhaps due to it being a mount point.
│ Using a mount point directly as the data directory is not recommended.
│ Create a subdirectory under the mount point.
│ stream closed
selector:
app: tezos-baking-node
app: tezos-node
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens if there is only a baker in the cluster and no reg nodes?

chain-init needs to look for a baker, not a reg node. Hmmmm, well chain-init is a job and as of now every pod has all of the keys imported on it (for sk's this should change). So it would likely still activate the chain even if there is only a single reg node.

Shouldn't a baker be a more reliable source for RPC?

We should be able to select multiple apps if desired.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried on latest commit 02a4bb3 on branch indexer_new, and in minikube. It breaks bec job can't find the activation key.

>>>>1: http://tezos-node-rpc:8732/chains/main/blocks/genesis/protocols
<<<<1: 200 OK
{ "protocol": "PtYuensgYBb3G3x1hLLbCmcav8ue8Kyd2khADcL5LsT5R1hcXex",
"next_protocol": "PtYuensgYBb3G3x1hLLbCmcav8ue8Kyd2khADcL5LsT5R1hcXex" }
Error:
Erroneous command line argument 9 (tqtezos_baker_0).
no secret_key alias named tqtezos_baker_0
cannot read file (Unix.Unix_error(Unix.ENOENT, "open", "tqtezos_baker_0"))
Error while parsing URI: SK_URI needs a scheme

storage: "300Gi"
---
apiVersion: v1
kind: ConfigMap
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused configmap

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

Successfully merging this pull request may close these issues.

3 participants