cirros 慢的原因 checking http://169.254.169.254

好久没用 cirros 测试启动虚拟机了,今天发现启动的时候很慢,然后记录下为什么慢

checking http://169.254.169.254/2009-04-04/instance-id

由于我测试的平台不是 openstack,所以是没有这个虚拟 ip 的,所以就很慢

bash 复制代码
# virsh console vm01
Authorization not available. Check if polkit service is running or see debug message for more information.
Connected to domain 'vm01'
Escape character is ^] (Ctrl + ])

forked to background, child pid 253
timed out
OK
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 180.69. request failed
failed 2/20: up 182.69. request failed
failed 3/20: up 184.70. request failed
failed 4/20: up 186.70. request failed
failed 5/20: up 188.70. request failed
failed 6/20: up 190.71. request failed
failed 7/20: up 192.71. request failed
failed 8/20: up 194.71. request failed
failed 9/20: up 196.71. request failed
failed 10/20: up 198.72. request failed
failed 11/20: up 200.72. request failed
failed 12/20: up 202.72. request failed
failed 13/20: up 204.73. request failed
failed 14/20: up 206.73. request failed
failed 15/20: up 208.73. request failed
failed 16/20: up 210.73. request failed
failed 17/20: up 212.74. request failed
failed 18/20: up 214.74. request failed
failed 19/20: up 216.74. request failed
failed 20/20: up 218.75. request failed
failed to read iid from metadata. tried 20
failed to get instance-id of datasource
Top of dropbear init script
Starting dropbear sshd: failed to get instance-id of datasource
OK
GROWROOT: NOCHANGE: partition 1 is size 210911. it cannot be grown
resize-rootfs already run per once
=== system information ===
Platform: QEMU Standard PC (i440FX + PIIX, 1996)
Container: none
Arch: x86_64
CPU(s): 2 @ na MHz
Cores/Sockets/Threads: 2/1/1
Virt-type: VT-x
RAM Size: 3815MB
Disks:
NAME  MAJ:MIN      SIZE LABEL         MOUNTPOINT
vda   252:0   117440512               
vda1  252:1   107986432 cirros-rootfs /
vda15 252:15    8388608    
相关推荐
BD_Marathon19 小时前
SpringBoot——多环境开发配置
java·spring boot·后端
实战项目20 小时前
ASP.NET实现的房产中介管理系统设计
后端·asp.net
Victor35620 小时前
Hibernate(38)如何在Hibernate中配置乐观锁?
后端
Victor35620 小时前
Hibernate(37)Hibernate的多表联合查询如何实现?
后端
摸鱼的春哥20 小时前
AI编排实战:用 n8n + DeepSeek + Groq 打造全自动视频洗稿流水线
前端·javascript·后端
码事漫谈20 小时前
Windows异步I/O与消息循环的深度对话
后端
码事漫谈20 小时前
Debug模式下unique_ptr的性能开销真相
后端
Assby21 小时前
如何尽可能精确计算线程池执行 shutdown() 后的耗时?
java·后端
星浩AI21 小时前
Google 官方发布:让你的 AI 编程助手"边写、边看、边调",像人类开发者一样工作
人工智能·后端·开源
喵了个Code1 天前
Spring Boot 3 + Spring Security + OAuth2 + Gateway企业级认证授权平台实现
后端