Hello,
When I try to run web_dev_server - it won't run the handlers (task 11)
It reports "ERROR! The requested handler 'restart firewalld' was not found in either the main handlers list nor in the listening handlers list'
It is a newly created lab instance and I am just following along the excercise as it is written (showing solution).
It is a very difficult exercise so I'm not sure where to begin troubleshooting.
The handler does exist in the role, I checked before.
@chis0 -
So I know you said you checked, but you might want to check again. I would suggest posting the playbook where it is "calling" this handler that isn't running and the file in the role that runs the task for this handler.
Most likely you have something, but it also most likely doesn't match. The key here would be the name of the handler. That would be the best starting point at least for now.
@chis0 -
So I know you said you checked, but you might want to check again. I would suggest posting the playbook where it is "calling" this handler that isn't running and the file in the role that runs the task for this handler.
Most likely you have something, but it also most likely doesn't match. The key here would be the name of the handler. That would be the best starting point at least for now.
Hello,
I had to remove all the # comments from roles/apache.developer_configs/meta/main.yml
They were showing as erroneous or 'too long' in vim linting. Perhaps due to the rgdacosta classroom_env helper script.
I'll need to try again without the script, but before removing comments, I couldn't notify the handlers (because infra.apache was not being referenced) after removing comments, the handlers were notified and the play was successful.
Also the lab says "
Apache HTTPD failed to restart in the preceding step because the network ports it uses for your developers are labeled with the wrong SELinux contexts."
But it did not fail for me, the tasks were successful even before doing the selinux part.
Of course, I cannot curl servera or serverb, so I still fail to get this lab to complete. I'll trry again another time.
Thanks.
I managed to get tihs to run.
I did not use the classroom_env helper this time and everything worked as expected.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.