[one-users] Create a VM with Sunstone

C S Shyam Sundar csshyamsundar at gmail.com
Mon Aug 20 04:21:08 PDT 2012


>
> it means opennebula oneadmin cannot ssh passwordlessly to the host 'front'
>

that and ensure that *StrictHostKeyChecking* is set to *no*.

example:
> [oneadmin at oned ~]$ cat .ssh/config
> Host *
> StrictHostKeyChecking no


Regards, Shyam

En Mon, 20 Aug 2012 06:24:32 +0200, Tuan Le Doan <tuan.fetk52 at gmail.com>
> escribió:
>
>  Dear all,
>>
>> I want to create a VM with Sunstone.
>> I created a CD room image: (iso image)
>> Image "centos-minimal" information  ID 10  Name centos-minimal  Datastore
>> kvm01-ds  Owner oneadmin  Group oneadmin  Type CDROM  Register time
>> 11:02:51 08/20/2012  Persistent no  Source
>> /var/lib/one/datastores/103/**89fd1e28a39eab1006525591158fe3**fa  Path
>> /var/tmp/one/thin-**body20120820-3198-5i6hzz-0  Filesystem type --  Size
>> (Mb)
>> 330  State USED  Running #VMS 1 Permissions
>>       Owner um-       Group ---       Other ---And then, i created a OS
>>
>> image :
>> Image "centos install" information  ID 11  Name centos install  Datastore
>> kvm01-ds  Owner oneadmin  Group oneadmin  Type OS  Register time
>> 11:04:30 08/20/2012  Persistent no  Source
>> /var/lib/one/datastores/103/**ac2a33a7a9c4d8a8312f15614ea96b**c2  Path --
>> Filesystem
>> type ext4  Size (Mb) 5000  State USED  Running #VMS 1 Permissions
>>       Owner um-       Group ---       Other ---After that, i created a
>>
>> template with 2 images:
>> Template CPU 1 VCPU 1 RAW
>>
>>
>>  TYPE kvm
>>
>>  NAME centos-install TEMPLATE_ID 6 GRAPHICS
>>
>>
>>  TYPE vnc
>>
>>  OS
>>
>>
>>  ARCH x86_64 BOOT cdrom
>>
>>  DISK
>>
>>
>>  0
>>
>>
>>  IMAGE centos-minimal IMAGE_UNAME oneadmin
>>
>>  1
>>
>>
>>  IMAGE centos install IMAGE_UNAME oneadmin
>>
>>
>>
>>  MEMORY 512
>> But when i deploy the VM, it was FAIL with this VM log:
>>
>> Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is ACTIVE.
>> Mon Aug 20 11:10:33 2012 [LCM][I]: New VM state is PROLOG.
>> Mon Aug 20 11:10:33 2012 [VM][I]: Virtual Machine has no context
>> Mon Aug 20 11:10:33 2012 [TM][I]: Command execution fail:
>> /var/lib/one/remotes/tm/**shared/clone
>> front:/var/lib/one/datastores/**103/**89fd1e28a39eab1006525591158fe3**fa
>> front:/var/lib/one//**datastores/0/13/disk.0 13 103
>> Mon Aug 20 11:10:33 2012 [TM][I]: clone: Cloning
>> ../../103/**89fd1e28a39eab1006525591158fe3**fa in
>> front:/var/lib/one//**datastores/0/13/disk.0Mon Aug 20 11:10:33 2012
>>
>> [TM][E]: clone: Command "cd /var/lib/one/datastores/0/13; cp -r
>> ../../103/**89fd1e28a39eab1006525591158fe3**fa
>> /var/lib/one/datastores/0/13/**disk.0" failed: Host key verification
>> failed.Mon Aug 20 11:10:33 2012 [TM][E]: Error copying
>>
>> front:/var/lib/one/datastores/**103/**89fd1e28a39eab1006525591158fe3**fa
>> to
>> front:/var/lib/one//**datastores/0/13/disk.0
>> Mon Aug 20 11:10:33 2012 [TM][I]: ExitCode: 255Mon Aug 20 11:10:33
>>
>> 2012 [TM][E]: Error executing image transfer script: Error copying
>> front:/var/lib/one/datastores/**103/**89fd1e28a39eab1006525591158fe3**fa
>> to
>> front:/var/lib/one//**datastores/0/13/disk.0
>> Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is FAILED
>>
>> When I create a VM, i received a message in terminal:
>> [oneadmin at front etc]$ The authenticity of host 'front
>> (192.168.54.175)' can't be established.
>> RSA key fingerprint is 16:fe:7d:21:b1:c5:05:fc:53:d5:**51:6e:7a:fa:c5:c7.
>> Are you sure you want to continue connecting (yes/no)?
>>
>>
>> any one can help me??
>>
>> Regards.
>>
>>
>>
>>
>
> --
> Hector Sanjuan
> OpenNebula Developer
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120820/03d83ec3/attachment-0003.htm>


More information about the Users mailing list