[one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Daniel Molina
dmolina at opennebula.org
Fri Jan 10 03:48:51 PST 2014
On 10 January 2014 12:02, Daniel Dehennin <daniel.dehennin at baby-gnu.org>wrote:
> Daniel Molina <dmolina at opennebula.org> writes:
>
> > Hi Daniel,
>
> Hello,
>
> > Could you check if there is any error in the browser console?
>
> In firefox 26 I have this:
>
> 12:00:36.024 TypeError: graphics.TYPE is undefined vms-tab.js:3217
>
As the message says the problem is here:
https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/vms-tab.js#L3217
Do you have any VM with a GRAPHICS section defined but with no TYPE
attribute?
You can fix it changing that line to:
if (graphics && graphics.TYPE && graphics.TYPE.toLowerCase() == "vnc" &&
$.inArray(state, VNCstates)!=-1){
Cheers
--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140110/04ae8781/attachment-0002.htm>
More information about the Users
mailing list