Task #4580
closedMigrate pulpbot to the OSCI infrastructure
0%
Description
This migration should preserve all the configs for pulpbot and karma for users.
Updated by dkliban@redhat.com over 5 years ago
- Subject changed from Migrate pulpbot to the OpenStack cluster to Migrate pulpbot to the new OpenStack cluster
Updated by dkliban@redhat.com over 5 years ago
- Subject changed from Migrate pulpbot to the new OpenStack cluster to Migrate pulpbot to the OSCI infrastructure
Updated by dkliban@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by duck over 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?
Updated by duck over 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.
Updated by duck over 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.
Updated by dkliban@redhat.com over 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.