New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stemcell 3262.14 breaks persistent disk formatting on Openstack #98
Comments
@JamesClonk Our CI confirms that stemcells 3262.14 are broken with respect to formatting/mounting
@dpb587-pivotal @cppforlife I suppose the agent bump screwed something up? |
Update: As there have been only 2 commits to the agent from 3262.12 to 3262.14, I suppose this one breaks the handling of disks: 287b000 |
I can also confirm this issue. I think the problem is that
/dev/vdb where adding 1 to get to the partition was correct.
Now it returns the symlink directly but |
cc @dsboulder |
@dpb587-pivotal In which stemcell series is this fixed exactly? I suppose its not an issue in 3262.15, what about the other series? Have you updated the agent in those as well? |
The fix was backported to 3262.x (starting from 3262.15) and 3263.x (starting from 3263.2). It was not backported to earlier versions. |
It seems that with stemcell 3262.14 a newer version of bosh-agent has been introduced that fails mounting/formatting persistent disks on Openstack.
I was trying to deploy the latest bosh release and stemcell with bosh-init, but it fails at formatting the partition.
I tried various combinations, bosh 257.9 and 257.14 both work with stemcell versions 3262.12 or earlier, starting with 3262.14 it fails.
output of bosh-init 0.0.96:
how it looks on the VM:
relevant part of bosh-agent log:
Is this the problem?
https://github.com/cloudfoundry/bosh-agent/blob/master/platform/linux_platform.go#L936-L939
Nothing has changed on part of our Openstack infrastructure. To confirm that I checked various older bosh deployments, the persistent disk partitions there are always under
/dev/disk/by-id/virtio-*-part1
, not as the bosh-agent expects with/dev/disk/by-id/virtio-*1
.There's also never anything under
/dev/mapper
to be found.I'm curious as to why it works on stemcell 3262.12 and not anymore on 3262.14. I did not figure out which commit causes this problem. From looking the at code mentioned above it should have never worked?
The text was updated successfully, but these errors were encountered: