no apps displayed in kazoo monster-ui

407 views
Skip to first unread message

joe

unread,
Feb 9, 2016, 3:51:14 PM2/9/16
to 2600hz-dev
I'm not seeing any applications in monster-ui.



And the javascript console has some interesting errors too


Looking through the request responses in firefox I see a GET request for apps_store and what appears to be a numeric cachebuster. This is the body of the response:

{"data":[],"revision":"undefined","request_id":"992292f5ef887133362fe840491aaec3","status":"success","auth_token":"f82e2637b4c8a0cc8785128d78ef3b32"}


I've tried running the following command from the installation.md document on the whapps server:

sup crossbar maintenance init_apps /var/www/html/monster-ui/apps/ http://172.17.0.7:8000/v2

The only response I get on the command line after running that is: "ok" (really this is what it said lol)

I was tailing the logs on the whistle_apps server and when i run that command this is all that shows up in the logs:

18:51:52.496 [info] VM sup...@whapps.node.consul is now connected:
18:51:52.496 [info]  node_type: visible
18:51:52.524 [info] VM sup...@whapps.node.consul is no longer connected:
18:51:52.524 [info]  nodedown_reason: connection_closed
18:51:52.524 [info]  node_type: visible

my log level is set to debug so i would think it would be more verbose about what it is doing, which appears to be absolutely nothing. I could be wrong though..

The ip addresses of my nodes are:

network: 172.17.0.
------------------------
rabbitmq     6 
whapps       7
freeswitch   8
kamailio      9
bigcouch    10
ecallmgr     11
monsterui   12

Monster ui is accessed via ssh tunnel fwiw..

I feel it's likely the problem could be either related to the strange json response for the apps_store uri, or maybe the sup command failing silently. There seems to be no documentation for what this command does or what its arguments represent specifically (if there is please point me to it).  I think maybe this command has an expectation that is unmet regarding the arguments, or is assuming something else is running locally.

So when I run: 

sup crossbar maintenance init_apps /var/www/html/monster-ui/apps/ http://172.17.0.7:8000/v2

I'm plugging in the path to the apps on the monsterui node (a different node than im running this command on) and the address to the crossbar api (same as i gave in config.js for monster-ui, minus the trailing /). I was able to authenticate fine, the only problem is there are no apps displayed when i click apps.

Can anyone tell me what that particular sup command does?
Whether or not there is any decent documentation on sup for these kind of things?  
How can i verify that the command actually succeeded? 
Is this something i can verify through the webui of rabbitmq or bigcouch? Through a curl command?
Is this a normal response for a get request to the apps_store uri on the whapps server?

Thanks in advance!

Joe

James Aimonetti

unread,
Feb 9, 2016, 3:55:58 PM2/9/16
to 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Relevant apps store docs:

https://github.com/2600hz/kazoo/blob/master/applications/crossbar/doc/ap
ps_store.md#install-master-applications

Also, if your snippet of logs is the only thing you see, you aren't
running in debug mode! Kazoo debug is a lot chattier. Try:

sup whistle_maintenance syslog_level debug

to be sure you're in debug mode. I suspect the apps_store-related logs
will help figure out what's going on


Le 02/09/2016 11:49 AM, joe a écrit :
> I'm not seeing any applications in monster-ui.
>
> <https://lh3.googleusercontent.com/-YIzz6O9KLls/Vro6IHH3NBI/AAAAAAAACl
g/lfrjHjQ5ogA/s1600/Screen%2BShot%2B2016-02-09%2Bat%2B1.56.47%2BPM.png>
>
> And the javascript console has some interesting errors too
>
> <https://lh3.googleusercontent.com/-SNCiA3zoyVo/Vro_QhbqzDI/AAAAAAAACl
w/VHtvUqePBmA/s1600/Screen%2BShot%2B2016-02-09%2Bat%2B2.32.54%2BPM.png>
- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"If Dialyzer doesn't care, I don't care"

2600HzPDX | http://2600hz.com
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJWulJbAAoJENTKa+JPXCVgzRQH/ArM85KvZni+lXdB/qLVkqy/
JWUnHg3XmoQh5C7ZSYw1XWbUl047nMnyd+DR0N6Y08lUq0PWN5y/HcJJmd3O3Bqz
/oQdhMdWu04Vpracl5KdNXj3wDKjv21xAZ/Swb3N0z0PLFjR+oFD6YF1tB6SR5pa
4yPFa5a8R6CFXhNsbaiKWKHYE0VNrjU7endolrxNcBaIs5gy3/7zEdJnHTUnj44K
ENescd/MSw0PXNFYztk+PknAAIj1nygK/cfkxiY4WRbVJb49bjSMt7Vkb4SVmEmz
tNTvAtkh7Ko4d015y1WQAOUgcfXZhjpbHnW+B2GIasU5bJftLkxrnrptjh9Fr80=
=VkLL
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages