On 10 January 2014 13:55, Daniel Dehennin <[email protected]>wrote:
> Daniel Molina <[email protected]> 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 ;-) > There is no way to do it through the API. You can query de DB directly or just a grep in the 'onevm list -x' output > > > You can fix it changing that line to: > > if (graphics && graphics.TYPE && graphics.TYPE.toLowerCase() == "vnc" && > > $.inArray(state, VNCstates)!=-1){ > > This fix the problem. > Great! We will include it for the next release: http://dev.opennebula.org/issues/2628 Thank you for your feedback > Regards. > > -- > Daniel Dehennin > Récupérer ma clef GPG: > gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | [email protected] | @OpenNebula
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
