我正在尝试使用一瞥在Openstack上创建基于Windows的图像。我收到有关身份验证插件的错误,我可以使用keystone(token-get)检索令牌,继承人是我的错误:
root@Machine:~# glance --os-username USER --os-password PASS --os-project-domain-name windows --os-project-name windows --os-auth-url http://Controller:35357/v2.0 image-create --name="win8" --property vm_mode=HVM --is-public=true --container-format=ovf --disk-format=vhd < tarred.tgz
需要auth插件才能获取令牌
答案 0 :(得分:0)
要避免此问题,请添加OpenStack环境变量:
source admin-openrc.sh