Page MenuHomePhabricator

Deploy logstash/plugins with scap3
Closed, ResolvedPublic

Event Timeline

Change 354466 had a related patch set uploaded (by Thcipriani; owner: Thcipriani):
[operations/software/logstash/plugins@master] Deployment via scap3

https://gerrit.wikimedia.org/r/354466

Change 354472 had a related patch set uploaded (by Thcipriani; owner: Thcipriani):
[operations/puppet@production] Scap3: deploy logstash/plugins with scap3

https://gerrit.wikimedia.org/r/354472

@Gehel @EBernhardson so I've made patches to migrate logstash/plugins over to scap3 that is setup more or less the same as the trebuchet deployment.

Ideally we could find a time to do the first deployment via scap3 together so that we can catch any problems that may arise on either side.

The transition steps are, roughly:

  • merge https://gerrit.wikimedia.org/r/#/c/354466/ and ensure that patch is on tin/$DEPLOYMENT_SERVER
  • stop puppet on targets and merge https://gerrit.wikimedia.org/r/#/c/354472/2
  • run puppet on the deployment servers, tin et al
  • cd /srv/deployment/logstash/plugins && scap deploy --init this will create /srv/deployment/logstash/plugins/.git/DEPLOY_HEAD this only needs to be done for initial transition-to-scap3 deployments
  • run puppet on all targets, ensure /srv/deployment/logstash/plugins is now owned by deploy-service user
  • Do an actual deploy from tin

Let me know either of your availability for this process and we can hammer down timing Thanks!

@thcipriani Thanks for all this! I can be available to deploy this today 6pm CEST (9am PDT) if that's good for you. Otherwise, ping me on IRC and we'll find a time.

@thcipriani Thanks for all this! I can be available to deploy this today 6pm CEST (9am PDT) if that's good for you. Otherwise, ping me on IRC and we'll find a time.

Awesome, 9am PDT works for me! Thanks!

Change 354466 merged by Gehel:
[operations/software/logstash/plugins@master] Deployment via scap3

https://gerrit.wikimedia.org/r/354466

Change 354472 merged by Gehel:
[operations/puppet@production] Scap3: deploy logstash/plugins with scap3

https://gerrit.wikimedia.org/r/354472

All done! @Gehel merged and did the deploy today: https://twitter.com/wikimediatech/status/877940072477319168

calling this one done.

I did not know we have a twitter feed ...