[one-users] onehost create Error

Mohit Dhingra mohitdhingras at gmail.com
Tue Jan 17 08:24:42 PST 2012


Yes, file is present there. When I executed that statement, it shows

oneadmin at cadlab:/var/tmp/one/im> /var/tmp/one/im/run_probes xen 8 cadlab
./xen.rb:29: warning: Insecure world writable dir /srv/cloud3/one/bin in
PATH, mode 040777
./xen.rb:32: warning: Insecure world writable dir /srv/cloud3/one/bin in
PATH, mode 040777
ARCH=x86_64 MODELNAME="Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz"
HOSTNAME=cadlab HYPERVISOR=xen TOTALCPU=800 CPUSPEED=3066
TOTALMEMORY=8376320 FREEMEMORY=7734272 USEDMEMORY=642048 USEDCPU=4
FREECPU=796 NETTX=0 NETRX=0

But I have no clue what's going on!!

Then I tried giving dummy IM, and then creating VM for that. Even that is
giving errors.

Tue Jan 17 19:01:24 2012 [TM][I]: Command execution fail:
/srv/cloud3/one/lib/tm_commands/ssh/tm_clone.sh
cadlab:/srv/cloud3/one/var/images/acc8fd7e611a4a4fc3ac5d2a8123e8a3
cadlab:/srv/cloud3/one/var/images/1/images/disk.0
Tue Jan 17 19:01:24 2012 [TM][I]: /usr/lib64/ruby/1.8/open3.rb:73:
warning: Insecure world writable dir /srv/cloud3/one/bin in PATH, mode
040777
Tue Jan 17 19:01:24 2012 [TM][D]: tm_clone.sh:
cadlab:/srv/cloud3/one/var/images/acc8fd7e611a4a4fc3ac5d2a8123e8a3
cadlab:/srv/cloud3/one/var/images/1/images/disk.0
Tue Jan 17 19:01:24 2012 [TM][D]: tm_clone.sh: DST:
/srv/cloud3/one/var/images/1/images/disk.0
Tue Jan 17 19:01:24 2012 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud3/one/var/images/1/imagesTue Jan 17 19:01:24 2012 [TM][E]:
tm_clone.sh: Command "ssh cadlab mkdir -p
/srv/cloud3/one/var/images/1/images" failed.Tue Jan 17 19:01:24 2012
[TM][E]: tm_clone.sh: Permission denied
(publickey,keyboard-interactive).Tue Jan 17 19:01:24 2012 [TM][E]:
Error creating directory /srv/cloud3/one/var/images/1/images
Tue Jan 17 19:01:24 2012 [TM][I]: ExitCode: 255Tue Jan 17 19:01:24
2012 [TM][E]: Error excuting image transfer script: Error creating
directory /srv/cloud3/one/var/images/1/images
Tue Jan 17 19:01:25 2012 [DiM][I]: New VM state is FAILED

*

I have given all 777 permissions to /var/images. Still this error continues
to persist. :(

----------------------------
Thanks & Regards
Mohit Dhingra
+919611190435*


On 17 January 2012 19:06, Javier Fontan <jfontan at opennebula.org> wrote:

> Can you check that /var/tmp/one/im/run_probes is in the remote node?
> If it is there connect to that host as oneadmin and execute:
>
> /var/tmp/one/im/run_probes xen 8 cadlab
>
> It should give you more info
>
> On Tue, Jan 17, 2012 at 5:22 AM, Mohit Dhingra <mohitdhingras at gmail.com>
> wrote:
> > Hi All,
> >
> > While creating host, I am getting the following error. Can somebody
> please
> > help me out.
> >
> > I am using following onehost command. :
> > oneadmin at cadlab:~/etc> onehost create cadlab im_xen vmm_xen tm_ssh
> >
> > It gets to error state after some time.
> >
> > Logs from oned.log
> > ------------------------------
> >
> ----------------------------------------------------------------------------------
> > Mon Jan 16 19:46:52 2012 [VMM][I]: Loading Virtual Machine Manager
> drivers.
> > Mon Jan 16 19:46:52 2012 [VMM][I]:      Loading driver: vmm_xen (XEN)
> > Mon Jan 16 19:46:53 2012 [VMM][I]:      Driver vmm_xen loaded.
> > Mon Jan 16 19:46:53 2012 [InM][I]: Loading Information Manager drivers.
> > Mon Jan 16 19:46:53 2012 [InM][I]:      Loading driver: im_xen
> > Mon Jan 16 19:46:53 2012 [InM][I]:      Driver im_xen loaded
> > Mon Jan 16 19:46:53 2012 [TM][I]: Loading Transfer Manager drivers.
> > Mon Jan 16 19:46:53 2012 [VMM][I]:      Loading driver: tm_ssh
> > Mon Jan 16 19:46:53 2012 [TM][I]:       Driver tm_ssh loaded.
> > Mon Jan 16 19:46:53 2012 [HKM][I]: Loading Hook Manager driver.
> > Mon Jan 16 19:46:53 2012 [HKM][I]:      Hook Manager loaded
> > Mon Jan 16 19:46:53 2012 [ImM][I]: Loading Image Manager driver.
> > Mon Jan 16 19:46:53 2012 [ImM][I]:      Image Manager loaded
> > Mon Jan 16 19:47:04 2012 [ReM][D]: HostPoolInfo method invoked
> > Mon Jan 16 19:47:04 2012 [InM][I]: Monitoring host cadlab (8)
> > Mon Jan 16 19:47:05 2012 [InM][I]: Command execution fail: 'if [ -x
> > "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 8
> > cadlab; else                              exit 42; fi'
> > Mon Jan 16 19:47:05 2012 [InM][I]: ExitCode: 254
> > Mon Jan 16 19:47:05 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE
> > 8 -
> >
> ----------------------------------------------------------------------------------------------------------------------
> >
> > oned.conf file contains following configuration :
> > IM_MAD = [
> >     name       = "im_xen",
> >     executable = "one_im_ssh",
> >     arguments  = "xen" ]
> > VM_MAD = [
> >     name       = "vmm_xen",
> >     executable = "one_vmm_exec",
> >     arguments  = "-t 15 -r 0 xen",
> >     default    = "vmm_exec/vmm_exec_xen.conf",
> >     type       = "xen" ]
> > TM_MAD = [
> >     name       = "tm_ssh",
> >     executable = "one_tm",
> >     arguments  = "tm_ssh/tm_ssh.conf" ]
> > ----------------------------
> > Thanks & Regards
> > Mohit Dhingra
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
>
> --
> Javier Fontán Muiños
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula
> _______________________________________________
> Users mailing list
> Users at lists.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/20120117/1ed0b18a/attachment-0003.htm>


More information about the Users mailing list