nicholaspcole / droplet-connectivity-testing Goto Github PK
View Code? Open in Web Editor NEWScripts to reproduce an error connecting to DigitalOcean's API.
Scripts to reproduce an error connecting to DigitalOcean's API.
This'll make it easier to share the results with others without requiring SSH access to the Droplets themselves.
With and without Cloud Firewalls, for example.
Steps:
Rinse and repeat.
Possibly related to elastic/beats#11505, after upgrading Elasticsearch, Kibana, and Beats across my stack to 6.7.0, Journalbeat has started duplicated messages 2-5x from the systemd journal into Elasticsearch, which is making any reporting unusable.
Hopefully that issue will find a solution, but it'll probably be quicker to work around it on my own, add Logstash to the logging stack, and generate document IDs from a fingerprint of the Journalbeat messages.
Reference:
Frequently, when fetching logs from Droplets, checksum mismatch errors happen:
fatal: [192.0.2.5]: FAILED! => {"changed": false, "checksum": "11065d092a2232270d5019166b7c555bca8692ea", "dest": "/Users/nicholas/git/digitalocean-api-connection-resets/retrieved-logs/20190301T191014_ipv4-cloud-firewall.log", "file": "/root/digitalocean_api_canary.log", "md5sum": "ba95e1ce56c76cf4f87115c368c40624", "msg": "checksum mismatch", "remote_checksum": "b87e9d292fa1a4fe61cf1cecc18952f7759ae52f", "remote_md5sum": null}
Need to investigate this - are files still being written to while the playbook runs? Are the generated filenames inconsistent? A conflict with files saved locally? Something else?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.