tulibraries / ansible-role-airflow Goto Github PK
View Code? Open in Web Editor NEWTU Libraries Airflow & DAGs Deployment Ansible Role
License: MIT License
TU Libraries Airflow & DAGs Deployment Ansible Role
License: MIT License
From /var/lib/airflow/tul_cob
bundle install
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
/var/lib/airflow/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20190403-30967-waln2k.rb extconf.rb
checking for -lstdc++... no
creating Makefile
current directory: /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
make "DESTDIR=" clean
current directory: /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
make "DESTDIR="
compiling unf.cc
make: g++: Command not found
make: *** [unf.o] Error 127
make failed, exit code 2
Gem files will remain installed in /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5 for inspection.
Results logged to /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/unf_ext-0.0.7.5/gem_make.out
An error occurred while installing unf_ext (0.0.7.5), and Bundler cannot continue.
Make sure that `gem install unf_ext -v '0.0.7.5' --source 'https://rubygems.org/'` succeeds before bundling.
If I try to install that specific gem
gem install unf_ext -v '0.0.7.5'
Building native extensions. This could take a while...
ERROR: Error installing unf_ext:
ERROR: Failed to build gem native extension.
current directory: /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
/var/lib/airflow/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20190403-20269-zbj4kp.rb extconf.rb
checking for -lstdc++... no
creating Makefile
current directory: /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
make "DESTDIR=" clean
current directory: /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5/ext/unf_ext
make "DESTDIR="
compiling unf.cc
make: g++: Command not found
make: *** [unf.o] Error 127
make failed, exit code 2
Gem files will remain installed in /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/unf_ext-0.0.7.5 for inspection.
Results logged to /var/lib/airflow/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/unf_ext-0.0.7.5/gem_make.out```
Hi,
I tried to use your role but it failed with this error
failed: [dmpServer] (item={'name': 'python-virtualenv'}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "python-virtualenv"}, "msg": "No package matching 'python-virtualenv' is available"}
failed: [dmpServer] (item={'name': 'python-pip'}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "python-pip"}, "msg": "No package matching 'python-pip' is available"}
I could not use this role due to this error.
Regards
Rajaniesh
Becomes more important given airflow library's turn towards preferring environment variables to config values
Basically, it cannot run a task by default that is required of the Public role. We can either update the Public role during deploy or update hte task. The airflow cli isn't great for either of those options yet, and the database is a black pit.
A small feature request:
configuration.py:569: DeprecationWarning: Specifying both AIRFLOW_HOME environment variable and airflow_home in the config file is deprecated. Please use Please use only the AIRFLOW_HOME environment variable and remove the config file entry.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.