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

Build pipeline on AirFlow + Ansible #11

Open
7 tasks
abitrolly opened this issue Jan 16, 2019 · 11 comments
Open
7 tasks

Build pipeline on AirFlow + Ansible #11

abitrolly opened this issue Jan 16, 2019 · 11 comments

Comments

@abitrolly
Copy link
Member

abitrolly commented Jan 16, 2019

  • Setup 10 Ubuntu 18.04 machines with Ansible and Airflow

  • 1 controller

  • 9 pilots

  • Access UI on controller
  • Create test job on controller
  • Run test job on 9 pilots and collect result
  • Randomly reboot pilots to check job recovery
  • Modify jobs to fetch heavyweight data file from storage
  • Share new job to running cluster (should it stop old ones?)
@abitrolly
Copy link
Member Author

abitrolly commented Jan 16, 2019

@abitrolly
Copy link
Member Author

Installed Airflow through Ansible without GPL dependencies.

+3

@abitrolly
Copy link
Member Author

+2 systemd template to autostart airflow webserver on reboot.

LXD port forwarding, finding a way to pass files between Airflow tasks.

@abitrolly
Copy link
Member Author

+2 reading airflow docs and experiments.

@abitrolly
Copy link
Member Author

Ideas for the future. Calculating the time saved. Implement an easy way to register the time that is saved by automation, as a dividend of added benefits by automation, which can be used to fix or improve the automation.

@abitrolly
Copy link
Member Author

+2 PostgreSQL

@abitrolly
Copy link
Member Author

abitrolly commented Jan 30, 2019

+2 (failed) troubleshooting Scaleway sudo root is not in the sudoers file after bootstrap with Ansible
+1 checkout and generate .env
+2 (failed) Ansible port forwarding (will upload private SSH keys instead)

@abitrolly
Copy link
Member Author

+1 sudoers fixed with mv /etc/sudoers.dpkg-dist /etc/sudoers
+1 git clone with access key and host trust

@abitrolly
Copy link
Member Author

+1 RabbitMQ probe

#!/usr/bin/env python
import pika

USERPASS = "guest guest"

creds = pika.PlainCredentials(*USERPASS.split())
connection = pika.BlockingConnection(pika.ConnectionParameters('localhost',
        credentials=creds))
channel = connection.channel()

@abitrolly
Copy link
Member Author

+1 move DB to different host

@abitrolly
Copy link
Member Author

+1 move RabbitMQ and Redis to a separate host

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