[one-users] ssh: Could not resolve hostname host01

Christoph Raible c.raible at science-computing.de
Wed Jul 6 00:30:44 PDT 2011


Am 06.07.2011 06:24, schrieb chethan kp:
> Hi,
> I tried to deploy the VM but its going to fail state . its giving some
> problem at the SSH ,
> here with I have  included the log file details pls have look
>
> Wed Jul  6 18:44:42 2011 [DiM][I]: New VM state is ACTIVE.
> Wed Jul  6 18:44:42 2011 [LCM][I]: New VM state is PROLOG.
> Wed Jul  6 18:44:42 2011 [VM][I]: Virtual Machine has no context
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh:
> dhinesh-ubuntu:/srv/cloud/one/var//images/ffd19a6a3bb970b68f6f04b521a3edb4d4dd91bd
> host01:/srv/cloud/one/var//6/images/disk.0
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: DST:
> /srv/cloud/one/var//6/images/disk.0
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: Creating directory
> /srv/cloud/one/var//6/images
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
> /srv/cloud/one/var//6/images".
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
> /srv/cloud/one/var//6/images".
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: Cloning
> /srv/cloud/one/var//images/ffd19a6a3bb970b68f6f04b521a3edb4d4dd91bd
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: Executed "cp -r
> /srv/cloud/one/var//images/ffd19a6a3bb970b68f6f04b521a3edb4d4dd91bd
> /srv/cloud/one/var//6/images/disk.0".
> Wed Jul  6 18:44:44 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
> /srv/cloud/one/var//6/images/disk.0".
> Wed Jul  6 18:44:44 2011 [LCM][I]: New VM state is BOOT
> Wed Jul  6 18:44:44 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/6/deployment.0
> Wed Jul  6 18:44:44 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
> /srv/cloud/one/var//6/images/deployment.0;
> else                              exit 42; fi'
> Wed Jul  6 18:44:44 2011 [VMM][I]: STDERR follows.
> Wed Jul  6 18:44:44 2011 [VMM][I]: ssh: Could not resolve hostname
> host01: Name or service not known
> Wed Jul  6 18:44:44 2011 [VMM][I]: ExitCode: 255
> Wed Jul  6 18:44:44 2011 [VMM][E]: Error deploying virtual machine: ssh:
> Could not resolve hostname host01: Name or service not known
> Wed Jul  6 18:44:44 2011 [DiM][I]: New VM state is FAILED
> Wed Jul  6 18:44:44 2011 [TM][W]: Ignored: LOG - 6 tm_delete.sh:
> Deleting /srv/cloud/one/var//6/images
>
> Wed Jul  6 18:44:44 2011 [TM][W]: Ignored: LOG - 6 tm_delete.sh:
> Executed "rm -rf /srv/cloud/one/var//6/images".
>
> Wed Jul  6 18:44:44 2011 [TM][W]: Ignored: TRANSFER SUCCESS 6 -
>
> Wed Jul  6 18:47:10 2011 [DiM][I]: New VM state is DONE.
> Wed Jul  6 18:47:10 2011 [HKM][I]: Hook image successfully executed.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

I think to help you we need some more information ;)

First is the hostname realy host1?

Can you do "ssh oneadmin at host1" or "ping host1" from your OpenNebula Server?

If not please check /etc/hosts or DNS-config...



Regards

Chr.Raible
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 





More information about the Users mailing list