glance学习总结

本文总结了Glance的安装位置及其在控制节点上的角色,包括glance-api服务对外提供虚拟机镜像管理的API,以及glance-registry处理内部元数据。内容还涉及了Glance的主要配置参数如filesystem_store_datadir,并提到了支持的存储类型如filesystem、swift和ceph。此外,列举了常用的glance命令,如创建、删除、下载、列出和更新镜像,以及管理成员。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

glance安装在控制节点上,提供虚拟机镜像的管理:


[root@control images(keystone_admin)]# systemctl list-units | grep glance

openstack-glance-api.service                                                              loaded active running   OpenStack Image Service (code-named Glance) API server
openstack-glance-registry.service                                                         loaded active running   OpenStack Image Service (code-named Glance) Registry server


openstack-glance-api:提供对外的API访问,提供虚拟机镜像的相关管理

openstack-glance-registry:内部的元数据处理服务


glance相关的配置:

glance配置参数相对比较少,主要的配置参数是后端存储部分的配置:

filesystem_store_datadir=/var/lib/glance/images/

也支持swift存储,ceph存储


glance相关的命令:

image-create:

 glance image-create --name test --file /opt/cirros.img --is-public=true --progress --disk-format qcow2 --container-format bare

image-delete

image-download

image-list

image-show

image-update


member-create

member-delete

member-list

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值