我正在尝试在管理选项卡下添加变量的气流网页用户界面。当我点击variables标签时,它抛出了下面的错误。。
____/ ( ( ) ) \___
/( ( ( ) _ )) ) )\
(( ( )( ) ) ( ) )
((/ ( _( ) ( _) ) ( () ) )
( ( ( (_) (( ( ) .((_ ) . )_
( ( ) ( ( ) ) ) . ) ( )
( ( ( ( ) ( _ ( _) ). ) . ) ) ( )
( ( ( ) ( ) ( )) ) _)( ) ) )
( ( ( \ ) ( (_ ( ) ( ) ) ) ) )) ( )
( ( ( ( (_ ( ) ( _ ) ) ( ) ) )
( ( ( ( ( ) (_ ) ) ) _) ) _( ( )
(( ( )( ( _ ) _) _(_ ( (_ )
(_((__(_(__(( ( ( | ) ) ) )_))__))_)___)
((__) \\||lll|l||/// \_))
( /(/ ( ) ) )\ )
( ( ( ( | | ) ) )\ )
( /(| / ( )) ) ) )) )
( ( ((((_(|)_))))) )
( ||\(|(|)|/|| )
( |(||(||)|||| )
( //|/l|||)|\\ \ )
(/ / // /|//||||\\ \ \ \ _)
-------------------------------------------------------------------------------
Node: servername.domain.com
-------------------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/base.py", line 69, in inner
return self._run_view(f, *args,**kwargs)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/base.py", line 368, in _run_view
return fn(self, *args,**kwargs)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/model/base.py", line 1900, in index_view
return_url=self._get_list_url(view_args),
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/base.py", line 308, in render
return render_template(template,**kwargs)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/opt/iig/airflow/lib/python2.7/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/opt/iig/airflow/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/opt/iig/airflow/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/opt/iig/airflow/lib/python2.7/site-packages/airflow/www/templates/airflow/variable_list.html", line 18, in top-level template code
{% extends 'admin/model/list.html' %}
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/templates/bootstrap3/admin/model/list.html", line 6, in top-level template code
{% import 'admin/model/row_actions.html' as row_actions with context %}
File "/opt/iig/airflow/lib/python2.7/site-packages/airflow/www/templates/admin/master.html", line 18, in top-level template code
{% extends 'admin/base.html' %}
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/templates/bootstrap3/admin/base.html", line 30, in top-level template code
{% block page_body %}
File "/opt/iig/airflow/lib/python2.7/site-packages/airflow/www/templates/admin/master.html", line 96, in block "page_body"
{% block body %}
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/templates/bootstrap3/admin/model/list.html", line 62, in block "body"
{% block model_list_table %}
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/templates/bootstrap3/admin/model/list.html", line 110, in block "model_list_table"
{% block list_row scoped %}
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/templates/bootstrap3/admin/model/list.html", line 138, in block "list_row"
{{ get_value(row, c) }}
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/model/base.py", line 1742, in get_list_value
self.column_type_formatters,
File "/opt/iig/airflow/lib/python2.7/site-packages/flask_admin/model/base.py", line 1707, in _get_list_value
value = column_fmt(self, context, model, name)
File "/opt/iig/airflow/lib/python2.7/site-packages/airflow/www/views.py", line 2126, in hidden_field_formatter
return getattr(model, name)
File "/opt/iig/airflow/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 298, in __get__
return self.descriptor.__get__(instance, owner)
File "/opt/iig/airflow/lib/python2.7/site-packages/airflow/models.py", line 3580, in get_val
return FERNET.decrypt(bytes(self._val, 'utf-8')).decode()
File "/opt/iig/airflow/lib64/python2.7/site-packages/cryptography/fernet.py", line 75, in decrypt
return self._decrypt_data(data, timestamp, ttl)
File "/opt/iig/airflow/lib64/python2.7/site-packages/cryptography/fernet.py", line 110, in _decrypt_data
raise InvalidToken
InvalidToken
检查后,我没有看到redis pid,但进程正在运行。
ps -ef | grep redis
airflow 12474 1 0 Nov03 ? 00:00:50 /usr/bin/python2 /opt/iig/airflow/bin/flower -b redis://servername:6379/0 --address=0.0.0.0 --port=5555
airflow 16447 1 0 Nov03 ? 00:01:12 /opt/iig/local/redis-stable/bin/redis-server servername:6379
如果你们中有人遇到类似的错误,请提供解决此问题的建议。
暂无答案!
目前还没有任何答案,快来回答吧!