Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs
On 10 January 2014 13:55, Daniel Dehennin daniel.dehen...@baby-gnu.orgwrote: Daniel Molina dmol...@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@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 | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Hi Daniel, On 9 January 2014 15:44, Daniel Dehennin daniel.dehen...@baby-gnu.orgwrote: Stefan Kooman ste...@bit.nl writes: Quoting Daniel Dehennin (daniel.dehen...@baby-gnu.org): Hello, In sunstone, the oneadmin user do not see any VMs in the vm-tab. It works With the CLI, so the problem looks to be specific to sunstone. I should have done something but can't figure what, do you have any hints on what should I check? Have you recently upgraded from one 4.2 - 4.4? No, we are lagging behind, we install 3.8 one week before 4.0 was out, upgrade to 4.2 1 month before 4.4 was out... Do you have the following in your sunstone-server.conf: # Default language setting :lang: en_US # Default table order :table_order: desc If not, add them and restart sunstone (if you're running 4.4 that is). No as it's 4.2. The last things I did was to create a dedicated view for a user group to add informations like VM logs etc. I modify some ACLs but: - oneadmin group seems not concerned by them - it works in CLI Could you check if there is any error in the browser console? Cheers Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF ___ Users mailing list Users@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 | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Daniel Molina dmol...@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 Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpEWUvmAsjBv.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Daniel Molina dmol...@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 pgppAnQuyWwKx.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Hello, In sunstone, the oneadmin user do not see any VMs in the vm-tab. It works With the CLI, so the problem looks to be specific to sunstone. I should have done something but can't figure what, do you have any hints on what should I check? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpW3Jpr17e8Y.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Quoting Daniel Dehennin (daniel.dehen...@baby-gnu.org): Hello, In sunstone, the oneadmin user do not see any VMs in the vm-tab. It works With the CLI, so the problem looks to be specific to sunstone. I should have done something but can't figure what, do you have any hints on what should I check? Have you recently upgraded from one 4.2 - 4.4? Do you have the following in your sunstone-server.conf: # Default language setting :lang: en_US # Default table order :table_order: desc If not, add them and restart sunstone (if you're running 4.4 that is). Gr. Stefan -- | BIT BV http://www.bit.nl/Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl signature.asc Description: Digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs
Stefan Kooman ste...@bit.nl writes: Quoting Daniel Dehennin (daniel.dehen...@baby-gnu.org): Hello, In sunstone, the oneadmin user do not see any VMs in the vm-tab. It works With the CLI, so the problem looks to be specific to sunstone. I should have done something but can't figure what, do you have any hints on what should I check? Have you recently upgraded from one 4.2 - 4.4? No, we are lagging behind, we install 3.8 one week before 4.0 was out, upgrade to 4.2 1 month before 4.4 was out... Do you have the following in your sunstone-server.conf: # Default language setting :lang: en_US # Default table order :table_order: desc If not, add them and restart sunstone (if you're running 4.4 that is). No as it's 4.2. The last things I did was to create a dedicated view for a user group to add informations like VM logs etc. I modify some ACLs but: - oneadmin group seems not concerned by them - it works in CLI Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF pgpujoJyqWZz9.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org