Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug: update defaults to commonly used values #10121

Merged
merged 8 commits into from
Mar 9, 2021
Merged

Conversation

davemay99
Copy link
Contributor

This PR updates the following default values in nomad operator debug to match the most commonly requested settings:

  • -interval=30s instead of 2m
  • -server-id=all instead of none

It also adds nomad-debug-* to .gitignore for better usability during development.

command/operator_debug.go Outdated Show resolved Hide resolved
command/operator_debug.go Outdated Show resolved Hide resolved
CHANGELOG.md Outdated
@@ -4,6 +4,7 @@ BUG FIXES:
* api: Added missing devices block to AllocatedTaskResources [[GH-10064](https://github.com/hashicorp/nomad/pull/10064)]
* cli: Fixed a bug where non-int proxy port would panic CLI [[GH-10072](https://github.com/hashicorp/nomad/issues/10072)]
* cli: Fixed a bug where `nomad operator debug` incorrectly parsed https Consul API URLs. [[GH-10082](https://github.com/hashicorp/nomad/pull/10082)]
* cli: Update defaults for `nomad operator debug` flags `-interval` and `-server-id` to match common usage. [GH-10121]
Copy link
Member

Choose a reason for hiding this comment

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

make changelogfmt will take this tag and automatically do the right thing for the URL.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Copy link
Member

@tgross tgross Mar 8, 2021

Choose a reason for hiding this comment

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

Not quite, this should now be reading [[GH-10121](https://github.com/hashicorp/nomad/pull/10121)]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure what happened during the rebase to main, but this is back in place now.

.gitignore Show resolved Hide resolved
command/operator_debug.go Outdated Show resolved Hide resolved
@davemay99
Copy link
Contributor Author

@tgross CircleCI finished testing the rebase to main, so I think we're good to go here. Can you give it a once-over for approval?

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Tim Gross <tgross@hashicorp.com>
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM

@tgross tgross merged commit 83af6f5 into main Mar 9, 2021
@tgross tgross deleted the f-debug-defaults branch March 9, 2021 13:31
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants