Skip to content
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

azure: known issue data disk with terraform #296

Merged
merged 2 commits into from
Mar 21, 2024
Merged

Conversation

TimoKramer
Copy link
Contributor

Documenting the problem with terraform's linux virtual machine and data disks

Referring to flatcar/Flatcar#1297

@TimoKramer
Copy link
Contributor Author

TimoKramer commented Dec 22, 2023

It does not work unfortunately. Will have to work on this.

Dec 22 14:58:59 dev-vm-Aq2xiw1c-0 systemd[1]: Starting partition-drive.service - "Partition disk"...
Dec 22 14:58:59 dev-vm-Aq2xiw1c-0 partition-drive.sh[1383]: lsblk: /dev/disk/azure/scsi1/lun10: not a block device
Dec 22 14:58:59 dev-vm-Aq2xiw1c-0 partition-drive.sh[1400]: sfdisk: cannot open /dev/disk/azure/scsi1/lun10: No such file or directory
Dec 22 14:58:59 dev-vm-Aq2xiw1c-0 systemd[1]: partition-drive.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 14:58:59 dev-vm-Aq2xiw1c-0 systemd[1]: partition-drive.service: Failed with result 'exit-code'.
Dec 22 14:58:59 dev-vm-Aq2xiw1c-0 systemd[1]: Failed to start partition-drive.service - "Partition disk".

@TimoKramer TimoKramer marked this pull request as ready for review January 4, 2024 14:50
@TimoKramer
Copy link
Contributor Author

Added a loop that waits for the disk to be attached. now it works for me:)

Documenting the problem with terraform's linux virtual machine and data disks
@jepio
Copy link
Member

jepio commented Mar 21, 2024

Sorry for keeping you waiting so long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants