Re: [one-users] Need https for Opennebula URL in browser

2014-06-27 Thread Sudeep Narayan Banerjee
Dear Sir,

Could someone please say in which file do I need to modify?

Thanks
Sudeep


On Thu, Jun 26, 2014 at 11:17 PM, Sudeep Narayan Banerjee 
snbaner...@iitgn.ac.in wrote:

 Dear Martin  All,

 Thanks a lot for the valuable inputs.

 Which file do I edit in https/conf.d folder?

 [root@front conf.d]# ls
 auth_kerb.conf   auth_pgsql.conf  manual.conf mrtg.conf  perl.conf
 README  squid.conf  subversion.conf  welcome.conf
 auth_mysql.conf  authz_ldap.conf  mod_dnssd.conf  nss.conf   php.conf
 revocator.conf  ssl.confwebalizer.conf   wsgi.conf

 I am in */etc/httpd/conf.d*. Should I create a file (by which name 
 extension) or edit any existing file?

 I do not know whether *httpd.conf* in */etc/httpd/conf/ folder* is the
 file you are pointing at!

 Regards,
 S N Banerjee


 On Thu, Jun 26, 2014 at 6:51 PM, Martin Alfke tux...@gmail.com wrote:

 Hi Sudeep,

 we run CentOS 6.5 with httpd and mod_passenger and the following
 configuration snippet in httpd/conf.d:

 VirtualHost *:443
   ServerName default-ssl

   ## Vhost docroot
   DocumentRoot /usr/lib/one/sunstone/public

   ## Directories, there should at least be a declaration for
 /usr/lib/one/sunstone/public

   Directory /usr/lib/one/sunstone/public
 Options -MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
   /Directory

   ## Logging
   ErrorLog /var/log/httpd/default-ssl_error_ssl.log
   LogLevel warn
   ServerSignature Off
   CustomLog /var/log/httpd/default-ssl_access_ssl.log combined


   ## SSL directives
   SSLEngine on
   SSLCertificateFile  crt file
   SSLCertificateKeyFile   key file
   SSLCACertificatePath/etc/ssl/certs
   SSLCACertificateFilebundle file
   FilesMatch \.(cgi|shtml|phtml|php)$
 SSLOptions +StdEnvVars
   /FilesMatch
 /VirtualHost

 hth,

 Martin

 On 26 Jun 2014, at 14:51, Sudeep Narayan Banerjee snbaner...@iitgn.ac.in
 wrote:

  Dear Sirs,
 
  Is there any update on the same?
 
  Thank you in advance!
 
  S N Banerjee
 
 
  On Thu, Jun 26, 2014 at 1:46 AM, Sudeep Narayan Banerjee 
 snbaner...@iitgn.ac.in wrote:
  Dear Sir,
 
  Firstly I would like thank for the simple solution provided for the
 thread [one-users] VM in opennebula failing.
 
  Now I would like to make it route through SSL at 443 port.
 
  I checked at your site and could find the steps meant for Ubuntu, hope
 checked properly! Is it possible for CentOS6.5 x86_64 ?
 
  Thanks in advance!
  Sudeep
 
  --
  Thanks  Regards,
  Sudeep Narayan Banerjee
 
 
 
  --
  Thanks  Regards,
  Sudeep Narayan Banerjee
  ___
  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




 --
 Thanks  Regards,
 Sudeep Narayan Banerjee




-- 
Thanks  Regards,
Sudeep Narayan Banerjee
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Need https for Opennebula URL in browser

2014-06-27 Thread Martin Alfke
Hi Sudeep,

it is very unkind to repeat your question in a community based mailing list.
If you need urgent professional support you should get in contact with 
puppetlabs sales and ask for enterprise support.

The file I mentioned is in /etc/httpd/conf.d
File name is arbitrary as long as it has the ending .conf
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-apache-config.html
http://wiki.centos.org/TipsAndTricks/ApacheVhostDir

Asking Google or duckduckgo would have provided the same results.

Please try to search a least a little bit by yourself or get your company an 
enterprise support.

hth,

Martin

On 27 Jun 2014, at 08:14, Sudeep Narayan Banerjee snbaner...@iitgn.ac.in 
wrote:

 Dear Sir,
 
 Could someone please say in which file do I need to modify?
 
 Thanks
 Sudeep
 
 
 On Thu, Jun 26, 2014 at 11:17 PM, Sudeep Narayan Banerjee 
 snbaner...@iitgn.ac.in wrote:
 Dear Martin  All,
 
 Thanks a lot for the valuable inputs. 
 
 Which file do I edit in https/conf.d folder?
 
 [root@front conf.d]# ls
 auth_kerb.conf   auth_pgsql.conf  manual.conf mrtg.conf  perl.conf  
 README  squid.conf  subversion.conf  welcome.conf
 auth_mysql.conf  authz_ldap.conf  mod_dnssd.conf  nss.conf   php.conf   
 revocator.conf  ssl.confwebalizer.conf   wsgi.conf
 
 I am in /etc/httpd/conf.d. Should I create a file (by which name  extension) 
 or edit any existing file?
 
 I do not know whether httpd.conf in /etc/httpd/conf/ folder is the file you 
 are pointing at!
 
 Regards,
 S N Banerjee
 
 
 On Thu, Jun 26, 2014 at 6:51 PM, Martin Alfke tux...@gmail.com wrote:
 Hi Sudeep,
 
 we run CentOS 6.5 with httpd and mod_passenger and the following 
 configuration snippet in httpd/conf.d:
 
 VirtualHost *:443
   ServerName default-ssl
 
   ## Vhost docroot
   DocumentRoot /usr/lib/one/sunstone/public
 
   ## Directories, there should at least be a declaration for 
 /usr/lib/one/sunstone/public
 
   Directory /usr/lib/one/sunstone/public
 Options -MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
   /Directory
 
   ## Logging
   ErrorLog /var/log/httpd/default-ssl_error_ssl.log
   LogLevel warn
   ServerSignature Off
   CustomLog /var/log/httpd/default-ssl_access_ssl.log combined
 
 
   ## SSL directives
   SSLEngine on
   SSLCertificateFile  crt file
   SSLCertificateKeyFile   key file
   SSLCACertificatePath/etc/ssl/certs
   SSLCACertificateFilebundle file
   FilesMatch \.(cgi|shtml|phtml|php)$
 SSLOptions +StdEnvVars
   /FilesMatch
 /VirtualHost
 
 hth,
 
 Martin
 
 On 26 Jun 2014, at 14:51, Sudeep Narayan Banerjee snbaner...@iitgn.ac.in 
 wrote:
 
  Dear Sirs,
 
  Is there any update on the same?
 
  Thank you in advance!
 
  S N Banerjee
 
 
  On Thu, Jun 26, 2014 at 1:46 AM, Sudeep Narayan Banerjee 
  snbaner...@iitgn.ac.in wrote:
  Dear Sir,
 
  Firstly I would like thank for the simple solution provided for the thread 
  [one-users] VM in opennebula failing.
 
  Now I would like to make it route through SSL at 443 port.
 
  I checked at your site and could find the steps meant for Ubuntu, hope 
  checked properly! Is it possible for CentOS6.5 x86_64 ?
 
  Thanks in advance!
  Sudeep
 
  --
  Thanks  Regards,
  Sudeep Narayan Banerjee
 
 
 
  --
  Thanks  Regards,
  Sudeep Narayan Banerjee
  ___
  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
 
 
 
 -- 
 Thanks  Regards,
 Sudeep Narayan Banerjee
 
 
 
 -- 
 Thanks  Regards,
 Sudeep Narayan Banerjee

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Snapshots of powered off VM without saving as a new image

2014-06-27 Thread Hamada, Ondrej
Hi guys,
Is there a possibility to make a snapshot of powered off VM without the need to 
save the image as a new image (making a clone)?

We are using mainly qcow2 images and the live snapshots does not work well for 
us, as they took quite a long time and the snapshot of actual VM state is 
useless for us, because the VMs get easily into weird state when launched.


Thank you,

Ondra

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Need https for Opennebula URL in browser

2014-06-27 Thread Valentin Bud
Hi Sudeep,

You can also ask enterprise support from C12G Labs [1]. They can help
you for sure, they build OpenNebula.

As for your problem, I would ditch Apache and use nginx. I will post a step
by step untested tutorial below.

First, install nginx on the machine OpenNebula is installed on. I assume you
are on a Debian based OS. If on CentOS switch apt-get with yum.

$ sudo su -
# apt-get install nginx

Configure the default vhost to proxy requests to Sunstone upstream. The
following is what I use in production and it works.

/etc/nginx/sites-enabled/default

### sunstone vhost

### sunstone upstream server
upstream sunstone {
server  127.0.0.1:9869;
}

### sunstone HTTP server
server {
listen  80 default_server;
server_name localhost;

### Set up the access and error logs
access_log  /var/log/nginx/access.log;
error_log   /var/log/nginx/error.log;

### Append / if missing and redirect to HTTPS
rewrite ^([^.]*[^/])$ https://$server_name/ permanent;
return  301 https://$server_name$request_uri;
}

### HTTPS Server
#
# sunstone HTTPS server
#
server {
listen443;
server_name   localhost;

keepalive_timeout 70;

### Logging
access_log/var/log/nginx/access.log;
error_log /var/log/nginx/error.log debug;

### SSL
ssl   on;
ssl_certificate   /etc/ssl/certs/sunstone.pem;
ssl_certificate_key   /etc/ssl/private/sunstone.key;

ssl_session_cache shared:SSL:10m;
ssl_session_timeout   480m;

### Intercept errors
proxy_intercept_errors on;

### Custom error pages
error_page 404 /errors/404.html;
error_page 401 /errors/401.html;
error_page 400 402 403 405 406 407 408 409 410 411 412 413 414 415 417
417 /errors/4xx.html;
error_page 500 501 502 503 504 505 /errors/5xx.html;

### Root location
#
# Proxy requests to upstream
#
location / {
proxy_pass  http://sunstone;
proxy_set_headerHost  $host;
proxy_set_headerX-Real-IP $remote_addr;
proxy_set_headerX-Forwarded-For
$proxy_add_x_forwarded_for;
}

### Public Data
#
# Get the files from HDD not via Sunstone
#
location ~ ^/(css/|images/|js/|locale/|vendor/) {
root /usr/lib/one/sunstone/public;
expires 1w;
}

### Error pages
location /errors/ {
alias /var/www/errors/;
internal;
}
}


Generate the SSL certificate. This is a self signed certificate, if you go
production I
recommend you built your own CA or buy a trusted certificate, Globe SSL is
cheap
in this area. This way you can secure your VNC also without any complaints
from
the browser.

# openssl req -x509 -newkey rsa:2048 -keyout /etc/ssl/private/sunstone.pem
-nodes -out /etc/ssl/certs/sunstone.pem -days 3650


Restart nginx and access http://ip.add.re.ss of OpenNebula machine. It
might help
you but please don't blindly copy paste, do some reading, you'll learn cool
things :).

[1]: http://c12g.com/

Best,
Valentin

On Fri, Jun 27, 2014 at 9:21 AM, Martin Alfke tux...@gmail.com wrote:

 Hi Sudeep,

 it is very unkind to repeat your question in a community based mailing
 list.
 If you need urgent professional support you should get in contact with
 puppetlabs sales and ask for enterprise support.

 The file I mentioned is in /etc/httpd/conf.d
 File name is arbitrary as long as it has the ending .conf

 http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-apache-config.html
 http://wiki.centos.org/TipsAndTricks/ApacheVhostDir

 Asking Google or duckduckgo would have provided the same results.

 Please try to search a least a little bit by yourself or get your company
 an enterprise support.

 hth,

 Martin

 On 27 Jun 2014, at 08:14, Sudeep Narayan Banerjee snbaner...@iitgn.ac.in
 wrote:

  Dear Sir,
 
  Could someone please say in which file do I need to modify?
 
  Thanks
  Sudeep
 
 
  On Thu, Jun 26, 2014 at 11:17 PM, Sudeep Narayan Banerjee 
 snbaner...@iitgn.ac.in wrote:
  Dear Martin  All,
 
  Thanks a lot for the valuable inputs.
 
  Which file do I edit in https/conf.d folder?
 
  [root@front conf.d]# ls
  auth_kerb.conf   auth_pgsql.conf  manual.conf mrtg.conf  perl.conf
  README  squid.conf  subversion.conf  welcome.conf
  auth_mysql.conf  authz_ldap.conf  mod_dnssd.conf  nss.conf   php.conf
 revocator.conf  ssl.confwebalizer.conf   wsgi.conf
 
  I am in /etc/httpd/conf.d. Should I create a file (by which name 
 extension) or edit any existing file?
 
  I do not know whether httpd.conf in /etc/httpd/conf/ folder is the file
 you are pointing at!
 
  Regards,
  S N Banerjee
 
 
  On Thu, Jun 26, 2014 at 6:51 PM, Martin Alfke tux...@gmail.com wrote:
  Hi Sudeep,
 
  we run CentOS 6.5 with httpd and mod_passenger and the following
 

[one-users] Help us better meet your needs!: New User Survey

2014-06-27 Thread Tino Vazquez
Dear OpenNebula users,

We have created a new user survey that will take you only 5 minutes to
complete. As an open-source community, it is very important for us to
have information about your deployment. Doing so you will have
influence over the project and software direction, and will help us
improve the support for most demanded infrastructure platforms and
configurations.

