[one-users] problem running opennebula 3.4.1

Piyush Harsh piyush.harsh at inria.fr
Thu May 31 03:05:43 PDT 2012


I see a lot of error entries in the sched.log file:
----------------
Thu May 31 11:54:31 2012 [SCHED][I]: Init Scheduler Log system
Thu May 31 11:54:31 2012 [SCHED][I]: Starting Scheduler Daemon
----------------------------------------
     Scheduler Configuration File
----------------------------------------
DEFAULT_SCHED=POLICY=1
MAX_DISPATCH=30
MAX_HOST=1
MAX_VM=300
ONED_PORT=2633
SCHED_INTERVAL=30
----------------------------------------
Thu May 31 11:54:31 2012 [SCHED][I]: Starting scheduler loop...
Thu May 31 11:54:31 2012 [SCHED][I]: Scheduler loop started.
Thu May 31 11:55:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:55:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:55:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:55:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:56:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:56:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:56:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:56:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:57:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:57:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:57:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:57:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:58:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:58:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:58:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:58:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:59:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:59:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 11:59:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 11:59:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:00:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:00:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:00:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:00:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:01:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:01:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:01:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:01:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:02:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:02:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:02:31 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:02:31 2012 [POOL][E]: Could not retrieve pool info from 
ONE
Thu May 31 12:03:01 2012 [HOST][E]: Exception raised: Unable to 
transport XML to server and get XML response back.  libcurl failed to 
execute the HTTP POST transaction.  couldn't connect to host
Thu May 31 12:03:01 2012 [POOL][E]: Could not retrieve pool info from 
ONE

--------------------------------

what should i do to fix these?

Kind regards,
Piyush.

