Timeout while `waiting for image creation`

未关闭
#56 3 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
go
领域
cloud

调研方向

该报告涉及 OpenStack builder 的“Waiting for image creation”步骤;首先跟踪该入口点以及日志中显示的五分钟超时。报告未指定源文件或测试,因此先定位超时处理逻辑,然后为更长或可配置的等待时间添加覆盖,并验证图像创建缓慢时不会过早失败。

由索引模型根据 Issue 内容生成。

描述

question

Hello,

I'm currently running packer to generate image inside openshift.
Overall it works very well, but it seems the infrastructure is too slow for the defined timeout.
Is there a way to increate the retry/waiting time on the "waiting for image creation" step ?
I have check the packer manual of course, but havent found anything related to it.

[...]
2022/01/25 10:58:31 ui: ==> openstack: Detaching volume packer_61efb527-xxx-a1e1-16de-217ae407587c (volume id: 2d17f222-xxx-4ecf-b7da-33f6e3ca07d5)
2022/01/25 10:58:32 ui: ==> openstack: Waiting for volume packer_61efb527-xxx-a1e1-16de-217ae407587c (volume id: 2d17f222-xxx-4ecf-b7da-33f6e3ca07d5) to become available...
2022/01/25 10:58:32 ui: ==> openstack: Creating the image: Packer-Build 
2022/01/25 10:58:32 ui:     openstack: Image: 2c9b4f10-xxx-44e9-869f-0311a10ed250
2022/01/25 10:58:32 ui: ==> openstack: Waiting for image Packer-Build (image id: 2c9b4f10-xxx-44e9-869f-0311a10ed250) to become ready...
2022/01/25 10:58:32 packer-builder-openstack plugin: Waiting for image creation status: queued
2022/01/25 10:58:35 packer-builder-openstack plugin: Waiting for image creation status: saving
2022/01/25 10:58:37 packer-builder-openstack plugin: Waiting for image creation status: saving
[...]
2022/01/25 11:03:18 packer-builder-openstack plugin: Waiting for image creation status: saving
2022/01/25 11:03:29 packer-builder-openstack plugin: Waiting for image creation status: queued
2022/01/25 11:03:31 ui error: ==> openstack: Error waiting for image: Resource not found
2022/01/25 11:03:31 ui: ==> openstack: Provisioning step had errors: Running the cleanup provisioner, if present...
2022/01/25 11:03:34 ui: ==> openstack: Deleted temporary floating IP '6583ad84-xxx-484b-91b4-0104fd8b9a97' (193.148.170.211)
2022/01/25 11:03:34 ui: ==> openstack: Terminating the source server: 6f3a12e1-xxx-4da5-82f5-055e9ca5b768 ...
[...]

I have no rush so I can just wait for the conversion for an hour... but only 5 minutes seems to be way to short for 150gb image :(

主要语言
Go
星标
29
派生
27
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hashicorp/packer-plugin-openstack 的其他 Issue

查看 hashicorp/packer-plugin-openstack 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。