Project

Profile

Help

Task #4580

closed

Migrate pulpbot to the OSCI infrastructure

Added by dkliban@redhat.com about 5 years ago. Updated about 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 51
Quarter:

Description

This migration should preserve all the configs for pulpbot and karma for users.

Actions #1

Updated by dkliban@redhat.com about 5 years ago

  • Subject changed from Migrate pulpbot to the OpenStack cluster to Migrate pulpbot to the new OpenStack cluster
Actions #2

Updated by dkliban@redhat.com about 5 years ago

  • Subject changed from Migrate pulpbot to the new OpenStack cluster to Migrate pulpbot to the OSCI infrastructure
Actions #3

Updated by dkliban@redhat.com about 5 years ago

  • Sprint set to Sprint 51
Actions #4

Updated by dkliban@redhat.com about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
Actions #5

Updated by duck about 5 years ago

I finish the Ansible rules deployment, which needs to be reviewed:
https://github.com/bmbouter/pulp-infra-ansible/pull/4

I discovered the Redmine plugin is now back to the original code (and not the Pulp fork). I then adapted the configuration accordingly.

I stopped the bot, synced the data, and started the new one. The bot connects without error.

I tested the Redmine plugin and it fails with a JSON error. Involved libraried being the same, I tested the original bot and it failed saying two plugins where claiming the command, so it did not work. I did some debug and found out the rest library did not follow the plan.io HTTP->HTTPS redirection and this led to an empty string and JSON decoding failure. it is not secure anyway so I changed the URL to HTTPS and it works fine now.

I also switched the RSS feed to HTTPS, as it is available.

I also switched on the certificate validation.

@dkliban could you check the bugtriage/meetbot part please?

Actions #6

Updated by duck about 5 years ago

Also for the record we're using packaged libs only, no pip install or env. python2-restkit was missing so I backported it along with a few deps in the OSAS RPM repository. We already are using this repository for other reasons, so no change here.

Actions #7

Updated by duck about 5 years ago

The meetbot plugin having a replay command, they suggest to configure using a specific configuration file directly into the plugin directory; I did not see that coming. As we're using the packaged version, this is not possible. Pulp does not use the replay command as logs are published via web, so I used the supybot-style config. I updated the Ansible PR accordingly.

Also, the PulpTriage plugin was still using the PulpRedmine fork internally, but as the original one is now used and the old one not needed anymore, I created a PR to fix this.

Actions #8

Updated by dkliban@redhat.com about 5 years ago

  • Status changed from ASSIGNED to CLOSED - COMPLETE

The bot has been migrated and all the docs have been updated. Cron job that copies triage logs has started working.

Also available in: Atom PDF