Re: [one-users] onehost sync throws error

2014-02-20 Thread Stefan Kooman
Quoting Javier Fontan (jfon...@opennebula.org): > We have an off by one problem here. Change the line > /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310 from: > > str=str+" "*(79-str.length) > > to > > str=str+" "*(80-str.length) > > Should work with that patch Works like a charm! Thank

Re: [one-users] onehost sync throws error

2014-02-20 Thread Javier Fontan
We have an off by one problem here. Change the line /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310 from: str=str+" "*(79-str.length) to str=str+" "*(80-str.length) Should work with that patch On Wed, Feb 19, 2014 at 5:29 PM, Javier Fontan wrote: > Can you send me the database or the

Re: [one-users] onehost sync throws error

2014-02-19 Thread Javier Fontan
Can you send me the database or the output of "onehost list -x"? Send it to me, not the list. I'll try to figure out what happens. On Wed, Feb 19, 2014 at 1:31 PM, Jörg Mauer wrote: > Hi, > > I get the same error when doing a onehostsync after updating to 4.4.1 > (from 4.4, from 4.2) in our dev e

Re: [one-users] onehost sync throws error

2014-02-19 Thread Stefan Kooman
Quoting Javier Fontan (jfon...@opennebula.org): > That's really strange. Do you still have the database so we can check > what it happens? How many hosts do you have? Just two hypervisors at the moment. Upgrade has been done quite some time ago but I only noticed recently. I don't have the databas

Re: [one-users] onehost sync throws error

2014-02-19 Thread Jörg Mauer
Hi, I get the same error when doing a onehostsync after updating to 4.4.1 (from 4.4, from 4.2) in our dev environment. We are running 2 hosts in this environment. Please let me know if you need any specific information to investigate this problem. # /usr/lib/

Re: [one-users] onehost sync throws error

2014-02-14 Thread Javier Fontan
That's really strange. Do you still have the database so we can check what it happens? How many hosts do you have? On Thu, Feb 6, 2014 at 5:16 PM, Stefan Kooman wrote: > Hi list, > > If I run a "onehost sync" it throws the following error (one 4.4): > > onehost sync > * Adding hypervisor1 to upgr

[one-users] onehost sync throws error

2014-02-06 Thread Stefan Kooman
Hi list, If I run a "onehost sync" it throws the following error (one 4.4): onehost sync * Adding hypervisor1 to upgrade * Adding hypervisor2 to upgrade /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310:in `*': negative argument (ArgumentError) from /usr/lib/one/ruby/cli/one_helper/onehost_h