[one-users] onehost sync throws error
Jörg Mauer
mauer at ign.de
Wed Feb 19 04:31:23 PST 2014
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/one/ruby/cli/one_helper/onehost_helper.rb:310:in `*':
negative argument (ArgumentError)
from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
`join'
from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
`sync'
from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
`each'
from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
`sync'
from /usr/bin/onehost:192
from /usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
from /usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
from /usr/bin/onehost:36:in `new'
from /usr/bin/onehost:36
regards,
Joerg
Am 14.02.2014 11:13, schrieb 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 <stefan at bit.nl>
> wrote:
>> 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_helper.rb:310:in
>> `print_update_info' from
>> /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:254:in `block
>> (2 levels) in sync'
>>
>> It does trigger a config sync:
>>
>> Thu Feb 6 17:06:09 2014 [ReM][D]: Req:2400 UID:0 SystemConfig
>> invoked Thu Feb 6 17:06:09 2014 [ReM][D]: Req:2400 UID:0
>> SystemConfig result SUCCESS, "<TEMPLATE><AUTH_MAD>..." Thu Feb 6
>> 17:06:09 2014 [ReM][D]: Req:3520 UID:0 HostPoolInfo invoked Thu
>> Feb 6 17:06:09 2014 [ReM][D]: Req:3520 UID:0 HostPoolInfo
>> result SUCCESS, "<HOST_POOL><HOST><ID..."
>>
>> A clean install of one 4.4.1 on Ubuntu Precise 12.04.4, with one
>> dummy kvm host does not throw any errors. Might this error be
>> related to an upgrade from one 4.2 -> 4.4?
>>
>> Gr. Stefan
>>
>>
>> -- | BIT BV http://www.bit.nl/ Kamer van Koophandel
>> 09090351 | GPG: 0xD14839C6 +31 318 648 688 /
>> info at bit.nl _______________________________________________ Users
>> mailing list Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
More information about the Users
mailing list