[one-users] Disk order meaningful ?
Hello gentlemen! It seems that in OpenNebula 2.2 these two snippets ov a VM template are not equivalent -[1] DISK = [ TYPE=fs, SIZE = 128, FORMAT = "ext3", TARGET = "hdc"] DISK = [ SOURCE = "file:///home/oneadmin/one-images/swap.qcow", TYPE=swap, SIZE = 200, TARGET = "hdd"] DISK = [ IMAGE = "venuscdebianbase", TARGET = "hda"] -[2] DISK = [ IMAGE = "venuscdebianbase", TARGET = "hda"] DISK = [ TYPE=fs, SIZE = 128, FORMAT = "ext3", TARGET = "hdc"] DISK = [ SOURCE = "file:///home/oneadmin/one-images/swap.qcow", TYPE=swap, SIZE = 200, TARGET = "hdd"] Both declare a swap area, a file system image and a registered os image. But the with the declarations as in [1] the machine does not boots since it seems it tries to boot from the wrong disk. Does OpenNebula 3.x have the same behaviour? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] experiences with distributed FS?
>>>>> "HE" == Hans-Joachim Ehlers >>>>> writes: HE> Hi Joao, >> We're looking into the possibility of using a distributed FS, like >> glusterfs or similar solution for the image repository HE> We are looking forward to use GPFS as a clustered FS for our HE> upcoming KVM & OpenNebula solution since we are already a happy HE> GPFS user. Beware of the clustering software, be sure to use a very recent release (i.e. the on in Debian Stable). I tried it with an older, broken version of the clustering software and initially it worked wonderfully well... Until the cluster software began to malfunction and kick the servers out. But we plan to use something like this in the future (since we have sysadmin much better than me available :) ). -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] MAC problem with KVM--OpenNebula3.0
>>>>> "JL" == Jing Li writes: JL> Then I can access the instance with VNC viewer on the nodes(not JL> the NoVNC in Sunstone). But the instance was not accessible from JL> the internet. I checked the ifcfg-eth0 file in the VM instance JL> and noticed something weird. The MAC always starts with JL> 52:54:00:xx:xx:xx, not the one assigned by OpenNebula. However, I JL> check the hardware info from the SunStone and Virt-Manager. The JL> MAC is right. There is nothing weird. If you do not edit /etc/sysconfig/network-scripts/ifcfg-eth0 it will always have the wrong MAC. The MAC is passed correctly to the vm, and if you issue the 'ifconfig eth0' command you should see it right. I think that the toy VM 'ttylinux' has a nice script that can be used to generate network configuration scripts from the context.sh and the right time to run it is NOT rc.local but before /etc/init.d/network, placing a S09context before the S10network in the default runlevel directory: you get the default runtime from /etc/inittab (usually 'id:3:initdefault:' for full multiuser w/o X11, 'id:5:initdefault:' for full multiuser with X11) and the corresponding rulnevel directory is /etc/rc[runlevel number].d . Placing the network configuration in rc.local *may* have the effect of some network service not properly working because they started when the network was misconfigured. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] windows vm
>>>>> "TJV" == Tuomo Juhani Varis writes: TJV> There's a nice example here that you can adapt to mach your TJV> set-up: TJV> http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines Nice job indeed! Kudos ! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] windows vm
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> Hi Can someone share his experience in using Windows vm under XEN ZAS> and with ONE ? specially the contextualization process Call it Pain in the A**. I think that "the theoretical solution" is a powershell script that parses the context and does thre required settings. Chances are that you are in contact with someone with such power shell skills... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Java OCA binding and a proxy between client and server
>>>>> "DM" == Daniel MOLDOVAN writes: DM> Hi, Sorry for missing the previous mail regarding OCCI behind DM> proxy. DM> The problem could be in the Java client or in the OCCI server. Thank you for the solution! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Java OCA binding and a proxy between client and server
>>>>> "CC" == Gian Uberto Lauri < > writes: CC> Hello gentlemen, What should I do when, using java binding for CC> OCA, there is a proxy between the client and the server? It seems CC> that starting the tomcatwith the CC> -Dhttp.proxyHost=$HOST\ -Dhttp.proxyPort=$PORT\ CC> -Dhttp.proxyUser=$USER\ -Dhttp.proxyPassword=$PASS Am I the only one that needs to use the OCA bindings for Java throught a proxy? As I said, the use of these symbol definitions: -Dhttp.proxyHost=$HOST -Dhttp.proxyPort=$PORT\ -Dhttp.proxyUser=$USER -Dhttp.proxyPassword=$PASS does not work (the OCA client fails to contact the remote ONED). -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Java OCA binding and a proxy between client and server
Hello gentlemen, What should I do when, using java binding for OCA, there is a proxy between the client and the server? It seems that starting the tomcatwith the -Dhttp.proxyHost=$HOST\ -Dhttp.proxyPort=$PORT\ -Dhttp.proxyUser=$USER\ -Dhttp.proxyPassword=$PASS symbols defined does not work... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Again a question about the use of Java
Hello gentlemen! Let's assume that I have an OCCI server that controls OpenNebula with OCA (the OCCI accepts OVF messages, that's why I don't use OpenNebula own OCCI). Let's assume that users are authenticated by means of a client certificate in an HTTPS connection. How could I create an OCA Client object whith the informations I have in the certificate? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] occi for Opennebula 3
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> any update on occi for OpenNebula 3? None. I CAN NOT SWITCH to Open Nebula 3 at this time. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] What happens to JAVA OCA if I turn on certificate based authentication ?
On 11/15/11 18:51, Carlos Martín Sánchez wrote: Hi, 2011/11/11 Gian Uberto Lauri mailto:sa...@eng.it>> Sorry, I do not get you. The Client class in Java OCA wants an user name and a secret in version 2 and also in version 3 if I am not wrong. Take a look at the javadoc: both parameters can be null, or you can use the constructor without any parameters: http://opennebula.org/doc/3.0/oca/java/org/opennebula/client/Client.html#Client%28%29 Thank you! I know how Client class works, and you just confirmed me what I knew. I will have to keep basic authentication and build up a "local password" look-up for user already authenticated by their certificate. That means that either I kill Sunstone or I hack it to do the same kind of authentication: I don't want these "local passwords" go around the Internet, or else I was not going to use certificate authentication. "local password": something I choose and remain within our server(s). The user has her cert to authenticate herself. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] What happens to JAVA OCA if I turn on certificate based authentication ?
Sorry for re-sending this message, but I need a reply soon. On Nov 28 I should have something working. >>>>> "Cc" == Gian Uberto Lauri writes: Cc> On 11/11/11 19:05, Carlos Martín Sánchez wrote: >> Hi, >> >> It should read the token generated by 'oneuser login' and keep >> working as usual. Cc> Sorry, I do not get you. The Client class in Java OCA wants an Cc> user name and a secret in version 2 and also in version 3 if I am Cc> not wrong. Cc> So, how does authentication work when I use that such a Client Cc> instance to contact OpenNebula from within a Java program ? Cc> The Java Program shells out oneuser? And with which credentials? Cc> Or may I have both base authentication and, say LDAP? It seems I Cc> can't have both base and X509 based authentication if I got well Cc> the docs from release 3. Cc> I am asking these questions because I am working on an OCCI front Cc> end that accepts OVF messages and uses OCA to contact OpenNebula, Cc> acting as a sort of translator OVF->Template. Cc> Now we are building the authentication part. The OCCI front end Cc> uses certificates based authentication when receiving an user Cc> request, and then it must authenticate itself in OpenNebula with Cc> an identity matching that of the user that did the original Cc> request. Cc> Cutting out any other access to OpenNebula rather than this OCCI Cc> front-end could solve the problem easily, but if I want to let Cc> some users access to the cloud through Sunstone the original Cc> solution does not work well... Best regards. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] What happens to JAVA OCA if I turn on certificate based authentication ?
On 11/11/11 19:05, Carlos Martín Sánchez wrote: Hi, It should read the token generated by 'oneuser login' and keep working as usual. Sorry, I do not get you. The Client class in Java OCA wants an user name and a secret in version 2 and also in version 3 if I am not wrong. So, how does authentication work when I use that such a Client instance to contact OpenNebula from within a Java program ? The Java Program shells out oneuser ? And with which credentials ? Or may I have both base authentication and, say LDAP ? It seems I can't have both base and X509 based authentication if I got well the docs from release 3. I am asking these questions because I am working on an OCCI front end that accepts OVF messages and uses OCA to contact OpenNebula, acting as a sort of translator OVF->Template. Now we are building the authentication part. The OCCI front end uses certificates based authentication when receiving an user request, and then it must authenticate itself in OpenNebula with an identity matching that of the user that did the original request. Cutting out any other access to OpenNebula rather than this OCCI front-end could solve the problem easily, but if I want to let some users access to the cloud through Sunstone the original solution does not work well... Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org <http://www.OpenNebula.org> | cmar...@opennebula.org <mailto:cmar...@opennebula.org> | @OpenNebula <http://twitter.com/opennebula> <mailto:cmar...@opennebula.org> On Fri, Nov 11, 2011 at 5:20 PM, Gian Uberto Lauri mailto:sa...@eng.it>> wrote: Hello gentlemen! JAVA OCA Client object relies on the user/secret authentication. What happens to OCA when one turns on an external mean of authentication, maybe certificates or LDAP? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] What happens to JAVA OCA if I turn on certificate based authentication ?
Hello gentlemen! JAVA OCA Client object relies on the user/secret authentication. What happens to OCA when one turns on an external mean of authentication, maybe certificates or LDAP? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Ani changes in OCA from 2.2 to 3.0 ?
Hello gentlemen! For the Venus-C project I am writing an OCCI implementation that uses OVF and talks to OpenNebula thorught OCA. Another project using the same cloud infrastructure prevents me, at this time, to upgrade the instgallation. I would like to know if there are known issues in using an application developed with the Java OCA client for version 2.2.1 with a 3.0 OpenNebula installation ? Thank you in advance for the replies. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Mapping OpenNebula VM status to Libvirt like ones
Hello gentlemen! The project I am working in choosed the libvirt set of status codes with one added (machine ready and accepting SSH connections). Do you think that the mapping you read from this code has any problem ? // No matter what, if LCM status in UNKNOWn // we return NOSTATE if(lcmStatus == LcmStatusCodes.UNKNOWN) return State.NOSTATE; // Else, we return the libvirt state that maches // OpenNebula VM state according to this assignment switch(vmStatus) { case VmStatusCodes.INIT: break; case VmStatusCodes.PENDING: rv = State.NOSTATE; break; case VmStatusCodes.HOLD: rv = State.BLOCKED; break; case VmStatusCodes.ACTIVE: rv = (gotPort22Connection) ? State.RUNNING_READY : State.RUNNING; break; case VmStatusCodes.STOPPED: rv = State.SHUTOFF; break; case VmStatusCodes.SUSPENDED: rv = State.PAUSED; break; case VmStatusCodes.DONE: rv = State.SHUTOFF; break; case VmStatusCodes.FAILED: rv = State.CRASHED; break; default: rv = State.NOSTATE; } Thank you ion advance! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VM status numerical codes.
Hello there. I need to understand the VM status in an OCA reply. I know I can read the code, namely this snippet from VirtualMachine.rb and see what's the index of the label shown by the onevm list command, but is there a more authoritative definition ? Code changes:). The same question holds for the Life Cycle :). -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Binding VMs to clusters, maybe on a per user policy
Hello gentlemen! I know that OpenNebula has REQUIREMENTS that can bind a VM to a certain cluster. But I have this problem. We will allow users to create VMs using an OCCI+OVF implementation Engineering is writing for the Venus-C project. At first I thought that adding the requirement on the fly would have done the work since I needed to redirect the all the VMs created with OCCI+OVF to a single cluster, but this could be a bad choice for general usage, so I started wondering if there were already hooks to get the scheduler choose the right cluster for a certain user ? Or should I use Haizea ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] A couple of questions about definition file
>>>>> "RSM" == Ruben S Montero writes: RSM> Hi, On Wed, Sep 14, 2011 at 3:48 PM, Gian Uberto Lauri RSM> wrote: >> Hello gentlemen, >> >> can someone explain a couple of thigs about the "Disk" section of >> the definition file ? >> >> >> First, why should I define a source property for a disk created on >> the fly ? >> RSM> You shouldn't. Only SIZE and FORMAT are needed for FS types But from the documentation it seems that such information is needed for swap files too, and also swap files are created on the fly. RSM> I guess you are asking for block types. This is use to let know RSM> the hypervisor that the image is a block device. The transfer RSM> manager scripts are used to setup the block device in the hosts RSM> (e.g. the LVM driver...) Thank you very much! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] A couple of questions about definition file
Hello gentlemen, can someone explain a couple of thigs about the "Disk" section of the definition file ? First, why should I define a source property for a disk created on the fly ? And what should be a block device ? Some kind of mapping to a real world blockl device ? Thank you in advance. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] kvm import
Sure! Just write a template with the right infos for disk images, memory size and assigned CPUs. For the network part, assign the current MAC & IP addresses, or just omit the IP, let oned choose one & ignore it, but you must take care not to use an IP oned may still assign to another VM that honors OpenNebula decisions, i.e. through context or DHCP. Please read OpenNebula documentation about VM templates. -- Gian Uberto On 19.08.2011, at 19:58, Jeremy Knapp wrote: > Is there a way to import an existing kvm vm into opennebula? > > Thanks, > > Jeremy > ___ > 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
[one-users] Is P-Series support planned ?
Is the support of the P-Series virtualization environment in the plans of OpenNebula ? Thank you in advance -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] A question about contextualization
Hello all! I have some problems understanding which kind of path is that in the examples published in http://www.opennebula.org/documentation:rel2.2:cong when describing the VM contextualization. Are these absolute paht ora are they relative to ~oneadmin ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] [A BIT URGENT] Re: Remotes dir on a System wide installation
>>>>> "CC" == Gian Uberto Lauri writes: CC> According to CC> http://opennebula.org/_media/documentation:rel2.0:one-directories-rootmode.png CC> the 'remotes' directory full path should be CC> /usr/lib/one/remote. What could I have done wrong to get oned try CC> to find it in /var/lib/one ??? Furthermore I get this in oned.log [InM][E]: Command execution fail: 'if [ -x "/im/run_probes" ]; then /im/run_probes kvm marge; else exit 42; fi' 1) who is [InM] ? 2) it seems a path problem. How could I fix it ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Remotes dir on a System wide installation
According to http://opennebula.org/_media/documentation:rel2.0:one-directories-rootmode.png the 'remotes' directory full path should be /usr/lib/one/remote. What could I have done wrong to get oned try to find it in /var/lib/one ??? Thank you in advance for any suggestion. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] can't livemigrate VMs
>>>>> "s" == samuel writes: s> About the other error, failed to connecto to the hypervisor, I can s> not help much but it seems as if there is no hypervisor running and s> you should check the installation and the running processes on all s> nodes. Some distributions do not create the simlink /usr/bin/kvm -> /usr/libexec/qemu-kvm Then check for the kvm kernel modules and finally check if RH default firewall and SE Linux are there to create problems (remove RH firewall rules and disable SE linux). -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCA XML-RPC output
>>>>> "CMS" == Carlos Martín Sánchez writes: CMS> You could however assume the contents if you force the VM CMS> creation to be only done using your OVF to OCA server; or if you CMS> limit the VM information retrieval to work only for VMs created CMS> from your code. This restriction may hold. I will do a sorting of the elements and re-generate the stuff with xjc :) CMS> Yes, after doing some tests it looks to me that the XML is not CMS> modified in any way by Ruby. ¡Muchas gracias Carlos! Best regards. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OCA XML-RPC output
Hello all, I am writing an OCCI implementation that accepts OVF for the Venus-C research project. This implementation parses OVF and uses the extracted informatios to build the input fir the appropriate OCA api. /compute works using OCA allocate(), now I am working on /compute/[id] that will use OCA info(). This call returns an XML that I have to translate into an OVF. I choosed to parse this XML using xjc to compile xsd definitions into Java classes. I downloaded the xsd from the hyperlink in the XML-RPC page, but the definition for VMs (i.e. the answer of the info() OCA api) is too coares, and I need to parse at least some of the tags inside the tag to get finer grained informations. So I have to change the xsd I downloaded. This lead to this question: May I assume that tag order is fixed inside ? so that the content may be defined by a ? And does this hold even for the content of , and ? Common sense says that Ruby should not execute its instruction out of order, so the order is fixed and some elements may or may not appear, but the order should not change. Can you confirm this ? Thank you in advance. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] A Libvirt issue (again)
>>>>> "CC" == Gian Uberto Lauri writes: CC> Some time ago I sent a post about migrations failing due an CC> "error: operation failed: failed to parse XML" error. And some $random_idiot forgot he gave the solution himself, out of sheer luck. This time the same $random_idiot got the source deep in the thread he started months ago. For those curious: libvirt, when your kvm modules are not properly set, will tell you that fails in parsing the XML. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] A Libvirt issue (again)
Some time ago I sent a post about migrations failing due an "error: operation failed: failed to parse XML" error. Someone said it was due a too large context and a known bug in libvirt. I don't know if a 55M context is large, but is a solution/workaround know for this problem ? The most annoyng thing is that 4 out of six nodes work perfectly, the remaining 2 where added recently, allow virsh connection in both directions but both give this error attempting any kind of migration :(. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VMWare DATASTORE with iSCSI
>>>>> "TV" == Tino Vazquez writes: >> I did some tests using GFS2, with all the nodes in a single >> cluster. I used the NFS driver without any problem. TV> Nice!! If I may ask, with which hypervisor? KVM. As I said elsewere, clusters can become unstable without a fencing device (and possibly without a proper sysadmin), but this is **totally outside** OpenNebula or libvirt responsibility. When you have a good cluster yuo could achieve better performances. OpenNebula team could start thinking about supporting directly an even better solution, the clustered lvm (that's under clustered gfs anyway): Bot front end and nodes see the same clustered volume group through iSCSI/fiberchannel andthe frontend governsremotely the mounting/unmounting of the logical volumes during migrations and logical volumes distructions. This does not cover ALL the LVM usages, but for sure covers the most useful configuration for a clustered volume group on a SAN. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI Storage
>>>>> "TV" == Tino Vazquez writes: TV> We just learned lately that it is possible to have the same volume TV> exported to different nodes, so in theory you can use the TM_NFS TV> drivers in conjunction with distributed FS like GFS2. Beware, there could be problems there due the presence of clustering software that show problems without a proper fence device (and possibly a proper sysadmin :) ). ** But this is not bound to OpenNebula at all. ** There is nothing that says that the NFS driver can't work: in both situation user programs and shell scripts see a directory in the file system and, as far as the userland programs are concerned, these are simply directory in the file system. And as far as I know OpenNebula tools are (fine) members of the userland. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] FORMAT mandatory in Virtual Machine desctription ?
>>>>> "RSM" == Ruben S Montero writes: RSM> Hi Gian, It says it is mandatory for fs types. This is, DISK that RSM> are created and formated on-the-fly in the target host. Thank you. I did not got it fully, my fault, thank again for your help. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] FORMAT mandatory in Virtual Machine desctription ?
This documentation page http://www.opennebula.org/documentation:rel2.2:template states that the FORMAT attribute is mandatory in a DISK section, but the OS KNOWS the format of a disk it is going to mount, while for the physical node and OpenNebula this information seems useless. Could you confirm that the attribute is mandatory ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VMWare DATASTORE with iSCSI
>>>>> "TV" == Tino Vazquez writes: TV> iSCSI only allows mounting one part of the disk per TV> host. Sorry ? Are you meaning that only one host may mount a partition throught iSCSI ? I would comment that is a limitation of a certain iSCSI san, since EMC2 let me mount the same partition on several hosts, warning me that I have to use a shared F.S. TV> We can provide support to the development to such a driver if TV> anyone is up for the challenge, and will be more than happy to TV> evaluate it and include it as a component in the ecosystem. I did some tests using GFS2, with all the nodes in a single cluster. I used the NFS driver without any problem. I have to disable this installation in the near future and could discard this setup since I lack a true fence device and the cluster may get unstable... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI version
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> Actually i am writing for venus_c a connecter/wrapper of OCCI-OVF ZAS> using Plain OCCI of Opennebula .. Was not it OCA that to use in OpenNebula ? Wrapper for wrapper OCA allows a closer translation ... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] usermod libvirtd start -·-error-·-
>>>>> "MM" == Marco Mirabile writes: MM> usermod libvirtd start usermod: user 'start' does not exist Issuing the command 'man usermod' you can access the manpage for usermod and learn that usermod just changes the 'account files' (in this case /etc/groups). MM> Does OpenNebula requires libivrt running? How do I start libvirt? OpenNebula does need libvirt running, and require a proper certificates setup to handle live migration (at least with the NFS drivers). libvirtd (d is for daemon, that is the libvirt daemon[1]) is started either issuing /etc/init.d/libvirtd start -this is the old way, works always- or service libvirt start -a new, windowish way. requires the service command - I admit that the chkconfig command is really useful for (de)activating the automatic start of a daemon ad boot time. [1] in Unix jargon a daemon is a program that runs in background without a controlling tty. Windows call such programs 'services'. Unix wisely knows that the service is what the daemon offers :).\ -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Java OCA: poor choiche of Exception class
According to the last update in issue #572 >>>>> "r" == redmine writes: r> Issue #572 has been updated by Ruben S. Montero. r> Target version changed from Release 2.2 to Release 2.4 r> This is initially scheduled for 2.4 does the OpenNebula team plan to include my contribution in the code, and if yes, which kind of exception (the Error or the Runtime Exception) ? I ask this because I am working on a OVF aware OCCI implementation that relies on the OCA API (for Venus-C) and I wonder if I can use my modified code now or this spells trouble. Zeeshan, your opinion is welcome, too! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Authentication ldap and authdb issues
>>>>> "SN" == Steffen Neumann writes: SN>Does that mean the users have to put their passwds in plain SN> text into their homedir ?? This would be a gaping security hole. They should be readable by the user only, like private keys in SSH, I think... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Java OCA: poor choiche of Exception class
>>>>> "CMS" == Carlos Martín Sánchez writes: CMS> Hi Gian Uberto, Thank you for your feedback. As you may know, we CMS> use mainly our Ruby bindings for external tools and extensions, CMS> so these comments about the Java API are very welcome. Please CMS> feel free to open a ticket in our development portal [1], along CMS> with any other comments, suggestions or patches. Ticket #572 has been created. There are two version of the Error I add. The firs one uses java.lang.Error that is more appropriate but breaks the legacy code. A second version does not change the class name (is an Error after all) but extends RuntimeException since you should not write a catch code for it, you should provide valid resources for the program to run correctly. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Suggestions for parsing OCA output
Hello All! Does someone has any suggestion about how to parse the results of the OCA methods ? Did I lost some xsd I can use to build the code to parse these strings ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF to OCA mapping or OVF server ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> I know we have to roll this under Venus C , But let ask if ZAS> opennebula is doing it as well so that we shd not reinvent the ZAS> wheel Sadly, I knew the answer you got on the list :(. About the image: ftp://ftp.eng.it/out/quickposta.tar.bz2 This is an URL to a vm (raw, not qcow) with a toy mailserver, feel free to use it, is all free software. Documentation for the toy mailserver is available on request, but it's in Italian. The VM was made by my wife to help coders in writing mail-sending code (aka: avoid that bugs cause the birth of wild spamming monsters :)). root pwd is quickposta. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF to OCA mapping or OVF server ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> Hi, Any plan by opennebula team to launch OVF server like OCCI ? ZAS> for OVF to OCA mapping for example .. I am starting to work on something like this ... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sharing ubuntu contextualized VM ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> Hi, Any one willing to share Ubuntu contextualized VM ? Got a Debian qcow, 2.0G size. Are you interested in ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] mysql support not compiled ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> with mysql=yes i am getting this include/MySqlDB.h:37:19: error: ZAS> mysql.h: No such file or directory include/MySqlDB.h:82: error: ZAS> ISO C++ forbids declaration of 'MYSQL' with no type ZAS> include/MySqlDB.h:82: error: expected ';' before '*' token ZAS> but i could not find mysql.h ? both in 2.0.1 and 2.2 It seems you need mysql-devel packages (RH derivatives) or libmysql*-dev (Debian derivatives). -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Java OCA: poor choiche of Exception class
>>>>> "CC" == Gian Uberto Lauri writes: CC> Hello, I just started to use OCA and immediately had the bad CC> surprise to find an "Exception" thrown by Client class CC> instantiation. One thing I forgot in the previous message: I know people in Apache Software Foundation do such raw Exception throwing as natinal sport, but in my (again not so) humble opinion, ASF java coders are next in line after the Sirius Cybernetic Corporation Marketing Division. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Java OCA: poor choiche of Exception class
Hello, I just started to use OCA and immediately had the bad surprise to find an "Exception" thrown by Client class instantiation. Peeking in the code, I discovered that the Client class throws it when it does not find two mandatory resources, the $ONE_AUTH file and the SHA-1 algorithm. In my (not so) humble opinion, the use of the raw Exception is not meaningful enought, the use of a OneSetupException would have add NO testing or correctness complication and could be more useful for the coder. Furthermore, I think these are Errors, not Exceptions since you have no way to recover from one with a try/catch, you have to stop the VM, correct the setup and restart. Should I fill an update request/provide a contribution or there's no chanche that this will enter in the code ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF over OCCI or OCA ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> So that is what i mean you need to provide OVF WS like ZAS> OCCI-Server Yes. Or a REST server. In this way the same client program can contact different OVF servers with different technologies. I think that this is better than the other solution, to use the network awareness of the occi commands and to wrap it in a java executable: or you do a wrapper that detects which program to wrap to contact which remote server or you force the user to use different clients... -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF over OCCI or OCA ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> On 03/21/2011 12:16 PM, Gian Uberto Lauri wrote: >>>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> We need an OVF wrapper, When i looked into a sample wrapper of ZAS> EMOTIVE (may be some of you already familar with). It was based ZAS> on Java . >> >> [... omissis ...] >> ZAS> 3) if i use java wrapper code how easy it is to call it from Ruby ZAS> ? >> >> I think the problem does not exist, IMVHO, since you can call ruby >> from Java either by building a REST proxy or invoking occi >> commands. >> ZAS> But you need a OVF based webservice which Users can connect to ZAS> plus you will need OVF client as well like OCCI . [client] ---> WS ---> [ OVF wrap (java) ] ---> exec'n'wait ---> occi command Client could be a java application, a shell script, a c program, an assembler program... :) -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF over OCCI or OCA ?
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> We need an OVF wrapper, When i looked into a sample wrapper of ZAS> EMOTIVE (may be some of you already familar with). It was based ZAS> on Java . [... omissis ...] ZAS> 3) if i use java wrapper code how easy it is to call it from Ruby ZAS> ? I think the problem does not exist, IMVHO, since you can call ruby from Java either by building a REST proxy or invoking occi commands. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] occi-server fails to start
>>>>> "DM" == Daniel Molina writes: DM> OpenNebula 2.2 beta1 includes that fix. I just downgraded from 2.2 for sake of compatibility with other members of GAMES and VENUS-C. :) :) Manual patching successful and quite easy, cut, paste and a search and replace with regexp to remove line numbers: glory to the True One Editor, may its name always be blesses :) :) -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] occi-server fails to start
>>>>> "DM" == Daniel Molina writes: DM> That problem was fixed in this commit: http://dev.opennebula.org/projects/opennebula/repository/revisions/d6f52231efa689ad332a7e01ca6546a59e987721 Excuse the question, where does print_xml come from :) ? I am working with RPMs, so I am patching single files... Is there an RPM with this fix ? Thank you in advance! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] occi-server fails to start
>>>>> "CC" == Gian Uberto Lauri writes: CC> /usr/bin/occi-network:201: uninitialized constant CC> REXML::Formatters (NameError) -bash: no: command not found occi-storage suffers from the same problem: occi-storage -M --url http://localhost:4567 --username oneadmin --password oneadmin create flox.xml # /usr/bin/occi-storage:203: uninitialized constant REXML::Formatters (NameError) (the image was created) -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] occi-server fails to start
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> Hi Saint, tell us on list if the solve the issue for archive ZAS> Zeeshan ZAS> On 03/16/2011 04:42 PM, Daniel Molina wrote: >> Hi, >> >> There is a compatibility problem with last versions of sinatra and >> rack using ruby 1.8.7. >> >> You can fix this issue in two ways: >> 1. Upgrading ruby to 1.9 >> 2. Downgrading rack version to 1.2.0: >> # gem uninstall rack >> Select gem to uninstall: >> 1. rack-1.0.0 >> 2. rack-1.0.1 >> 3. rack-1.2.1 >> 4. All versions >>> 4 >> # gem install rack --version '1.2.0' >> Successfully installed rack-1.2.0 >> 1 gem installed >> >> Hope this helps It solves the problem. Now there's another. I tried to feed this [oneadmin@church ~]$ cat rete.xml MyPaperone 192.168.1.1 200 to occi-network and it creates the network and then exits with an error as in the example below. [oneadmin@church ~]$ if occi-network --url http://localhost:4567 --username oneadmin --password oneadmin create rete.xml > then > si > else > no > fi /usr/bin/occi-network:201: uninitialized constant REXML::Formatters (NameError) -bash: no: command not found The "-bash: no: command not found" was an _expected_ error, the above example was a quick test meant to test the return code of the program (that is clearly non 0), while /usr/bin/occi-network:201: uninitialized constant REXML::Formatters (NameError) was not :). -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] occi-server fails to start
Host OS: CentOS 5.5 Environment: OpenNebula 2.0.1 When I give the occi-server starts, the program fails and the log contains: [root@church ~]# cat /var/log/one/occi-server.log /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in `union': can't convert Array into String (TypeError) from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/request.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:3 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' ... 7 levels... from /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.0/lib/sinatra.rb:4 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/one/ruby/cloud/occi/occi-server.rb:45 [root@itpsmenc039 ~]# cat /var/log/one/occi-server.log /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union': can't convert Array into String (TypeError) from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/request.rb:1 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/showexceptions.rb:3 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' ... 7 levels... from /usr/lib/ruby/gems/1.8/gems/sinatra-1.2.0/lib/sinatra.rb:4 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/one/ruby/cloud/occi/occi-server.rb:45 (church is an i386, itpsmenc039 an x86_64) How can I fix it ? Thank you in advance -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] hypervisor name error
>>>>> "JF" == Javier Fontan writes: JF> Hi, It seems you are using a configuration file from 2.2. The part JF> from 2.0 conf file for vmm_kvm is this one: True. It seems I picked the wrong package :(. Thank you very much Javier! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] hypervisor name error
I fumbled with icedove (I usually use Emacs) and sent the reply to Javier only, while someone in the list could be interested. Excuse me Javier for the double message! Original Message Subject: Re: [one-users] hypervisor name error Date: Sun, 13 Mar 2011 21:37:01 +0100 From: Gian Uberto Lauri Reply-To: sa...@eng.it To: Javier Fontan On 03/11/11 23:27, Javier Fontan wrote: Can you send us the start of oned.log where the configuration variables are written? Hello Javier! Of course, I can! Here it is: Sun Mar 13 01:04:11 2011 [ONE][I]: Init OpenNebula Log system Sun Mar 13 01:04:11 2011 [ONE][I]: Log Level: 3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Sun Mar 13 01:04:11 2011 [ONE][I]: Sun Mar 13 01:04:11 2011 [ONE][I]: OpenNebula Configuration File Sun Mar 13 01:04:11 2011 [ONE][I]: Sun Mar 13 01:04:11 2011 [ONE][I]: -- DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=oneadmin,PORT=3306,SERVER=heidi,USER=oneadmin DEBUG_LEVEL=3 DEFAULT_DEVICE_PREFIX=hd DEFAULT_IMAGE_TYPE=OS HM_MAD=EXECUTABLE=one_hm HOST_MONITORING_INTERVAL=600 IMAGE_REPOSITORY_PATH=/var/lib/one IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm MAC_PREFIX=02:00 MANAGER_TIMER=15 NETWORK_SIZE=254 PORT=2633 SCRIPTS_REMOTE_DIR=/var/tmp/one TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs VM_DIR=/var/lib/one VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm VM_POLLING_INTERVAL=600 VNC_BASE_PORT=5900 I have a 64 bit CentOS sitting side by side and it works fine. I just checked this part with an interactive diff and there are no differences. Thank you in advance for your help. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] hypervisor name error
Hello, I just set up a frontend using the opennebula-2.0-1.i386.rpm to replace the previous frontend that worked perfectly on a 64 bit xeon. I noticed that in building the name for the remote scripts, it uses '-t' instead of 'kvm' as in the following log lines: Message received: LOG - 8 bash: /tmp/one/vmm/-t/deploy: No such file or directory furthermore i see this message occurring several times in the logs: Fri Mar 11 17:27:47 2011 [InM][D]: Host 9 successfully monitored. Fri Mar 11 17:27:47 2011 [ONE][E]: syntax error, unexpected $end, expecting VARIABLE at line 2, columns 1:2 Fri Mar 11 17:27:47 2011 [InM][E]: Error parsing host information: What could I have done wrong ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF support
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> So basically it is ok to use Claudia with One ? Zeeshan Yes, it is. As soon as I get the code from Barcelona I will forward it to you. Zeeshan, please accept my most sincere apologies for being so brief in my replies, being late with them and more. But I spent a lot of time working on the infrastructure for projects I am neither assigned to, simply because changing such infrastructure is required by other projects (mine included) and I am the sysadmin since I am the one who 'understands Unix (and GNU/Linux)'. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OVF support
>>>>> "ZAS" == Zeeshan Ali Shah writes: ZAS> what are the ways to support OVF in One ? Does Claudia is the ZAS> only option ? There could have been a problem with the license if the Mozilla P.L. was clashing with others in OpenNebula, but it is not the case. And we will not use other parts that require explicit permission from telefonica. Why Claudia ? Because we can obtain the code from within the project and not have to write it. I am a bit sorry to be forced to say this, but I am a bit busy lately: after 10 years as a developer I was rocketed in the "head sysadmin" chair for R&D, and there is some mess to clean up :). I had no time to explore other solutions :(. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] OpenNebula & cluster LVM
Hello there! I have some machines that all access the same clustered volume group hosted by a SAN. LVM driver say they do not support migrate and stop, but in this situation the image should not move, at most one machine umounts the lv and the other mounts. In this situation, which could be the best "patch" to the .../tm_commands/lvm/tm_mv.sh driver script in order to support migration and stop in this specific case ? Thank you in advance. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] What's available about the LVM backend ?
>>>>> "CC" == Gian Uberto Lauri writes: CC> The web site is not very promising: Stop/Migration: These CC> features have not been implemented for this Transfer Manager, CC> since they depend strongly on the scenario. Limitations confirmed :(. Anyway, I would work with a clustered volume group, that is every node sees the same VG, and that is very close to NFS case where everybody see the same thing. Is it safe then, to assume that tm_mv it's a no op ? I would like avoid using a distributed fs and keep my VMs on a logical volume, and since all nodes share the volume group, migration and stopping should be a no-op... Or am I wrong ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] What's available about the LVM backend ?
Hello all! What's available for the LVM backend ? I recall something from the course in Bruxelles but I'm unable to find something in the slides... The web site is not very promising: Stop/Migration: These features have not been implemented for this Transfer Manager, since they depend strongly on the scenario. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research & Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM IP address
There could be several reason for your problem. - The vm could fail to read the context correctly, therefore does not bring up the nic or does not do it with the right IP (use VNC to check with ifconfig). Even if OpenNebula allocates the IP, is up to the VM to transform the context into a network configuration. - There's nothing routing the traffic to the VM even if it gets correctly the IP from the context. This is a problem in the network configuration of the nodes running the VM. Sent from my iPhone On 26/gen/2011, at 07:41, Taylor Tay wrote: > Hi all, > > My VM template is as follows: > > NAME = "Ubuntu" > CPU = 1 > MEMORY = 768 > > OS= [ >source = "home/oneadmin/ubuntuServer10.04.img", >target = "hda" >readonly = "no" > > NIC = [ NETWORK = "Small network" ] > > FEATURES=[ acpi="no" ] > > GRAPHICS = [ > type = "vnc", > listen = "localhost", > port = "5906" ] > > > NEXT is my VNET template: > > NAME = "Small network" > TYPE = FIXED > > BRIDGE = br0 > > LEASES = [ IP="172.20.134.147"] > LEASES = [ IP="172.20.134.148"] > LEASES = [ IP="172.20.134.149"] > > > i did a onevnet show when the vm is running to check which IP is allocated to > it but i'm not able to ping to the allocated IP. The ping can only be done > when i vnc in using the host to reboot the vm to get the correct IP > generated. The oned.log did not indicate any errors. Would like to know > whether is my configuration wrong? Thanks to all for helping me out. > > Regards > Taylor > > > ___ > 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] Problem with my own VM opennebula
Quoting "CLABAUT, Emmanuel" : ok so I need to set up a dhcp server on my front end ? Because when i make a onevm show of my vm, i can see its ip address You see the IP that OpenNebula as leased, but it did not do it with a DHCP server. The virtual machine itself does not know anything about that IP address -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Divisione Ricerca ed Innovazione / Research & Innovation Division gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem with my own VM opennebula
"CE" == CLABAUT, Emmanuel writes: CE> Hello everybody, I have set up opennebula, and it works CE> perfectly. But only with the ttylinux.img. I can deploy it, ping CE> it, ssh into it, everything is ok. But i have also create an CE> image with kvm on which i install ubuntu server 10.10. And when I CE> put on opennebula this image, i can run a vm but i can't ping it CE> or ssh into it. You should provide a DHCP server or change the image so that, at the first boot, it mimicks ttylinux behaviour, afaik -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Divisione Ricerca ed Innovazione / Research & Innovation Division gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot connect to VM
"CH" == Christophe Hamerling <- Petals Link > writes: CH> Ok, so I will check that the generated IP is the one expected from CH> the leases list based on this script algorithm. Is the VM is CH> exploded somewhere at startup? If yes, where? No, it is not. A _new_, temporary "cd image" is created on the fly and mounted at the first boot, AFAIK. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Divisione Ricerca ed Innovazione / Research & Innovation Division gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot connect to VM
[My apologies for breaking the threading informations] CH> What I understand is that the init.sh script provided in CH> http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz CH> is just useful in context based VM and is not used in my case. CH> Where can I look to the VM configuration file once it is started? CH> Is iy exploded somewhere so I can have a look to files? The content of the script that's run on the first boot of the VM after sourcing the file in the iso image: --8<--- #!/bin/bash # # chkconfig: 2345 10 90 # description: network reconfigure # # -- # # Copyright 2002-2009, Distributed Systems Architecture Group, Universidad # # Complutense de Madrid (dsa-research.org) # ## # Licensed under the Apache License, Version 2.0 (the "License"); you may# # not use this file except in compliance with the License. You may obtain# # a copy of the License at # ## # http://www.apache.org/licenses/LICENSE-2.0 # ## # Unless required by applicable law or agreed to in writing, software# # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and# # limitations under the License. # #--- # # Gets IP address from a given MAC mac2ip() { mac=$1 let ip_a=0x`echo $mac | cut -d: -f 3` let ip_b=0x`echo $mac | cut -d: -f 4` let ip_c=0x`echo $mac | cut -d: -f 5` let ip_d=0x`echo $mac | cut -d: -f 6` ip="$ip_a.$ip_b.$ip_c.$ip_d" echo $ip } # Gets the network part of an IP get_network() { IP=$1 echo $IP | cut -d'.' -f1,2,3 } get_interfaces() { IFCMD="/sbin/ifconfig -a" $IFCMD | grep ^eth | sed 's/ *Link encap:Ethernet.*HWaddr /-/g' } get_dev() { echo $1 | cut -d'-' -f 1 } get_mac() { echo $1 | cut -d'-' -f 2 } gen_hosts() { NETWORK=$1 echo "127.0.0.1 localhost" for n in `seq -w 01 99`; do n2=`echo $n | sed 's/^0*//'` echo ${NETWORK}.$n2 cluster${n} done } gen_exports() { NETWORK=$1 echo "/images ${NETWORK}.0/255.255.255.0(rw,async,no_subtree_check)" } gen_hostname() { MAC=$1 NUM=`mac2ip $MAC | cut -d'.' -f4` NUM2=`echo 00$NUM | sed 's/.*\(..\)/\1/'` echo cluster$NUM2 } gen_interface() { DEV_MAC=$1 DEV=`get_dev $DEV_MAC` MAC=`get_mac $DEV_MAC` IP=`mac2ip $MAC` # dumping the values into the reddattish file cat < /etc/hosts # gen_exports $NETWORK > /etc/exports # gen_hostname $MAC > /etc/hostname ( cat < /etc/sysconfig/network-scripts/ifcfg-${DEV} #ifdown $DEV #ifup $DEV exit $RETVAL # /bin/hostname `cat /etc/hostname` --8<--- I have to investigate other means of accessing the VM console, since we plan to use OpenNebula to offer Windows virtualization and this script does not cope with Windows bootstrap process AFAIK. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Divisione Ricerca ed Innovazione / Research & Innovation Division gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot connect to VM
[My apologies for breaking the threading informations] "CH" == Christophe Hamerling <- Petals Link > writes: CH> On Tue, Dec 14, 2010 at 11:29 PM, CH> wrote: I think your problem is that the ttylinux VM does not configure its network card. I agree with this opinion. If the ttyLinux TCP/IP stack does not know what is the IP to use, it can not recognize inbound packets as such and will discard them. CH> I was really hoping that the VM provided there CH> http://www.opennebula.org/documentation:rel2.0:vmg works. So I CH> think (and hope) that I have a configuration issue or I do not CH> understand this part. What appens is that, for what I understood: The contextualization infos(*) are automatically inserted in a shell script contained in small iso9660 image that the ttyLinux instance mounts. (*) you do not need a "context" section in your vm definition, network values come from the network you defined. This script contains some variable definition, one of which holds the IP address leased to the vm; a script in ttyLinux will source this file and create the redhattish sysconfig/network-script file that will be used when the /etc/init.d/network start command is issued by init - throught the symbolic link in one of the rc(runlevel).d. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Divisione Ricerca ed Innovazione / Research & Innovation Division gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], Fax +39-049.8283.569 |(unix)["have"]+"fun"-0x60);} Skype: gian.uberto.lauri | David Korn, AT&T Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org