ansible-airflow | Ansible role for the installation of Apache Airflow | Continuous Deployment library
kandi X-RAY | ansible-airflow Summary
kandi X-RAY | ansible-airflow Summary
Ansible role for the installation of Apache Airflow
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ansible-airflow
ansible-airflow Key Features
ansible-airflow Examples and Code Snippets
Community Discussions
Trending Discussions on ansible-airflow
QUESTION
I've been deploying clusters in GCP via ansible scripts for more then a year now, but all of a sudden one of my scripts keeps giving me this error:
libcloud.common.google.GoogleBaseError: u\"The zone 'projects/[project]/zones/europe-west1-d' does not have enough resources available to fulfill the request. Try a different zone, or try again later.
The obvious reason would be that I don't have enough resources, but not a whole lot has changed and quotas look good:
The ansible script itself doesn't ask for a lot. I'm creating 3 instances of n1-standard-4 with 100GB SSD. See snippet of script below:
...ANSWER
Answered 2018-Apr-09 at 08:24The error message is not showing that is an error with the quota, but rather an issue with the zone resources, I would advise you to try a new zone.
Quoting from the documentation:
Even if you have a regional quota, it is possible that a resource might not be available in a specific zone. For example, you might have quota in region us-central1 to create VM instances, but might not be able to create VM instances in the zone us-central1-a if the zone is depleted. In such cases, try creating the same resource in another zone, such as us-central1-f.
Therefore when creating the script you should take this possibility into account even if it is not so common.
This issue is even more highlithed in case of preentible instances since:
Preemptible instances are finite Compute Engine resources, so they might not always be available. [...] these instances if it requires access to those resources for other tasks. Preemptible instances are excess Compute Engine capacity so their availability varies with usage.
UPDATE
To doublecheck what I am saying you can try to keep the preentible flag and change the zone to be sure the script it is working properly and it is a stockout happening during the evening (and since during the day it works this should be the case).
- If the issue it is really the availability -| you might consider to spin up preentible instance and if not available, catch the error and then either rely on normal one or on a different zone |-
As I promised I created on your behalf the feature request, you can follow the updates on the public tracker. I advise you to start it in order to receive the updates on the email:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ansible-airflow
You can use ansible-airflow like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page