Re: [one-users] Opennebula Softlayer integration
Ok now I have ruby version 1.8 and 1.9.3 but I have same error Default ruby env is 1.8.7 Tue Feb 10 16:13:51 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Tue Feb 10 16:13:51 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' Tue Feb 10 16:13:51 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Tue Feb 10 16:13:51 2015 [Z0][InM][I]: from ./poll:21:in `require' Tue Feb 10 16:13:51 2015 [Z0][InM][I]: from ./poll:21 Tue Feb 10 16:13:51 2015 [Z0][InM][E]: Error executing poll Tue Feb 10 16:13:51 2015 [Z0][InM][I]: ExitCode: 1 Tue Feb 10 16:13:51 2015 [Z0][ONE][E]: Error monitoring Host ams01 (2): Error executing poll Thanks Da: Users [users-boun...@lists.opennebula.org] per conto di barbieri vincenzo Inviato: martedì 10 febbraio 2015 14.59 A: Tino Vazquez; users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi it's possible to have the procedure to upgrade ruby version ? I use rvm but uninstall 1.8 version Da: Tino Vazquez [cvazquez@opennebula.systems] Inviato: martedì 10 febbraio 2015 11.09 A: barbieri vincenzo; users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi, This behaviour usually comes when there are two instances of ruby in your system, most likely 2.1.2 and also 1.8.7. Are you using rvm? If so, we recommend using a distribution with at least ruby 1.9.3. Best, -Tino On Tue Feb 10 2015 at 10:00:34 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.commailto:vincenzo.barbi...@vbarbieri.com wrote: I resolved the ruby error but now I have this error Tue Feb 10 09:53:11 2015 [Z0][InM][D]: Monitoring host ams01 (4) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes sl /vmfs/volumes 4124 20 4 ams01 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21 Tue Feb 10 09:53:11 2015 [Z0][InM][E]: Error executing poll Tue Feb 10 09:53:11 2015 [Z0][InM][I]: ExitCode: 1 Tue Feb 10 09:53:11 2015 [Z0][ONE][E]: Error monitoring Host ams01 (4): Error executing poll Da: Users [users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org] per conto di barbieri vincenzo Inviato: martedì 10 febbraio 2015 9.30 A: Tino Vazquez; users@lists.opennebula.orgmailto:users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi perhaps I realized, it would seem that it is not installed correctly the gem request , please hel me to resolve [root@vdc ~]# sudo gem install softlayer_api Fetching: configparser-0.1.3.gem (100%) Successfully installed configparser-0.1.3 Fetching: softlayer_api-3.0.0.gem (100%) ERROR: Error installing softlayer_api: softlayer_api requires Ruby version = 1.9.2. [root@vdc ~]# ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] Thanks Vincenzo Da: barbieri vincenzo Inviato: lunedì 9 febbraio 2015 21.15 A: Tino Vazquez; users@lists.opennebula.orgmailto:users@lists.opennebula.org Oggetto: RE: [one-users] Opennebula Softlayer integration Hi Yes I have the gems [root@vdc ~]# gem list *** LOCAL GEMS *** amazon-ec2 (0.9.17) aws-sdk (1.33.0) azure (0.6.4) bigdecimal (1.2.4) builder (3.2.2) configparser (0.1.3) curb (0.8.6) daemons (1.1.9) eventmachine (1.0.6) faraday (0.9.1) hashie (3.4.0) inflection (1.0.0) io-console (0.4.2) json (1.8.1) macaddr (1.7.1) mime-types (2.4.3, 1.25.1) mini_portile (0.6.2) minitest (4.7.5) multi_json (1.10.1) multipart-post (2.0.0) mysql (2.9.1) net-ldap (0.11) nokogiri (1.6.6.2) ox (2.1.7) parse-cron (0.1.4) polyglot (0.3.5) psych (2.0.5) rack (1.6.0) rack-protection (1.5.3) rake (10.4.2, 10.1.0) rdoc (4.1.0) rubygems-update (2.4.5) sequel (4.19.0) sinatra (1.4.5) softlayer_api (3.0.0) sqlite3 (1.3.10) systemu (2.6.4) test-unit (2.1.2.0) thin (1.6.3) tilt (1.4.1) treetop (1.5.3) trollop (2.1.1) uuid (2.3.7) uuidtools (2.1.5) xml-simple (1.1.4) zendesk_api (1.5.1) ^C [root@vdc ~]# /usr/share/one/install_gems hybrid Gems already installed [root@vdc ~]# Command execution fail: /var/lib/one/remotes/im/run_probes sl /var/lib/one//datastores 4124 20 4 ams01 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Mon Feb 9 11:18:27 2015
[one-users] Sunstone on ONE 4.2 shows no virtual machines
Hello, Since this morning, our Opennebula 4.2 Sunstone portal shows no virtual machines. The rest of the information (hosts, networks, templates, images, users, ACLs) are displayed correctly. Looking at the logs doesn't give much hint, all requests are 2xx and no error are handled either in sunstone.error or oned.error. Issuing a onevm list as the oneadmin users shows the current list of VMs running. Any hint or file to look? Thanks -- Andreas Calvo Gómez Systems Engineer Skype/ andreas.calvo.gomez M/ +34 638 499 063 P/ +34 934 230 324 F/ +34 933 251 028 Scytl Secure Electronic Voting Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona http://www.scytl.com NOTICE: The information in this e-mail and in any of its attachments is confidential and intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, any disclosure, copying, distribution or retaining of this message or any part of it, without the prior written consent of Scytl Secure Electronic Voting, SA is prohibited and may be unlawful. If you have received this in error, please contact the sender and delete the material from any computer. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula Softlayer integration
I resolved the ruby error but now I have this error Tue Feb 10 09:53:11 2015 [Z0][InM][D]: Monitoring host ams01 (4) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes sl /vmfs/volumes 4124 20 4 ams01 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21 Tue Feb 10 09:53:11 2015 [Z0][InM][E]: Error executing poll Tue Feb 10 09:53:11 2015 [Z0][InM][I]: ExitCode: 1 Tue Feb 10 09:53:11 2015 [Z0][ONE][E]: Error monitoring Host ams01 (4): Error executing poll Da: Users [users-boun...@lists.opennebula.org] per conto di barbieri vincenzo Inviato: martedì 10 febbraio 2015 9.30 A: Tino Vazquez; users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi perhaps I realized, it would seem that it is not installed correctly the gem request , please hel me to resolve [root@vdc ~]# sudo gem install softlayer_api Fetching: configparser-0.1.3.gem (100%) Successfully installed configparser-0.1.3 Fetching: softlayer_api-3.0.0.gem (100%) ERROR: Error installing softlayer_api: softlayer_api requires Ruby version = 1.9.2. [root@vdc ~]# ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] Thanks Vincenzo Da: barbieri vincenzo Inviato: lunedì 9 febbraio 2015 21.15 A: Tino Vazquez; users@lists.opennebula.org Oggetto: RE: [one-users] Opennebula Softlayer integration Hi Yes I have the gems [root@vdc ~]# gem list *** LOCAL GEMS *** amazon-ec2 (0.9.17) aws-sdk (1.33.0) azure (0.6.4) bigdecimal (1.2.4) builder (3.2.2) configparser (0.1.3) curb (0.8.6) daemons (1.1.9) eventmachine (1.0.6) faraday (0.9.1) hashie (3.4.0) inflection (1.0.0) io-console (0.4.2) json (1.8.1) macaddr (1.7.1) mime-types (2.4.3, 1.25.1) mini_portile (0.6.2) minitest (4.7.5) multi_json (1.10.1) multipart-post (2.0.0) mysql (2.9.1) net-ldap (0.11) nokogiri (1.6.6.2) ox (2.1.7) parse-cron (0.1.4) polyglot (0.3.5) psych (2.0.5) rack (1.6.0) rack-protection (1.5.3) rake (10.4.2, 10.1.0) rdoc (4.1.0) rubygems-update (2.4.5) sequel (4.19.0) sinatra (1.4.5) softlayer_api (3.0.0) sqlite3 (1.3.10) systemu (2.6.4) test-unit (2.1.2.0) thin (1.6.3) tilt (1.4.1) treetop (1.5.3) trollop (2.1.1) uuid (2.3.7) uuidtools (2.1.5) xml-simple (1.1.4) zendesk_api (1.5.1) ^C [root@vdc ~]# /usr/share/one/install_gems hybrid Gems already installed [root@vdc ~]# Command execution fail: /var/lib/one/remotes/im/run_probes sl /var/lib/one//datastores 4124 20 4 ams01 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21 Mon Feb 9 11:18:27 2015 [Z0][InM][E]: Error executing poll Da: Tino Vazquez [cvazquez@opennebula.systems] Inviato: lunedì 9 febbraio 2015 11.04 A: barbieri vincenzo; users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi, Looks like the softlayer ruby gem is missing. Did you run (as root) the install_gems script? /usr/share/one/install_gems Best, -Tino On Sun Feb 08 2015 at 1:37:37 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.commailto:vincenzo.barbi...@vbarbieri.com wrote: Hi I try to create host for softlayer enviroment but receive the following error usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Any idea ? Thanks Vincenzo Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna responsabilita' per il contenuto di questo messaggio. Sebbene vbarbieri abbia attivato programmi anti-virus, non accetta responsabilita' per qualsiasi tipo di danno che possa derivare dal trasferimento di virus.Qualsiasi punto di vista od opinione espressa sono esclusivamente quelli dell'autore e non rappresentano necessariamente quelli di Vbarbieri . Le risposte a questo messaggio elettronico possono essere controllate da Vbarbieri per ragioni di sicurezza, operative o aziendali. Nel rispetto delle disposizioni di legge e regolamento applicabili, Vbarbieri si riserva il diritto di monitorare le comunicazioni elettroniche attraverso apposite attivita'
Re: [one-users] Opennebula Softlayer integration
Hi perhaps I realized, it would seem that it is not installed correctly the gem request , please hel me to resolve [root@vdc ~]# sudo gem install softlayer_api Fetching: configparser-0.1.3.gem (100%) Successfully installed configparser-0.1.3 Fetching: softlayer_api-3.0.0.gem (100%) ERROR: Error installing softlayer_api: softlayer_api requires Ruby version = 1.9.2. [root@vdc ~]# ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] Thanks Vincenzo Da: barbieri vincenzo Inviato: lunedì 9 febbraio 2015 21.15 A: Tino Vazquez; users@lists.opennebula.org Oggetto: RE: [one-users] Opennebula Softlayer integration Hi Yes I have the gems [root@vdc ~]# gem list *** LOCAL GEMS *** amazon-ec2 (0.9.17) aws-sdk (1.33.0) azure (0.6.4) bigdecimal (1.2.4) builder (3.2.2) configparser (0.1.3) curb (0.8.6) daemons (1.1.9) eventmachine (1.0.6) faraday (0.9.1) hashie (3.4.0) inflection (1.0.0) io-console (0.4.2) json (1.8.1) macaddr (1.7.1) mime-types (2.4.3, 1.25.1) mini_portile (0.6.2) minitest (4.7.5) multi_json (1.10.1) multipart-post (2.0.0) mysql (2.9.1) net-ldap (0.11) nokogiri (1.6.6.2) ox (2.1.7) parse-cron (0.1.4) polyglot (0.3.5) psych (2.0.5) rack (1.6.0) rack-protection (1.5.3) rake (10.4.2, 10.1.0) rdoc (4.1.0) rubygems-update (2.4.5) sequel (4.19.0) sinatra (1.4.5) softlayer_api (3.0.0) sqlite3 (1.3.10) systemu (2.6.4) test-unit (2.1.2.0) thin (1.6.3) tilt (1.4.1) treetop (1.5.3) trollop (2.1.1) uuid (2.3.7) uuidtools (2.1.5) xml-simple (1.1.4) zendesk_api (1.5.1) ^C [root@vdc ~]# /usr/share/one/install_gems hybrid Gems already installed [root@vdc ~]# Command execution fail: /var/lib/one/remotes/im/run_probes sl /var/lib/one//datastores 4124 20 4 ams01 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21 Mon Feb 9 11:18:27 2015 [Z0][InM][E]: Error executing poll Da: Tino Vazquez [cvazquez@opennebula.systems] Inviato: lunedì 9 febbraio 2015 11.04 A: barbieri vincenzo; users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi, Looks like the softlayer ruby gem is missing. Did you run (as root) the install_gems script? /usr/share/one/install_gems Best, -Tino On Sun Feb 08 2015 at 1:37:37 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.commailto:vincenzo.barbi...@vbarbieri.com wrote: Hi I try to create host for softlayer enviroment but receive the following error usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Any idea ? Thanks Vincenzo Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna responsabilita' per il contenuto di questo messaggio. Sebbene vbarbieri abbia attivato programmi anti-virus, non accetta responsabilita' per qualsiasi tipo di danno che possa derivare dal trasferimento di virus.Qualsiasi punto di vista od opinione espressa sono esclusivamente quelli dell'autore e non rappresentano necessariamente quelli di Vbarbieri . Le risposte a questo messaggio elettronico possono essere controllate da Vbarbieri per ragioni di sicurezza, operative o aziendali. Nel rispetto delle disposizioni di legge e regolamento applicabili, Vbarbieri si riserva il diritto di monitorare le comunicazioni elettroniche attraverso apposite attivita' di monitoraggio finalizzate all'identificazione e alla prevenzione della diffusione accidentale e/o fraudolenta di informazioni. Qualsiasi uso non autorizzato di questo messaggio elettronico o dei suoi allegati e' proibito e potrebbe costituire un reato. Se non siete il destinatario desiderato di questa mail, qualunque comunicazione, copia, distribuzione oqualunque azione od omissione in relazione ai dati in essa contenuti e' illecita, e siete pregato di informare immediatamente il mittente utilizzando l'opzione Rispondi nel vostro software di postaelettronica e di distruggere il messaggio e tutti i suoi allegati. ___ Users mailing list Users@lists.opennebula.orgmailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- This message has been scanned for viruses and dangerous content by E.F.A. Projecthttp://www.efa-project.org, and is believed to be clean. Click here to report this message as spam.http://antispam.vbarbieri.priv/cgi-bin/learn-msg.cgi?id=66FEF100077.A7B1Btoken=35ae3c200b1a424f3d48607a20506734 Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna responsabilita'
Re: [one-users] Getting VNC token from Sunstone REST API
On 9 February 2015 at 14:16, Daniel Dehennin daniel.dehen...@baby-gnu.org wrote: Daniel Dehennin daniel.dehen...@baby-gnu.org writes: We use jenkins to automate the installation of VM from ISO images[1] and we use something similar to jenkins.debian.net[2] which use vncdo[3]. [...] We would like to get the token from Sunstone REST API: https://nebula.example.net/vm/VMID/startvnc but we don't see how to manage the authentication? Hello, It looks like I need the csrftoken but I don't know how to retrieve it. Any hint? The csrftoken is stored in the user session on the server and is injected in the index.html Cheers Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF ___ 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] How to secure VNC access?
Hi, Are you using the novnc-server included in OpenNebula? This component uses a websocket proxy, so that you don't have to expose the VNC socket to your users, and it will take care of the different tcp sockets. Cheers On 6 February 2015 at 12:50, Nico Schottelius nico-opennebula@schottelius.org wrote: Good day, we are about to setup our fourth hosting plattform in the next weeks, based on opennebula 4.10.2, ubuntu 14.0 and gluster 3.x (x ~= 4..6). In our tests the VNC socket of the VMs has been exposed on the hosts directly accessible on 0.0.0.0 - for everyone. Given that sunstone will be usable by our customers and VMs will be running on hosts other than the one running sunstone, what is the default secure alternative in opennebula? Do you support vnc / ssh tunneling like described on [0]? This process is pretty neat, because you don't need to expose VNC at all and not care about numbering of tcp sockets. I guess a combination of ssh unix socket tunneling plus spice on the frontend is probably the safest solution - what are your opinions? How do you configure VNC access at the moment? [0] http://www.nico.schottelius.org/blog/tunneling-qemu-kvm-unix-socket-via-ssh/ -- New PGP key: 659B 0D91 E86E 7E24 FD15 69D0 C729 21A1 293F 2D24 ___ 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] Opennebula Softlayer integration
Hi, This behaviour usually comes when there are two instances of ruby in your system, most likely 2.1.2 and also 1.8.7. Are you using rvm? If so, we recommend using a distribution with at least ruby 1.9.3. Best, -Tino On Tue Feb 10 2015 at 10:00:34 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.com wrote: I resolved the ruby error but now I have this error Tue Feb 10 09:53:11 2015 [Z0][InM][D]: Monitoring host ams01 (4) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes sl /vmfs/volumes 4124 20 4 ams01 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21 Tue Feb 10 09:53:11 2015 [Z0][InM][E]: Error executing poll Tue Feb 10 09:53:11 2015 [Z0][InM][I]: ExitCode: 1 Tue Feb 10 09:53:11 2015 [Z0][ONE][E]: Error monitoring Host ams01 (4): Error executing poll -- *Da:* Users [users-boun...@lists.opennebula.org] per conto di barbieri vincenzo *Inviato:* martedì 10 febbraio 2015 9.30 *A:* Tino Vazquez; users@lists.opennebula.org *Oggetto:* Re: [one-users] Opennebula Softlayer integration Hi perhaps I realized, it would seem that it is not installed correctly the gem request , please hel me to resolve [root@vdc ~]# sudo gem install softlayer_api Fetching: configparser-0.1.3.gem (100%) Successfully installed configparser-0.1.3 Fetching: softlayer_api-3.0.0.gem (100%) ERROR: Error installing softlayer_api: softlayer_api requires Ruby version = 1.9.2. [root@vdc ~]# ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] Thanks Vincenzo -- *Da:* barbieri vincenzo *Inviato:* lunedì 9 febbraio 2015 21.15 *A:* Tino Vazquez; users@lists.opennebula.org *Oggetto:* RE: [one-users] Opennebula Softlayer integration Hi Yes I have the gems [root@vdc ~]# gem list *** LOCAL GEMS *** amazon-ec2 (0.9.17) aws-sdk (1.33.0) azure (0.6.4) bigdecimal (1.2.4) builder (3.2.2) configparser (0.1.3) curb (0.8.6) daemons (1.1.9) eventmachine (1.0.6) faraday (0.9.1) hashie (3.4.0) inflection (1.0.0) io-console (0.4.2) json (1.8.1) macaddr (1.7.1) mime-types (2.4.3, 1.25.1) mini_portile (0.6.2) minitest (4.7.5) multi_json (1.10.1) multipart-post (2.0.0) mysql (2.9.1) net-ldap (0.11) nokogiri (1.6.6.2) ox (2.1.7) parse-cron (0.1.4) polyglot (0.3.5) psych (2.0.5) rack (1.6.0) rack-protection (1.5.3) rake (10.4.2, 10.1.0) rdoc (4.1.0) rubygems-update (2.4.5) sequel (4.19.0) sinatra (1.4.5) softlayer_api (3.0.0) sqlite3 (1.3.10) systemu (2.6.4) test-unit (2.1.2.0) thin (1.6.3) tilt (1.4.1) treetop (1.5.3) trollop (2.1.1) uuid (2.3.7) uuidtools (2.1.5) xml-simple (1.1.4) zendesk_api (1.5.1) ^C [root@vdc ~]# /usr/share/one/install_gems hybrid Gems already installed [root@vdc ~]# Command execution fail: /var/lib/one/remotes/im/run_probes sl /var/lib/one//datastores 4124 20 4 ams01 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21 Mon Feb 9 11:18:27 2015 [Z0][InM][E]: Error executing poll -- *Da:* Tino Vazquez [cvazquez@opennebula.systems] *Inviato:* lunedì 9 febbraio 2015 11.04 *A:* barbieri vincenzo; users@lists.opennebula.org *Oggetto:* Re: [one-users] Opennebula Softlayer integration Hi, Looks like the softlayer ruby gem is missing. Did you run (as root) the install_gems script? /usr/share/one/install_gems Best, -Tino On Sun Feb 08 2015 at 1:37:37 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.com wrote: Hi I try to create host for softlayer enviroment but receive the following error usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Any idea ? Thanks Vincenzo Le comunicazioni Internet non sono sicure e quindi Vbarbieri non accetta alcuna responsabilita' per il contenuto di questo messaggio. Sebbene vbarbieri abbia attivato programmi anti-virus, non accetta responsabilita' per qualsiasi tipo di danno che possa derivare dal trasferimento di virus.Qualsiasi
Re: [one-users] SET Hostname VM
Hi, 2015-02-09 14:18 GMT+01:00 barbieri vincenzo vincenzo.barbi...@vbarbieri.com: Hi I am creating a vm with the installation from scratch, but I can not set the name is always set to one-vid . Please help me The name of the VM in the hypervisor cannot be changed. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to secure VNC access?
Hey, I think I haven't (at least I didn't enable it explicitly). If the novnc-server is enabled, how do I configure the templates? Because at the moment, vnc listens to 0.0.0.0 and is accessible if someone knows the IP and port. Cheers, Nico Daniel Molina [Tue, Feb 10, 2015 at 10:54:36AM +0100]: Hi, Are you using the novnc-server included in OpenNebula? This component uses a websocket proxy, so that you don't have to expose the VNC socket to your users, and it will take care of the different tcp sockets. Cheers On 6 February 2015 at 12:50, Nico Schottelius nico-opennebula@schottelius.org wrote: Good day, we are about to setup our fourth hosting plattform in the next weeks, based on opennebula 4.10.2, ubuntu 14.0 and gluster 3.x (x ~= 4..6). In our tests the VNC socket of the VMs has been exposed on the hosts directly accessible on 0.0.0.0 - for everyone. Given that sunstone will be usable by our customers and VMs will be running on hosts other than the one running sunstone, what is the default secure alternative in opennebula? Do you support vnc / ssh tunneling like described on [0]? This process is pretty neat, because you don't need to expose VNC at all and not care about numbering of tcp sockets. I guess a combination of ssh unix socket tunneling plus spice on the frontend is probably the safest solution - what are your opinions? How do you configure VNC access at the moment? [0] http://www.nico.schottelius.org/blog/tunneling-qemu-kvm-unix-socket-via-ssh/ -- New PGP key: 659B 0D91 E86E 7E24 FD15 69D0 C729 21A1 293F 2D24 ___ 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 -- New PGP key: 659B 0D91 E86E 7E24 FD15 69D0 C729 21A1 293F 2D24 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] LVM over iSCSI or NFS for OpenNebula
Hi, I am setting up OpenNebula on 2 nodes and 1 storage on 1Gb Network. - installed Nexenta Community Version on Storage and created iSCSI LUN. - Access those LUNs on both nodes and created Volume Group on it. - Configured LVM Block Datastore in OpenNebula. - I can create VMs successfully but very very slow performance. - Also when I created VM on node1 and try to migrate it other vm it does not work as logical volume of that VM on node2 is inactive. What do you recommend for this type of setup for Shared Storage LVM, NFS? Please note that I need to use 1GbE copper due to budget limitations. Regards Neelesh Gurjar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Deleting vcenter VM's in POWEROFF state leaves stray VM's on cluster
Hi list, I've encountered strange behavior with my vcenter 4.10.2 demo setup. When I delete a VM which is in POWEROFF state, it disappears as expected from OpenNebula, but remains in poweroff state on my vcenter cluster. The last log lines of the VM are the following: Wed Feb 4 22:32:47 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre. Wed Feb 4 22:41:23 2015 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy. Wed Feb 4 22:41:23 2015 [Z0][VMM][I]: Successfully execute network driver operation: post. Wed Feb 4 22:41:23 2015 [Z0][LCM][I]: New VM state is RUNNING Tue Feb 10 12:55:06 2015 [Z0][VMM][I]: VM running but monitor state is POWEROFF Tue Feb 10 12:55:06 2015 [Z0][DiM][I]: New VM state is POWEROFF Tue Feb 10 12:56:18 2015 [Z0][VMM][I]: VM running but monitor state is POWEROFF Tue Feb 10 12:57:30 2015 [Z0][VMM][I]: VM running but monitor state is POWEROFF Tue Feb 10 12:57:37 2015 [Z0][DiM][I]: New VM state is DONE. Tue Feb 10 12:57:37 2015 [Z0][LCM][E]: epilog_success_action, VM in a wrong state Has anybody else encountered the same situation? Thanks in advance, -- Sebastiaan Smit Echelon BV E: b...@echelon.nlmailto:b...@echelon.nl T: (088) 3243566 (hoofdnummer) T: (088) 3243505 (servicedesk) F: (053) 4336222 W: www.echelon.nlhttp://www.echelon.nl/ KVK: 06055381 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula Softlayer integration
Hi it's possible to have the procedure to upgrade ruby version ? I use rvm but uninstall 1.8 version Da: Tino Vazquez [cvazquez@opennebula.systems] Inviato: martedì 10 febbraio 2015 11.09 A: barbieri vincenzo; users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi, This behaviour usually comes when there are two instances of ruby in your system, most likely 2.1.2 and also 1.8.7. Are you using rvm? If so, we recommend using a distribution with at least ruby 1.9.3. Best, -Tino On Tue Feb 10 2015 at 10:00:34 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.commailto:vincenzo.barbi...@vbarbieri.com wrote: I resolved the ruby error but now I have this error Tue Feb 10 09:53:11 2015 [Z0][InM][D]: Monitoring host ams01 (4) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes sl /vmfs/volumes 4124 20 4 ams01 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:54:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21:in `require' Tue Feb 10 09:53:11 2015 [Z0][InM][I]: from ./poll:21 Tue Feb 10 09:53:11 2015 [Z0][InM][E]: Error executing poll Tue Feb 10 09:53:11 2015 [Z0][InM][I]: ExitCode: 1 Tue Feb 10 09:53:11 2015 [Z0][ONE][E]: Error monitoring Host ams01 (4): Error executing poll Da: Users [users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org] per conto di barbieri vincenzo Inviato: martedì 10 febbraio 2015 9.30 A: Tino Vazquez; users@lists.opennebula.orgmailto:users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi perhaps I realized, it would seem that it is not installed correctly the gem request , please hel me to resolve [root@vdc ~]# sudo gem install softlayer_api Fetching: configparser-0.1.3.gem (100%) Successfully installed configparser-0.1.3 Fetching: softlayer_api-3.0.0.gem (100%) ERROR: Error installing softlayer_api: softlayer_api requires Ruby version = 1.9.2. [root@vdc ~]# ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] Thanks Vincenzo Da: barbieri vincenzo Inviato: lunedì 9 febbraio 2015 21.15 A: Tino Vazquez; users@lists.opennebula.orgmailto:users@lists.opennebula.org Oggetto: RE: [one-users] Opennebula Softlayer integration Hi Yes I have the gems [root@vdc ~]# gem list *** LOCAL GEMS *** amazon-ec2 (0.9.17) aws-sdk (1.33.0) azure (0.6.4) bigdecimal (1.2.4) builder (3.2.2) configparser (0.1.3) curb (0.8.6) daemons (1.1.9) eventmachine (1.0.6) faraday (0.9.1) hashie (3.4.0) inflection (1.0.0) io-console (0.4.2) json (1.8.1) macaddr (1.7.1) mime-types (2.4.3, 1.25.1) mini_portile (0.6.2) minitest (4.7.5) multi_json (1.10.1) multipart-post (2.0.0) mysql (2.9.1) net-ldap (0.11) nokogiri (1.6.6.2) ox (2.1.7) parse-cron (0.1.4) polyglot (0.3.5) psych (2.0.5) rack (1.6.0) rack-protection (1.5.3) rake (10.4.2, 10.1.0) rdoc (4.1.0) rubygems-update (2.4.5) sequel (4.19.0) sinatra (1.4.5) softlayer_api (3.0.0) sqlite3 (1.3.10) systemu (2.6.4) test-unit (2.1.2.0) thin (1.6.3) tilt (1.4.1) treetop (1.5.3) trollop (2.1.1) uuid (2.3.7) uuidtools (2.1.5) xml-simple (1.1.4) zendesk_api (1.5.1) ^C [root@vdc ~]# /usr/share/one/install_gems hybrid Gems already installed [root@vdc ~]# Command execution fail: /var/lib/one/remotes/im/run_probes sl /var/lib/one//datastores 4124 20 4 ams01 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./../../vmm/sl/sl_driver.rb:35 Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21:in `require' Mon Feb 9 11:18:27 2015 [Z0][InM][I]: from ./poll:21 Mon Feb 9 11:18:27 2015 [Z0][InM][E]: Error executing poll Da: Tino Vazquez [cvazquez@opennebula.systems] Inviato: lunedì 9 febbraio 2015 11.04 A: barbieri vincenzo; users@lists.opennebula.orgmailto:users@lists.opennebula.org Oggetto: Re: [one-users] Opennebula Softlayer integration Hi, Looks like the softlayer ruby gem is missing. Did you run (as root) the install_gems script? /usr/share/one/install_gems Best, -Tino On Sun Feb 08 2015 at 1:37:37 AM barbieri vincenzo vincenzo.barbi...@vbarbieri.commailto:vincenzo.barbi...@vbarbieri.com wrote: Hi I try to create host for softlayer enviroment but receive the following error usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require':
[one-users] libxmlrpc memory issues
Hi: We get some errors that looks like these: [oneadmin@cloud ~]$ oneacct -g ops ops HTTP-Error: 500 Internal Server Error [oneadmin@cloud ~]$ oneacct -g fedcloud.egi.eu fedcloud.egi.eu HTTP-Error: 500 Internal Server Error [oneadmin@cloud ~]$ oneacct -g users users HTTP-Error: 500 Internal Server Error We think that may be related to some libxmlrpc memory issues Any idea about fix these issues? Perhaps anytrick forlibxmlrpc??? Regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unable to migrate back to the original host
The log says that the domain already exists, so either it was restarted outside OpenNebula when you reconnect the host or VM 6 was not actually moved from node2 or you are somehow reusing ID's; On Sun Feb 08 2015 at 9:03:35 AM clmyuan clm_t...@hotmail.com wrote: Hi All I have one manager server and nfs share /var/lib/one,two host node,all server installed 4.10.2. I deploy and running a vm on node2,use sunstone migrate live vm node2 to node1 and back to node2 ,These operations do not have a problem. but i disconnect node2 and migrate live vm to node1,When node2 reconnect after,migrating from node1 to node2 does not correctly completed,Below is the log information: Sun Feb 8 23:47:07 2015 [Z0][LCM][I]: New VM state is MIGRATE Sun Feb 8 23:47:07 2015 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate. Sun Feb 8 23:47:07 2015 [Z0][VMM][I]: ExitCode: 0 Sun Feb 8 23:47:07 2015 [Z0][VMM][I]: Successfully execute network driver operation: pre. Sun Feb 8 23:47:07 2015 [Z0][VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/migrate 'one-6' 'node2' 'node1' 6 node1 Sun Feb 8 23:47:07 2015 [Z0][VMM][E]: migrate: Command virsh --connect qemu:///system migrate --live one-6 qemu+ssh://node2/system failed: error: operation failed: domain 'one-6' already exists with uuid 15835de7-671d-497e-b099-02119cd81668 Sun Feb 8 23:47:07 2015 [Z0][VMM][E]: Could not migrate one-6 to node2 Sun Feb 8 23:47:07 2015 [Z0][VMM][I]: ExitCode: 1 Sun Feb 8 23:47:07 2015 [Z0][VMM][I]: Failed to execute virtualization driver operation: migrate. Sun Feb 8 23:47:07 2015 [Z0][VMM][E]: Error live migrating VM: Could not migrate one-6 to node2 Sun Feb 8 23:47:08 2015 [Z0][LCM][I]: Fail to live migrate VM. Assuming that the VM is still RUNNING (will poll VM). I think old VM information are not cleared. Do you have any suggestions,Thanks. clm ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org