[one-users] Error: Domain 'one-22' does not exist.

Javier Fontan jfontan at opennebula.org
Mon Oct 21 06:22:40 PDT 2013


Can you check that the pygrub executable is at /usr/bin/pygrub in the
nodes where you are trying to start the VMs?

On Mon, Oct 21, 2013 at 7:29 AM, Documented Facts
<documentedfacts at gmail.com> wrote:
> hi
>
> Sorry since I' m late to reply.
>
> I have attached oned.conf, vmm_exec_xen3.conf, xenrc to this email.
>
> Network bridge xenbr0 exist. I have put the output of brctl show command
>
> bridge name bridge id STP enabled interfaces
> virbr0 8000.feffffffffff yes vif1.0
> xenbr0 8000.0021856e8e4a no eth0
>
> also I have changed the template to make it similar to xen config file of
> this. New template is given bellow
>
> TEMPLATE 6 INFORMATION
> ID             : 6
> NAME           : UbuntuParaV64
> USER           : oneadmin
> GROUP          : oneadmin
> REGISTER TIME  : 10/04 10:33:23
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : ---
> OTHER          : ---
>
> TEMPLATE CONTENTS
> CONTEXT=[
>   NETWORK="YES",
>   SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
> CPU="0.5"
> DISK=[
>   DEV_PREFIX="xvd",
>   DRIVER="file",
>   IMAGE_ID="7",
>   READONLY="no" ]
> GRAPHICS=[
>   LISTEN="0.0.0.0",
>   TYPE="VNC" ]
> MEMORY="512"
> NIC=[
>   NETWORK_ID="0" ]
> OS=[
>   ARCH="x86_64",
>   BOOT="hd",
>   BOOTLOADER="/usr/bin/pygrub",
>   GUESTOS="ubuntu64Guest",
>   ROOT="xvda" ]
> REQUIREMENTS="ID=\"0\""
>
> it produce the deployment.0 file with content
>
> name = 'one-29'
> #O CPU_CREDITS = 128
> memory  = '512'
> bootloader = "/usr/bin/pygrub"
> disk = [
>     'file:/var/lib/one//datastores/0/29/disk.0,xvda,w',
>     'file:/var/lib/one//datastores/0/29/disk.1,xvdb,r',
> ]
> vif = [
>     ' mac=02:00:0a:16:81:a3,ip=10.22.129.163,bridge=xenbr0',
> ]
> vfb = ['type=vnc,vnclisten=0.0.0.0,vncdisplay=29']
>
>
> On Thu, Oct 17, 2013 at 10:40 PM, Javier Fontan <jfontan at opennebula.org>
> wrote:
>>
>> Can you send us the conf file of a Xen VM you can run? Does xenbr0 exist?
>>
>> On Mon, Oct 7, 2013 at 8:38 AM, Documented Facts
>> <documentedfacts at gmail.com> wrote:
>> > Hi
>> >
>> > I have installed XEN according to below URL
>> >
>> > https://help.ubuntu.com/community/Xen#During_installation_of_Ubuntu
>> >
>> > it can run a VM itself.
>> >
>> > then I created a Image according this URL
>> >
>> > http://opennebula.org/documentation:ubuntu12-xen
>> >
>> > and it works on the host.
>> >
>> > But when I used extracted ubuntu image of that through the Opennebula I
>> > got
>> > the below error message
>> >
>> > Mon Oct 7 10:19:51 2013 [VMM][I]: Command execution fail: cat << EOT |
>> > /var/tmp/one/vmm/xen3/deploy
>> > '/var/lib/one//datastores/0/22/deployment.0'
>> > 'node01' 22 node01
>> > Mon Oct 7 10:19:51 2013 [VMM][I]: Error: Domain 'one-22' does not exist.
>> > Mon Oct 7 10:19:51 2013 [VMM][E]: Unable
>> > Mon Oct 7 10:19:51 2013 [VMM][I]: ExitCode: 3
>> > Mon Oct 7 10:19:51 2013 [VMM][I]: Failed to execute virtualization
>> > driver
>> > operation: deploy.
>> > Mon Oct 7 10:19:51 2013 [VMM][E]: Error deploying virtual machine:
>> > Unable
>> > Mon Oct 7 10:19:51 2013 [DiM][I]: New VM state is FAILED
>> >
>> > My Virtual Machine template is given below and it was created through
>> > sun
>> > stone
>> >
>> > TEMPLATE CONTENTS
>> > CONTEXT=[
>> >   NETWORK="YES",
>> >   SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
>> > CPU="0.5"
>> > DISK=[
>> >   IMAGE_ID="7" ]
>> > GRAPHICS=[
>> >   LISTEN="0.0.0.0",
>> >   TYPE="VNC" ]
>> > MEMORY="512"
>> > NIC=[
>> >   NETWORK_ID="0" ]
>> > OS=[
>> >   ARCH="x86_64",
>> >   BOOT="hd",
>> >   BOOTLOADER="pygrub",
>> >   GUESTOS="ubuntu64Guest" ]
>> > REQUIREMENTS="ID=\"0\""
>> >
>> > and the deployment.0 file content is
>> >
>> > name = 'one-22'
>> > #O CPU_CREDITS = 128
>> > memory  = '512'
>> > bootloader = "pygrub"
>> > disk = [
>> >     'file:/var/lib/one//datastores/0/22/disk.0,hda,w',
>> >     'file:/var/lib/one//datastores/0/22/disk.1,hdb,r',
>> > ]
>> > vif = [
>> >     ' mac=02:00:0a:16:81:a3,ip=10.22.129.163,bridge=xenbr0',
>> > ]
>> > vfb = ['type=vnc,vnclisten=0.0.0.0,vncdisplay=22']
>> >
>> > System data store and default data store have configured to use SSH.
>> >
>> > I m very new to open nebula. Can anybody please help me to find solution
>> > to
>> > this problem ?
>> >
>> > My intention is to configure open nebula to use a PHP CMS hosting on a
>> > XEN
>> > para virtualized guests because Machines doesn't have Hardware support.
>> > Can
>> > you please let me know how to do it too ?
>> >
>> > Thank you
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>>
>>
>>
>> --
>> Javier Fontán Muiños
>> Developer
>> OpenNebula - The Open Source Toolkit for Data Center Virtualization
>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan



More information about the Users mailing list