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    
相关推荐
Moment5 分钟前
别小看 FAQ,用户体验和转化都离不开它!
前端·后端·面试
三分恶16 分钟前
支付新手常犯的十个错误
后端
Java中文社群35 分钟前
超实用!Dify快速接入本地MCP服务
java·人工智能·后端
月忆36438 分钟前
Go语言的context
后端·golang
RainbowSea1 小时前
6-2 MySQL 数据结构选择的合理性
java·后端·mysql
知识浅谈2 小时前
Spring AI 结合DeepSeek使用教程
后端
汤姆yu2 小时前
基于springboot的民间文化艺术品销售系统
java·spring boot·后端
掘金酱2 小时前
创作者训练营:老友带新+新人冲榜,全员参与,双倍快乐!
前端·人工智能·后端
二进制小甜豆2 小时前
Spring MVC
java·后端·spring·mvc
Java微观世界2 小时前
Java初学者必读:比特、字节及数据类型全解析
后端