[chef] Re: RE: RE: Re: RE: Re: chefdash: realtime DevOps dashboard


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Subject: [chef] Re: RE: RE: Re: RE: Re: chefdash: realtime DevOps dashboard
  • Date: Thu, 14 Nov 2013 14:04:27 -0800

Should use whatever you configured inside knife. I'd verify that you can run knife commands as the chefdash user to ensure that config is correct.

--
~*~ StormeRider ~*~

"Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS


On Thu, Nov 14, 2013 at 1:16 PM, William Soula < " target="_blank"> > wrote:
What port does it talk to opscode on?

Will


From: William Soula [ " target="_blank"> ]
Sent: Thursday, November 14, 2013 2:59 PM
To: " target="_blank">
Subject: [chef] RE: Re: RE: Re: chefdash: realtime DevOps dashboard

I just tried that and it still didn't work.  My stacktrace is actually a little different

2013-11-14 20:55:47,749 chefdash ERROR Exception on /login [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python2.7/dist-packages/chefdash-0.1.0-py2.7.egg/chefdash/__init__.py", line 341, in login
    auth_result = ujson.decode(api.request('POST', '/authenticate_user', data = "ujson.encode({" 'name': username, 'password': password })))
AttributeError: 'NoneType' object has no attribute 'request'

Will


From: Morgan Blackthorne [ " target="_blank"> ]
Sent: Thursday, November 14, 2013 2:24 PM
To: " target="_blank">
Subject: [chef] Re: RE: Re: chefdash: realtime DevOps dashboard

It auths against the Chef server, so you use the same credentials you use for the WebUI.

--
~*~ StormeRider ~*~

"Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS


On Thu, Nov 14, 2013 at 12:19 PM, William Soula < " target="_blank"> > wrote:
I am having the same issue.  Did anyone ever figure out what the default login user and password was?

Will


From: DV [ " target="_blank"> ]
Sent: Thursday, November 07, 2013 11:52 AM
To: " target="_blank">
Subject: [chef] Re: chefdash: realtime DevOps dashboard

I tried it, but couldn't find default initial login/pass for the web UI, and also, no matter what login/pass I typed I got "Internal Server Error" in response.

2013-11-07 09:36:47,139 chefdash        INFO    Listening on 0.0.0.0:5000
2013-11-07 09:45:14,237 chefdash        INFO    Listening on 0.0.0.0:5000
2013-11-07 09:45:39,776 chefdash        ERROR   Exception on /login [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python2.7/dist-packages/chefdash-0.1.0-py2.7.egg/chefdash/__init__.py", line 341, in login
    auth_result = ujson.decode(api.request('POST', '/authenticate_user', data = "ujson.encode({" 'name': username, 'password': password })))
  File "/usr/local/lib/python2.7/dist-packages/chef/api.py", line 209, in request
    raise e
HTTPError: HTTP Error 404: Not Found



On Fri, Nov 1, 2013 at 6:06 AM, Evan Todd < " target="_blank"> > wrote:
chefdash is a simple dashboard for tracking Chef runs across a cluster.

With chefdash you can:

- Run chef-client on all nodes in a Chef environment simultaneously, or on a single node
- View output in realtime and quickly see if any nodes failed
- Automatically bootstrap new nodes

More features are planned:

- Provide an alternative to the Chef Web UI JSON editor
- Expose knife ssh functionality for arbitrary commands

Give it a try and let me know what you think!



--
Best regards, Dmitriy V.





Archive powered by MHonArc 2.6.16.

§