我试图使用Juju来管理vsphere私有云中的基础设施。但是,当我试图使用CLI设置juju控制器时,由于权限问题,它失败了。
这是柔术的错误:
14:54:32 ERROR juju.cmd.juju.commands bootstrap.go:519 failed to bootstrap model: cannot start bootstrap instance in availability zone "Cluster1": creating import spec: ServerFaultCode: Permission to perform this operation was denied.这是失败的操作:
spec, err := ovfManager.CreateImportSpec(ctx, UbuntuOVF, resourcePool, datastore, cisp)https://github.com/juju/juju/blob/develop/provider/vsphere/internal/vsphereclient/createvm.go#L319
在vcenter中使用同一个用户导入自定义规范没有问题。
用户需要什么权限才能与vsphere一起使用juju?
发布于 2018-02-08 10:29:31
我找到罪魁祸首。
缺少的是从模板创建VM的权限。(虚拟机>供应>部署模板)
https://askubuntu.com/questions/1003186
复制相似问题