Failed to get device real path by disk ID: ''. Error: 'Disk ID is not set'
bandesz opened this issue · 2 comments
bandesz commented
What
We (GOV.UK PaaS) are trying to use the r5d.* instance types from AWS but even after patching the AWS CPI the VMs fail to bootstrap. See logs below.
I would like to start a conversation what changes would be necessary (in what projects) to make this happen.
I also opened an issue in the AWS CPI to support this instance type: cloudfoundry/bosh-aws-cpi-release#91
Logs
2019-01-29_14:48:07.25074 [linuxPlatform] 2019/01/29 14:48:07 INFO - Setting up raw ephemeral disks
2019-01-29_14:48:07.25074 [virtioDevicePathResolver] 2019/01/29 14:48:07 DEBUG - Failed to get device real path by disk ID: ''. Error: 'Disk ID is not set', timeout: 'false'
2019-01-29_14:48:07.25074 [virtioDevicePathResolver] 2019/01/29 14:48:07 DEBUG - Using mapped resolver to get device real path
2019-01-29_14:48:07.25075 [File System] 2019/01/29 14:48:07 DEBUG - Checking if file exists /dev/xvdb
2019-01-29_14:48:07.25075 [File System] 2019/01/29 14:48:07 DEBUG - Stat '/dev/xvdb'
2019-01-29_14:48:07.25076 [File System] 2019/01/29 14:48:07 DEBUG - Checking if file exists /dev/vdb
2019-01-29_14:48:07.25076 [File System] 2019/01/29 14:48:07 DEBUG - Stat '/dev/vdb'
2019-01-29_14:48:07.25077 [File System] 2019/01/29 14:48:07 DEBUG - Checking if file exists /dev/sdb
2019-01-29_14:48:07.25077 [File System] 2019/01/29 14:48:07 DEBUG - Stat '/dev/sdb'
[...]
2019-01-29_14:48:37.28383 [linuxPlatform] 2019/01/29 14:48:37 INFO - Setting up ephemeral disk...
2019-01-29_14:48:37.28383 [File System] 2019/01/29 14:48:37 DEBUG - Glob '/var/vcap/data/*'
2019-01-29_14:48:37.28389 [File System] 2019/01/29 14:48:37 DEBUG - Making dir /var/vcap/data with perm 0750
2019-01-29_14:48:37.28389 [main] 2019/01/29 14:48:37 ERROR - App setup Running bootstrap: Setting up ephemeral disk: No ephemeral disk found, cannot use root partition as ephemeral disk
2019-01-29_14:48:37.28389 [main] 2019/01/29 14:48:37 ERROR - Agent exited with error: Running bootstrap: Setting up ephemeral disk: No ephemeral disk found, cannot use root partition as ephemeral disk
Versions
- bosh: 268.4.0
- bosh-cli: 5.2.1
- aws-cpi: v73
Relevant issues
This issues is somewhat similar to #192 although the specific error is different.
cf-gitbot commented
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/163563023
The labels on this github issue will be updated when the story is started.
luan commented
Fixed as part of cloudfoundry/bosh#2128