"ERROR: ArgumentError: wrong number of arguments (1 for 2)"


#1

My workstation has been functional for 3 months. I upgraded my chef server
from 10.?.? to 10.18.2 on Jan 25, 2013. It has been working great until
yesterday. Every time that i try to upload ANY cookbook from my workstation if
get this error message “ERROR: ArgumentError: wrong number of arguments (1 for
2)”. I bulk deleted ALL of my cookbooks and tried to reload a cookbook that
had no changes. Still the same error. Coworker suggested that since knife
–version on my workstation results in Chef: 10.12.0 and knife --version on my
chefserver results in Chef: 10.18.2, that it is a version mismatch. I would
like to find the chef-client-10.18.2 windows msi file. If i do gem install
then i end up with net-ssh issues. The references that i found for this error
message say that it is a problem with the metadata - there is not any problem
with the metadata. I have loaded many of these cookbooks before - many just two
days ago -and my coworkers have no issues with the cookbooks. I have not made
any changes to my chefserver (rhel5 x86_64) or my workstation (windows 7).
Any ideas? Thoughts? Suggestions?


#2

Try upgrading your workstation to 10.20 latest, should fix the net-ssh
issues I think
On Feb 21, 2013 3:35 PM, “pjbug” paula.price@issinc.com wrote:

My workstation has been functional for 3 months. I upgraded my chef server
from 10.?.? to 10.18.2 on Jan 25, 2013. It has been working great until
yesterday. Every time that i try to upload ANY cookbook from my
workstation if
get this error message “ERROR: ArgumentError: wrong number of arguments (1
for
2)”. I bulk deleted ALL of my cookbooks and tried to reload a cookbook
that
had no changes. Still the same error. Coworker suggested that since knife
–version on my workstation results in Chef: 10.12.0 and knife --version
on my
chefserver results in Chef: 10.18.2, that it is a version mismatch. I
would
like to find the chef-client-10.18.2 windows msi file. If i do gem install
then i end up with net-ssh issues. The references that i found for this
error
message say that it is a problem with the metadata - there is not any
problem
with the metadata. I have loaded many of these cookbooks before - many
just two
days ago -and my coworkers have no issues with the cookbooks. I have not
made
any changes to my chefserver (rhel5 x86_64) or my workstation (windows 7).
Any ideas? Thoughts? Suggestions?


#3

If an upgrade to 0.10.20 doesn’t work, try uninstalling then reinstalling
the net-ssh and related gems mentioned on this link and see if it will fix.

http://blog.karekinian.com/2013/02/14/how-to-install-chef-0.10.4/

On Thu, Feb 21, 2013 at 6:11 PM, Jesse Campbell hikeit@gmail.com wrote:

Try upgrading your workstation to 10.20 latest, should fix the net-ssh
issues I think
On Feb 21, 2013 3:35 PM, “pjbug” paula.price@issinc.com wrote:

My workstation has been functional for 3 months. I upgraded my chef
server
from 10.?.? to 10.18.2 on Jan 25, 2013. It has been working great until
yesterday. Every time that i try to upload ANY cookbook from my
workstation if
get this error message “ERROR: ArgumentError: wrong number of arguments
(1 for
2)”. I bulk deleted ALL of my cookbooks and tried to reload a cookbook
that
had no changes. Still the same error. Coworker suggested that since
knife
–version on my workstation results in Chef: 10.12.0 and knife --version
on my
chefserver results in Chef: 10.18.2, that it is a version mismatch. I
would
like to find the chef-client-10.18.2 windows msi file. If i do gem
install
then i end up with net-ssh issues. The references that i found for this
error
message say that it is a problem with the metadata - there is not any
problem
with the metadata. I have loaded many of these cookbooks before - many
just two
days ago -and my coworkers have no issues with the cookbooks. I have not
made
any changes to my chefserver (rhel5 x86_64) or my workstation (windows
7).
Any ideas? Thoughts? Suggestions?