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    
相关推荐
胡桃姓胡,蝴蝶也姓胡14 小时前
Rag优化 - 如何提升首字响应速度
后端·大模型·rag
紫荆鱼18 小时前
设计模式-命令模式(Command)
c++·后端·设计模式·命令模式
编码追梦人18 小时前
深耕 Rust:核心技术解析、生态实践与高性能开发指南
开发语言·后端·rust
朝新_18 小时前
【SpringBoot】详解Maven的操作与配置
java·spring boot·笔记·后端·spring·maven·javaee
绝无仅有19 小时前
某教育大厂面试题解析:MySQL索引、Redis缓存、Dubbo负载均衡等
vue.js·后端·面试
sean19 小时前
开发一个自己的 claude code
前端·后端·ai编程
追逐时光者20 小时前
C#/.NET/.NET Core技术前沿周刊 | 第 59 期(2025年10.20-10.26)
后端·.net
盖世英雄酱5813621 小时前
java深度调试【第三章内存分析和堆内存设置】
java·后端
007php00721 小时前
京东面试题解析:同步方法、线程池、Spring、Dubbo、消息队列、Redis等
开发语言·后端·百度·面试·职场和发展·架构·1024程序员节
程序定小飞21 小时前
基于springboot的电影评论网站系统设计与实现
java·spring boot·后端