-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
waagent: enable provisioning #266381
waagent: enable provisioning #266381
Conversation
Note that the code to read |
61cd4f5
to
de69525
Compare
The patch is downloaded from https://github.com/Atry/WALinuxAgent/commit/383e7c826906baedcd12ae7c20a4a5d4b32b104a.patch |
de69525
to
9803fb7
Compare
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.
Looks good, but I don't have a machine to test it right now.
Going forwards, please limit the number of people you request for review, so it's proportionate to the amount of code you change.
I am using this PR to build images, which work well on Azure |
Can one of you test this by chance? @henrirosten @AkechiShiro |
|
@AkechiShiro @Mic92 Any updates? If you don't have time to manually test it on Azure, do you trust me enough to merge this PR, given that it works for me. |
Hi @Atry, I'm sorry but I couldn't easily test it, I'd need a temporary throwaway account (it's a bit of a pain to setup just for testing this PR) |
Description of changes
Currently there are two issues in Azure provisioning:
waagent
was disabled in waagent: update to 2.8.0.11 #206974 because provisioning always failed./dev/sr0
during restarting an Azure VM, because/dev/sr0
is only available the first time starting an Azure VM.This PR fixes provisioning in
waagent
and enables it.Things done
waagent
2.8.0.11 is not compatible with Python 3.10. See [BUG] traceback.format_exception - 3.10 compatibility Azure/WALinuxAgent#2753self.osutil.conf_sshd
because it will try to modify/etc/sshd/sshd_config
and raise an error about read-only file system/dev/sr0
because it should be handled bywaagent
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)