The "tycoon host create_account" command needs some time in order to
create the virtual file system. However, the command returns before
the end of the creation and you can't be sure about the time you need
to wait before launch "tycoon_scp...".
If you try to launch "tycoon_scp..." and the creation hasn't been
finished yet you'll obtain a wonderful:
ssh(24823) ssh: connect to host 204.123.32.77 port 7353: Connection refused
lost connection
[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:110:__get_status
]
How could I know if the file system has been created in order to
launch "tycoon_scp" safely?
Thanks in advance.
There currently isn't a great solution for that. We just wait 30sec
after create_account returns before trying to do anything with the VM.
"create_account" actually does wait until the VM is created before
returning. The problem is that the VM is not fully booted. AFAIK, there
isn't a simple way for the auctioneer to know that the VM is booted.
If this is a significant problem, please login and create a ticket at
http://tycoon.hpl.hp.com/.