Skip to content

Conversation

@masaori335
Copy link
Contributor

For the forward compatibility of new keys.

Background

When ATS reads the sni.yaml file, it checks the keys of the yaml. This is a bit annoying when you deploy a new key to the env which has old and new versions of ATS.
IMO, just ignoring "unknown keys" is fine. Because the function touches the node by defined keys. Any concerns?

@masaori335 masaori335 added this to the 10.0.0 milestone Dec 8, 2021
@masaori335 masaori335 self-assigned this Dec 8, 2021
@masaori335 masaori335 requested a review from bryancall as a code owner December 8, 2021 01:17
@ywkaras
Copy link
Contributor

ywkaras commented Dec 14, 2021

A potential problem is that you misspell a key for which there is a default value. Then you are running with the default value and will see no problem indication in diags.log. Should we use Warning instead of Note?

bneradt
bneradt previously approved these changes Dec 14, 2021
ywkaras
ywkaras previously approved these changes Dec 14, 2021
@masaori335
Copy link
Contributor Author

masaori335 commented Dec 14, 2021

Please take another look. I followed the advice we talked about at the weekly bug scrab.

  1. Change log level to the Warning
  2. Add the "SNI config" in the message. Because it's a bit tricky to get the sni config file name from this function.

Copy link
Contributor

@ywkaras ywkaras left a comment

Choose a reason for hiding this comment

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

PR checks failing

@ywkaras ywkaras dismissed their stale review December 14, 2021 01:59

PR checks failing.

@masaori335
Copy link
Contributor Author

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=controller.trafficserver.org%2Fats%2Fcentos&tag=8: dial unix /var/run/docker.sock: connect: permission denied

hmm, something wrong with the ci system.

@apache apache deleted a comment from masaori335 Dec 14, 2021
@masaori335
Copy link
Contributor Author

All green, it's ready!

@masaori335 masaori335 merged commit a13fd3d into apache:master Dec 16, 2021
zwoop pushed a commit that referenced this pull request Jan 5, 2022
zwoop pushed a commit that referenced this pull request Jan 5, 2022
@zwoop
Copy link
Contributor

zwoop commented Jan 5, 2022

Cherry-picked to v9.1.x branch.
Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.1.2 Jan 5, 2022
@zwoop zwoop added the 9.2.0 label Jan 5, 2022
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 17, 2022
* asf/9.2.x:
  Updated ChangeLog
  docs: fix fedora install notes and spelling issues (apache#8537)
  Docs: Fix default value of proxy.config.ssl.handshake_timeout_in (apache#8574)
  Partial of revert "Cleanup generated LDFLAGS for jemalloc (apache#8285)" (apache#8533)
  TSUserArg: add value type checking (apache#8550)
  Relax key validation of sni.yaml (apache#8549)
  Clear random header value by AIO read error (apache#8559)
  Fixes macOS arm64 builds (again) (apache#8556)
  Traffic Dump: Use the correct transaction user index (apache#8548)
  combo_handler: Initialize User Arg Index in TSRemapInit (apache#8551)
  backout down parent retry limiting in parent selection and nexthop (apache#8546)
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants