[one-users] ONE 3.9.80: Problem in host monitoring

André Monteiro andre.monteir at gmail.com
Thu Mar 28 07:35:30 PDT 2013


Hi,

My enviroment variables in bash_profile are:
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:/opt/opennebula/bin
export ONE_LOCATION=/opt/opennebula
export ONE_XMLRPC=http://localhost:2633/RPC2
export ONE_AUTH=~/.one/one_auth
export ONE_SHARE=$ONE_LOCATION/opennebula_shared
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre
#export DISPLAY=localhost:10.0
export EC2_KEYPAIR=aws_hpc
export EC2_URL=https://ec2.us-east-1.amazonaws.com
export EC2_CERT=~/.ec2/cert.pem
export EC2_PRIVATE_KEY=~/.ec2/pk.pem
export EC2_HOME=~/ec2-api-tools-1.6.4
export PATH=$PATH:/$EC2_HOME:$EC2_HOME/bin
export EC2_HOME=~/ec2-api-tools-1.6.4

But this was working in a slotted install of ONE 3.8.1, I just compiled and
installed 3.9.80 and moved symbolic link of one location. I have a
Centos6.2, maybe X is requesting something I can't see? Even though I can
see why it interfers with ONE :-/

--
André Monteiro



On Thu, Mar 28, 2013 at 1:55 PM, Jaime Melis <jmelis at opennebula.org> wrote:

> Hi André,
>
> do you have any special ENV variables that may be forcing a graphical
> password prompting? can you restart opennebula and try again?
>
> cheers,
> Jaime
>
>
> On Thu, Mar 28, 2013 at 8:18 AM, André Monteiro <andre.monteir at gmail.com>wrote:
>
>> Hi Ruben,
>>
>> Yes, the host is the same instalation machine, I can ssh passwordlessly
>> to itself with user oneadmin and also root.
>>
>> --
>> André Monteiro
>>
>>
>>
>> On Wed, Mar 27, 2013 at 11:05 PM, Ruben S. Montero <
>> rsmontero at opennebula.org> wrote:
>>
>>> Hi
>>>
>>> Just to double check... Can you ssh the host password-less? My concern
>>> is the following message in your log files:
>>>
>>> Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450): Gtk-WARNING
>>> **: cannot open display: :1.0
>>>
>>> Cheers
>>>
>>> Ruben
>>>
>>>
>>> On Wed, Mar 27, 2013 at 3:49 PM, André Monteiro <andre.monteir at gmail.com
>>> > wrote:
>>>
>>>> Hello,
>>>>
>>>> I've installed the latest ONE 3.9.8 and all seems fine, but when adding
>>>> a host I get an error in monitoring. Log shows the messages:
>>>>
>>>> Wed Mar 27 12:35:39 2013 [InM][I]: Command execution fail: 'if [ -x
>>>> "/opt/opennebula_shared/remotes/im/run_probes" ]; then
>>>> /opt/opennebula_shared/remotes/im/run_probes kvm 0 myserver.pt;
>>>> else                              exit 42; fi'
>>>> Wed Mar 27 12:35:39 2013 [InM][I]: No protocol specified
>>>> Wed Mar 27 12:35:39 2013 [InM][I]:
>>>> Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450):
>>>> Gtk-WARNING **: cannot open display: :1.0
>>>> Wed Mar 27 12:35:39 2013 [InM][I]: Permission denied, please try again.
>>>> But if I execute the run_probes script alone it runs:
>>>>
>>>> [oneadmin at fpa2 var]$ /opt/opennebula_shared/remotes/im/run_probes kvm
>>>> 0 myserver.pt
>>>> ARCH=x86_64
>>>> MODELNAME="Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz"
>>>> HYPERVISOR=kvm
>>>> TOTALCPU=400
>>>> CPUSPEED=2499
>>>> TOTALMEMORY=2052528
>>>> USEDMEMORY=747004
>>>> FREEMEMORY=1305524
>>>> FREECPU=396.8
>>>> USEDCPU=3.19999999999999
>>>> NETRX=0
>>>> NETTX=0
>>>> HOSTNAME=myserver.pt
>>>> VM_POLL=YES
>>>>
>>>> This sandbox server was working fine with 3.8.1. Any clues?
>>>>
>>>> --
>>>> André Monteiro
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Ruben S. Montero, PhD
>>> Project co-Lead and Chief Architect
>>> OpenNebula - The Open Source Solution for Data Center Virtualization
>>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Jaime Melis
> Project Engineer
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | jmelis at opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130328/6f5b8a10/attachment-0002.htm>


More information about the Users mailing list