Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replicator node dies every time #106

Closed
Jailander opened this issue Nov 3, 2014 · 2 comments
Closed

replicator node dies every time #106

Jailander opened this issue Nov 3, 2014 · 2 comments
Assignees

Comments

@Jailander
Copy link
Member

Hi,

I am testing the released version of mongodb_store and launching it always results in the replicator node crashing, this doesn't happen to me with the version on my strands_ws however it may still be the same issue as #52 since running rosrun mongodb_store replicator_node.py after the datacentre has been launched works without any problem and the log is the same:

Traceback (most recent call last):
  File "/opt/ros/hydro/lib/mongodb_store/replicator_node.py", line 141, in <module>
    store = Replicator()
  File "/opt/ros/hydro/lib/mongodb_store/replicator_node.py", line 29, in __init__
    raise Exception("No master datacentre found using mongodb_host and mongodb_port")
Exception: No master datacentre found using mongodb_host and mongodb_port
[INFO] [WallTime: 1415029899.597475] Mon Nov  3 15:51:39 [initandlisten] waiting for connections on port 62345
[INFO] [WallTime: 1415029899.597658] Mon Nov  3 15:51:39 [websvr] admin web console waiting for connections on port 63345
[INFO] [WallTime: 1415029899.629664] Mon Nov  3 15:51:39 [initandlisten] connection accepted from 127.0.0.1:34111 #1
[INFO] [WallTime: 1415029899.630524] Querying content in a futher 0 datacentres
[INFO] [WallTime: 1415029899.668076] Mon Nov  3 15:51:39 [initandlisten] connection accepted from 127.0.0.1:34119 #2
[INFO] [WallTime: 1415029899.669733] Default parameters path not supplied, assuming none.
[replicator_node-4] process has died [pid 20155, exit code 1, cmd /opt/ros/hydro/lib/mongodb_store/replicator_node.py __name:=replicator_node __log:=/home/jaime/.ros/log/ef5a5470-6370-11e4-8c52-902b34d5fb2e/replicator_node-4.log].
log file: /home/jaime/.ros/log/ef5a5470-6370-11e4-8c52-902b34d5fb2e/replicator_node-4*.log
[INFO] [WallTime: 1415029959.598790] Mon Nov  3 15:52:39 [clientcursormon] mem (MB) res:31 virt:920 mapped:80
@marc-hanheide
Copy link
Member

looks pretty much like the same problem #52. One cannot assume any order in launch files. So this requires active waiting and checking for some period until reaching a timeout I'd say. I'll mark this as a duplicate of #52 and assign @hawesie to it to check if that is the problem. Then he shall assign it to someone to fix it :-)

@hawesie
Copy link
Member

hawesie commented Nov 6, 2014

Closing as a duplicate of #52.

@hawesie hawesie closed this as completed Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants