-
Notifications
You must be signed in to change notification settings - Fork 635
🐛 fix: properly restart cloud-init #5116
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -196,6 +196,7 @@ if [ ${GUNZIP_RETURN} -ne 0 ]; then | |||||||||||||||||||||||
| fi | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| log::info "restarting cloud-init" | ||||||||||||||||||||||||
| systemctl restart cloud-init | ||||||||||||||||||||||||
| rm -rf /var/lib/cloud/instances | ||||||||||||||||||||||||
| cloud-init clean --reboot | ||||||||||||||||||||||||
|
Comment on lines
+199
to
+200
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. im going to try again with some updates i made to failing tests #5118 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @SriRamanujam the tests are all passing - mind building and trying again locally? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We also hit this issue and we found out that reboot is not needed after
Suggested change
|
||||||||||||||||||||||||
| log::success_exit | ||||||||||||||||||||||||
| ` | ||||||||||||||||||||||||
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.
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.
We tried the following that worked without reboot: