Closed Bug 1344697 Opened 9 years ago Closed 9 years ago

Airflow fails to run jobs

Categories

(Cloud Services Graveyard :: Metrics: Pipeline, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rvitillo, Assigned: rvitillo)

References

Details

User Story

This morning Bug 1344639 caused our ETL jobs to fail. After the mirror came back online I tried to rerun the failed jobs but nothing happened as Airflow was in an inconsistent state, probably due to some Celery failures. 

I tried redeploying Airflow but I was getting some errors due to my ecs-cli version being outdated. I updated ecs-cli to 0.4.6 and redeployed. I tried to re-run the jobs and I was greeted with the following error:

An error occurred (UnrecognizedClientException) when calling the RunJobFlow operation: The security token included in the request is invalid

It turns out that the new version of ecs-cli, when used in combination with a docker compose file, sets environment variables also when they are empty unlike older versions.

To fix the issue I pushed a patch to telemetry-airflow to unset empty AWS credentials defined in the environment.
No description provided.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
User Story: (updated)
Assignee: nobody → rvitillo
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.