[Ovirt-devel] got it!

Steve Linabery slinabery at redhat.com
Tue Jul 29 15:00:33 UTC 2008


In graph_controller.rb:

    elsif target == "memory"
    dd "ding 9"
        #increments = @pool.hosts.total_memory / 512
        0.upto(@pool.hosts.total_memory) { |x| 
	    if x % 1024 == 0
               scale.push((x / 1024).to_s) # divide by 1024 to convert to MB
	           end
        }

(the dd is my debugging method)

Looks like this is infinite-looping. I'll just disable this block while I'm fiddling with this code since I'm going to rewrite much of this file anyway (as opposed to patching this).

--Steve




More information about the ovirt-devel mailing list