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

Disable ssh_service for app configs #12520

Merged
merged 2 commits into from
May 9, 2022

Conversation

mcbattirola
Copy link
Contributor

This PR disables the ssh_service from the config file generated by the auto-install scripts for apps.

Recently, some changes were made and the token generated by the web UI to use with the auto-install script now allows only the app role, instead of both app and node. This caused the script to log errors since the agent tries to join with an unauthorized role.

The script is working and adding the app, but it logs errors.

See #12514 (comment) for some details.

Needs backporting to v9

Closes #12514

@mcbattirola mcbattirola enabled auto-merge (squash) May 9, 2022 15:59
Copy link
Contributor

@stevenGravy stevenGravy left a comment

Choose a reason for hiding this comment

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

yes, this matches to the DB and node approach where it's just the one service token type

@mcbattirola mcbattirola merged commit fa2eb69 into master May 9, 2022
@mcbattirola mcbattirola deleted the mcbattirola/disable-ssh-from-app-script branch May 10, 2022 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Application Automatic script failing due to token type
4 participants