[FOLIO-2150] folio-ansible: using renamed module "docker_service", now "docker_compose" Created: 08/Jul/19  Updated: 24/Jan/24

Status: In Progress
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: David Crossley Assignee: Oleksii Petrenko
Resolution: Unresolved Votes: 0
Labels: devops, platform-backlog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-3965 Update Docker Compose Ansible module ... Open
relates to FOLIO-2148 Gather notes about stuff needing atte... Closed
Sprint:
Development Team: FOLIO DevOps

 Description   

Deprecation warning when using ansible-2.8.1:

RUNNING HANDLER [folio-ansible/roles/stripes-docker : build and start stripes docker container] ***
[DEPRECATION WARNING]: The 'docker_service' module has been renamed to
'docker_compose'.. This feature will be removed in version 2.12.


 Comments   
Comment by David Crossley [ 09/Oct/23 ]

This was fixed around 2021-06-08 in folio-ansible via folio-ansible/pull/470

There are still two mentions in folio-infrastructure at:
CI/ansible/rebuild-stripes.yml
CI/ansible/roles/stripes-docker-local/handlers/main.yml
CI/terraform/...

Not sure if those parts are still in use.
 

Comment by Wayne Schneider [ 23/Jan/24 ]

May be related to FOLIO-3965 Open

Comment by Wayne Schneider [ 24/Jan/24 ]

The rebuild-stripes.yml playbook is only referenced in the folio-snapshot-ui-tests Jenkinsfile, and that only in a commented-out section that was used to run the old Nightmare tests. That file was updated by me 7 months ago in what looks like a frenzy of completeness, otherwise it has been untouched for 3 years, when it looks like it was created to preserve the old Nightmare test process for posterity. I can find no pipeline that uses it in Jenkins. I have moved both Jenkinsfile and playbook into "deprecated" directories.

The stripes-docker-local role was invoked in the stripes-docker.yml playbook, which I think was used when we built the Stripes webpack separately from the full platform and did it hourly. A note in the playbook: "Invoked in jenkins-pipeline vars/buildPlatformInstance" – the pipeline referenced no longer exists. We may have moved away from that approach even before ultimately stopping the periodic stripes build, as the old folio-testing-stripes Jenkins pipeline that built it points instead to the stripes.yml playbook. Both the role and the playbook have been moved into the "deprecated" pile.

It looks like the terraform directory contains old copies of roles from folio-ansible, and has not been maintained for at least 2 years. I believe that Rancher/scratch environments are now built using helm charts instead of Ansible playbooks. Oleksii Petrenko, if you could, please confirm with the Kitfox team. If these terraform artifacts are no longer needed we can move them into a "deprecated" folder in the repository or remove them entirely, depending on your preference.

I'm assigning this ticket to Oleksii for now, please feel free to assign back to me after you confirm with the team.

Generated at Thu Feb 08 23:18:35 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.