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    
相关推荐
程序员爱钓鱼4 小时前
Go语言实战案例 — 工具开发篇:实现一个图片批量压缩工具
后端·google·go
ChinaRainbowSea6 小时前
7. LangChain4j + 记忆缓存详细说明
java·数据库·redis·后端·缓存·langchain·ai编程
舒一笑6 小时前
同步框架与底层消费机制解决方案梳理
后端·程序员
minh_coo6 小时前
Spring框架事件驱动架构核心注解之@EventListener
java·后端·spring·架构·intellij-idea
白初&8 小时前
SpringBoot后端基础案例
java·spring boot·后端
计算机学姐10 小时前
基于Python的旅游数据分析可视化系统【2026最新】
vue.js·后端·python·数据分析·django·flask·旅游
该用户已不存在11 小时前
你没有听说过的7个Windows开发必备工具
前端·windows·后端
David爱编程11 小时前
深入 Java synchronized 底层:字节码解析与 MonitorEnter 原理全揭秘
java·后端
KimLiu11 小时前
LCODER之Python:使用Django搭建服务端
后端·python·django
再学一点就睡11 小时前
双 Token 认证机制:从原理到实践的完整实现
前端·javascript·后端