Re: [one-users] Contextualization with Cloud-init debug

2014-11-12 Thread Javier Fontan
Cloud-init log files are /var/log/cloud-init.log and /var/log/cloud-init-output.log. You can also check the information it has processed at /var/lib/cloud. On Thu Oct 30 2014 at 5:07:49 PM Javier Juarez javier.jua...@gmail.com wrote: Hi Vicent, I´m using a CentOS 6.5 OS base. I have

[one-users] Contextualization with Cloud-init debug

2014-10-30 Thread Javier Juarez
Hi dudes, I´m trying to make a small provisioning of our VMs based on cloud-init without success. The contextualization process works well apparently (our network interfaces and ssh keys have been deployed), but I think that the cloud-init phase does not work at all. Any ideas about how to debug

Re: [one-users] Contextualization with Cloud-init debug

2014-10-30 Thread vincent
On 2014-10-30 15:33, Javier Juarez wrote: Hi dudes, I´m trying to make a small provisioning of our VMs based on cloud-init without success. The contextualization process works well apparently (our network interfaces and ssh keys have been deployed), but I think that the cloud-init phase does

Re: [one-users] Contextualization with Cloud-init debug

2014-10-30 Thread Javier Juarez
Hi Vicent, I´m using a CentOS 6.5 OS base. I have configured the SELinux pocily with permissive I think that my cloud-init context file´s identation is correct... by the way, where is the cloud-init´s log file? thanks in advance, regards Javier On Thu, Oct 30, 2014 at 4:29 PM,

Re: [one-users] Contextualization on CentOS 6.5

2014-07-10 Thread Anandharaj Subramaniam
: Tuesday, July 08, 2014 5:11 PM To: Anandharaj Subramaniam Cc: users@lists.opennebula.org Subject: Re: [one-users] Contextualization on CentOS 6.5 Most of our services are CentOS 6.5 machines in OpenNebula. They all get the correct configuration with those packages. You can check these things

Re: [one-users] Contextualization

2014-04-22 Thread Christophe Duez
...@student.uantwerpen.be Date: Thursday, April 17, 2014 at 5:30 AM To: Valentin Bud valentin@gmail.com Cc: opennebula users@lists.opennebula.org Subject: Re: [one-users] Contextualization Hello, Thank you for the extensive responds This is what I did and where I got stuck: Export

Re: [one-users] Contextualization

2014-04-22 Thread Jaime Melis
@gmail.com Cc: opennebula users@lists.opennebula.org Subject: Re: [one-users] Contextualization Hello, Thank you for the extensive responds This is what I did and where I got stuck: Export the libvirt xml of the VM from the host, virsh dumpxml one-45 /tmp/XmlDumpFile stop the VM, virsh

Re: [one-users] Contextualization

2014-04-22 Thread Javier Fontan
To: Valentin Bud valentin@gmail.com Cc: opennebula users@lists.opennebula.org Subject: Re: [one-users] Contextualization Hello, Thank you for the extensive responds This is what I did and where I got stuck: Export the libvirt xml of the VM from the host, virsh dumpxml one-45 /tmp

Re: [one-users] Contextualization

2014-04-18 Thread Valentin Bud
Hello Christophe, I suggest you follow Andrei's suggestion in the future. It is much cleaner and more OpenNebula way to say so. Read in line to continue with the process I have described. On Thu, Apr 17, 2014 at 2:30 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello,

Re: [one-users] Contextualization

2014-04-18 Thread Christophe Duez
...@student.uantwerpen.be Date: Thursday, April 17, 2014 at 5:30 AM To: Valentin Bud valentin@gmail.com Cc: opennebula users@lists.opennebula.org Subject: Re: [one-users] Contextualization Hello, Thank you for the extensive responds This is what I did and where I got stuck: Export the libvirt xml

[one-users] Contextualization

2014-04-17 Thread Christophe Duez
Hello, I followed this video from your youtube channel Bootstrapping OpenNebula 3.4 and creating a VM from scratchhttps://www.youtube.com/watch?v=fQP4NQQ9NSI. I did this with the OpenNebula 4.4.1. Almost at the end they say you have to follow the documentation to setup contextualization. I

Re: [one-users] Contextualization

2014-04-17 Thread Valentin Bud
Hello Christophe, Does your VM have a local network connection with the host or any other computer in your local network? If that's the case you can finish the installation, reboot, connect to the VM via SSH, scp the contextualization package from a local computer that is in the same network or

Re: [one-users] Contextualization

2014-04-17 Thread Christophe Duez
Hello, Thank you for the extensive responds This is what I did and where I got stuck: Export the libvirt xml of the VM from the host, virsh dumpxml one-45 /tmp/XmlDumpFile stop the VM, virsh destroy one-45 undefine the domain. virsh undefine one-45 Configure the xml to mount a

Re: [one-users] Contextualization strategies and swap partition- Open Nebula 4.4 on Ubuntu 12.04

2014-02-09 Thread Ruben S. Montero
On Thu, Feb 6, 2014 at 3:03 PM, Nelson Kotowski nkotow...@gmail.com wrote: Dear all, I have quite basic questions, but I couldn't manage to find an answer so far... Please, could you help? Just upgraded from OpenNebula 3.2 to 4.4, Ubuntu 12.04 based controllers and hosts, KVM-based. I

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-06 Thread Javier Fontan
Subject: Re: [one-users] Contextualization of a VM with Centos 5.X Hello Javier, Unfortunately, this mechanism needs Ruby = 1.8.7 and that version is not available in Centos 5 unless I install it manually... Regards Fernando -- Fernando Felix-Redondo [ISDEFE, S.A.] | fernando.fe

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-06 Thread Fernando Felix-Redondo
...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] On Behalf Of Fernando Felix-Redondo Sent: Wednesday, February 05, 2014 1:26 PM To: users@lists.opennebula.org Subject: Re: [one-users] Contextualization of a VM with Centos 5.X Hello Javier, Unfortunately, this mechanism needs Ruby

[one-users] Contextualization of a VM with Centos 5.X

2014-02-05 Thread Fernando Felix-Redondo
Dear all, I need to deploy a bunch of VMs with CentOS 5.9 on my ONE infrastructure but I'm facing the problem that I'm not able to install the opennebula-context package because is built for the CentOS 6.X and the system complaints about the rpmlib versions. Is there anywhere an

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-05 Thread Javier Fontan
One way you can do this is creating the packages in that version of the distribution. The source of the context packages come with the source code, in directory share/scripts/context-packages. There you can find information on how to build them in the README file [1] and some more information in

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-05 Thread Fernando Felix-Redondo
Hello Javier, Unfortunately, this mechanism needs Ruby = 1.8.7 and that version is not available in Centos 5 unless I install it manually... Regards Fernando -- Fernando Felix-Redondo [ISDEFE, S.A.] | fernando.fe...@esa.int | Phone: +34 91 813 1368 SMOS DPGS Operations Computer Systems and

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-05 Thread Hamada, Ondrej
...@lists.opennebula.org] On Behalf Of Fernando Felix-Redondo Sent: Wednesday, February 05, 2014 1:26 PM To: users@lists.opennebula.org Subject: Re: [one-users] Contextualization of a VM with Centos 5.X Hello Javier, Unfortunately, this mechanism needs Ruby = 1.8.7 and that version

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-05 Thread Javier Fontan
You only need that ruby version to create the package. The package itself is shell script. On Wed, Feb 5, 2014 at 1:26 PM, Fernando Felix-Redondo fernando.fe...@esa.int wrote: Hello Javier, Unfortunately, this mechanism needs Ruby = 1.8.7 and that version is not available in Centos 5 unless I

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-05 Thread Fernando Felix-Redondo
...@lists.opennebula.org] On Behalf Of Fernando Felix-Redondo Sent: Wednesday, February 05, 2014 1:26 PM To: users@lists.opennebula.org Subject: Re: [one-users] Contextualization of a VM with Centos 5.X Hello Javier, Unfortunately, this mechanism needs Ruby = 1.8.7 and that version is not available

[one-users] contextualization and windows powershell

2013-08-29 Thread Michael Curran
Separate thread so it gathers the right attention --- Found an issue -- which might not be one in *NIX , but apparently is in windows -- and hopefully its just the way I am calling out the variable?? I have HOSTNAME=$NAME In my VM template -- this creates the following entry in the

