kolla搭建ironic裸机服务
参考链接:
https://www.lijiawang.org/posts/kolla-ironic.html
准备ageng镜像:
[root@control01 ~]# pip install diskimage-builder
[root@control01 ~]# disk-image-create ironic-agent fedora -o ironic-agent
上传镜像:
[root@control01 ~]# source /etc/kolla/admin-openrc.sh [root@control01 ~]# glance image-create --name deploy-vmlinuz \ --visibility public --disk-format aki \ --container-format aki --file ./ironic-agent.vmlinuz [root@control01 ~]# glance image-create --name deploy-initrd \ --visibility public --disk-format ari \ --container-format ari --file ./ironic-agent.initramfs
把ironic-agent.initramfs ironic-agent.kernel放到/etc/kolla/config/ironic目录下
[root@control01 ~]# cd /etc/kolla/config/ironic [root@control01 ~]# ls ironic-agent.initramfs ironic-agent.kernel