-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
Requesting to add new Hostnames onto Salt master. #162635
Comments
I just added the mac-50 key, but it looks the other 5 minions are not trying to communicate with the salt master yet, so their keys are not known yet. |
Hi Brandon, I'm getting errors below when run command "salt-call state.apply" flutter@flutter-deviclab-mac-50 ~ % sudo salt-call state.apply flutter.code_signing During handling of the above exception, another exception occurred: Traceback (most recent call last): [...] Somehow the
|
flutter@flutter-deviclab-mac-50 /opt % sudo salt-call state.apply
|
Hi Brandon, Can you remove and then re-add again? I'm getting different errors this time. flutter@flutter-deviclab-mac-50 /opt % sudo salt-call state.apply flutter.code_signing |
Done. It sounds to me like the minion config got FUBAR'd for a moment there. 😅 Please let me know once the other 5 hosts have been bootstrapped. We'll be able to accept the other new keys then. |
Hi Brandon, flutter@flutter-devicelab-mac-51 ~ % sudo salt-call state.apply flutter.code_signing |
Sure, mac-51 added. |
Hi Brandon, I ran command "sudo salt-call state.apply" for 2nd time on mac-50 and it hung for 20mins and it won't go further. Can you take a look on flutter-devicelab-mac-50? Thanks. flutter@flutter-devicelab-mac-50 ~ % sudo salt-call state.apply |
Same problem and issue on mac-51 machine as well. "salt-call state.apply" command is hanging and won't go further.. flutter@flutter-devicelab-mac-51 ~ % sudo salt-call state.apply |
Definitely some weird stuff going on. @christopherfujino Would mac-49 is currently running the 3002.9 minion and mac-45 is running 3004.2:
|
Minion isn't responding with the job feed, but I did find complaints about m2crypto missing in the logs:
|
Perhaps this is the issue: flutter/cocoon#4002 (comment) |
Hi Brandon, It shows "M2crypto is installed" when run command "salt-call --versions" on both mac-50 and mac-51 machine. flutter@flutter-devicelab-mac-51 ~ % sudo salt-call --versions Python Version: Dependency Versions: System Versions: |
Yeah the env already has m2crypto.
I'm going to try killing the job and re-running while monitoring the states on mac-50. |
It's hanging in homebrew.sls while running.
It's attempting to run this because the
However, brew is already installed. The install log hangs after
I took a closer look at the state, and we're going down the false case for this grain conditional:
... and sure enough, the cpu_model grain is set to
I'm not sure if this is the only problem yet, but this check is too specific. It should be checking for arm64 architecture instead. |
Yes. All new Mac Minis are coming with M4 Chip. |
I think I'll need to roll out a fix. Found good examples to reference:
There are 10 places in the codebase where we're doing this special
I think our best bet is:
|
Okay, I deployed a patch and
There is one state failing, however:
It looks like gatekeeper may need to be manually turned off on newly provisioned machines? |
Uploaded the fix here: https://dash-internal-review.git.corp.google.com/c/salt/+/2240. |
Hi @bdero, Can you remove and add he keys for mac-50, mac-51 and mac-52 on Salt master? I'm getting errors below on both mac-50, mac-51 and mac-52 when run "salt-call state.apply: command. flutter@flutter-devicelab-mac-50 ~ % sudo salt-call state.apply flutter@flutter-devicelab-mac-51 ~ % sudo salt-call state.apply flutter@flutter-devicelab-mac-52 ~ % sudo salt-call state.apply flutter.code_signing |
I added keys for mac-50, mac-51, and mac-52. Since this is the 3rd time for mac-50 and the second time for mac-51, maybe there's a config issue on the master causing the keys to get forgotten. |
@bdero, All good now. mac-50, mac-51 and mac-52 have been added to Salt master. However; all three machines got same failed error = "Gatekeeper" issue. I disabled assessment on all three machines but still getting 1 failed error when run command "salt-call state.apply". flutter@flutter-devicelab-mac-50 ~ % sudo spctl --status ID: disable_gatekeeper
Summary for localSucceeded: 44 (changed=12) |
Hi Brandon, Will you add/remove keys for mac-50, mac-51 and mac-52 from Salt master, I'm getting errors again below. flutter@flutter-devicelab-mac-50 ~ % sudo salt-call state.apply flutter@flutter-devicelab-mac-51 ~ % sudo salt-call state.apply flutter@flutter-devicelab-mac-52 ~ % sudo salt-call state.apply |
I accepted the 3 new mac keys again. I'm currently looking into why they are getting periodically forgotten. |
I added the new names to autosign_grains, so hopefully they won't keep dropping off from here. |
@bdero Hi Brando, Will you take a look of "provision_salt.sh" script again. After provision_salt.sh script has been modified, it did not work on Mac mini OS any more. I ran this script today "./cocoon/dev/provision_salt dev" and got errors below. flutter@flutter-devicelab-mac-50 Downloads % ./cocoon/dev/provision_salt.sh dev
|
Hey @kentnguyen99, I think running the provision script from within the
|
Yes, I confirmed. It is working within the cocoon/dev/ directory, I will make a note of this. Thank you! |
Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
Hi Brandon,
We are going to add new servers into Device Lab. Please add the flowing Hostnames below onto Salt master.
flutter-devicelab-mac-50.mtv.corp.google.com
flutter-devicelab-mac-51.mtv.corp.google.com
flutter-devicelab-mac-52.mtv.corp.google.com
flutter-devicelab-linux-74.mtv.corp.google.com
flutter-devicelab-linux-75.mtv.corp.google.com
flutter-devicelab-linux-76.mtv.corp.google.com
Thanks so much,
Kent
Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.
The text was updated successfully, but these errors were encountered: