Juju Kubernetes vSphere storage
Micheal B
tictoc at tictoc.us
Thu Sep 7 08:06:17 UTC 2017
While working through -- https://github.com/kubernetes/examples/tree/master/staging/volumes/vsphere
To test the different storage types on my vSphere lab I seem to either have a bug or am no able to copy and paste some code ☺
None work. All get pretty close to the same error.
MountVolume.SetUp failed for volume "test-volume" : mount failed: exit status 32 Mounting command: mount Mounting arguments: /var/lib/kubelet/plugins/kubernetes.io/vsphere-volume/mounts/[DS_TICTOC01] volumes/myDisk /var/lib/kubelet/pods/aa94ec10-9349-11e7-a663-005056a192ad/volumes/kubernetes.io~vsphere-volume/test-volume [bind] Output: mount: special device /var/lib/kubelet/plugins/kubernetes.io/vsphere-volume/mounts/[DS_TICTOC01] volumes/myDisk does not exist
Unable to mount volumes for pod "test-vmdk_default(aa94ec10-9349-11e7-a663-005056a192ad)": timeout expired waiting for volumes to attach/mount for pod "default"/"test-vmdk". list of unattached/unmounted volumes=[test-volume]
The volume is there /volume/myDisk.vmdk for the first test and the auto create volume also fails. Tested using the paths
>From datastore cluster + datastore to /vmfs/volumes/55b828da-b978a6d4-6619-002655e59984/volumes
datastore: DS_TICTOC01/volumes
datastore: ticsdata/DS_TICTOC01/volumes
My user making the connection is the default Admininistrator and have used it for years to create other assorted vm’s so I know that good. No error in vsphere vcenter either.
I am using vSphere 6.1 / Kubernetes 1.7 / vSphere DRS is enabled using local drives to create the DS Cluster. JUJU had no issues deploying to them.
What am I missing or could try?
Cheers
Micheal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170907/b3767fd2/attachment.html>
More information about the Juju
mailing list