All of the information you provide is confidential. We will not share
organization-specific or personal information. We will only report
aggregate, non-personally identifiable data.

The results from our last survey (2012) are available here [1]. Do not
hesitate to contact us if you have questions.

Link to Survey: http://goo.gl/20HLmU

Thanks for completing the survey!

 -- The OpenNebula Team

[1] http://c12g.com/resources/survey/

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Help with ESX UUIDs with OpenNebula

2014-06-27 Thread Tino Vazquez
Hi Brad,

If that change makes OpenNebula friendly with ESX 4.x we can add it to
next releases, although we are not going to officially support it.

For this, I would be grateful if you could open a feature request in
dev.opennebula.org and add the patch, we will include it for next
releases.

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On 26 June 2014 18:02, Brad ts...@yahoo.com wrote:
 If anyone was wondering, the behavior is different on 5+:

 # cd /vmfs/volumes/
 /vmfs/volumes # ls -l
 lrwxr-xr-x1 root root17 Jun 26 15:56 1 -
 8dae7639-df402f02

 /vmfs/volumes # df -h
 Filesystem   Size   Used Available Use% Mounted on
 NFS  9.8G   1.8G  8.0G  19% /vmfs/volumes/1

 This is what the script expects, and I guess now I know the reason ESX 5+ is
 listed as supported. It might be nice to support older ESX if that's the
 only change, but for now I'm just going to wait until the rest of our blades
 get updated.

 Thanks!
 Brad

 
 From: Brad ts...@yahoo.com
 To: Tino Vazquez cvazq...@c12g.com
 Cc: users@lists.opennebula.org users@lists.opennebula.org
 Sent: Thursday, June 26, 2014 8:10 AM

 Subject: Re: [one-users] Help with ESX UUIDs with OpenNebula

 Hi Tino,

 Thanks for responding. You can rename the datastores from the vSphere client
 to 0 and 1, however, that is not how they're named on the file system, on
 the file system they look like this:

 $ ls -al /vmfs/volumes/ | egrep 0 - | 1 - 
 lrwxr-xr-x1 root 017 Jun 26 15:05 0 -
 3e0efa3e-35c16500
 lrwxr-xr-x1 root 017 Jun 26 15:05 1 -
 8dae7639-df402f02

 $ df -m | egrep '35c16500|df402f02'
 nfs  10078  1877  7689  20%
 /vmfs/volumes/3e0efa3e-35c16500
 nfs  10078  1877  7689  20%
 /vmfs/volumes/8dae7639-df402f02

 They're symlinked, which is no good for OpenNebula because the monitor
 script here:
 https://github.com/OpenNebula/one/blob/11520021f718bbc6762f7be90d8cec00764fc327/src/datastore_mad/remotes/vmfs/monitor
 on line 67 is checking df, but df is using the actual mount path, not a
 symlink.

 I do have some esx 5+ hosts to try mounting my NFS exports on to see if they
 are mounted differently. If that doesn't work, I'll simply change that line
 67 to something like this:

 DF_STR=\$($DF -m | grep `ls -al /\`echo $BASE_PATH | awk '{split($0,a,/);
 print a[2], a[3]}' | sed -e 's/ /\//g'\` | grep  - \`echo $BASE_PATH | awk
 '{split($0,a,/); print a[4]}'\` | awk '{print $11}'` | sed -e 's/
 \+/:/g')

 Which I don't want to do, but should get the expected output.

 Thanks!
 Brad

 
 From: Tino Vazquez cvazq...@c12g.com
 To: Brad ts...@yahoo.com
 Cc: users@lists.opennebula.org users@lists.opennebula.org
 Sent: Thursday, June 26, 2014 2:42 AM
 Subject: Re: [one-users] Help with ESX UUIDs with OpenNebula

 Hi Brad,

These are failing because the ESX host is mounting NFS using the uuid
 that's generated from the signature. I tried searching
the list, but I'm not sure how others are dealing with this. I notice the
 documentation says that it needs to be mounted with
datastore ID only; e.g. /vmfs/volumes/0 and /vmfs/volumes/1, however, I've
 found no way to get the ESX host to actually do
this.

 OpenNebula supports ESX 5.x, so it may be a good idea to update. In
 any case, it should work in ESX 4.x as well, can't you name the NFS
 based datastore as 0 and 1? What error is it giving? If there are
 errors, you can try creating it with a different name and then
 renaming it.

 Hope it helps,

 -Tino


 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs
 www.c12g.com | @C12G | es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and
 any accompanying documents, unless otherwise expressly indicated, is
 confidential and privileged, and is intended solely for the person
 and/or entity to whom it is addressed (i.e. those identified in the
 To and cc box). They are the property of C12G Labs 

Re: [one-users] VM running on multiple hosts

2014-06-27 Thread Tino Vazquez
Hi,

Issues with delete and shutdown have been greatly improved in
OpenNebula 4.4+, I would recommend upgrading as far as possible.

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On 26 June 2014 16:42, Steven Timm t...@fnal.gov wrote:
 We have also seen this behavior in OpenNebula 3.2.
 It appears that the failure mode occurs because the onevm delete
 (or shutdown or migrate) doesn't correctly verify that the virtual machine
 has gone away.
 It sends the acpi terminate signal to the virtual machine
 but if that fails, the VM will keep running.  There is no
 signal sent to libvirt to kill the machine regardless.
 OpenNebula
 deletes the disk.0 from underneath it but that doesn't stop
 the vm from running, it stays running on the deleted file handle.

 On the plus side, I once was able to recover the full disk image
 of a VM that shouldn't have been deleted, that way, by going
 to the /proc file system and dd'ing from the still-open file
 handle of the process.

 We've written a set of utilities to check the consistency
 of the leases database with what is actually running on the cloud,
 and alert us if there are any differences.

 Steve Timm



 On Thu, 26 Jun 2014, Milos Kozak wrote:

 Hi, I would like to add that I have experienced it few times with ONE
 3.8..

 On 6/26/2014 9:34 AM, Robert Tanase wrote:

  Hi all,

  We are using Opennebula 4.2 system with several hosts ( KVM +
  network storage) .

  Recently we have discovered, by having disk r/w issues on a VM, that
  after a delete - recreate action, specific VM is running on two
  different hosts: the old placement host and the new placement host.

  We are using the hooks system for host failure and a cron job at 5
  minutes which is (re)deploying pending machines on available running
  hosts.

  By checking oned log files we couldn't find any abnormal behavior
  and we are stuck.

  Please guide us to find the root cause of this issue if is possible.

  --
  Thank you,
  Robert Tanase



  ___
  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



 --
 Steven C. Timm, Ph.D  (630) 840-8525
 t...@fnal.gov  http://home.fnal.gov/~timm/
 Fermilab Scientific Computing Division, Scientific Computing Services Quad.
 Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing

 ___
 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


Re: [one-users] VM running on multiple hosts

2014-06-27 Thread Miloš Kozák

Hi,

it is great to know, is it related to the improved monitoring in ONE? I 
am getting ready for trials of ONE 4.6.


We are using shared_lvm driver, so I would like to know if the new LVM 
driver is compatible with it? Or I can expect some major issues? I 
havent had enough time to check..


Thanks Milos


Dne 14-06-27 12:18 PM, Tino Vazquez napsal(a):

Hi,

Issues with delete and shutdown have been greatly improved in
OpenNebula 4.4+, I would recommend upgrading as far as possible.

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On 26 June 2014 16:42, Steven Timm t...@fnal.gov wrote:

We have also seen this behavior in OpenNebula 3.2.
It appears that the failure mode occurs because the onevm delete
(or shutdown or migrate) doesn't correctly verify that the virtual machine
has gone away.
It sends the acpi terminate signal to the virtual machine
but if that fails, the VM will keep running.  There is no
signal sent to libvirt to kill the machine regardless.
OpenNebula
deletes the disk.0 from underneath it but that doesn't stop
the vm from running, it stays running on the deleted file handle.

On the plus side, I once was able to recover the full disk image
of a VM that shouldn't have been deleted, that way, by going
to the /proc file system and dd'ing from the still-open file
handle of the process.

We've written a set of utilities to check the consistency
of the leases database with what is actually running on the cloud,
and alert us if there are any differences.

Steve Timm



On Thu, 26 Jun 2014, Milos Kozak wrote:


Hi, I would like to add that I have experienced it few times with ONE
3.8..

On 6/26/2014 9:34 AM, Robert Tanase wrote:

  Hi all,

  We are using Opennebula 4.2 system with several hosts ( KVM +
  network storage) .

  Recently we have discovered, by having disk r/w issues on a VM, that
  after a delete - recreate action, specific VM is running on two
  different hosts: the old placement host and the new placement host.

  We are using the hooks system for host failure and a cron job at 5
  minutes which is (re)deploying pending machines on available running
  hosts.

  By checking oned log files we couldn't find any abnormal behavior
  and we are stuck.

  Please guide us to find the root cause of this issue if is possible.

  --
  Thank you,
  Robert Tanase



  ___
  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



--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing

___
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