Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

tcp_routing value in install pipeline cannot be set to "disable" #28

Closed
wrast opened this issue Apr 27, 2017 · 9 comments
Closed

tcp_routing value in install pipeline cannot be set to "disable" #28

wrast opened this issue Apr 27, 2017 · 9 comments

Comments

@wrast
Copy link
Contributor

wrast commented Apr 27, 2017

When tcp_routing value is set to disable, the tcp_routing_ports field is still required and configuration of the ER tile fails. See screenshot. Ports should not be required when tcp routing is disabled.

## TCP routing and routing services
tcp_routing: disable                   # Enable/disable TCP routing (enable|disable)
tcp_routing_ports:                   # A comma-separated list of ports and hyphen-separated port ranges, e.g. 52135,34000-35000,23478

er-tile-failure

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@wrast
Copy link
Contributor Author

wrast commented Apr 27, 2017

Through further testing, it's apparent that the only params that can be specified to get past this issue are to enable tcp routing and also provide a valid port number. e.g.:

tcp_routing: enable
tcp_routing_ports: 55555

@ryanpei
Copy link
Contributor

ryanpei commented May 1, 2017

so @wrast this is a requirement of the tile itself, instead of the pipeline, correct?

@wrast
Copy link
Contributor Author

wrast commented May 1, 2017

@ryanpei The tile config allows tcp routing to be disabled. This is the relevant portion in the tile's UI (located at bottom of Networking section):

screen shot 2017-05-01 at 1 04 14 pm

Clicking to enable it then allows you to enter port(s).

I was unable to set tcp_routing simply to disable in the params file. I am fairly sure it works through the UI just fine.

@ryanpei
Copy link
Contributor

ryanpei commented May 1, 2017

thanks @wrast , so this may be an issue with Ops Mgr API endpoint for configuration... I'll check with @ryanmoran and @sadvani to see if it should be possible to configure a selector without also configuring the field for an option that isn't selected in this particular configuration.

@ryanmoran
Copy link

@ryanpei @wrast The correct behavior when configuring the ERT is to set the .properties.tcp_routing to disable, and to omit the .properties.tcp_routing.enable.reservable_ports. The ERT fully supports that configuration. If there is an issue with what you are seeing here, its in this tooling, and not in ERT or OpsMan.

@ryanpei
Copy link
Contributor

ryanpei commented May 2, 2017

thanks @ryanmoran . we'll look at fixing this on our pipeline then.

@krishicks
Copy link
Contributor

More logs from @forddonald in #50.

@ryanpei
Copy link
Contributor

ryanpei commented May 10, 2017

this is now fixed as of v0.13.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants