[one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Daniel Molina
dmolina at opennebula.org
Mon Jan 13 02:40:00 PST 2014
On 10 January 2014 13:55, Daniel Dehennin <daniel.dehennin at baby-gnu.org>wrote:
> 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 ;-)
>
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
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
--
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/20140113/98c2f9e8/attachment-0001.htm>
More information about the Users
mailing list