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

ActiveMQ conf and data cannot be found #329

Closed
Fikili opened this issue Apr 23, 2022 · 3 comments
Closed

ActiveMQ conf and data cannot be found #329

Fikili opened this issue Apr 23, 2022 · 3 comments

Comments

@Fikili
Copy link
Contributor

Fikili commented Apr 23, 2022

Bug description

ACS 7.2 installation started using $ ansible-playbook playbooks/acs.yml -i inventory_ssh.yml
Error message mentioned below occurred in task "Copy data & config files to Unix FHS dirs". I am not sure if that is something critical because the installation continued and following tasks were executed properly.

Target OS

RHEL 8.3

Ansible error

TASK [../roles/activemq : Copy data & config files to Unix FHS dirs] ***************************************************************************
failed: [activemq_1] (item={'src': '/opt/apache-activemq-5.16.4/conf', 'dest': '/etc/opt/alfresco/activemq'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/etc/opt/alfresco/activemq", "src": "/opt/apache-activemq-5.16.4/conf"}, "msg": "Source /opt/apache-activemq-5.16.4/conf not found"}
failed: [activemq_1] (item={'src': '/opt/apache-activemq-5.16.4/data', 'dest': '/var/opt/alfresco/activemq'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/var/opt/alfresco/activemq", "src": "/opt/apache-activemq-5.16.4/data"}, "msg": "Source /opt/apache-activemq-5.16.4/data not found"}

Ansible context

Same output as in #328

@Fikili
Copy link
Contributor Author

Fikili commented Apr 23, 2022

Similar issue can be seen also with Alfresco Search Services:

TASK [../roles/search : Copy files from /opt/alfresco/search-services-2.0.3/alfresco-search-services to /opt/alfresco/search-services-2.0.3/] ***
failed: [search_1] (item={'src': 'alfresco-search-services/', 'dest': '/opt/alfresco/search-services-2.0.3/'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/opt/alfresco/search-services-2.0.3/", "src": "alfresco-search-services/"}, "msg": "Source /opt/alfresco/search-services-2.0.3/alfresco-search-services/ not found"}
failed: [search_1] (item={'src': 'solrhome', 'dest': '/etc/opt/alfresco/search-services/'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/etc/opt/alfresco/search-services/", "src": "solrhome"}, "msg": "Source /opt/alfresco/search-services-2.0.3/solrhome not found"}

@alxgomz
Copy link
Contributor

alxgomz commented Apr 23, 2022

Hi @Fikili,

Thank you for filling this issue. This error you see during the play is not a problem as such. It is actually expected when the playbook is played multiple times.
This tasks' failure are gracefully handled by the playbook in order to provide some kind of idempotency. You can ignore them.

@Fikili
Copy link
Contributor Author

Fikili commented Apr 25, 2022

Ok, thanks for info. I will close the task.

@Fikili Fikili closed this as completed Apr 25, 2022
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

2 participants