我有 ICP 3.1.2 社区版的单节点安装,并且也在使用 PowerVC。我正在尝试通过失败并出现错误的 ICP 创建一个默认的 PersistentVolumeClaim:
“正常的 persistentvolume-controller 1654 ExternalProvisioning 正在等待由外部供应商“ibm/powervc-k8s-volume-provisioner”或由系统管理员手动创建的卷创建”
如图所示,我的 ibm-powervc-k8s-volume-driver V 1.0.1 安装成功
我得到的详细信息错误是针对开放堆栈身份验证的,因为我检查了在默认命名空间中创建的密钥
{
"log": "I0301 04:17:46.210919 1 provision.go:199] StorageClass parameter, type, is empty\n",
"stream": "stderr",
"time": "2019-03-01T04:17:46.210996663Z"
} {
"log": "I0301 04:17:46.210924 1 provision.go:202] StorageClass parameter, availability, is empty\n",
"stream": "stderr",
"time": "2019-03-01T04:17:46.211001206Z"
} {
"log": "E0301 04:17:49.811950 1 provision.go:90] Failed to construct / authenticate OpenStack : Error while authenticating from openstack Authentication failed\n",
"stream": "stderr",
"time": "2019-03-01T04:17:49.812057607Z"
} {
"log": "E0301 04:17:49.811987 1 controller.go:895] Failed to provision volume for claim \"default/mypvc1\" with StorageClass \"ibm-powervc-k8s-volume-default\": Error while authenticating from openstack Authentication failed\n",
"stream": "stderr",
"time": "2019-03-01T04:17:49.812091733Z"
}