Giter VIP home page Giter VIP logo

poa-devops's Introduction

poa-devops's People

Contributors

igorbarinov avatar jflowers1974 avatar micwebnet avatar phahulin avatar varasev avatar vitalyznachenok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

poa-devops's Issues

(Feature) Playbook to sync bootnodes.txt

Problem: Some (esp first) nodes have rather low and unstable number of peers.
Possible solution: refresh list of reserved peers (bootnodes.txt) from the repository

Notification triggers for specific actions

I think it would be awesome to incorporate our own notification logic into the nodes. I know that DO/AWS/AZURE all have solutions to monitor bandwidth etc...

But possibly we could have a variable to put in a TWILIO or SENDGRID api in order to get customized notifications. I'm not exactly sure what rulesets we'd implement, but some ideas are:

  • if payout script fails
  • when someone tries to ssh into your machine
  • Whenever new validator joins
  • when a new ballot is submitted to validators to vote on
  • when a ballot is finalized

I know some of these aren't necessarily on our specific nodes (like when someone finalizes a ballot) -- so a third-party notification system might work for that and now I'm wanting to build that actually. Thoughts?

Please consider supporting interactive auth for playbooks deployments

Originally by @micwebnet in poanetwork/deployment-playbooks#44


If the SSH keys are password protected, ansible-playbook fails with

TASK [hf-spec-change : Shutdown poa-netstats service] *****************************************************************************
fatal: [52.191.165.235]: FAILED! => {"changed": false, "msg": "Unable to stop service poa-netstats: Failed to stop poa-netstats.service: Interactive authentication required.\nSee system logs and 'systemctl status poa-netstats.service' for details.\n"}
to retry, use: --limit @/home/mm/poa-devops/site.retry

The workaround is to use non-password-protected ssh keys, but that's a security vulnerability if the control system is compromised. Suggest looking into allowing interactive auth during deployment.

Best, MM

Question -- should the ssh key pairs be the same for all deployments?

Seems to be an assumption deployments use the same ssh key/pairs, i.e. generate once and used in all deployment scenerios.

This may be fine for a test environment but not sure it is desirable in production.

I think some policy around ssh key management needs to be specified for deployments and then implemented in deployment scripts, or at least any assumptions about ssh keys need to be explicitly stated.

In this way the documentation can be constructed to help our user base, who have a varying degree of technical acumen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.