Re: [one-users] contextualization and windows powershell

2013-08-29 Thread Javier Fontan
We chosen to use single quotes as the double quotes could be interpreted by the shell and break the contextualization in some cases [1]. It seems that this change is giving more problems than we thought and we are planning on generating two versions, one with single quotes and another with double

[one-users] Contextualization

2013-07-23 Thread Michael Curran
Is there a list of variables that can be contextualized during a VM's creation? Can I pull them from the VM that I build - or do they only come from the template variables you see during oneimage update? I want to set the windows hostname (using IEETM's page) to be the same as the NAME

Re: [one-users] Contextualization

2013-07-23 Thread Tino Vazquez
Hi Michael, Did you take a look at http://opennebula.org/documentation:rel4.2:template#context_section ? Regards, -Tino -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The

Re: [one-users] Contextualization

2013-07-23 Thread Michael Curran
614.403.6320 | www.connectsolutions.com -Original Message- From: Tino Vazquez [mailto:cvazq...@c12g.com] Sent: Tuesday, July 23, 2013 9:53 AM To: Michael Curran Cc: users@lists.opennebula.org Subject: Re: [one-users] Contextualization Hi Michael, Did you take a look at http

Re: [one-users] contextualization with interface aliases

2012-12-21 Thread Javier Fontan
Right now there is not way of specifying network aliases. I fear you will need an specific script to the context packages or modify the network configuration script already provided in the packages. I you come up with a nice solution please, tell us. It may be of use to other people and we can

[one-users] contextualization with interface aliases

2012-12-16 Thread Gary S. Cuozzo
Hello, I am contextualizing vms for both ubuntu 12.04 and centos 6.3 and would like to support multiple IP addresses per interface via interface aliasing. For example: eth0 - 192.168.1.1 eth0:1 - 192.168.1.2 etc. I'm currently using the context packages from ONE. Is there a way to specify

[one-users] Contextualization problem target(hdb)-(/dev/cdrom1)

2012-11-02 Thread Filippo Gaudenzi
Hi everybody, i'm trying to use contextualization to pass file to my VMs. After onevm create ubuTest.one where ubuTest.one is: NAME = ubu1 CPU =0.1 VCPU = 1 MEMORY = 256 NIC = [NETWORK=VEP public network] DISK = [IMAGE=ubuntuServer] OS = [ boot=hd, arch=x86_64 ] GRAPHICS = [ type=vnc,

Re: [one-users] Contextualization problem target(hdb)-(/dev/cdrom1)

2012-11-02 Thread André Monteiro
Hello, On my Ubuntu 12, /etc/rc.local doesn't mount the context so I made a modification on init.sh if [ -f /mnt/context.sh ] then . /mnt/context.sh else mount -t iso9660 /dev/sr0 /mnt ./mnt/context.sh fi And this way VM executes init.sh with context and is correctly configured. -- André

Re: [one-users] Contextualization problem target(hdb)-(/dev/cdrom1)

2012-11-02 Thread Filippo Gaudenzi
Thank you, but the Problem is not that i can't mount the drive at startup, but the incoherence between the value of the target field and the drive on the VM. Why is the target hdb and i have to mount cdrom1 or sr0 Thank you. On 11/02/2012 12:41 PM, André Monteiro wrote: Hello, On my

Re: [one-users] Contextualization problem target(hdb)-(/dev/cdrom1)

2012-11-02 Thread Ruben S. Montero
Hi Filippo The actual device used to present the cdrom depends on the guest OS. Some linux distributions presents always the cdrom through the scsi bus (sr0...) others use udev symlink the devices to cdrom... So I think there is no rule of thumb for this. Cheers Ruben On Fri, Nov 2, 2012 at

[one-users] Contextualization packages available

2012-07-17 Thread Javier Fontan
Hello, A new set of packages to ease the preparation of VM images are available. After installing you OS you can install the package compatible with your distribution and it will prepare the udev, clean the network configuration and install the contextualization scripts. You can find more

Re: [one-users] Contextualization

2012-05-25 Thread Carlos Martín Sánchez
Hi, You can reference any attribute *inside* the TEMPLATE. For example, if you add to your user template, executing 'oneuser update id', the following: USERNAME=test_name Then you can use that attribute inside the context: CONTEXT=[ ROOT_USERNAME = $USER[USERNAME] ] Regards. -- Carlos

[one-users] Contextualization

2012-05-23 Thread Stantz, Brent - GS
Hi, I am trying to configure my VM systems to use the owners name as the username, I have not been able to 'retrieve' the proper username. Please provide the correct variable to give such information. Thank you, Brent Stantz Software Engineering Geospatial Systems ITT Exelis Rochester, NY

[one-users] contextualization related

2012-01-09 Thread Vahe nr
Hi for all their Do I need to use contextualization for my VMs or I can use them without it ? thanks in advance. Regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Re: [one-users] contextualization related

2012-01-09 Thread Olivier Sallou
Contextualization is optional. You can use it to define IP address, hostname etc... If you don't need to (using DHCP for example), there is no need to use it. Just keep the context field empty and do not add the context load at startup. Olivier Le 1/9/12 5:05 PM, Vahe nr a écrit : Hi for all

Re: [one-users] contextualization related

2012-01-09 Thread Vahe nr
Thank you so much Olivier Sallou Regards On Mon, Jan 9, 2012 at 8:12 PM, Olivier Sallou olivier.sal...@irisa.frwrote: Contextualization is optional. You can use it to define IP address, hostname etc... If you don't need to (using DHCP for example), there is no need to use it. Just keep

[one-users] Contextualization scripts for Windows guests

2011-11-14 Thread Carlos Martín Sánchez
Dear community, This is a quick email to let you know that André Monteiro has written a post in our blog [1] sharing the scripts they have developed at the Institute of Electronics and Telematics Engineering of Aveiro. These scripts take advantage of the OpenNebula contextualization [2] inside

Re: [one-users] Contextualization variables

2011-03-28 Thread Shantanu Pavgi
I think we can use all variables defined in VM template file, vnet definition file and any other user defined variables. This gives us flexibility in writing our post-deploy scripts. Typically I have used script files that run post-deploy steps like hostname config, firewall config etc in the

[one-users] Contextualization variables

2011-03-25 Thread Madhurranjan Mohaan
Hi All, Is there a list where I can find a complete list of variables that can be used with contextualization ? thanks Ranjan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Re: [one-users] Contextualization variables

2011-03-25 Thread Daniel Molina
Hi, You can find that information in the following link: http://opennebula.org/documentation:rel2.2:template#context_section Regards. On 25 March 2011 12:59, Madhurranjan Mohaan moha...@thoughtworks.com wrote: Hi All, Is there a list where I can find a complete list of variables that can be

Re: [one-users] Contextualization variables

2011-03-25 Thread Madhurranjan Mohaan
Thanks Daniel. But those are just examples of some of the stuff that is supported. Do we have an entire list ? Also, I am really confused about the files option . What exactly goes in there ? *files - space-separated list of paths to include in context device*. What kinds of files have people

Re: [one-users] Contextualization and Ubuntu hda/sda confusion

2010-08-19 Thread Javier Fontan
Hello, We also had these problems with libvirt/kvm. Even if we specify the target device as the user wants it takes that as a hint and not always sets the bus as expected (hd*/sd*). We will try to find a way to force it to use the target specified but right now you have to check libvirt/kvm bias

[one-users] Contextualization and Ubuntu hda/sda confusion

2010-08-18 Thread Harder, Stefan
Hi, I started to play around a little bit with contextualization. Therefore I prepared an Ubuntu10.04 KVM image with the mounting entries in the /etc/rc.local. I added the CONTEXT section in the template file with an init.sh file to put into the iso. When I create the VM in OpenNebula (1.4) no

Re: [one-users] Contextualization VM during deployment

2010-07-02 Thread Tino Vazquez
Hi Jeff, Let's check what CONTEXT OpenNebula tries to use. Depending on how you configured your hosts (NFS or SSH), this will be defined in $ONE_LOCATION/etc/tm_ssh/tm_ssh.conf $ONE_LOCATION/etc/tm_nfs/tm_nfs.conf and they should point to $ONE_LOCATION/lib/tm_commands/ssh