Error after update

0 views
Skip to first unread message

A. Rodríguez

unread,
Dec 19, 2006, 5:05:08 AM12/19/06
to Tycoon Users
Hi all,

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!

J.M. Dana

unread,
Dec 19, 2006, 7:38:21 AM12/19/06
to Tycoon...@googlegroups.com
Hi everybody,

I have the same problem as you.

Cheers.

Thomas Sandholm

unread,
Dec 19, 2006, 11:07:58 AM12/19/06
to Tycoon...@googlegroups.com
Hi,

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 Lai

unread,
Dec 19, 2006, 2:29:33 PM12/19/06
to Tycoon...@googlegroups.com

Yes, Thomas is right about get_host_list. The new bank configuration
should have occurred automatically with the yum rpm installation, so you
probably don't need to check it.

Kevin

A. Rodríguez

unread,
Dec 22, 2006, 7:36:24 AM12/22/06
to Tycoon Users
Hi,

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 Sandholm

unread,
Dec 22, 2006, 10:55:06 AM12/22/06
to Tycoon...@googlegroups.com
I have seen this behavior too after the update on some old vms.
What you may want to try is to rebid for the ssh port.
E.g. tycoon host bid 163.117.142.229 0 TCPv4Port,3672:1,3672
Then make sure your host is booted by calling tycoon host boot
before issuing your ssh command.

/Thomas

A. Rodríguez

unread,
Dec 26, 2006, 7:56:40 AM12/26/06
to Tycoon Users
Ok thank you very much. Now it works perfectly.

Reply all
Reply to author
Forward
0 new messages