Closed hebelsan closed 1 month ago
@hebelsan You need rebase this pull request with latest master branch. Please check.
Hello All, any updates about the progress on that feature ?
@unmarshall, @rishabh-11 I addressed all of your improvements. Since you mentioned that you want to merge issue 936 first are there any updates or time estimation for when this fix will be done? If that fix got merged I will do one final test especially like you mentioned to check that when a DeleteMachine gets called, both NICs and Disks with Image References gets deleted in case of a failed vm creation.
@hebelsan thanks for your changes. Yes, we will address it this week. Please give us a few days for estimating release as we need to judge whether a few fixes should go in next upcoming release or deferred.
Hello Colleagues, any update on that topic ?
Hey Yakov, the PR for fixing https://github.com/gardener/machine-controller-manager/issues/936 will be merged by tomorrow EOD. Then Alexander can do the test mentioned in https://github.com/gardener/machine-controller-manager-provider-azure/pull/165#issuecomment-2324629295 and after that we will merge this PR as well.
Hello Rishab, thank you for your reply, when do you think it will be available in Gardener Canary, and which channel/ticket do I need to use for progress tracking?
I tested the DeleteMachine by locally manipulating the createMachine function so it would always fail. Then I created a shoot with two vms and verified that two disks and two nics got created although the vm creation failed. After patching the shoot to only one vm, only one disk and one nic remained left. I guess that should verify that in case of a failed vm the deletion still works as expected.
/hold just did a test which should successfully create a VM but it got stuck in "creating"
Found the issue of my setup.
The machine was stuck in creation because I used the following dataVolume image:
communityGalleryImageID: /CommunityGalleries/gardenlinux-13e998fe-534d-4b0a-8a27-f16a73aef620/Images/gardenlinux/Versions/1443.5.0
which was probably too old...
after switching to:
communityGalleryImageID: /CommunityGalleries/gardenlinux-13e998fe-534d-4b0a-8a27-f16a73aef620/Images/gardenlinux/Versions/1443.10.0
everything worked as expected.
/unhold
Hello @rishabh-11, congratulations on merging that feature! Could you please say when it will be available in Gardener Canary ?
@YakovKugel it will come with the next release of https://github.com/gardener/gardener-extension-provider-azure probably in the next couple weeks.
Hello @rishabh-11 , is that feature already in Gardener Canary and we could use ?
What this PR does / why we need it: Adds the ability to attach dataDisks with image references.
Which issue(s) this PR fixes: Related to: https://github.com/gardener/gardener-extension-provider-azure/issues/788
Special notes for your reviewer: For now it's not possible to create a dataDisk with imageReference afaik. Therefore we create a general Disk with the imageReference before creating the VM. This disk is then attached in the VM creation process.
Release note: