[one-users] Hyper-v drivers for OpenNebula 3.6.0?

cloud.b.lab cloud.b.lab at zoho.com
Thu Jul 19 21:23:29 PDT 2012


All,

Do we have Hyper-V drivers for OpenNebula 3.4 or 3,6 . 
With one-hyperv-3.2.0.tar.gz in OpenNebula 3.6.0, I am able register a Hyper-V host. However clone and deploy scripts are not working as expected.

TM_MAD         : ssh

1. clone: Cloning onehost:/var/lib/one/var/datastores/101/65f9f8d9980ec937e498f705eb1c2bcd in /var/lib/one/var/datastores/0/113/disk.0 
issue: The folder and file /var/lib/one/var/datastores/0/113/disk.0  are not actually created.
2. context: Generating context block device at HYPER-V1:/var/lib/one/var//datastores/0/113/disk.1
issue : disk.1 note created.


Log:
Fri Jul 20 09:33:24 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jul 20 09:33:24 2012 [LCM][I]: New VM state is PROLOG.
Fri Jul 20 09:33:40 2012 [TM][I]: clone: Cloning onehost:/var/lib/one/var/datastores/101/65f9f8d9980ec937e498f705eb1c2bcd in /var/lib/one/var/datastores/0/113/disk.0
Fri Jul 20 09:33:40 2012 [TM][I]: ExitCode: 0
Fri Jul 20 09:33:57 2012 [TM][I]: context: Generating context block device at HYPER-V1:/var/lib/one/var//datastores/0/113/disk.1
Fri Jul 20 09:33:57 2012 [TM][I]: ExitCode: 0
Fri Jul 20 09:33:57 2012 [LCM][I]: New VM state is BOOT
Fri Jul 20 09:33:57 2012 [VMM][I]: Generating deployment file: /var/lib/one/var/113/deployment.0
Fri Jul 20 09:33:57 2012 [VMM][I]: ExitCode: 0
Fri Jul 20 09:33:57 2012 [VMM][I]: Successfully execute network driver operation: pre.
Fri Jul 20 09:34:00 2012 [VMM][I]: Command execution fail: /var/lib/one/var/remotes/vmm/hyperv/deploy /var/lib/one/var/113/deployment.0 HYPER-V1 113 HYPER-V1
Fri Jul 20 09:34:00 2012 [VMM][I]: Copying disks
Fri Jul 20 09:34:00 2012 [VMM][I]: command: mkdir C:\var\113\images
Fri Jul 20 09:34:00 2012 [VMM][I]: command: copy \\HYPER-V1\images\113\images\* C:\var\113\images
Fri Jul 20 09:34:00 2012 [VMM][E]: Error copying VM images
Fri Jul 20 09:34:00 2012 [VMM][I]: {:stdout=>"", :stderr=>"#< CLIXML\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">Copy-Item : An object at the specified path \\\\HYPER-V1\\images\\113\\images does n_x000D__x000A_</S><S S=\"Error\">ot exist._x000D__x000A_</S><S S=\"Error\">At line:1 char:5_x000D__x000A_</S><S S=\"Error\">+ copy &lt;&lt;&lt;&lt;  \\\\HYPER-V1\\images\\113\\images\\* C:\\var\\113\\images_x000D__x000A_</S><S S=\"Error\">    + CategoryInfo          : ObjectNotFound: (\\\\HYPER-V1\\images\\113\\images:St _x000D__x000A_</S><S S=\"Error\">   ring) [Copy-Item], IOException_x000D__x000A_</S><S S=\"Error\">    + FullyQualifiedErrorId : ItemDoesNotExist,Microsoft.PowerShell.Commands.C _x000D__x000A_</S><S S=\"Error\">   opyItemCommand_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>", :exitcode=>1}
Fri Jul 20 09:34:00 2012 [VMM][I]: ExitCode: 255
Fri Jul 20 09:34:00 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Fri Jul 20 09:34:00 2012 [VMM][E]: Error deploying virtual machine: Error copying VM images
Fri Jul 20 09:34:00 2012 [DiM][I]: New VM state is FAILED

Other required data:
1. //192.168.1.4/images on /var/lib/one/mountpoint type cifs (rw)
2. hyperv.conf
:vmdir:         "\\\\HYPER-V1\\images"
:local_vmdir:   "C:\\var"
:user:          "oneadmin"
:password:      "Redhat123456"
3.  ~/etc/tm_hyperv/tm_hypervrc
SMB_MOUNT=/var/lib/one/mountpoint
4.  ID NAME            CLUSTER   RVM TCPU FCPU ACPU    TMEM    FMEM    AMEM STAT
     10 HYPER-V1        -           0        800  800  800      8G          6.7G      8G       on

If you have updated scripts , kindly pass it one. Else if I am doing something wrong, kindly en-light.

Regards,
Anil.






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120719/f6b2c35d/attachment-0003.htm>


More information about the Users mailing list