IBM-Blockchain-Identity / indy-ssivc-tutorial

A turnkey, Docker-based tutorial for help developers get acquainted with Self-Sovereign Identity and Verifiable Credentials.
Apache License 2.0
80 stars 73 forks source link

Builds Issues - von-network nodes fail to start #2

Closed vinomaster closed 6 years ago

vinomaster commented 6 years ago

Clean build of all repos and same problem when starting von-network nodes using

$ ./manage start WARNING: The IP variable is not set. Defaulting to a blank string. WARNING: The IPS variable is not set. Defaulting to a blank string. Creating von_node1_1 ... done Creating von_node2_1 ... done Creating von_node3_1 ... done Creating von_node4_1 ... done Creating von_von-web_1 ... done Attaching to von_node3_1, von_node1_1, von_node4_1, von_node2_1, von_von-web_1 node3_1 | Ledger exists - using... node3_1 | start_indy_node Node3 9705 9706 node1_1 | Ledger exists - using... node1_1 | start_indy_node Node1 9701 9702 node4_1 | Ledger exists - using... node4_1 | start_indy_node Node4 9707 9708 node2_1 | Ledger exists - using... node2_1 | start_indy_node Node2 9703 9704 von-web_1 | Ledger exists - using... node3_1 | Traceback (most recent call last): node3_1 | File "/usr/local/bin/start_indy_node", line 6, in node3_1 | from indy_node.utils.node_runner import run_node node3_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/utils/node_runner.py", line 8, in node3_1 | from indy_node.server.node import Node node3_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/server/node.py", line 14, in node3_1 | from plenum.server.node import Node as PlenumNode node3_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/node.py", line 72, in node3_1 | from plenum.server.monitor import Monitor node3_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/monitor.py", line 26, in node3_1 | pluginManager = PluginManager() node3_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 35, in init node3_1 | self.importPlugins() node3_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 102, in importPlugins node3_1 | plugins = self._findPlugins() node3_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 131, in _findPlugins node3_1 | for pkg in pip.utils.get_installed_distributions() node3_1 | AttributeError: module 'pip' has no attribute 'utils' node4_1 | Traceback (most recent call last): node4_1 | File "/usr/local/bin/start_indy_node", line 6, in node4_1 | from indy_node.utils.node_runner import run_node node4_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/utils/node_runner.py", line 8, in node4_1 | from indy_node.server.node import Node node4_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/server/node.py", line 14, in node4_1 | from plenum.server.node import Node as PlenumNode node4_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/node.py", line 72, in node4_1 | from plenum.server.monitor import Monitor node4_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/monitor.py", line 26, in node4_1 | pluginManager = PluginManager() node4_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 35, in init node4_1 | self.importPlugins() node4_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 102, in importPlugins node4_1 | plugins = self._findPlugins() node4_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 131, in _findPlugins node4_1 | for pkg in pip.utils.get_installed_distributions() node4_1 | AttributeError: module 'pip' has no attribute 'utils' node1_1 | Traceback (most recent call last): node1_1 | File "/usr/local/bin/start_indy_node", line 6, in node1_1 | from indy_node.utils.node_runner import run_node node1_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/utils/node_runner.py", line 8, in node1_1 | from indy_node.server.node import Node node1_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/server/node.py", line 14, in node1_1 | from plenum.server.node import Node as PlenumNode node1_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/node.py", line 72, in node1_1 | from plenum.server.monitor import Monitor node1_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/monitor.py", line 26, in node1_1 | pluginManager = PluginManager() node1_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 35, in init node1_1 | self.importPlugins() node1_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 102, in importPlugins node1_1 | plugins = self._findPlugins() node1_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 131, in _findPlugins node1_1 | for pkg in pip.utils.get_installed_distributions() node1_1 | AttributeError: module 'pip' has no attribute 'utils' node2_1 | Traceback (most recent call last): node2_1 | File "/usr/local/bin/start_indy_node", line 6, in node2_1 | from indy_node.utils.node_runner import run_node node2_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/utils/node_runner.py", line 8, in node2_1 | from indy_node.server.node import Node node2_1 | File "/usr/local/lib/python3.5/dist-packages/indy_node/server/node.py", line 14, in node2_1 | from plenum.server.node import Node as PlenumNode node2_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/node.py", line 72, in node2_1 | from plenum.server.monitor import Monitor node2_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/monitor.py", line 26, in node2_1 | pluginManager = PluginManager() node2_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 35, in init node2_1 | self.importPlugins() node2_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 102, in importPlugins node2_1 | plugins = self._findPlugins() node2_1 | File "/usr/local/lib/python3.5/dist-packages/plenum/server/notifier_plugin_manager.py", line 131, in _findPlugins node2_1 | for pkg in pip.utils.get_installed_distributions() node2_1 | AttributeError: module 'pip' has no attribute 'utils' von_node3_1 exited with code 1 von_node4_1 exited with code 1 von_node1_1 exited with code 1 von_node2_1 exited with code 1 von-web_1 | ERROR|indy::services::pool | src/services/pool/mod.rs:426 | Pool worker thread finished with error Timeout von-web_1 | ERROR|indy::errors::indy | src/errors/indy.rs:68 | Casting error to ErrorCode: Timeout von-web_1 | _indy_loop_callback: Function returned error 307 von-web_1 | Traceback (most recent call last): von-web_1 | File "server.py", line 289, in von-web_1 | loop.run_until_complete(boot()) von-web_1 | File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete von-web_1 | return future.result() von-web_1 | File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result von-web_1 | raise self._exception von-web_1 | File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step von-web_1 | result = coro.throw(exc) von-web_1 | File "server.py", line 106, in boot von-web_1 | await pool.open() von-web_1 | File "/home/indy/.local/share/virtualenvs/server-8XoupS0v/lib/python3.5/site-packages/von_agent/nodepool.py", line 125, in open von-web_1 | self._handle = await pool.open_pool_ledger(self.name, None) von-web_1 | File "/home/indy/.local/share/virtualenvs/server-8XoupS0v/lib/python3.5/site-packages/indy/pool.py", line 82, in open_pool_ledger von-web_1 | open_pool_ledger.cb) von-web_1 | File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter von-web_1 | yield self # This tells Task to wait for completion. von-web_1 | File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup von-web_1 | future.result() von-web_1 | File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result von-web_1 | raise self._exception von-web_1 | indy.error.IndyError: ErrorCode.PoolLedgerTimeout von_von-web_1 exited with code 1