StorminStanley / st2workroom

Vagrant environment used to play with StackStorm, develop StackStorm for your environment, or develop on StackStorm itself!
Apache License 2.0
23 stars 19 forks source link

setup process broken #112

Closed bjoernbessert closed 9 years ago

bjoernbessert commented 9 years ago

Executing "vagrant up st2express", after the "chatops" setup step (i've not enabled chatops), the following error occurs:

An error occurred!

To disable this interface, set
conf.app.debug = False
Pecan offers support for interactive debugging by installing the backlash package: 
pip install backlash
...and reloading this page.
Traceback

Traceback (most recent call last):
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/debug.py", line 74, in __call__
    return self.app(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 60, in __call__
    return middleware(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 37, in __call__
    return self.app(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 161, in __call__
    return self.app(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 60, in __call__
    return middleware(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 37, in __call__
    return self.app(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 161, in __call__
    return self.app(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 60, in __call__
    return middleware(environ, start_response)
  File "/etc/st2installer/.venv/local/lib/python2.7/site-packages/pecan/middleware/recursive.py", line 31, in __call__
    % (path_info, self.env['pecan.recursive.old_path_info'])
RecursionLoop: Forwarding loop detected; '/' visited twice (internal redirect path: ['/', '/install'])
WSGI Environment

{'CONTENT_LENGTH': '4916',
 'CONTENT_TYPE': 'multipart/form-data; boundary=----WebKitFormBoundaryafKFgeHa5dBokABU',
 'DOCUMENT_ROOT': '/usr/share/nginx/html',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_CONTENT_LENGTH': '4916',
 'HTTP_CONTENT_TYPE': 'multipart/form-data; boundary=----WebKitFormBoundaryafKFgeHa5dBokABU',
 'HTTP_HOST': '172.168.50.11',
 'HTTP_ORIGIN': 'https://172.168.50.11',
 'HTTP_REFERER': 'https://172.168.50.11/setup/',
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36',
 'PATH_INFO': '/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '172.168.50.1',
 'REMOTE_PORT': '57999',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/setup/',
 'SERVER_ADDR': '172.168.50.11',
 'SERVER_NAME': 'st2express',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'pecan.locals': {'request': ,
                  'response': },
 'pecan.recursive.context': {},
 'pecan.recursive.old_path_info': ['/', '/install'],
 'pecan.recursive.script_name': '',
 'uwsgi.core': 2,
 'uwsgi.node': 'st2express.stackstorm.dev',
 'uwsgi.version': '2.0.11.1',
 'webob._body_file': (<_io.BufferedReader>,
                      ),
 'webob._parsed_post_vars': (MultiDict([('hubot-password', '******'), ('hostname', u'172.168.50.11'), ('selfsigned', u'1'), ('file-publickey', u''), ('file-privatekey', u''), ('admin-username', u'admin'), ('password-1', '******'), ('password-2', '******'), ('username', u'stanley'), ('sshgen', u'1'), ('file-ssh-publickey', u''), ('file-ssh-privatekey', u''), ('chatops', u'slack'), ('slack-token', u''), ('hipchat-jid', u''), ('hipchat-password', '******'), ('text-hipchat-domain', u''), ('xmpp-username', u''), ('xmpp-password', '******'), ('xmpp-rooms', u''), ('xmpp-host', u''), ('xmpp-port', u''), ('irc-nick', u''), ('irc-server', u''), ('irc-rooms', u''), ('irc-password', '******'), ('irc-port', u''), ('irc-nickserv-username', u''), ('irc-nickserv-password', '******'), ('flowdock-token', u''), ('flowdock-email', u''), ('flowdock-password', '******'), ('gen-private', u'-----BEGIN RSA PRIVATE KEY-----\r\nMIICXQIBAAKBgQC4SOXgWpdjG0QQhchXKCLK3TgMabbTGWehg1aeWp2PN5VpmASt\r\nuj22NbRY6+VDyJsnadfcZ+EVXTI3DkH0jtvZRSxPt+nscKOmL4KLXSbcC2+wtIvl\r\n2vVCbHcsc9/VDTgGjt6ZM0gOx/jtx91trgFLeUdblY4itbbLqGVgqGwSvwIDAQAB\r\nAoGBAJHBfqf7nv9RIn2bAsEEyrf/ToRq3KKM1m1lzw3CiBotkWyKQzERPBwwz+sA\r\n8T2ynh0HVydJtjpKkxv+l+YRVApmG3R33uk1KgFs7XcsGRDABgWds/G+lKHMeJoL\r\nqDO9MdP3KXZ5e+xPFOYTxsaHbPLB2dneC+YGtCyJvqOpiz0hAkEA0UW8+KwChlpG\r\n3VcRgoBrg3GGvzp4cFAtDFAF9yPx6ZOyILqfg2yxpJcDz5rzvJoqzmKk9A0XRdij\r\nF09yNjLb0QJBAOFu1duq23B4qbLn1t9lJmuAl9O3jbahbUyzwQJvOyLI4rh2LXrX\r\np+VhYnyYGlPsbvKcZErmO/yhigDyixUl+Y8CQQCD43aoJgflUonsvw3a+EJJ8cdh\r\nR2FWL0FkzB4mVnIEqj+N3u/e7Sa7uyz8rwRDbcnijkq1QHbVXyXR8BDj1YOxAkA7\r\nEWOPz1D4Q2WTrxOqLULH4EXn/6xuMhYFhwQHs0V3c9OUKcL48RDZFY9Mvj4Hx2e6\r\nwie1SGZnZ5xVazfuLqkZAkAQuL4K0dUoJRk+Wn4JzOJKqtPC+ZHI+SPCmDxzkzBU\r\nCIkaahc5MkAvEHG3zslcvz1Jdv08E/HtsrEi7w/8yCpc\r\n-----END RSA PRIVATE KEY-----'), ('gen-public', u'AAAAB3NzaC1yc2EAAAADAQABAAAAgQC4SOXgWpdjG0QQhchXKCLK3TgMabbTGWehg1aeWp2PN5VpmAStuj22NbRY6+VDyJsnadfcZ+EVXTI3DkH0jtvZRSxPt+nscKOmL4KLXSbcC2+wtIvl2vVCbHcsc9/VDTgGjt6ZM0gOx/jtx91trgFLeUdblY4itbbLqGVgqGwSvw=='), ('comparison', u'')]),
                             <_io.BytesIO object at 0x7fd596ee1bf0>),
 'webob._parsed_query_vars': (GET([]), ''),
 'webob.adhoc_attrs': {'context': {},
                       'pecan': {'content_type': 'text/html',
                                 'extension': None,
                                 'routing_path': u'/'}},
 'webob.is_body_seekable': True,
 'wsgi.errors': ,
 'wsgi.file_wrapper': ,
 'wsgi.input': <_io.BytesIO object at 0x7fd596ee1bf0>,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}
jfryman commented 9 years ago

We fixed a ton of bugs recently. If you are still seeing this, please don't hesitate to shout and we'll take a look.