LeastAuthority / leastauthority.com

Least Authority S4
https://leastauthority.com/
Other
14 stars 18 forks source link

New SSEC2s lack "introducer.furl" files. #180

Closed zancas closed 10 years ago

zancas commented 10 years ago

You can find the log of the signup which failed because of this here:

website@54.82.208.135:/home/website/secrets/S4/2014-05-22T142107Z-mn2xgxzugu3us5dtnztfqwchinehc-on2wexzugu3us5czirgxsmdxon2wg/signup_logs

The following IRC excerpt is me asking for help with the issue:

* za_laptop runs smoke test....  [08:18]
...
<za_laptop> daira: tahoe restart introducer  [08:54]
<za_laptop> where introducer is an introducer node directory
<za_laptop> initialized with:  LAFS_source/bin/tahoe create-introducer
        introducer  [08:55]
<za_laptop> Doesn't appear to generate an "introducer.furl" file.  [08:56]
...
<za_laptop> allmydata-tahoe: 1.10.0.post222 [2237-cloud-backend-s4:
        a68bf91dd805f0e532792ed3026887b6a721ba62]
...
<za_laptop> should create-introducer create an introducer.furl file?
<za_laptop> daira: daira Can you determine why  54.82.208.135 which is an
        SSEC2 fails to fulfill its function?  [09:12]
<za_laptop> If you examine either /home/customer/introducer, or
        /home/customer/introducer_bak  [09:13]
<za_laptop> You'll find they lack introducer.furl files, which appear to be
        expected e.g. on line 564 of lae_automation/server.py  [09:14]
zancas commented 10 years ago

Dang it, that's the wrong IP...

zancas commented 10 years ago

The correct IP is: 54.82.51.112

daira commented 10 years ago

Investigating now. What has been changed since the signup? I see _bak directories that look like there has been some manual intervention.

zancas commented 10 years ago

Perhaps you should sign up for an S4 account at: 54.82.208.135 and then debug the resultant SSEC2.

zancas commented 10 years ago

Here's a traceback from another instance of what I think is the same issue:

website@ip-10-95-179-108:~/secrets/S4/2014-05-27T012750Z-mn2xgxzugzwxqmctnnyuqmsoo43ww-on2wexzugzwxqqkkhfrgytkzi5vde$ tail -n 50 signup_logs 
>package: git-core installed>
>Installing package: libffi6>
>package: libffi6 installed>
>Installing package: openssl>
>package: openssl installed>
>Installing package: libssl1.0.0>
>package: libssl1.0.0 installed>
>Installing package: python-nevow>
>package: python-nevow installed>
>Installing package: python-crypto>
>package: python-crypto installed>
>Installing package: python-dateutil>
>package: python-dateutil installed>
>Installing package: python-foolscap>
>package: python-foolscap installed>
>Installing package: python-six>
>package: python-six installed>
>Installing package: python-pycparser>
>package: python-pycparser installed>
>Installing package: python-unidecode>
>package: python-unidecode installed>
>Installing package: python-zfec>
>package: python-zfec installed>
>Installing package: python-simplejson>
>package: python-simplejson installed>
>Finished installing dependencies...>
>Setting up customer account...>
>Setting up monitor account...>
>Getting Tahoe-LAFS...>
>Building Tahoe-LAFS...>
>Creating introducer and storage server...>
>Finished server installation.>
>Starting introducer...>
[Failure instance: Traceback: <type 'exceptions.SystemExit'>: 1
/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py:125:connectionLost
/usr/lib/python2.7/dist-packages/twisted/web/client.py:204:connectionLost
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:382:callback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:490:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks
/home/website/leastauthority.com/lae_automation/signup.py:169:_got_sshfp
/home/website/leastauthority.com/lae_automation/server.py:557:bounce_server
/home/website/leastauthority.com/lae_automation/server.py:159:run
/usr/lib/python2.7/dist-packages/fabric/network.py:639:host_prompting_wrapper
/usr/lib/python2.7/dist-packages/fabric/operations.py:1042:run
/usr/lib/python2.7/dist-packages/fabric/operations.py:932:_run_command
/usr/lib/python2.7/dist-packages/fabric/utils.py:327:error
/usr/lib/python2.7/dist-packages/fabric/utils.py:34:abort
]
>Failure notification sent for the following error:>
website@ip-10-95-179-108:~/secrets/S4/2014-05-27T012750Z-mn2xgxzugzwxqmctnnyuqmsoo43ww-on2wexzugzwxqqkkhfrgytkzi5vde$ 
zancas commented 10 years ago

The SSEC2 associated with the above message is at 23.22.7.137.

zancas commented 10 years ago

Here's what I believe is the relevant code:

https://github.com/LeastAuthority/leastauthority.com/blob/912584191885676cf7b8b69ced81ee4724c2de51/lae_automation/server.py#L547

zancas commented 10 years ago

Here's the output of an ssh session running the commands that fabric would have run:

 0 git_branch: master
/home/arc :
$ ssh customer@23.22.7.137
The authenticity of host '23.22.7.137 (23.22.7.137)' can't be established.
ECDSA key fingerprint is 84:46:16:c4:76:3c:f5:12:04:63:09:88:85:f8:9a:40.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '23.22.7.137' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

 System information disabled due to load higher than 1.0

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

*** System restart required ***
customer@ip-10-185-247-150:~$ ls -al /home/customer/introducer/
total 40
drwxrwxr-x 5 customer customer 4096 May 27 01:34 .
drwxr-xr-x 7 customer customer 4096 May 27 01:34 ..
-rw------- 1 customer customer    6 May 27 01:34 introducer.port
drwxrwxr-x 3 customer customer 4096 May 27 01:34 logs
-rw-rw-r-- 1 customer customer   33 May 27 01:34 my_nodeid
drwx------ 2 customer customer 4096 May 27 01:34 private
-rw-rw-r-- 1 customer customer  520 May 27 01:34 tahoe.cfg
-rw-rw-r-- 1 customer customer  311 May 27 01:34 tahoe-introducer.tac
drwxrwxr-x 2 customer customer 4096 May 27 01:34 tmp
-rw-r--r-- 1 customer customer    5 May 27 01:34 twistd.pid
customer@ip-10-185-247-150:~$ LAFS_source/bin/tahoe restart introducer && sleep 5
STOPPING '/home/customer/introducer'
process 12467 is dead
STARTING '/home/customer/introducer'
customer@ip-10-185-247-150:~$ ls -al /home/customer/introducer/                  
total 40
drwxrwxr-x 5 customer customer 4096 May 27 02:35 .
drwxr-xr-x 7 customer customer 4096 May 27 01:34 ..
-rw------- 1 customer customer    6 May 27 02:35 introducer.port
drwxrwxr-x 3 customer customer 4096 May 27 01:34 logs
-rw-rw-r-- 1 customer customer   33 May 27 02:35 my_nodeid
drwx------ 2 customer customer 4096 May 27 01:34 private
-rw-rw-r-- 1 customer customer  520 May 27 01:34 tahoe.cfg
-rw-rw-r-- 1 customer customer  311 May 27 01:34 tahoe-introducer.tac
drwxrwxr-x 2 customer customer 4096 May 27 01:34 tmp
-rw-r--r-- 1 customer customer    5 May 27 02:35 twistd.pid
customer@ip-10-185-247-150:~$ cat /home/customer/introducer/introducer.furl
cat: /home/customer/introducer/introducer.furl: No such file or directory
zancas commented 10 years ago

New better error output: https://github.com/LeastAuthority/leastauthority.com/commit/dd7f442ff0b6d144bb17a417d22f7fc70f6d0020

zancas commented 10 years ago

