-
Notifications
You must be signed in to change notification settings - Fork 89
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
Ephemeral os disk #674
Ephemeral os disk #674
Conversation
|
31e1b16
to
60fcfe0
Compare
9adcfe7
to
1ed824a
Compare
|
c8b6adb
to
f724d3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have only the comment about the TODO
otherwise it looks good to me.
Would it be possible to squash down the commits in this PR? The merge from master, and various fix commits will not make git history easier to comprehend. -Thanks! |
I can squash them if you want, or some one else do it later when the pr will be merged. |
@HappyTobi could you squash the commits as @aramprice has asked? Also, Aram did you just look at the commit messages or did you perform a full review? If so could you add your review to github so we can merge? |
@rkoster the shape of this looks good to me but I don't have enough context on Azure to do a deep dive on the actual implementation. |
32efef9
to
3e065fa
Compare
@rkoster rebase is done |
I'm the wrong one to give the PR a detailed evaluation, but I do have one question: What happens if the largest temporary root disk that Azure is willing to provide is smaller than what we ask Azure for? For context about my concern, notice that
To see the maximum temporary storage limit for each machine type, go looking at the various machine sizes here https://learn.microsoft.com/en-us/azure/virtual-machines/sizes-general. (In particular, note that extremely budget-conscious customers might choose a Also, notice that some machine types don't have a local temporary disk. What happens if the VM size selected has no local temporary disk? https://learn.microsoft.com/en-us/azure/virtual-machines/azure-vms-no-temp-disk |
@klakin-pivotal
You will receive an error that the disk cache / resource disk is to big for the select vm-type. (Azure api error response)
You also receive an error while creating the VM. I think you have to think about disks and vm-types upfront before you start to deploy. Lest take a look at the DSv2-series: With the implementations it's also possible to place the os_disk only to the |
Cool. If Azure sends back a response that causes the Bosh VM Creation task to fail, then that handles that concern. Do you have examples of the error responses that we get back from Azure? I'm concerned that they may not written well enough for an operator to understand what has gone wrong and how to correct it. If this is the case, we would be required to detect these error conditions and emit a better error message. |
@klakin-pivotal
Think the message is fine to everyone understand what's wrong and where they get more information if required. |
Thanks @HappyTobi |
Originally added in response to issue #472, which doesn't have a lot of details, but does mention Virtual Machine Scale Sets. This doesn't seem to be a fully implemented feature and there is no recent progress on making a real feature. The config disk code is current breaking due to new api changes introduce as part of PR #674 Rather than fix those failures, it makes more sense to remove an unused feature.
Hi all,
the pr related to the issue #671
Still open:
robocop fixed (1)
Checklist:
Please check each of the boxes below for which you have completed the corresponding task:
Please include below the summary portions of the output from the following 2 scripts:
NOTE: Please see how to setup dev environment and run unit tests in docs/development.md.
Unit Test output:
1031 examples, 0 failures
Rubocop output:
Changelog
Add Azure Ephemeral OS disk:
https://learn.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks
Update bosh-cloud config to use ephemeral os disk:
New attribute at
root_disk
,placement
The
placement
can be set to:remote (default)
,cache-disk
resource-disk
The disk calculation are change when
use_root_disk
is set totrue
andplacement
is different thanremote
.The behaviour is that the size of the root and ephemeral disk are added together.
will result in a
ephemeral os disk
with the size of51200
placed on the vm cache disk.Regards