On Thu 31 May 2012 11:48:35 AM CEST, Piyush Harsh wrote:
> Hi,
>
> I changed my .bashrc file to export ONE_LOCATION to the
> /srv/cloud/one3. Now the one starts and stops properly. But I can not
> run any commands, when I do 'onehost list' I get 'Connection refused -
> connect(2)' error. I looked into the oned.log file and see no errors:
>
> ----------
> Thu May 31 11:47:36 2012 [ONE][I]: Starting OpenNebula 3.4.1
> ----------------------------------------
> OpenNebula Configuration File
> ----------------------------------------
> AUTH_MAD=ARGUMENTS=--authn
> ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
> DATASTORE_LOCATION=/srv/cloud/one3/var//datastores
> DATASTORE_MAD=ARGUMENTS=-t 15 -d fs,vmware,iscsi,EXECUTABLE=one_datastore
> DB=BACKEND=sqlite
> DEBUG_LEVEL=3
> DEFAULT_DEVICE_PREFIX=hd
> DEFAULT_IMAGE_TYPE=OS
> ENABLE_OTHER_PERMISSIONS=YES
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=600
> HOST_PER_INTERVAL=15
> IMAGE_RESTRICTED_ATTR=SOURCE
> IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
> MAC_PREFIX=02:00
> MANAGER_TIMER=15
> NETWORK_SIZE=254
> PORT=2634
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> SESSION_EXPIRATION_TIME=900
> TM_MAD=ARGUMENTS=-t 15 -d
> dummy,shared,qcow2,ssh,vmware,iscsi,EXECUTABLE=one_tm
> VM_MAD=ARGUMENTS=-t 15 -r 0
> kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm
>
> VM_PER_INTERVAL=5
> VM_POLLING_INTERVAL=600
> VM_RESTRICTED_ATTR=CONTEXT/FILES
> VM_RESTRICTED_ATTR=DISK/SOURCE
> VM_RESTRICTED_ATTR=NIC/MAC
> VM_RESTRICTED_ATTR=NIC/VLAN_ID
> VM_RESTRICTED_ATTR=RANK
> VNC_BASE_PORT=6900
> ----------------------------------------
> Thu May 31 11:47:36 2012 [ONE][I]: Log level:3
> [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
> Thu May 31 11:47:36 2012 [ONE][I]: Checking database version.
> Thu May 31 11:47:36 2012 [VMM][I]: Starting Virtual Machine Manager...
> Thu May 31 11:47:36 2012 [VMM][I]: Virtual Machine Manager started.
> Thu May 31 11:47:36 2012 [LCM][I]: Starting Life-cycle Manager...
> Thu May 31 11:47:36 2012 [LCM][I]: Life-cycle Manager started.
> Thu May 31 11:47:36 2012 [InM][I]: Starting Information Manager...
> Thu May 31 11:47:36 2012 [InM][I]: Information Manager started.
> Thu May 31 11:47:36 2012 [TrM][I]: Starting Transfer Manager...
> Thu May 31 11:47:36 2012 [DiM][I]: Starting Dispatch Manager...
> Thu May 31 11:47:36 2012 [TrM][I]: Transfer Manager started.
> Thu May 31 11:47:36 2012 [DiM][I]: Dispatch Manager started.
> Thu May 31 11:47:36 2012 [HKM][I]: Starting Hook Manager...
> Thu May 31 11:47:36 2012 [HKM][I]: Hook Manager started.
> Thu May 31 11:47:36 2012 [AuM][I]: Starting Auth Manager...
> Thu May 31 11:47:36 2012 [AuM][I]: Authorization Manager started.
> Thu May 31 11:47:36 2012 [ImM][I]: Starting Image Manager...
> Thu May 31 11:47:36 2012 [ImM][I]: Image Manager started.
> Thu May 31 11:47:36 2012 [ReM][I]: Starting Request Manager...
> Thu May 31 11:47:36 2012 [ReM][I]: Starting XML-RPC server, port 2634 ...
> Thu May 31 11:47:36 2012 [ReM][I]: Request Manager started.
> Thu May 31 11:47:38 2012 [VMM][I]: Loading Virtual Machine Manager
> drivers.
> Thu May 31 11:47:38 2012 [VMM][I]: Loading driver: vmm_kvm (KVM)
> Thu May 31 11:47:39 2012 [VMM][I]: Driver vmm_kvm loaded.
> Thu May 31 11:47:39 2012 [InM][I]: Loading Information Manager drivers.
> Thu May 31 11:47:39 2012 [InM][I]: Loading driver: im_kvm
> Thu May 31 11:47:39 2012 [InM][I]: Driver im_kvm loaded
> Thu May 31 11:47:39 2012 [TM][I]: Loading Transfer Manager driver.
> Thu May 31 11:47:39 2012 [TM][I]: Transfer manager driver loaded
> Thu May 31 11:47:39 2012 [HKM][I]: Loading Hook Manager driver.
> Thu May 31 11:47:39 2012 [HKM][I]: Hook Manager loaded
> Thu May 31 11:47:39 2012 [ImM][I]: Loading Image Manager driver.
> Thu May 31 11:47:39 2012 [ImM][I]: Image Manager loaded
> Thu May 31 11:47:39 2012 [AuM][I]: Loading Auth. Manager driver.
> Thu May 31 11:47:39 2012 [AuM][I]: Auth Manager loaded
> ----------------
>
> Please help
>
>
> On Wed 30 May 2012 08:53:28 PM CEST, Piyush Harsh wrote:
>> Dear Community members,
>>
>> I am researcher at INRIA and for a project development I need to
>> provide support for both version 2.2.1 and 3.4.1.
>>
>> I have been using 2.2.1 in self contained mode and it works fine.
>> Today I however installed 3.4.1 from source again in self contained
>> mode taking care to create a new user oneadmin3 and a new default user
>> directory /srv/cloud/one3 so as to not create any conflicts with the
>> existing 2.2.1 installation.
>>
>> Now whenever I try to execute opennebula 3.4.1 from oneadmin3 account,
>> I am getting "Can not find /usr/bin/oned" error. I am wondering why am
>> I getting an absolute path error if I installed in a self-contained
>> mode?
>>
>> Any help resolving this bug will be most appreciated.
>
> --
> Dr. Piyush Harsh, R&D Engineer, INRIA
> CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
> Campus universitaire de Beaulieu, 35042 Rennes cedex, France
> Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
> http://www.irisa.fr/myriads/
> http://www.cise.ufl.edu/~pharsh/portfolio/
> [Backup Site] http://info-piyush.rhcloud.com/

--
Dr. Piyush Harsh, R&D Engineer, INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
http://www.irisa.fr/myriads/
http://www.cise.ufl.edu/~pharsh/portfolio/
[Backup Site] http://info-piyush.rhcloud.com/



More information about the Users mailing list