Result of test with above improvement:

(10:38:22 AM) ***zancas is very pleased with the improved logging.
(10:38:27 AM) zancas: >Starting introducer...>
(10:38:27 AM) zancas: [customer@54.225.40.9] run: rm -f /home/customer/introducer/introducer.furl /home/customer/introducer/logport.furl
(10:38:27 AM) zancas: [customer@54.225.40.9] put: <file obj> -> /home/customer/introducer/introducer.port
(10:38:27 AM) zancas: [customer@54.225.40.9] put: <file obj> -> /home/customer/storageserver/client.port
(10:38:27 AM) zancas: [customer@54.225.40.9] run: LAFS_source/bin/tahoe restart introducer && sleep 5
(10:38:27 AM) zancas: [customer@54.225.40.9] out: '/home/customer/introducer' does not look like a running node directory (no twistd.pid)
(10:38:27 AM) zancas: [customer@54.225.40.9] out: ignoring couldn't-stop
(10:38:27 AM) zancas: [customer@54.225.40.9] out: 
(10:38:27 AM) zancas: [customer@54.225.40.9] run: cat /home/customer/introducer/introducer.furl
(10:38:27 AM) zancas: [customer@54.225.40.9] out: cat: /home/customer/introducer/introducer.furl: No such file or directory
(10:38:27 AM) zancas: [customer@54.225.40.9] out: 
(10:38:27 AM) zancas: [Failure instance: Traceback: <type 'exceptions.SystemExit'>: 1
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/twisted/protocols/policies.py:125:connectionLost
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/twisted/web/client.py:204:connectionLost
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:382:callback
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:490:_startRunCallbacks
(10:38:27 AM) zancas: --- <exception caught here> ---
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks
(10:38:27 AM) zancas: /home/website/leastauthority.com/lae_automation/signup.py:167:_got_sshfp
(10:38:27 AM) zancas: /home/website/leastauthority.com/lae_automation/server.py:557:bounce_server
(10:38:27 AM) zancas: /home/website/leastauthority.com/lae_automation/server.py:159:run
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/fabric/network.py:639:host_prompting_wrapper
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/fabric/operations.py:1042:run
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/fabric/operations.py:932:_run_command
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/fabric/utils.py:327:error
(10:38:27 AM) zancas: /usr/lib/python2.7/dist-packages/fabric/utils.py:34:abort
(10:38:27 AM) zancas: ]
(10:40:45 AM) daira1: okay, that's better
zancas commented 10 years ago

3 possible sources:

(0) new leastauthority.com code: 177-deploy-cloud-backend (1) new tahoe code: 2237-cloud-backend-s4 (2) new EC2 AMI: ami-018c9568

I doubt (0) because the changes in that code since the last working version are small.

I've also run the tahoe create-introducer $FOO tahoe restart $FOO in my local Mint-16 environment with both:

Branch: 2237-cloud-backend-s4   commit: a68bf91dd805f0e532792ed3026887b6a721ba62

and

Branch: 2237-cloud-backend-s4   commit: a68bf91dd805f0e532792ed3026887b6a721ba62

in no case was a $FOO/introducer.furl file generated.

zancas commented 10 years ago

I think the result of the last experiment means:

The series of commands: create-introducer, restart is insufficient to generate the introducer.furl file.

Therefore, there's a missing command.

Therefore, I'll look at the master branch of leastauthority.com.

zancas commented 10 years ago

No, there's doesn't seem to be a command excision:

https://github.com/LeastAuthority/leastauthority.com/compare/177-deploy-cloud-backend

Anybody who can show me how to make that comparison url specific to lae_automation/server.py gets 2 bonus points.

zancas commented 10 years ago

