Skip to content

Stop using deprecated fields in hcm#19474

Merged
istio-testing merged 1 commit intoistio:masterfrom
hzxuzhonghu:hcm
Dec 10, 2019
Merged

Stop using deprecated fields in hcm#19474
istio-testing merged 1 commit intoistio:masterfrom
hzxuzhonghu:hcm

Conversation

@hzxuzhonghu
Copy link
Copy Markdown
Member

@hzxuzhonghu hzxuzhonghu commented Dec 9, 2019

No description provided.

@hzxuzhonghu hzxuzhonghu requested review from a team as code owners December 9, 2019 12:37
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Dec 9, 2019
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 9, 2019
Copy link
Copy Markdown
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dougreid can you check the tracing change?

httpOpts: &httpListenerOpts{
rds: routeName,
useRemoteAddress: true,
direction: http_conn.HttpConnectionManager_Tracing_EGRESS, // viewed as from gateway to internal
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no replacement for this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replacement is TrafficDirection on listener - which I think we are already setting.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we validate this is true and we are setting this everywhere? otherwise we are going to break tracing and no one will notice for months

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise we are going to break tracing and no one will notice for months

It sounds like we need a test that validates/ensures that we have set the tracing config correctly and any conscious changes, need updating that test case?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any test covering this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TrafficDirection definitely overrides this (I did this change).
I can't say that we set traffic direction everywhere (we should).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reg, Setting traffic direction on Listeners I verified some time back and ensured that it is set on all listeners - #18833

Do we have any test covering this?

Not sure. If it is not, I think it may be a good idea to add one that validates that we have the config needed for tracing functionality.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah

@hzxuzhonghu
Copy link
Copy Markdown
Member Author

@douglas-reid Please take a look if there is any influence on tracing

@hzxuzhonghu
Copy link
Copy Markdown
Member Author

/retest

@istio-testing istio-testing merged commit 6bc04be into istio:master Dec 10, 2019
@hzxuzhonghu hzxuzhonghu deleted the hcm branch December 10, 2019 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants