Export to GitHub

weed-fs - issue #59

Multi Ip Enviromment support + publicUrl is disregarded by master


Posted on Dec 3, 2013 by Quick Elephant

What steps will reproduce the problem? Master: 1. Run the application in multi Ip environment on a specific IP (10.16.2.1). 2. Master server doesn't have and option to specify ip 3. Master server also doesn't use publicUrl of Volume server when it was specified.

Volume: 1. Run the application in multi Ip environment on a specific IP (10.16.2.1). Input parameter used "-ip=10.16.2.1" 2. Volume server is started on 127.0.0.1 and disregard the input parameter.

What is the expected output? What do you see instead? I would expect to have an ability to run it on any port/ip I need. If ip parameter is present application should use it. PublicUrl should be used by Master server when it exists.

What version of the product are you using? On what operating system? 0.45,Red Hat VM.

Please provide any additional information below. I was able to make necessary changes for my case. Please let me know if you have any additional questions. I attached the patch.

Comment #1

Posted on Dec 3, 2013 by Quick Elephant

attached a clean patch

Attachments

Comment #2

Posted on Dec 3, 2013 by Grumpy Cat

Thanks a lot for the patch! Applied to the HEAD.

Status: Fixed

Labels:
Type-Defect Priority-Medium