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

Re: [one-users] onehost sync

2013-11-06 Thread Jaime Melis
Hi, yes, that's probably the problem actually. Does it work if it's enabled? cheers, Jaime On Fri, Oct 25, 2013 at 6:35 PM, Olivier Sallou wrote: > > On 10/25/2013 06:22 PM, Jaime Melis wrote: > > Hi Olivier, > > I don't know what could be going on. When the core detects that the > remotes_di

Re: [one-users] onehost sync

2013-10-25 Thread Olivier Sallou
On 10/25/2013 06:22 PM, Jaime Melis wrote: > Hi Olivier, > > I don't know what could be going on. When the core detects that the > remotes_dir has been "touched" by the "onehost sync", then it sends a > special argument to the driver which forces an 'scp' of the remotes... > > As a workaround I ca

Re: [one-users] onehost sync

2013-10-25 Thread Olivier Sallou
On 10/25/2013 06:22 PM, Jaime Melis wrote: > Hi Olivier, > > I don't know what could be going on. When the core detects that the > remotes_dir has been "touched" by the "onehost sync", then it sends a > special argument to the driver which forces an 'scp' of the remotes... > > As a workaround I ca

Re: [one-users] onehost sync

2013-10-25 Thread Jaime Melis
Hi Olivier, I don't know what could be going on. When the core detects that the remotes_dir has been "touched" by the "onehost sync", then it sends a special argument to the driver which forces an 'scp' of the remotes... As a workaround I can only tell you what you already know, which is to manua

Re: [one-users] onehost sync

2013-10-25 Thread Olivier Sallou
As additional information, there is no error in oned.log (nor any info about a sync operation), and my node has been monitored in the meanwhile: oneadmin@genokvm4:~$ onehost show mynode HOST 14 INFORMATION ID: 14

[one-users] onehost sync

2013-10-25 Thread Olivier Sallou
Hi, I have executed "onehost sync" on my master, but even after quite a long time, scripts are not updated on nodes (old scripts). (master installed via deb packages, and in oned.conf: SCRIPTS_REMOTE_DIR=/opt/one) On master I have: root@master:/var/log/one# ls -l /var/lib/one/remotes/vmm/kvm/

Re: [one-users] onehost sync doesn't deploy new scripts on upgrade

2011-03-23 Thread Oscar Elfving
If you mean "/var/lib/one/remotes" on the frontend then yes, that directory exists. What other directory is there? On Wed, Mar 23, 2011 at 1:03 PM, Daniel Molina wrote: > Hi, > > The onehost sync command will try to copy the remote files from the > frontend var directory to the worker node, Can y

Re: [one-users] onehost sync doesn't deploy new scripts on upgrade

2011-03-23 Thread Daniel Molina
Hi, The onehost sync command will try to copy the remote files from the frontend var directory to the worker node, Can you check that the remote directory exists in the var directory of your ONE installation? If not you can copy them from the lib directory that contains a copy in case the var dire

[one-users] onehost sync doesn't deploy new scripts on upgrade

2011-03-23 Thread Oscar Elfving
Hi! Just upgraded from ONE 2.0 to 2.2 RC1 and ran into a problem where onehost sync doesn't deploy new remotes to my KVM hosts. Any idea about what could cause this? For now I have deployed the new remotes manually but that won't do in production... Best regards, Oscar Elfving ___