github-actions[bot] opened a new pull request, #57907:
URL: https://github.com/apache/airflow/pull/57907
* Fix systemd service files issues
This commit addresses multiple bugs in systemd service files reported
in issue #53706:
1. Fix incorrect command in airflow-api.service
- Changed 'airflow api' to 'airflow api-server' (correct CLI command)
2. Standardize environment configuration approach
- Changed airflow-api.service and airflow-triggerer.service to use
EnvironmentFile=/etc/sysconfig/airflow instead of inline Environment
- This provides consistency with other services and allows admins
flexibility to manage custom environment variables centrally
3. Fix service dependencies
- Added proper After= and Wants= clauses for database and message
queue services (postgresql, mysql, redis, rabbitmq) to
airflow-api.service and airflow-triggerer.service
- Services now wait for required dependencies before starting
4. Additional bug fixes discovered during review
- airflow-flower.service: Removed duplicate ExecStart line
- airflow-kerberos.service: Fixed command from 'kerberos' to
'airflow kerberos'
5. Consistency improvements
- Added Type=simple and RestartSec=5s to airflow-api.service and
airflow-triggerer.service for consistency with other services
All systemd service files now follow the same configuration pattern,
making them easier to maintain and more reliable during system startup.
Fixes #53706
* Add gcp_conn_id parameter to DataprocDiagnoseClusterOperator examples
Added gcp_conn_id parameter to both standard and deferrable examples
in the DataprocDiagnoseClusterOperator documentation to clarify that
users can customize the GCP connection ID.
Fixes: #44420
---------
(cherry picked from commit 038b4cd6ac3df21e0f005c7a95516a0593e55362)
Co-authored-by: Ashir Alam <[email protected]>
Co-authored-by: Ashir Alam <[email protected]>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]