[one-users] There is no monitoring information for host

Daniel Molina dmolina at opennebula.org
Wed Apr 25 03:32:32 PDT 2012


Hi,

On 24 April 2012 17:07, Rolandas Naujikas <rolandas.naujikas at mif.vu.lt> wrote:
> On 2012-04-24 19:25, Rolandas Naujikas wrote:
>> On 2012-04-24 09:04, Rolandas Naujikas wrote:
>>> Hi,
>>>
>>> In opennebula-3.4.0 sunstone there is annoying message "There is no
>>> monitoring information for host", when there are no hosts defined yet.
>>
>> It doesn't stop even when I added one host to opennebula.
>> It looks like sunstone could not access host monitoring information.
>
> Finally I found that I'm getting this annoing message only when I'm not
> connected with oneadmin(id=0), but with other user in oneadmin group.
>
> That could come from watch_client.rb:
> ...
>        def filter_pool(filter)
>            if filter[:uid]
>                filter[:uid]==0 ? (hosts = pool) : (return nil)
>            elsif filter[:gid]
>                filter[:uid]==0 ? (hosts = pool) : (return nil)
>            else
>                hosts = pool
>            end
> ...
> There is probably a mistake after "elsif filter[:gid]". Next line should
> probably be "filter[:gid]==0 ? (hosts = pool) : (return nil)"

Indeed this is a  known issue [1]. I have included another patch
fixing the gid/uid missmatch. These patches [2, 3] will be included in
the release 3.4.1.

Thanks for your great feedback.

[1] http://www.opennebula.org/documentation:rel3.4:known_issues
[2] http://dev.opennebula.org/projects/opennebula/repository/revisions/51b672ef2a4eb370a07247b8804ab3f76ed62920/diff
[3] http://dev.opennebula.org/projects/opennebula/repository/revisions/590ba0e4eb25c126d59d4df91646f10ec2a5ec6a/diff


>
> Regards, Rolandas Naujikas
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list