Re: [one-users] Question on /var/lib/remotes/tm/shared/clone script

2014-12-30 Thread Daniel Dehennin
Steven C Timm t...@fnal.gov writes:

 [root@cloudworker1359 libvirt]# grep -v ^# qemu.conf | grep .

 dynamic_ownership = 0

You must set “user” and “group” to “oneadmin” like described in the
documentation[1].

This way the qemu process run as oneadmin and has write access to the images.

Regards.


Footnotes: 
[1]  
http://docs.opennebula.org/4.10/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-qemu

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


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


Re: [one-users] error: internal error unknown protocol type 'gluster'

2014-12-30 Thread Javier Fontan
We have tested the drivers with CentOS 6.5 so the packages should be
at least the version that comes with it. From the repos I see:

libvirt-0.10.2-29.el6.x86_64.rpm
qemu-kvm-0.12.1.2-2.415.el6.x86_64.rpm

Cheers

On Mon, Dec 22, 2014 at 2:38 AM, hansz hanshizhun...@126.com wrote:
 Hi, man
 i use centso6.5 and  CentOS-6-opennebula-4.10.1-1.tar.

 you have telled me ,Recent versions of CentOS6 (we are using 6.5) have an
 up to date
 libvirt/kvm package that supports Gluster . which version libvirt/kvm rpm
 bags have support Gluster ?

 libvirt-0.10.2-46.el6_6.2.x86_64.rpm is ok?




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-12-30 Thread Javier Fontan
From the information in the linked email it seems you are using
different gluster fs volumes for images and system datastore:

192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
192.168.0.199:/fc-img on /var/lib/one/datastores/103 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)

With glusterfs drivers the volume must be the same, that's why it is
not finding the disk. If you don't have any VMs running you can
probably fix it with:

# umount /var/lib/one/datastores/102
# rmdir /var/lib/one/datastores/102
# ln -s /var/lib/one/datastores/103 /var/lib/one/datastores/102

Cheers

On Wed, Dec 24, 2014 at 9:28 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 i use centos7 and opennebula4.10  glusterfs3.5
 i also meet the
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-July/045482.html
 question.

 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed
 to create domain from /var/lib/one//datastores/102/10/deployment.0
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error:
 internal error process exited while connecting to monitor: qemu-kvm: -drive
 file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
 could not open disk image gluster+tcp://192.168.0.199:24007/fc-
 img/10/disk.0: No such file or directory
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11
 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All
 subvolumes are down.
 Going offline until atleast one of them comes back up.


 how can i solve it? pls




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Opennebula Integration with ceph

2014-12-30 Thread ramanadh ravinuthala
Hi all,
I am trying to integrate ceph as the data store for open nebula and i am 
successfull able to do so.But when i do a virtualize of an image which is the 
ceph data store i couldn't see any rbd snapshot's or clones as i strongly 
belive it is still using the default transfer scripts, can one please help me 
as any setting to be enabled for the rbd to work properly.
Thanks

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


[one-users] Opennebula Integration with ceph

2014-12-30 Thread ramanadh ravinuthala
Hi all,


I am trying to integrate ceph as the data store for open nebula and i am 
successfull able to do so.But when i do a virtualize of an image which is the 
ceph data store i couldn't see any rbd snapshot's or clones as i strongly 
belive it is still using the default transfer scripts, can one please help me 
as any setting to be enabled for the rbd to work properly.
Thanks



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


[one-users] opennebula Azure

2014-12-30 Thread John Bons
Hi,

Were to start with opennebula  azure... i was starting to read.
http://docs.opennebula.org/4.8/advanced_administration/cloud_bursting/azg.html
But im lost in what order to do where.

Is there some guide for what to do first to have things spinning up in azure?
I created a cert and uploaded this to the azure portal.

Regards,
John

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


Re: [one-users] Users Digest, Vol 82, Issue 19

2014-12-30 Thread Javier Fontan
That share will be used to store all the files related to the running
Virtual Machines. This is disk images, checkpoint files for save/stop
and context image.

Disk image depends a lot on what do you use. Checkpoint files are the
size of the ram the VM uses and some hundred of megabytes more.
Context image is usually less than a megabyte if you don't add files
to it using the context mechanism.

Cheers

On Tue, Dec 16, 2014 at 1:49 PM, Michael A Cooper nexusgu...@gmail.com wrote:
 Hello Daniel,

  Thank you for explanation, May I ask what the share is needed for?
 I am just wondering so I know what size to make the share?

 Thanks,
 Michael

 Michael A Cooper
 Linux/Windows Web Administrator

 On Sun, Dec 14, 2014 at 3:51 PM, users-requ...@lists.opennebula.org wrote:

 Send Users mailing list submissions to
 users@lists.opennebula.org

 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 or, via email, send a message with subject or body 'help' to
 users-requ...@lists.opennebula.org

 You can reach the person managing the list at
 users-ow...@lists.opennebula.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Users digest...


 Today's Topics:

1. Initial installation (Michael A Cooper)
2. Re: Initial installation (Daniel Dehennin)
3. Service without random IPs for servers. (M.S?rdienis)


 --

 Message: 1
 Date: Sun, 14 Dec 2014 08:38:08 -0500
 From: Michael A Cooper nexusgu...@gmail.com
 To: users@lists.opennebula.org
 Subject: [one-users] Initial installation
 Message-ID:

 cap6_76pmb-jhwyneqp9wo3eqn62fpzbn1v-j2-zyec5ah46...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Hello Everyone,

   I found this link OpenNebula Ubuntu 14.04 Quickstart

 http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
 to install open nebula on Ubuntu 14.04, This includes the frontend and how
 to add nodes. My question is according to this article, I can install
 OpenNebula frontend right on the Ubuntu Server with the KVM install, is
 this correct?

 Also is it possible to have just the frontend installed by itself (non-kvm
 server), then add nodes to it, I would prefer to it that way. If it is
 possible is there a step by step document for me to use to help me through
 the process?

 Does any know who wrote this article?

 Michael A Cooper
 Linux/Windows Web Administrator
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141214/90577828/attachment.html

 --

 Message: 2
 Date: Sun, 14 Dec 2014 16:23:56 +0100
 From: Daniel Dehennin daniel.dehen...@baby-gnu.org
 To: users@lists.opennebula.org
 Subject: Re: [one-users] Initial installation
 Message-ID: 87bnn6uuer@hati.baby-gnu.org
 Content-Type: text/plain; charset=utf-8

 Michael A Cooper nexusgu...@gmail.com writes:

  Hello Everyone,

 Hello,

I found this link OpenNebula Ubuntu 14.04 Quickstart
 
  http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
  to install open nebula on Ubuntu 14.04,

 Note that the current stable OpenNebula[1] is 4.10.

  This includes the frontend and how to add nodes. My question is
  according to this article, I can install OpenNebula frontend right on
  the Ubuntu Server with the KVM install, is this correct?
 
  Also is it possible to have just the frontend installed by itself
  (non-kvm
  server), then add nodes to it, I would prefer to it that way. If it is
  possible is there a step by step document for me to use to help me
  through
  the process?

 This article describes a multi-server setup:

 - the frontend which runs the management daemons, the opennebula web
   interface (sunstone) and a NFS server

 - the nodes which run libvirtd and use the NFS exported by the frontend

 In the NFS configuration[2], you have a warning about setting up what I
 call a ??single node??, i.e. everything on a single physical standalone
 machine.

 Some steps are already managed by the opennebula debian packages, like
 the Qemu configuration.

 The minimal requirement for a separated frontend is the ability for the
 user oneadmin on the frontend to connect over SSH on each nodes without
 passwords.

 If you want live migration, you must use shared storage[3][4].

 More informations are available in ?planning the installation?[5].

 Regards.

 Footnotes:
 [1]  http://docs.opennebula.org/stable/

 [2]
 http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-nfs

 [3]  http://docs.opennebula.org/stable/administration/storage/index.html

 [4]  personally I never share /var/lib/one as described in the quick
  start but /var/lib/one/datastores.

 

[one-users] Nodejs library joins OpenNebula addons

2014-12-30 Thread Javier Fontan
Hello,

I would like to give a warm welcome to the nodejs library made by Pedro
Dias to talk to OpenNebula XML-RPC.

This library already existed for some versions but it is now located at the
OpenNebula github community. We hope it is useful for your developments and
any contributions. You can find it at:

https://github.com/OpenNebula/addon-nodejs

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


Re: [one-users] Question on /var/lib/remotes/tm/shared/clone script

2014-12-30 Thread Steven Timm

This trick does work to start the particular VM in question
in this particular use case of shared repo and cloning.

I think we didn't make this change in our ONE3.2 installation because
we had other reasons why we needed the qemu user to run KVM
in other transfer mode situations.  Will have to look at all the
other use cases we have to make sure we don't break anything else.

Steve Timm




On Tue, 30 Dec 2014, Daniel Dehennin wrote:


Steven C Timm t...@fnal.gov writes:


[root@cloudworker1359 libvirt]# grep -v ^# qemu.conf | grep .

dynamic_ownership = 0


You must set “user” and “group” to “oneadmin” like described in the
documentation[1].

This way the qemu process run as oneadmin and has write access to the images.

Regards.


Footnotes:
[1]  
http://docs.opennebula.org/4.10/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-qemu

--
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF



--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Office:  Wilson Hall room 804
Fermilab Scientific Computing Division,
Scientific Computing Facilities Quadrant.,
Experimental Computing Facilities Dept.,
Project Lead for Virtual Facility Project.

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


Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-12-30 Thread hansz


think you very much sir,i wil have a try.






At 2014-12-30 20:50:45, Javier Fontan jfon...@opennebula.org wrote:
From the information in the linked email it seems you are using
different gluster fs volumes for images and system datastore:

192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
192.168.0.199:/fc-img on /var/lib/one/datastores/103 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)

With glusterfs drivers the volume must be the same, that's why it is
not finding the disk. If you don't have any VMs running you can
probably fix it with:

# umount /var/lib/one/datastores/102
# rmdir /var/lib/one/datastores/102
# ln -s /var/lib/one/datastores/103 /var/lib/one/datastores/102

Cheers

On Wed, Dec 24, 2014 at 9:28 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 i use centos7 and opennebula4.10  glusterfs3.5
 i also meet the
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-July/045482.html
 question.

 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed
 to create domain from /var/lib/one//datastores/102/10/deployment.0
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error:
 internal error process exited while connecting to monitor: qemu-kvm: -drive
 file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
 could not open disk image gluster+tcp://192.168.0.199:24007/fc-
 img/10/disk.0: No such file or directory
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11
 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All
 subvolumes are down.
 Going offline until atleast one of them comes back up.


 how can i solve it? pls




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org