-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New install, puppetboard start error #171
Comments
Also seeing the same error on a fresh install:
Installed using the puppetboard puppet module in a virtualenv. |
+1 Fresh install of Centos 7,
Apache Logs
|
Problem was fixed in PuppetBoard. I just updated to the latest version of PuppetBoard and everything is fine. |
Yes works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fresh install on 16.04 LTS
I installed a fresh puppetmaster a few days ago and it was working direct, and i don't see anything i have done differently this time.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
node puppet01 {
class { 'puppetdb':
manage_dbserver => true,
database => 'postgres',
postgres_version => '9.5',
manage_package_repo => false,
}
class { 'puppetdb::master::config':
manage_report_processor => true,
enable_reports => true,
}
class { 'puppetboard':
manage_git => 'latest',
manage_virtualenv => 'latest',
}
class { 'apache': }
class { 'apache::mod::wsgi': }
class { 'puppetboard::apache::vhost':
vhost_name => 'sth-puppetboard.internal.int',
port => 80,
}
}
What are you seeing
In /var/log/apache2/sth-puppetboard.internal.int_error.log
[Mon Mar 13 15:36:38.655244 2017] [wsgi:error] [pid 3964:tid 140468569270016] /srv/puppetboard/puppetboard/puppetboard/forms.py:4: ExtDeprecationWarning: Importing flask.ext.wtf is deprecated, use flask_wtf instead.
[Mon Mar 13 15:36:38.655276 2017] [wsgi:error] [pid 3964:tid 140468569270016] from flask.ext.wtf import Form
[Mon Mar 13 15:36:38.774101 2017] [wsgi:error] [pid 3964:tid 140468569270016] /srv/puppetboard/puppetboard/puppetboard/forms.py:11: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
[Mon Mar 13 15:36:38.774137 2017] [wsgi:error] [pid 3964:tid 140468569270016] class QueryForm(Form):
[Mon Mar 13 15:36:38.774227 2017] [wsgi:error] [pid 3964:tid 140468569270016] /srv/puppetboard/puppetboard/puppetboard/forms.py:33: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
[Mon Mar 13 15:36:38.774235 2017] [wsgi:error] [pid 3964:tid 140468569270016] class CatalogForm(Form):
[Mon Mar 13 15:36:38.780769 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] mod_wsgi (pid=3964): Target WSGI script '/srv/puppetboard/puppetboard/wsgi.py' cannot be loaded as Python module.
[Mon Mar 13 15:36:38.780793 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] mod_wsgi (pid=3964): Exception occurred processing WSGI script '/srv/puppetboard/puppetboard/wsgi.py'.
[Mon Mar 13 15:36:38.780822 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] Traceback (most recent call last):
[Mon Mar 13 15:36:38.780845 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] File "/srv/puppetboard/puppetboard/wsgi.py", line 15, in
[Mon Mar 13 15:36:38.780905 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] from puppetboard.app import app as application
[Mon Mar 13 15:36:38.780918 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] File "/srv/puppetboard/puppetboard/puppetboard/app.py", line 130, in
[Mon Mar 13 15:36:38.781233 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] abort.mapping[204] = NoContent
[Mon Mar 13 15:36:38.781259 2017] [wsgi:error] [pid 3964:tid 140468569270016] [remote 172.16.149.6:21098] AttributeError: 'function' object has no attribute 'mapping'
The text was updated successfully, but these errors were encountered: