Description
The statistics backend (statstore) expects specific OSes like linux, windows, osx or undefined. It creates an exceptionr when another one shows up, which makes the UI freak out. The crash happens as the JSON contains:
"nodes":
{ "os": [ "i386-pc-solaris2.11" ] }To reproduce:
curl -X GET 'http://vmische.appspot.com/stats?callback=jQuery16205596771861061351_1310375199180&stats=%7B%22version%22%3A%221.7.0_103_g0daccaf%22%2C%22componentsVersion%22%3A%7B%22public_key%22%3A%220.12%22%2C%22os_mon%22%3A%222.2.6%22%2C%22mnesia%22%3A%224.4.19%22%2C%22inets%22%3A%225.6%22%2C%22couch%22%3A%221.2.0a-00bce18-git%22%2C%22kernel%22%3A%222.14.5%22%2C%22crypto%22%3A%222.0.3%22%2C%22ssl%22%3A%224.1.6%22%2C%22sasl%22%3A%222.1.9.4%22%2C%22ns_server%22%3A%221.7.0_103_g0daccaf%22%2C%22mochiweb%22%3A%221.4.1%22%2C%22ibrowse%22%3A%222.2.0%22%2C%22oauth%22%3A%227d85d3ef%22%2C%22stdlib%22%3A%221.17.5%22%7D%2C%22uuid%22%3A%2276ec087f-c7a7-4001-15e8-2635000000a3%22%2C%22numNodes%22%3A1%2C%22ram%22%3A%7B%22total%22%3A8579510272%2C%22quotaTotal%22%3A1073741824%2C%22quotaUsed%22%3A1073741824%7D%2C%22buckets%22%3A%7B%22total%22%3A1%2C%22membase%22%3A1%2C%22memcached%22%3A0%7D%2C%22nodes%22%3A%7B%22os%22%3A%5B%22i386-pc-solaris2.11%22%5D%2C%22uptime%22%3A%5B%2241%22%5D%7D%2C%22browser%22%3A%22Mozilla%2F5.0+(X11%3B+U%3B+SunOS+i86pc%3B+en-US%3B+rv%3A1.9.2.8)+Gecko%2F20100912+Firefox%2F3.6.8%22%7D&_=1310375199923:1'