-
Notifications
You must be signed in to change notification settings - Fork 558
Pod unable to attach PV after being deleted (Wait for attach expect device path as a lun number, instead got: /dev/disk/azure/scsi1/lun0 (strconv.Atoi: parsing "/dev/disk/azure/scsi1/lun0": invalid syntax) #2906
Comments
correct, and this issue is only found in v1.10.0 & v1.10.1, fixed in v1.10.2, details: |
how would I fixing this if I got pods running and needs to be remounted ? @andyzhangx |
@huydinhle fix what issue? Usually user won't use pod directly, mostly use Deployment or StatefulSet, and then could |
I tried it multiple times, and my pods keep giving me the exact same errors. @andyzhangx Should I just keep deleting the pods until it comes back successfully? I have done 5 times so far. |
@huydinhle
|
k8s version is 1.10.1 and here is the pods error messages
|
@huydinhle Unfortunately there is no work around for this issue, only v1.10.0 & v1.10.1 would have this issue, upgrade to other version would fix this issue. |
thank you for your quick comment @andyzhangx . We use acs-engine to bootstrap our cluster, this upgrade would just be a change in version for our apiserver and that's it? Do we need to change anything else for this upgrade? We only consider the upgrade route because it is a patch version change and seems to be minimal to do. But this is our production cluster, so we want to be careful when we do operations on our control plane. |
@huydinhle I think you should upgrade to v1.10.2 or higher, follow by: The upgrade will set up new agent node and do @jackfrancis is this |
@huydinhle I would advise doing the following before upgrading your cluster for the first time:
If the cluster upgrade succeeded, and the cluster appears operational for the workloads you use, then you have some assurance that The short story is: because acs-engine is so user-configurable, we don't test every possible api model configuration for upgrade against all released versions of acs-engine. It's wise to treat this procedure as something that may not succeed, and validate it using a "staging environment" strategy. |
Is this a request for help?:
Yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:
v0.15.1
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
Jenkins pod misbehaving, deleted the pod manually which I've done many times before on other clusters. Upon trying to start the pod again under another name, I see the following error for the pod when attempting to start.
What you expected to happen:
Pod to restart and attach to the PV.
How to reproduce it (as minimally and precisely as possible):
Deploy a pod using a PV. Delete the pod.
Anything else we need to know:
@andyzhangx Sounds like this may be related to andyzhangx/kubernetes@e287390 ?
The text was updated successfully, but these errors were encountered: