[one-users] Users Digest, Vol 32, Issue 39

Javier Fontan jfontan at gmail.com
Thu Oct 28 12:00:59 PDT 2010


Hello,

OpenNebula 1.4 uses only one sqlite database stored in the var directory.

Bye

On Wed, Oct 27, 2010 at 10:59 AM, 刘仁敏 <liurenminemail at gmail.com> wrote:
> hi,
>    how many databases  does opennebula in version1.4 use? can anyone list?
> thanks
>
> 2010/10/27 <users-request at lists.opennebula.org>
>>
>> Send Users mailing list submissions to
>>        users at lists.opennebula.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> or, via email, send a message with subject or body 'help' to
>>        users-request at lists.opennebula.org
>>
>> You can reach the person managing the list at
>>        users-owner at lists.opennebula.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Users digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: Problem with Networking on KVM with OpenNebula (tedbs)
>>   2. Re: one2 : save tag does not seem to work (Rich Wellner)
>>   3. Re: one2 : save tag does not seem to work (Olivier Sallou)
>>   4. Re: one2 : save tag does not seem to work (Javier Fontan)
>>   5. Re: [one-ecosystem] vmware deployment problem (Tino Vazquez)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 26 Oct 2010 10:59:09 -0400
>> From: "tedbs" <tedbs at gtsum.com>
>> To: <users at lists.opennebula.org>
>> Subject: Re: [one-users] Problem with Networking on KVM with
>>        OpenNebula
>> Message-ID:
>>        <F4C848D15281FD4B94F49AEEFD2CF53B1F3F98 at jeeves.GTSum.local>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> In the NIC try BRIDGE = br0
>>
>>
>>
>> Ted Bodfish
>>
>>
>>
>> From: Christoph Raible [mailto:chr.raible at gmail.com]
>> Sent: October-26-10 10:03 AM
>> To: users at lists.opennebula.org
>> Subject: [one-users] Problem with Networking on KVM with OpnenNebula
>>
>>
>>
>> Hi All,
>>
>> I tried to create a virtual machine with OpenNebula on a KVM-Host.
>> Creation and starting the VM's works perfect.
>>
>> Only the Netwirking doesn't work. When I create an Standalone vm with
>> virt-install all works fine.
>> My Current Version of Opennebula ist 2.0 RC1
>>
>> On my KVM-Host I have the following network configuration:
>>
>>
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> # The primary network interface
>> auto eth0
>> iface eth0 inet manual
>>
>> auto br0
>> iface br0 inet static
>>    address 141.28.xx.xxx
>>    netmask 255.255.255.0
>>    network 141.28.xx.x
>>    broadcast 141.28.xx.xxx
>>    gateway 141.28.xx.xxx
>>        bridge_ports eth0
>>        bridge_fd 9
>>        bridge_hello 2
>>        bridge_maxage 12
>>        bridge_stp off
>>
>> The VM is created by the following Template:
>>
>> NAME    = "KVM TEST"
>> MEMORY  = 512
>> CPU     = 1
>>
>> OS     = [ BOOT = hd  ]
>>
>> DISK     = [ SOURCE = /srv/cloud/images/kvm_test.qcow2,
>>        TARGET = sda ]
>>
>> NIC = [ MAC="00:ff:72:37:20:41",
>>        BRIDGE = eth0]
>>
>>
>> Did anyone of you have an idea where the Problem is?
>>
>> Thanks for your help
>>
>> Christoph Raible
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101026/54208f6e/attachment.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 26 Oct 2010 10:14:09 -0500
>> From: Rich Wellner <rkw at objenv.com>
>> To: Tino Vazquez <tinova at fdi.ucm.es>
>> Cc: users at lists.opennebula.org
>> Subject: Re: [one-users] one2 : save tag does not seem to work
>> Message-ID: <4CC6F041.4020806 at objenv.com>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Good deal!
>>
>> rw2
>>
>> On 10/26/10 9:02 AM, Tino Vazquez wrote:
>> > Hi Rich,
>> >
>> > I've put a note in the VM template definition section to warn about
>> > the attributes that will be ignored when using the Image Catalog.
>> >
>> > A template validator is totally within our roadmap, we will provide
>> > that in future releases for sure.
>> >
>> > Thanks and regards,
>> >
>> > -Tino
>> >
>> > --
>> > Constantino V?zquez Blanco | dsa-research.org/tinova
>> > Virtualization Technology Engineer / Researcher
>> > OpenNebula Toolkit | opennebula.org
>> >
>> >
>> >
>> > On Tue, Oct 26, 2010 at 3:39 PM, Rich Wellner<rkw at objenv.com>  wrote:
>> >> I have run into issues like this also, and would like to suggest that
>> >> more
>> >> than a documentation update needs to happen.  One should also either
>> >> abort
>> >> or, at least, throw a warning telling the user the his arguments are
>> >> going
>> >> to be ignored.
>> >>
>> >> rw2
>> >>
>> >> On 10/26/10 8:14 AM, Olivier Sallou wrote:
>> >>> ok, so it is rather an issue with documentation not really clear at
>> >>> http://www.opennebula.org/documentation:rel2.0:img_template.
>> >>> Page should specify that image template override vm template for disk
>> >>> related data.
>> >>>
>> >>> In my case, I do not want to save the VM, and I do not specify any tag
>> >>> to
>> >>> do so in image description. Though, image is saved anyway.
>> >>> In documentation, it is said that "save" is "no" by default at
>> >>> http://www.opennebula.org/documentation:rel2.0:template.
>> >>>
>> >>> Does it means that I should explicitly specify "save=no" in my image
>> >>> template?
>> >>>
>> >>> Here is my oneimage detail:
>> >>>
>> >>> IMAGE  INFORMATION
>> >>> ID             : 5
>> >>> NAME           : sampleraw2
>> >>> TYPE           : OS
>> >>> REGISTER TIME  : 10/25 18:59:12
>> >>> PUBLIC         : Yes
>> >>> PERSISTENT     : No
>> >>> SOURCE         :
>> >>>
>> >>> /local/one_images/nebula/images/0c2bdd685a6f0abe21b3fb2ba298083abcc5206c
>> >>> STATE          : rdy
>> >>> RUNNING_VMS    : 0
>> >>>
>> >>> IMAGE TEMPLATE
>> >>> DESCRIPTION=Sample suse raw file
>> >>> DEV_PREFIX=hd
>> >>> NAME=sampleraw2
>> >>> PATH=/path_to_my_appliance
>> >>>
>> >>> Thanks
>> >>>
>> >>> Olivier
>> >>>
>> >>> Le 10/26/10 2:29 PM, Tino Vazquez a ?crit :
>> >>>> Dear Olivier,
>> >>>>
>> >>>> When using the Image Catalog, and not the old method of specifying
>> >>>> the
>> >>>> full image path in the source attribute, the values of disk
>> >>>> attributes
>> >>>> "save" and "clone" are overridden by the Image Catalog inferring them
>> >>>> from the image properties (persistency, save_as).
>> >>>>
>> >>>> If you want to save the image when using the Image Catalog, either
>> >>>> make it persistent or, if you want to save it as another image, use
>> >>>> the save_as functionality.
>> >>>>
>> >>>> Best regards,
>> >>>>
>> >>>> -Tino
>> >>>>
>> >>>> --
>> >>>> Constantino V?zquez Blanco | dsa-research.org/tinova
>> >>>> Virtualization Technology Engineer / Researcher
>> >>>> OpenNebula Toolkit | opennebula.org
>> >>>>
>> >>>>
>> >>>>
>> >>>> On Tue, Oct 26, 2010 at 1:23 PM, Olivier
>> >>>> Sallou<olivier.sallou at irisa.fr>
>> >>>>   wrote:
>> >>>>> Hi,
>> >>>>> I have a template with:
>> >>>>> DISK   = [
>> >>>>>   image = "sampleraw2",
>> >>>>>   save = "no"
>> >>>>>    ]
>> >>>>>
>> >>>>> and when I do "onevm stop",  one still tries to save the vm on the
>> >>>>> frontend.
>> >>>>> (I also tried with save=no  instead of save="no").
>> >>>>>
>> >>>>> Should I create a bug for this or is there something wrong in my
>> >>>>> template?
>> >>>>>
>> >>>>> Thanks
>> >>>>>
>> >>>>> Olivier
>> >>>>> _______________________________________________
>> >>>>> Users mailing list
>> >>>>> Users at lists.opennebula.org
>> >>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>>>>
>> >>> _______________________________________________
>> >>> Users mailing list
>> >>> Users at lists.opennebula.org
>> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>>
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 26 Oct 2010 17:56:42 +0200
>> From: Olivier Sallou <olivier.sallou at irisa.fr>
>> To: Javier Fontan <jfontan at gmail.com>
>> Cc: users at lists.opennebula.org
>> Subject: Re: [one-users] one2 : save tag does not seem to work
>> Message-ID: <4CC6FA3A.5060503 at irisa.fr>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> in system-wide installation, the "save" of the image on frontend is done
>> in /var/lib/one.
>>
>> This directory is not configurable in oned.conf. This can be an issue
>> with disk size when many VMs are saved. Required storage can be huge.
>>
>> An option of course is to copy the content then to mount this directory
>> on an external file system (nfs or attached disk), but wouldn't it be
>> easier to be able to specify the location of saved data?
>>
>> Olivier
>>
>>
>> Le 10/26/10 3:18 PM, Javier Fontan a ?crit :
>> > Adding to that "stop" does not mean kill-the-vm. It will susped a VM
>> > and save its state/image in the frontend so it can be resumed in any
>> > other host. That's why it retrieves the image back to the frontend.
>> >
>> > On Tue, Oct 26, 2010 at 2:29 PM, Tino Vazquez<tinova at fdi.ucm.es>  wrote:
>> >> Dear Olivier,
>> >>
>> >> When using the Image Catalog, and not the old method of specifying the
>> >> full image path in the source attribute, the values of disk attributes
>> >> "save" and "clone" are overridden by the Image Catalog inferring them
>> >> from the image properties (persistency, save_as).
>> >>
>> >> If you want to save the image when using the Image Catalog, either
>> >> make it persistent or, if you want to save it as another image, use
>> >> the save_as functionality.
>> >>
>> >> Best regards,
>> >>
>> >> -Tino
>> >>
>> >> --
>> >> Constantino V?zquez Blanco | dsa-research.org/tinova
>> >> Virtualization Technology Engineer / Researcher
>> >> OpenNebula Toolkit | opennebula.org
>> >>
>> >>
>> >>
>> >> On Tue, Oct 26, 2010 at 1:23 PM, Olivier
>> >> Sallou<olivier.sallou at irisa.fr>  wrote:
>> >>> Hi,
>> >>> I have a template with:
>> >>> DISK   = [
>> >>>   image = "sampleraw2",
>> >>>   save = "no"
>> >>>    ]
>> >>>
>> >>> and when I do "onevm stop",  one still tries to save the vm on the
>> >>> frontend.
>> >>> (I also tried with save=no  instead of save="no").
>> >>>
>> >>> Should I create a bug for this or is there something wrong in my
>> >>> template?
>> >>>
>> >>> Thanks
>> >>>
>> >>> Olivier
>> >>> _______________________________________________
>> >>> Users mailing list
>> >>> Users at lists.opennebula.org
>> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>>
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>
>> >
>> >
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Tue, 26 Oct 2010 17:59:21 +0200
>> From: Javier Fontan <jfontan at gmail.com>
>> To: Olivier Sallou <olivier.sallou at irisa.fr>
>> Cc: users at lists.opennebula.org
>> Subject: Re: [one-users] one2 : save tag does not seem to work
>> Message-ID:
>>        <AANLkTinXG4odGt4FOtt_OJtKwaMLo5ttFPWh6xHTtg7G at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> An easier way to do that is to symlink your storage path to that dir.
>>
>> On Tue, Oct 26, 2010 at 5:56 PM, Olivier Sallou <olivier.sallou at irisa.fr>
>> wrote:
>> > in system-wide installation, the "save" of the image on frontend is done
>> > in
>> > /var/lib/one.
>> >
>> > This directory is not configurable in oned.conf. This can be an issue
>> > with
>> > disk size when many VMs are saved. Required storage can be huge.
>> >
>> > An option of course is to copy the content then to mount this directory
>> > on
>> > an external file system (nfs or attached disk), but wouldn't it be
>> > easier to
>> > be able to specify the location of saved data?
>> >
>> > Olivier
>> >
>> >
>> > Le 10/26/10 3:18 PM, Javier Fontan a ?crit :
>> >>
>> >> Adding to that "stop" does not mean kill-the-vm. It will susped a VM
>> >> and save its state/image in the frontend so it can be resumed in any
>> >> other host. That's why it retrieves the image back to the frontend.
>> >>
>> >> On Tue, Oct 26, 2010 at 2:29 PM, Tino Vazquez<tinova at fdi.ucm.es>
>> >> ?wrote:
>> >>>
>> >>> Dear Olivier,
>> >>>
>> >>> When using the Image Catalog, and not the old method of specifying the
>> >>> full image path in the source attribute, the values of disk attributes
>> >>> "save" and "clone" are overridden by the Image Catalog inferring them
>> >>> from the image properties (persistency, save_as).
>> >>>
>> >>> If you want to save the image when using the Image Catalog, either
>> >>> make it persistent or, if you want to save it as another image, use
>> >>> the save_as functionality.
>> >>>
>> >>> Best regards,
>> >>>
>> >>> -Tino
>> >>>
>> >>> --
>> >>> Constantino V?zquez Blanco | dsa-research.org/tinova
>> >>> Virtualization Technology Engineer / Researcher
>> >>> OpenNebula Toolkit | opennebula.org
>> >>>
>> >>>
>> >>>
>> >>> On Tue, Oct 26, 2010 at 1:23 PM, Olivier
>> >>> Sallou<olivier.sallou at irisa.fr>
>> >>> ?wrote:
>> >>>>
>> >>>> Hi,
>> >>>> I have a template with:
>> >>>> DISK ? = [
>> >>>> ?image = "sampleraw2",
>> >>>> ?save = "no"
>> >>>> ? ]
>> >>>>
>> >>>> and when I do "onevm stop", ?one still tries to save the vm on the
>> >>>> frontend.
>> >>>> (I also tried with save=no ?instead of save="no").
>> >>>>
>> >>>> Should I create a bug for this or is there something wrong in my
>> >>>> template?
>> >>>>
>> >>>> Thanks
>> >>>>
>> >>>> Olivier
>> >>>> _______________________________________________
>> >>>> Users mailing list
>> >>>> Users at lists.opennebula.org
>> >>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>>>
>> >>> _______________________________________________
>> >>> Users mailing list
>> >>> Users at lists.opennebula.org
>> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>>
>> >>
>> >>
>> >
>>
>>
>>
>> --
>> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
>> DSA Research Group: http://dsa-research.org
>> Globus GridWay Metascheduler: http://www.GridWay.org
>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Tue, 26 Oct 2010 18:18:48 +0200
>> From: Tino Vazquez <tinova at fdi.ucm.es>
>> To: Paul Piscuc <paul.piscuc at sinergetic.ro>, users
>>        <users at lists.opennebula.org>
>> Subject: Re: [one-users] [one-ecosystem] vmware deployment problem
>> Message-ID:
>>        <AANLkTi=q=TqzGToBXBKG9ZM3egVA7ByrMBSfg7rc2c-_ at mail.gmail.com>
>> Content-Type: text/plain; charset=windows-1252
>>
>> Hi Paul,
>>
>> This may be a problem with the name of the ESX's vSwitch, more
>> precisely it not being vmnic0. If you didn't change it, by default is
>> "VM Network".
>>
>> >From the documentation:
>>
>> --
>> Networks can be defined in OpenNebula, and VMs can use leases from
>> these networks, being FIXED or RANGED. The only requisite is to input
>> the name of the VMware hypervisor defined vSwitch as the bridge of the
>> Virtual Network in OpenNebula. The default name for the vSwitch in the
>> ESX family is ?VM Network?.
>> --
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino V?zquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>>
>>
>>
>> On Tue, Oct 26, 2010 at 12:30 PM, Paul Piscuc <paul.piscuc at sinergetic.ro>
>> wrote:
>> > Hi,
>> >
>> > The error we are getting is the following:
>> > in /var/10/oned.log:
>> >
>> > Tue Oct 26 12:24:30 2010 [VMM][I]: [VMWARE] cmd failed
>> > [/srv/cloud/one/bin/tty_expect -u oneadmin -p sinergetic01 virsh -c
>> > esx://vmware.local?no_verify=1 start one-9]. Stderr:
>> > Tue Oct 26 12:24:30 2010 [VMM][I]: error: Failed to start domain one-9
>> > Tue Oct 26 12:24:30 2010 [VMM][I]: error: internal error Could not start
>> > domain
>> > Tue Oct 26 12:24:30 2010 [VMM][I]:
>> > Tue Oct 26 12:24:30 2010 [VMM][I]: . Stdout: ExitCode: 1
>> > Tue Oct 26 12:24:30 2010 [VMM][I]: ExitCode: 1
>> > Tue Oct 26 12:24:30 2010 [VMM][E]: Error deploying virtual machine
>> > Tue Oct 26 12:24:30 2010 [DiM][I]: New VM state is FAILE
>> >
>> > On the ESX, the error is:
>> > ./messages:Oct 26 10:10:09 Hostd: [2010-10-26 10:10:09.552 FFFB5B90 info
>> > 'ha-eventmgr'] Event 375 : Cannot power On one-10 on localhost.sns.ro in
>> > ha-datacenter. A general system error occurred:
>> > ./messages:Oct 26 10:10:09 Hostd: [2010-10-26 10:10:09.552 FFFB5B90 info
>> > 'vm:/vmfs/volumes/a286fd9a-499da3b5/10/images/disk.0/one-10.vmx'] State
>> > Transition (VM_STATE_POWERING_ON -> VM_STATE_OFF)
>> > ./messages:Oct 26 10:10:09 Hostd: [2010-10-26 10:10:09.578 FFFB5B90
>> > warning
>> > 'vm:/vmfs/volumes/a286fd9a-499da3b5/10/images/disk.0/one-10.vmx'] Unable
>> > to
>> > get network object for network vmnic0
>> >
>> > It seems that the problem is generated by the networking stuff. In
>> > onevnet,
>> > we have the following template:
>> >
>> > NAME = "Public"
>> > TYPE = RANGED
>> > BRIDGE = vmnic0
>> > NETWORK_SIZE=30
>> > NETWORK_ADDRESS=10.11.12.70
>> >
>> > We have tried to bridge over the interface eth0, but ESX tries to bridge
>> > also to eth0, and not to vmnic0. Maybe is something related to the vmx
>> > configuration file. It is not changed, is a image generated by ESX.
>> >
>> > Thank for your help,
>> >
>> >
>> >
>> > On Tue, Oct 26, 2010 at 12:59 PM, Tino Vazquez <tinova at fdi.ucm.es>
>> > wrote:
>> >>
>> >> Hi Paul,
>> >>
>> >> Can you check the $ONE_LOCATION/var/8/images/*/vmware.log to see what
>> >> is failing?
>> >>
>> >> Regards,
>> >>
>> >
>> >
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> End of Users Digest, Vol 32, Issue 39
>> *************************************
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list