[one-users] scheduler deploy problem
Tino Vazquez
tinova at opennebula.org
Mon Mar 28 05:53:04 PDT 2011
Hi,
Please try adding the following after the first line of vmware.rb:
--
ONE_LOCATION=ENV["ONE_LOCATION"]
if !ONE_LOCATION
RUBY_LIB_LOCATION="/usr/lib/one/ruby"
else
RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby"
end
$: << RUBY_LIB_LOCATION
--
If this works, I will add it to the next vmware addon release.
Regards,
-Tino
--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79
On Mon, Mar 28, 2011 at 1:43 PM, antoni artigues <tartigues at iac3.eu> wrote:
> Hello
>
> I'm trying to apply the patch, but I obtain this error:
>
> Mon Mar 28 13:29:09 2011 [InM][I]: STDERR follows.
> Mon Mar 28 13:29:09 2011 [InM][I]: ./vmware.rb:2:in `require': no such
> file to load -- OpenNebula (LoadError)
>
>
> I have attached the vmware.rb modified
>
> Thanks in advance
>
> Antoni Artigues
> El vie, 25-03-2011 a las 13:49 +0100, Tino Vazquez escribió:
>> Hi,
>>
>> Please ignore my last email, this is the correct ticket i was
>> referring to: http://dev.opennebula.org/issues/481
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>>
>>
>>
>> On Fri, Mar 25, 2011 at 1:33 PM, Tino Vazquez <tinova at opennebula.org> wrote:
>> > Hi,
>> >
>> > Please apply the patch uploaded to this ticket [1], and see if the
>> > error still shows up.
>> >
>> > Regards,
>> >
>> > -Tino
>> >
>> > [1] http://dev.opennebula.org/issues/541
>> >
>> > --
>> > Constantino Vázquez Blanco, MSc
>> > OpenNebula Major Contributor
>> > www.OpenNebula.org | @tinova79
>> >
>> >
>> >
>> > On Tue, Mar 22, 2011 at 12:18 PM, antoni artigues <tartigues at iac3.eu> wrote:
>> >> Hi
>> >>
>> >> I send you the logs. The vm.log is from vm 71:
>> >>
>> >> ---------------
>> >> $ onehost list
>> >> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM
>> >> STAT
>> >> 0 oscarnode4 default 2 400 400 400 7.8G 0K
>> >> on
>> >> 3 oscarnode7 default 6 400 400 400 7.8G 0K
>> >> on
>> >> -----------------
>> >> $ onevm list
>> >> ID USER NAME STAT CPU MEM HOSTNAME TIME
>> >> 57 oneadmin ubuntuVM runn 0 0K oscarnode7 14 23:32:16
>> >> 58 oneadmin ubuntuVM runn 0 0K oscarnode7 14 23:13:14
>> >> 59 oneadmin ubuntuVM runn 0 0K oscarnode7 14 22:22:39
>> >> 60 oneadmin ubuntuVM runn 0 0K oscarnode7 14 21:29:49
>> >> 67 oneadmin ubuntuVM runn 0 0K oscarnode4 14 02:11:44
>> >> 68 oneadmin ubuntuVM runn 0 0K oscarnode4 14 01:28:37
>> >> 69 oneadmin ubuntuVM runn 0 0K oscarnode7 00 01:08:45
>> >> 70 oneadmin ubuntuVM runn 0 0K oscarnode7 00 00:47:32
>> >> 71 oneadmin ubuntuVM fail 0 0K oscarnode7 00 00:17:18
>> >> -----------------
>> >>
>> >> Thanks in advance
>> >>
>> >> Regards
>> >>
>> >> Antoni Artigues
>> >>
>> >> El vie, 18-03-2011 a las 17:15 +0100, Tino Vazquez escribió:
>> >>> Hi,
>> >>>
>> >>> Could you please send through the template of one VM and its log
>> >>> ($ONE_LOCATION/var/<vid>/vm.log)?
>> >>>
>> >>> Also $ONE_LOCATION/var/sched.log and $ONE_LOCATION/var/oned.log would
>> >>> be useful. You can send this off the list if there is a concern about
>> >>> privacy.
>> >>>
>> >>> Regards,
>> >>>
>> >>> -Tino
>> >>>
>> >>> --
>> >>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> >>> Virtualization Technology Engineer / Researcher
>> >>> OpenNebula Toolkit | opennebula.org
>> >>>
>> >>>
>> >>>
>> >>> On Mon, Mar 7, 2011 at 10:40 AM, antoni artigues <tartigues at iac3.eu> wrote:
>> >>> > Hello
>> >>> >
>> >>> > I have 4 hosts registered:
>> >>> >
>> >>> > $ onehost list
>> >>> > ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM
>> >>> > STAT
>> >>> > 0 oscarnode4 default 1 400 400 400 7.8G 0K
>> >>> > on
>> >>> > 1 oscarnode5 default 1 400 400 400 7.8G 0K
>> >>> > on
>> >>> > 2 oscarnode6 default 3 400 400 400 7.8G 0K
>> >>> > on
>> >>> > 3 oscarnode7 default 4 400 400 400 7.8G 0K
>> >>> > on
>> >>> >
>> >>> > Each one With 7.8G of RAM
>> >>> >
>> >>> > I create 9 virtual machines. Each of one with 1 cpu and 1792MB of ram:
>> >>> > ------------------------------
>> >>> > NAME="ubuntuVM"
>> >>> > VCPU = 1
>> >>> > MEMORY = 1792
>> >>> > OS = [ ARCH = "i686" ]
>> >>> > DISK=[IMAGE="vmimage",
>> >>> > TARGET="sda",
>> >>> > BUS="scsi"]
>> >>> > NIC=[NETWORK="vmware LAN bridged"]
>> >>> > ------------------------------
>> >>> >
>> >>> > There are 4 running machines on "oscarnode7" host.
>> >>> >
>> >>> > When I create more virtual machines the scheduler sends it to the
>> >>> > "oscarnode7". But it doen't start because there is no more available RAM
>> >>> > on this host.
>> >>> >
>> >>> > If I create more machines, always the scheduler sends it to the same
>> >>> > host!!!
>> >>> >
>> >>> > Why the scheduler are not asigning another host? For example,
>> >>> > "oscarnode4" is only running one virtual machine
>> >>> >
>> >>> >
>> >>> > This is the virtual machines distribution after creating a new virtual
>> >>> > machine:
>> >>> >
>> >>> > onevm list
>> >>> > ID USER NAME STAT CPU MEM HOSTNAME TIME
>> >>> > 38 oneadmin ubuntuVM runn 0 0K oscarnode7 02 19:04:46
>> >>> > 39 oneadmin ubuntuVM runn 0 0K oscarnode7 02 18:42:19
>> >>> > 40 oneadmin ubuntuVM runn 0 0K oscarnode7 02 18:24:08
>> >>> > 42 oneadmin ubuntuVM runn 0 0K oscarnode6 02 18:07:58
>> >>> > 43 oneadmin ubuntuVM runn 0 0K oscarnode5 02 18:07:51
>> >>> > 44 oneadmin ubuntuVM runn 0 0K oscarnode4 02 18:07:43
>> >>> > 46 oneadmin ubuntuVM runn 0 0K oscarnode6 02 18:06:43
>> >>> > 51 oneadmin ubuntuVM runn 0 0K oscarnode6 02 17:58:05
>> >>> > 53 oneadmin ubuntuVM prol 0 0K oscarnode7 00 00:00:43
>> >>> >
>> >>> > Thanks in advance
>> >>> >
>> >>> > Antoni Artigues
>> >>> >
>> >>> > _______________________________________________
>> >>> > Users mailing list
>> >>> > Users at lists.opennebula.org
>> >>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>> >
>> >>
>> >>
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>
>> >>
>> >
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list