opennebula-start-rm-after-mads.patch

Simon Boulet, 06/03/2013 05:28 PM

Download (1.73 KB)

View differences:

src/nebula/Nebula.cc
850 850
       throw runtime_error("Could not start the Image Manager");
851 851
    }
852 852

  
853
    // -----------------------------------------------------------
854
    // Load mads
855
    // -----------------------------------------------------------
856

  
857
    sleep(2);
858

  
859
    vmm->load_mads(0);
860

  
861
    im->load_mads(0);
862
    tm->load_mads(0);
863
    hm->load_mads(0);
864
    imagem->load_mads(0);
865

  
866
    if ( authm != 0 )
867
    {
868
        authm->load_mads(0);
869
    }
870

  
853 871
    // ---- Request Manager ----
854 872
    try
855 873
    {
......
873 891
    }
874 892

  
875 893
    // -----------------------------------------------------------
876
    // Load mads
877
    // -----------------------------------------------------------
878

  
879
    sleep(2);
880

  
881
    vmm->load_mads(0);
882

  
883
    im->load_mads(0);
884
    tm->load_mads(0);
885
    hm->load_mads(0);
886
    imagem->load_mads(0);
887

  
888
    if ( authm != 0 )
889
    {
890
        authm->load_mads(0);
891
    }
892

  
893
    // -----------------------------------------------------------
894 894
    // Wait for a SIGTERM or SIGINT signal
895 895
    // -----------------------------------------------------------
896 896

  
897
-