(11:04:33 AM) daira1: it's probably a cloud backend dependency problem (11:04:39 AM) zancas: create-introducer, restart was used in master also. (11:04:48 AM) **daira1 nods (11:04:56 AM) zancas: Myh experiments support that notion. (11:05:11 AM) zancas: A cloud-backend \ 14.04 interraction perhaps. (11:05:42 AM) zancas: Unfortunately the t1.micros are too limited to run the tahoe-lafs unittests? (11:05:51 AM) zancas: Perhaps we should run the unittests on: (11:06:07 AM) zancas: 23.23.44.213 (11:06:16 AM) zancas: Which is an m3.medium with (11:06:20 AM) zancas: 14.04 (11:06:45 AM) zancas: and 2237-cloud-backend-s4 IIRC

zancas commented 10 years ago
(tahoe_env) 0 git_branch: master
/home/arc :
$ ./tahoe_env/canonical_tahoe/bin/tahoe --version
allmydata-tahoe: 1.10.0.post94 [master: e9e8cb73fd09d63be2909486693131f3b2f6224d]
foolscap: 0.6.4
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
zfec: 1.4.7
Twisted: 11.1.0
Nevow: 0.10.0
zope.interface: unknown
python: 2.7.5+
platform: Linux-LinuxMint_16-x86_64-64bit_ELF
pyOpenSSL: 0.14
simplejson: 3.5.2
pycrypto: 2.5
pyasn1: 0.1.7
mock: 1.0.1
setuptools: 0.6c16dev4

Warning: dependency 'cryptography' (version '0.4') found by pkg_resources not found by import.
Warning: dependency 'six' (version '1.6.1') found by pkg_resources not found by import.
Warning: dependency 'cffi' (version '0.8.2') found by pkg_resources not found by import.
Warning: dependency 'pycparser' (version '2.10') found by pkg_resources not found by import.

For debugging purposes, the PYTHONPATH was
  '/home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages'
install_requires was
  ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4', 'zope.interface == 3.6.0, == 3.6.1, == 3.6.2, >= 3.6.5', 'Twisted >= 11.0.0', 'foolscap >= 0.6.3', 'pyOpenSSL', 'Nevow >= 0.6.0', 'pycrypto == 2.1.0, == 2.3, >= 2.4.1', 'pyasn1 >= 0.0.8a', 'mock >= 0.8.0', 'p
ycryptopp >= 0.6.0']
sys.path after importing pkg_resources was
  /home/arc/tahoe_env/canonical_tahoe/support/bin:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg:
  /home/arc/tahoe_env/canonical_tahoe/src:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/Nevow-0.10.0-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/foolscap-0.6.4-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/simplejson-3.5.2-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/six-1.6.1-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/cryptography-0.4-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pyutil-2.0.0-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/zbase32-1.1.5-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/Twisted-11.1.0-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages:
  /home/arc/tahoe_env/lib/python2.7:
  /home/arc/tahoe_env/lib/python2.7/plat-x86_64-linux-gnu:
  /home/arc/tahoe_env/lib/python2.7/lib-tk:
  /home/arc/tahoe_env/lib/python2.7/lib-old:
  /home/arc/tahoe_env/lib/python2.7/lib-dynload:
  /usr/lib/python2.7:
  /usr/lib/python2.7/plat-x86_64-linux-gnu:
  /usr/lib/python2.7/lib-tk:
  /home/arc/tahoe_env/local/lib/python2.7/site-packages

(tahoe_env) 0 git_branch: master
/home/arc :
$ ls -la introducer_master
ls: cannot access introducer_master: No such file or directory
(tahoe_env) 2 git_branch: master
/home/arc :
$ ./tahoe_env/canonical_tahoe/bin/tahoe create-introducer introducer_master
Introducer created in '/home/arc/introducer_master'
(tahoe_env) 0 git_branch: master
/home/arc :
$ ls -al introducer_master/
total 16
drwxrwxr-x  2 arc arc 4096 May 27 11:15 .
drwxr-xr-x 89 arc arc 4096 May 27 11:15 ..
-rw-rw-r--  1 arc arc  520 May 27 11:15 tahoe.cfg
-rw-rw-r--  1 arc arc  311 May 27 11:15 tahoe-introducer.tac
(tahoe_env) 0 git_branch: master
/home/arc :
$ ./tahoe_env/canonical_tahoe/bin/tahoe restart introducer_master
STOPPING '/home/arc/introducer_master'
'/home/arc/introducer_master' does not look like a running node directory (no twistd.pid)
ignoring couldn't-stop
STARTING '/home/arc/introducer_master'
(tahoe_env) 0 git_branch: master
/home/arc :
$ ls -al introducer_master/
total 40
drwxrwxr-x  5 arc arc 4096 May 27 11:15 .
drwxr-xr-x 89 arc arc 4096 May 27 11:15 ..
-rw-------  1 arc arc    6 May 27 11:15 introducer.port
drwxrwxr-x  3 arc arc 4096 May 27 11:15 logs
-rw-rw-r--  1 arc arc   33 May 27 11:15 my_nodeid
drwx------  2 arc arc 4096 May 27 11:15 private
-rw-rw-r--  1 arc arc  520 May 27 11:15 tahoe.cfg
-rw-rw-r--  1 arc arc  311 May 27 11:15 tahoe-introducer.tac
drwxrwxr-x  2 arc arc 4096 May 27 11:15 tmp
-rw-r--r--  1 arc arc    4 May 27 11:15 twistd.pid
(tahoe_env) 0 git_branch: master
/home/arc :
$
zancas commented 10 years ago

Testing against 1.10.0:

zancas commented 10 years ago
(tahoe_env) 0 git_branch: master
/home/arc :
$ ./tahoe_env/canonical_tahoe/bin/tahoe --version
allmydata-tahoe: 1.10.0
foolscap: 0.6.4
pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958
zfec: 1.4.7
Twisted: 11.1.0
Nevow: 0.10.0
zope.interface: unknown
python: 2.7.5+
platform: Linux-LinuxMint_16-x86_64-64bit_ELF
pyOpenSSL: 0.14
simplejson: 3.5.2
pycrypto: 2.5
pyasn1: 0.1.7
mock: 1.0.1
setuptools: 0.6c16dev4

Warning: dependency 'cryptography' (version '0.4') found by pkg_resources not found by import.
Warning: dependency 'six' (version '1.6.1') found by pkg_resources not found by import.
Warning: dependency 'cffi' (version '0.8.2') found by pkg_resources not found by import.
Warning: dependency 'pycparser' (version '2.10') found by pkg_resources not found by import.

For debugging purposes, the PYTHONPATH was
  '/home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages'
install_requires was
  ['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4', 'zope.interface == 3.6.0, == 3.6.1, == 3.6.2, >= 3.6.5', 'Twisted >= 11.0.0', 'foolscap >= 0.6.3', 'pyOpenSSL', 'Nevow >= 0.6.0', 'pycrypto == 2.1.0, == 2.3, >= 2.4.1', 'pyasn1 >= 0.0.8a', 'mock >= 0.8.0', 'pycryptopp >= 0.6.0']
sys.path after importing pkg_resources was
  /home/arc/tahoe_env/canonical_tahoe/support/bin:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg:
  /home/arc/tahoe_env/canonical_tahoe/src:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pyasn1-0.1.7-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pycrypto-2.5-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/Nevow-0.10.0-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pyOpenSSL-0.14-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/foolscap-0.6.4-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/simplejson-3.5.2-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/zfec-1.4.7-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/six-1.6.1-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/cryptography-0.4-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/pyutil-2.0.0-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/zbase32-1.1.5-py2.7.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/Twisted-11.1.0-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages/zope.interface-3.6.1-py2.7-linux-x86_64.egg:
  /home/arc/tahoe_env/canonical_tahoe/support/lib/python2.7/site-packages:
  /home/arc/tahoe_env/lib/python2.7:
  /home/arc/tahoe_env/lib/python2.7/plat-x86_64-linux-gnu:
  /home/arc/tahoe_env/lib/python2.7/lib-tk:
  /home/arc/tahoe_env/lib/python2.7/lib-old:
  /home/arc/tahoe_env/lib/python2.7/lib-dynload:
  /usr/lib/python2.7:
  /usr/lib/python2.7/plat-x86_64-linux-gnu:
  /usr/lib/python2.7/lib-tk:
  /home/arc/tahoe_env/local/lib/python2.7/site-packages

(tahoe_env) 0 git_branch: master
/home/arc :
$ ./tahoe_env/canonical_tahoe/bin/tahoe create-introducer introducer_master
Introducer created in '/home/arc/introducer_master'
(tahoe_env) 0 git_branch: master
/home/arc :
$ ls -la introducer_master/
total 16
drwxrwxr-x  2 arc arc 4096 May 27 11:23 .
drwxr-xr-x 89 arc arc 4096 May 27 11:23 ..
-rw-rw-r--  1 arc arc  520 May 27 11:23 tahoe.cfg
-rw-rw-r--  1 arc arc  311 May 27 11:23 tahoe-introducer.tac
(tahoe_env) 0 git_branch: master
/home/arc :
$ ./tahoe_env/canonical_tahoe/bin/tahoe restart introducer_master
STOPPING '/home/arc/introducer_master'
'/home/arc/introducer_master' does not look like a running node directory (no twistd.pid)
ignoring couldn't-stop
STARTING '/home/arc/introducer_master'
(tahoe_env) 0 git_branch: master
/home/arc :
$ ls -la introducer_master/
total 40
drwxrwxr-x  5 arc arc 4096 May 27 11:24 .
drwxr-xr-x 89 arc arc 4096 May 27 11:23 ..
-rw-------  1 arc arc    6 May 27 11:24 introducer.port
drwxrwxr-x  3 arc arc 4096 May 27 11:24 logs
-rw-rw-r--  1 arc arc   33 May 27 11:24 my_nodeid
drwx------  2 arc arc 4096 May 27 11:24 private
-rw-rw-r--  1 arc arc  520 May 27 11:23 tahoe.cfg
-rw-rw-r--  1 arc arc  311 May 27 11:23 tahoe-introducer.tac
drwxrwxr-x  2 arc arc 4096 May 27 11:24 tmp
-rw-r--r--  1 arc arc    5 May 27 11:24 twistd.pid
(tahoe_env) 0 git_branch: master
/home/arc :
$ 
zancas commented 10 years ago

twistd.log for above run:

(tahoe_env) 0 git_branch: master
/home/arc/introducer_master/logs :
$ cat twistd.log 
2014-05-27 11:24:11-0600 [-] Log opened.
2014-05-27 11:24:11-0600 [-] twistd 11.1.0 (/home/arc/tahoe_env/bin/python 2.7.5) starting up.
2014-05-27 11:24:11-0600 [-] reactor class: twisted.internet.pollreactor.PollReactor.
2014-05-27 11:24:11-0600 [-] Listener starting on 35960
2014-05-27 11:24:11-0600 [-] My pid: 14802
2014-05-27 11:24:11-0600 [-] DatagramProtocol starting on 60791
2014-05-27 11:24:11-0600 [-] Starting protocol <twisted.internet.protocol.DatagramProtocol instance at 0x264e9e0>
2014-05-27 11:24:11-0600 [-] (UDP Port 60791 Closed)
2014-05-27 11:24:11-0600 [-] Stopping protocol <twisted.internet.protocol.DatagramProtocol instance at 0x264e9e0>
(tahoe_env) 0 git_branch: master
/home/arc/introducer_master/logs :
zancas commented 10 years ago

introducer.furl now contains a secret swissnum, so it's been moved into private