当前位置:网站首页>Some problems encountered in deploying cinder CSI plugin
Some problems encountered in deploying cinder CSI plugin
2022-06-09 20:39:00 【Backend cloud】
Kubernetes Clustered Pod Use Openstack Cinder As back-end storage , Need to deploy cinder-csi-plugin
https://github.com/kubernetes/cloud-provider-openstack
Not even Keystone: As part Pod Add custom domain name resolution
Keystone url Using the domain name , Need to be in /etc/hosts Add domain name resolution
The following is only an example of how to Pod Add custom domain name resolution
If there's a part of Pod It depends on specific domain name resolution , When you do not want to configure dns In the case of parsing , have access to K8S Provided hostAliases To add... For some workloads hosts:
spec:
hostAliases:
- hostnames: [ "harbor.example.com" ]
ip: "10.10.10.10"
Copy code After adding, you can see... In the container hosts Has been added to /etc/hosts in :
$ cat /etc/hosts
...
# Entries added by HostAliases.
10.10.10.10 harboar.example.com
Copy code metadata The service didn't get up
[[email protected] ~]$ kubectl logs csi-cinder-nodeplugin-t8hcx -nkube-system -c cinder-csi-plugin
I0424 11:10:56.531843 1 driver.go:73] Driver: cinder.csi.openstack.org
I0424 11:10:56.531889 1 driver.go:74] Driver version: [email protected]
I0424 11:10:56.531892 1 driver.go:75] CSI Spec version: 1.3.0
I0424 11:10:56.531898 1 driver.go:104] Enabling controller service capability: LIST_VOLUMES
I0424 11:10:56.531900 1 driver.go:104] Enabling controller service capability: CREATE_DELETE_VOLUME
I0424 11:10:56.531907 1 driver.go:104] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0424 11:10:56.531909 1 driver.go:104] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0424 11:10:56.531911 1 driver.go:104] Enabling controller service capability: LIST_SNAPSHOTS
I0424 11:10:56.531913 1 driver.go:104] Enabling controller service capability: EXPAND_VOLUME
I0424 11:10:56.531915 1 driver.go:104] Enabling controller service capability: CLONE_VOLUME
I0424 11:10:56.531917 1 driver.go:104] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0424 11:10:56.531919 1 driver.go:116] Enabling volume access mode: SINGLE_NODE_WRITER
I0424 11:10:56.531920 1 driver.go:126] Enabling node service capability: STAGE_UNSTAGE_VOLUME
I0424 11:10:56.531923 1 driver.go:126] Enabling node service capability: EXPAND_VOLUME
I0424 11:10:56.531928 1 driver.go:126] Enabling node service capability: GET_VOLUME_STATS
I0424 11:10:56.532069 1 openstack.go:90] Block storage opts: {0 false false}
I0424 11:10:57.181982 1 server.go:108] Listening for connections on address: &net.UnixAddr{Name:"/csi/csi.sock", Net:"unix"}
E0424 11:10:58.771149 1 utils.go:85] GRPC error: rpc error: code = Internal desc = [NodeGetInfo] unable to retrieve instance id of node error fetching http://169.254.169.254/openstack/latest/meta_data.json: Get "http://169.254.169.254/openstack/latest/meta_data.json": dial tcp 169.254.169.254:80: connect: connection refused
E0424 11:11:00.768432 1 utils.go:85] GRPC error: rpc error: code = Internal desc = [NodeGetInfo] unable to retrieve instance id of node error fetching http://169.254.169.254/openstack/latest/meta_data.json: Get "http://169.254.169.254/openstack/latest/meta_data.json": dial tcp 169.254.169.254:80: connect: connection refused
E0424 11:11:13.787632 1 utils.go:85] GRPC error: rpc error: code = Internal desc = [NodeGetInfo] unable to retrieve instance id of node error fetching http://169.254.169.254/openstack/latest/meta_data.json: Get "http://169.254.169.254/openstack/latest/meta_data.json": dial tcp 169.254.169.254:80: connect: connection refusedlanguage-bash Copy code https://github.com/kubernetes/cloud-provider-openstack/issues/1127
devstack After restart ,cinder Create volume error
https://www.codetd.com/en/article/13087314
cinder-csi-plugin node The service didn't get up
Normal Provisioning 3m32s (x9 over 7m47s) cinder.csi.openstack.org_csi-cinder-controllerplugin-667d467bf6-qfsnn_90ee191a-788a-4cda-82f2-eb61f37b20f5 External provisioner is provisioning volume for claim "default/csi-pvc-cinderplugin"
Warning ProvisioningFailed 3m32s (x9 over 7m47s) cinder.csi.openstack.org_csi-cinder-controllerplugin-667d467bf6-qfsnn_90ee191a-788a-4cda-82f2-eb61f37b20f5 failed to provision volume with StorageClass "csi-sc-cinderplugin": error generating accessibility requirements: no available topology found
Normal ExternalProvisioning 97s (x26 over 7m47s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "cinder.csi.openstack.org" or manually created by system administratorlanguage-bash Copy code https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/848 https://github.com/hetznercloud/csi-driver/issues/92
minikube - http: server gave HTTP response to HTTPS client
https://minikube.sigs.k8s.io/docs/handbook/registry/
边栏推荐
- KubeVirt网络源码分析(2)
- 从源码解析flutter_redux 的精准局部刷新
- 常用正则表达式
- 华为云Stack首席架构师:打造“称手”的数字化工具,答好政企IT数字化转型这道必选题
- 杰理之有关摄像头帧数,以及图层【篇】
- 将excel中的合并单元格拆分并填充数据
- Go 调用 Openstack API 的 几个简单的 example
- Jerry's map modification app_ config. Video of H_ Rec buffer mode and output frame rate [chapter]
- C# For循环的一些小细节
- ClickHouse 数据插入、更新与删除操作 SQL
猜你喜欢

UTM to latitude and longitude

SSL(Secure socket Layer)数字证书

Download the latest global epidemic history data to the two days before the current day

Pan micro oa9 foreground unlimited getshell

neo4j图数据库导出csv文件

TypeScript 变量声明

UTM转经纬度
![[database data recovery] SQL Server database data recovery case](/img/82/99d3135b6f412a532444e80c2d7faa.jpg)
[database data recovery] SQL Server database data recovery case

HMI 软件内存异常,导致奔溃退出的bug

VFP在64位win10环境下访问oracle出现的问题及解决方案
随机推荐
Skills and experience of product planning
Daily question - leecode59 (spiral matrix II)
开源一个 nodejs 防火墙小工具
VFP在64位win10环境下访问oracle出现的问题及解决方案
Clickhouse data insert, update and delete SQL
Download the latest global epidemic history data to the two days before the current day
杰理之修改提高摄像头源视频输出帧率【篇】
C#中运算符重载的例子
[database data recovery] SQL Server database data recovery case
How to query the database with eloquent in laravel (select)
SSL (secure socket layer) digital certificate
minikube config set driver kvm2
Personal blog system (with source code)
Xcode 14 brings new improvements, and Xcode cloud is officially launched!
Jerry's map modification app_ config. Video of H_ Rec buffer mode and output frame rate [chapter]
JVM-字节码是如何被JVM执行的+关于线程一点思想引子
Neo4j desktop database backup
The processor of this virtual machine supports different functions than the processor of the virtual machine that holds the state of the virtual machine
Neo4j桌面版数据库备份
Apple Announces Winner of the 2022 Apple Design Award