I have updated my system with yum and after that some tycoon comands
don't work properly. For example tycoon bank get_balance command gives
me my account balance without problems but, if I try with tycoon
get_host_list I get the next error traceback:
--------------------------------------------------------------------------------------------------------------------------------------------------
[ygnus@gaviota2 ~]$ tycoon get_host_list
IP Address
----------
Traceback (most recent call last):
File "/usr/bin/tycoon", line 24, in ?
Tycoon().run()
File "/usr/lib/python2.4/site-packages/Tycoon/Tycoon.py", line 196,
in run
d = self.__main.run(self.__reactor)
File "/usr/lib/python2.4/site-packages/KL/Utility/Main.py", line 71,
in run
sys.exit(
File "/usr/lib/python2.4/site-packages/KL/Utility/Command.py", line
86, in run
r = cmd.run(argv, options, m, *args, **kw)
File "/usr/lib/python2.4/site-packages/KL/Utility/Command.py", line
57, in run
return self.run_func(
File "/usr/lib/python2.4/site-packages/Tycoon/Tycoon.py", line 144,
in __get_host_list
d = sls_client.print_host_list(auctioneer_key, ("ip_address",))
AttributeError: 'SLSClient' object has no attribute 'print_host_list'
--------------------------------------------------------------------------------------------------------------------------------------------------
I have checked the SLSClient.py code and it actually has not a
print_host_list method neither attribute.
I also have removed the tycoon client and installed newly after that
but neither works.
I don't know if it's my fault or it is a generalized error.
Thank you in advance!
I have the same problem as you.
Cheers.
tycoon get_host_list has been deprecated.
The closest you get is:
'tycoon sls query_cost_efficiency CPU'
type 'tycoon sls' for a full set of SLS commands.
The bank configuration has changed too. Make sure you have:
BankURLList = (
"http://tycoon-bank.hpl.hp.com:8899/bank",
)
In your /etc/tycoon/tycoon.conf file.
/Thomas
Kevin
thank you all. I've discovered another new problem after update. I
can't connect other machines using tycoon_ssh command. Of course I have
an account on those machines. The command response is:
ssh: connect to host 163.117.142.229 port 36722: Connection refused
[Failure instance: Traceback: exceptions.Exception, Host account does
not have a forwarded ssh port.
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:338:_runCallbacks
/usr/lib/python2.4/site-packages/Tycoon/Ssh.py:171:__get_status
]
Has the connection port changed? I update the system every day and I'm
getting new errors. Probably I am doing anything wrong.
Thank you very much.
Kevin Lai ha escrito:
/Thomas