On 25 April 2012 11:03, Rolandas Naujikas <rolandas.nauji...@mif.vu.lt> wrote: > On 2012-04-25 13:32, Daniel Molina wrote: >> Hi, >> >> On 24 April 2012 17:07, Rolandas Naujikas <rolandas.nauji...@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 > > I think it should read "Sunstone monitoring graphs are not correctly > shown for oneadmin or users in oneadmin group".
Fixed, thanks http://www.opennebula.org/documentation:rel3.4:known_issues > > Regards, Rolandas Naujikas > >> [2] >> http://dev.opennebula.org/projects/opennebula/repository/revisions/51b672ef2a4eb370a07247b8804ab3f76ed62920/diff >> [3] >> http://dev.opennebula.org/projects/opennebula/repository/revisions/590ba0e4eb25c126d59d4df91646f10ec2a5ec6a/diff > > I applied both changes and it works. > >>> Regards, Rolandas Naujikas >>> >>> _______________________________________________ >>> Users mailing list >>> Users@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 | dmol...@opennebula.org | @OpenNebula _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org