1.openstack命令行创建用户:
创建glance用户。
openstack user create --domain default glance --password passw0rd
2.openstack添加角色
openstack role add --project service --user glance admin
- openstack创建服务
openstack service create --name glance --description "OpenStack Image service" image
4.创建endpoint
openstack endpoint create --region RegionOne image public http://devops.taobao.com:9292
openstack endpoint create --region RegionOne image internal http://devops.taobao.com:9292
openstack endpoint create --region RegionOne image admin http://devops.taobao.com:9292
5.展示image
glance image-list
网友评论