hpe-storage / flexvolume-driver Goto Github PK
View Code? Open in Web Editor NEWFlexVolume Driver for Kubernetes
License: Apache License 2.0
FlexVolume Driver for Kubernetes
License: Apache License 2.0
I installed HPE flexvolume driver into my AKS to create dynamic volumes from HPE Cloudvolumes.
I can see below and can see this volume on HPE CV dashboard as well when created PVC.
tak$ k get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
hpe-cv02 Bound hpe-cloud-volume-0be7755e-0760-4e87-9aad-9ff9290f94bc 10Gi RWO hpe-cloud-volume 50m
Then I tried to attach this volume to pod but occurred an error.
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned default/hpe-cv-consumer02 to aks-agentpool-15488478-vmss000000
Warning FailedMount 26m (x3 over 49m) kubelet, aks-agentpool-15488478-vmss000000 Unable to attach or mount volumes: unmounted volumes=[hpe-cv02], unattached volumes=[default-token-9djgn hpe-cv02]: timed out waiting for the condition
Warning FailedMount 10m (x14 over 47m) kubelet, aks-agentpool-15488478-vmss000000 Unable to attach or mount volumes: unmounted volumes=[hpe-cv02], unattached volumes=[hpe-cv02 default-token-9djgn]: timed out waiting for the condition
Warning FailedMount 10s (x30 over 51m) kubelet, aks-agentpool-15488478-vmss000000 MountVolume.SetUp failed for volume "hpe-cloud-volume-0be7755e-0760-4e87-9aad-9ff9290f94bc" : mount command failed, status: Failure, reason: Invalid Parameter status: 422 detail: The 'initiator_ip' parameter has an invalid value or is of an invalid type.
I checked iscsi status on my AKS worker node.
root@aks-agentpool-15488478-vmss000000:~# systemctl status iscsid
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-09-23 04:31:59 UTC; 5 days ago
Docs: man:iscsid(8)
Main PID: 1631 (iscsid)
Tasks: 2
Memory: 2.8M
CPU: 53.389s
CGroup: /system.slice/iscsid.service
├─1629 /sbin/iscsid
└─1631 /sbin/iscsid
Sep 23 04:31:58 aks-agentpool-15488478-vmss000000 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Sep 23 04:31:59 aks-agentpool-15488478-vmss000000 iscsid[1629]: iSCSI daemon with pid=1631 started!
Sep 23 04:31:59 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:09:24 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:38:52 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:42:55 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:42:58 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:43:13 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:44:15 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Sep 28 05:52:09 aks-agentpool-15488478-vmss000000 systemd[1]: Started iSCSI initiator daemon (iscsid).
Do you have any idea to fix this.
[Version Info]
AKS: v1.17.9
FlexvolumeDriver: v3.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.