-
Notifications
You must be signed in to change notification settings - Fork 45
salt, scripts: ensure the grains are up-to-date with refresh_grains
after sync_all
#4598
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
base: development/130.0
Are you sure you want to change the base?
salt, scripts: ensure the grains are up-to-date with refresh_grains
after sync_all
#4598
Conversation
… after `sync_all`
Hello ezekiel-alexrod,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
- kwarg: | ||
saltenv: metalk8s-{{ dest_version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me saltenv is not needed for refresh
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
Refresh grains: | ||
salt.function: | ||
- name: saltutil.refresh_grains | ||
- tgt: {{ node }} | ||
- kwarg: | ||
saltenv: metalk8s-{{ dest_version }} | ||
- require: | ||
- salt: Set grains |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not needed here since it's handled by metalk8s.node.grains salt state
@@ -133,6 +133,10 @@ orchestrate_bootstrap() { | |||
refresh=True \ | |||
saltenv=metalk8s-@@VERSION | |||
|
|||
run "Refreshing grains on bootstrap minion" \ | |||
salt-call --state-output=mixed saltutil.refresh_grains \ | |||
saltenv=metalk8s-@@VERSION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto saltenv is not needed here to me
No description provided.