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    
相关推荐
leobertlan2 小时前
2025年终总结
前端·后端·程序员
面向Google编程3 小时前
从零学习Kafka:数据存储
后端·kafka
易安说AI4 小时前
Claude Opus 4.6 凌晨发布,我体验了一整晚,说说真实感受。
后端
易安说AI4 小时前
Ralph Loop 让Claude无止尽干活的牛马...
前端·后端
易安说AI4 小时前
用 Claude Code 远程分析生产日志,追踪 Claude Max 账户被封原因
后端
颜酱5 小时前
图结构完全解析:从基础概念到遍历实现
javascript·后端·算法
Coder_Boy_7 小时前
基于SpringAI的在线考试系统-考试系统开发流程案例
java·数据库·人工智能·spring boot·后端
掘金者阿豪8 小时前
关系数据库迁移的“暗礁”:金仓数据库如何规避数据完整性与一致性风险
后端
ServBay9 小时前
一个下午,一台电脑,终结你 90% 的 Symfony 重复劳动
后端·php·symfony
sino爱学习9 小时前
高性能线程池实践:Dubbo EagerThreadPool 设计与应用
java·后端