[ https://issues.apache.org/jira/browse/MESOS-7769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093493#comment-16093493 ]
Avinash Sridharan commented on MESOS-7769: ------------------------------------------ commit 78671375662f286128cd80d3b1f6586d0ec35cf8 Author: Avinash sridharan avin...@mesosphere.io Date: Fri Jul 7 16:34:23 2017 -0700 Fixed initialization of __address__ in the abscense of --ip flag. When we introduced the __address6__ optional IPv6 storage into libprocess we also introduced a regression because of which the port doesn't get initialized to whatever is specified in the --port flag until the --ip flag is specified. This change fixes the initialization of the __address__ in the absence of the --ip flag. Review: https://reviews.apache.org/r/60720/ > libprocess initializes to bind to random port if --ip is not specified > ---------------------------------------------------------------------- > > Key: MESOS-7769 > URL: https://issues.apache.org/jira/browse/MESOS-7769 > Project: Mesos > Issue Type: Bug > Components: libprocess > Affects Versions: 1.4.0 > Reporter: Yan Xu > Assignee: Avinash Sridharan > Priority: Blocker > Labels: mesosphere > Fix For: 1.4.0 > > > When running current > [HEAD|https://github.com/apache/mesos/commit/c90bea80486c089e933bef64aca341e4cfaaef25], > {noformat:title=without --ip} > ./mesos-master.sh --work_dir=/tmp/mesos-test1 > ... > I0707 14:14:05.927870 5820 master.cpp:438] Master > db2a2d26-a9a9-4e6f-9909-b9eca47a2862 (<host>) started on <addr>:36839 > {noformat} > {noformat:title=with --ip} > ./mesos-master.sh --ip=<addr> --work_dir=/tmp/mesos-test1 > I0707 14:09:56.851483 5729 master.cpp:438] Master > 963e0f42-9767-4629-8e3d-02c6ab6ad225 (<host>) started on <addr>:5050 > {noformat} > It would be great this is caught by tests/CI. -- This message was sent by Atlassian JIRA (v6.4.14#64029)