-
Notifications
You must be signed in to change notification settings - Fork 0
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
生成镜像前先关机 #7
生成镜像前先关机 #7
Conversation
WalkthroughWalkthrough更新的高层次摘要是在整体变更中添加了停止实例的步骤,以避免在创建镜像过程中由于重启而导致意外的服务启动。 Changes
诗歌
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 1
Out of diff range and nitpick comments (1)
builder/tencentcloud/cvm/step_create_image.go (1)
34-34
: 改进错误消息的描述性。建议将错误消息 "Failed to stop instance" 改为更具描述性的消息,例如 "尝试停止实例失败,请检查实例状态并重试"。
9c37ac7
to
df0995f
Compare
df0995f
to
52f9805
Compare
背景
腾讯云在创建系统镜像的时候会进行软关机后开机的操作,导致部分设置为开机自启的服务意外启动产生了报错日志。
相关文档 https://cloud.tencent.com/document/api/213/16726
方案
生成镜像前先关机,避免创建镜像过程中发生重启导致服务意外启动