Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Fix atstccfg logging non-errors#4280

Merged
ocket8888 merged 1 commit into
apache:masterfrom
rob05c:atscfg-fix-incorrect-error-logs
Jan 10, 2020
Merged

Fix atstccfg logging non-errors#4280
ocket8888 merged 1 commit into
apache:masterfrom
rob05c:atscfg-fix-incorrect-error-logs

Conversation

@rob05c

@rob05c rob05c commented Jan 9, 2020

Copy link
Copy Markdown
Member

Fixes atstccfg logging errors that weren't errors.

Unit tests exist, verifying behavior of atscfg. ORT doesn't have an integration testing framework, so the atstccfg side can't have tests yet. I manually tested and verified all appropriate DSes were still present in generated files, and no incorrect errors were logged.
No changelog, no interface change.
No docs, no interface change.

  • This PR is not related to any other Issue

Which Traffic Control components are affected by this PR?

  • Traffic Ops ORT

What is the best way to verify this PR?

Run ORT or atstccfg, check atstccfg logs (atstccfg is configurable; ORT puts them in /tmp/ort/), verify no spurious errors are logged, verify affected files (ssl_multicert.config and cacheurl.config) generate correctly.

If this is a bug fix, what versions of Traffic Control are affected?

  • 4.0.x

The following criteria are ALL met by this PR

  • This PR includes tests OR I have explained why tests are unnecessary
  • This PR includes documentation OR I have explained why documentation is unnecessary
  • This PR includes an update to CHANGELOG.md OR such an update is not necessary
  • This PR includes any and all required license headers
  • This PR ensures that database migration sequence is correct OR this PR does not include a database migration
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

@rob05c rob05c added bug something isn't working as intended low impact affects only a small portion of a CDN, and cannot itself break one cache-config Cache config generation labels Jan 9, 2020

@alficles alficles left a comment

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.

Yeah. This does what it says on the tin. It's not particularly complicated. We should merge this and backport it as necessary.

@ocket8888 ocket8888 left a comment

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.

Tests all pass

@ocket8888
ocket8888 merged commit 4a91ed9 into apache:master Jan 10, 2020
rob05c added a commit to rob05c/trafficcontrol that referenced this pull request Jan 10, 2020
rawlinp pushed a commit that referenced this pull request Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended cache-config Cache config generation low impact affects only a small portion of a CDN, and cannot itself break one

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants