[one-users] [4.2] [Sunstone] oneadmin does not see any VMs

Daniel Dehennin daniel.dehennin at baby-gnu.org
Fri Jan 10 04:55:59 PST 2014


Daniel Molina <dmolina at opennebula.org> writes:


[...]

> 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?

Is there a way to query ONE?

I do not plan to review 300 VM templates ;-)

> You can fix it changing that line to:
> if (graphics && graphics.TYPE && graphics.TYPE.toLowerCase() == "vnc" &&
> $.inArray(state, VNCstates)!=-1){

This fix the problem.

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140110/d75ff20f/attachment-0002.pgp>


More information about the Users mailing list