[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Bradley Wangia assigned an issue to Bradley Wangia Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Bradley Wangia Assignee: Jie Shen Bradley Wangia Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.7262.1574783160196%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer commented on JENKINS-59752 Re: Add support for ephemeral OS disk Thanks Bradley Wangia for your PR. And thanks Jie Shen for the new release. I planned to compile it and run some tests, but now it's even simpler to give this feature a try today. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6874.1574747340241%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Jie Shen updated JENKINS-59752 Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Jie Shen Status: In Review Resolved Resolution: Done Released As: 1.3.0 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6832.1574737920789%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Jie Shen commented on JENKINS-59752 Re: Add support for ephemeral OS disk Bradley Wangia thanks for your contribution here! I have released this feature in the version of 1.3.0. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6828.1574737860255%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Bradley Wangia commented on JENKINS-59752 Re: Add support for ephemeral OS disk Jie Shen I saw you approved/merged my PR into dev ... Is there a release process/schedule? Anything I need to do to this ticket to get it into the next release? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6325.1574694540272%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Bradley Wangia updated JENKINS-59752 Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Bradley Wangia Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6321.1574694363221%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Bradley Wangia started work on JENKINS-59752 Change By: Bradley Wangia Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6317.1574694363068%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Bradley Wangia commented on JENKINS-59752 Re: Add support for ephemeral OS disk Stefan Scherer Jie Shen can I get review on the PR for this? https://github.com/jenkinsci/azure-vm-agents-plugin/pull/173 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.4009.1574201040200%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer commented on JENKINS-59752 Re: Add support for ephemeral OS disk Bradley Wangia that fork is useful to see how to do it, but for general use it should be extended to all json templates. I'm not currently working on it, so if you have time, feel free to draft a PR. But I'm still interested in that feature, just in my backlog for things to do... Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.2195.1573938600205%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Bradley Wangia commented on JENKINS-59752 Re: Add support for ephemeral OS disk Stefan Scherer this would be nice to have for many of my workloads. Was that fork useful in crafting a PR? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.1217.1573747980235%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Jie Shen commented on JENKINS-59752 Re: Add support for ephemeral OS disk Thanks for your contribution Stefan Scherer. Feel free to ask me(gavinfish) to review your PR when you are ready. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.8072.1572830880245%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer updated an issue Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Stefan Scherer Recently, Microsoft introduced the concept of [Ephemeral OS disk|https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks] for certain types of VMs. An Ephemeral OS disk is stored on local storage and is therefore faster and free, but it is not persistent. It is therefore only used in situations where the VM is based on an [image|https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource] and every time it is started the OS disk will get “regenerated” from the generalized image and any changes made to the OS disk (C: ) will be lost if the VM moves to another host or is reallocated. [https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks] This would be super helpful for ephemeral Jenkins agents to have the best performance like the temporary disk (D: ) and have no cost for this disk.What I can see it's only a small change in the json. The diffDiskSettings with option Local seems to be the key.Machine sizes must be big enough to carry the disk image (127 GB for Windows from Marketplace) in their cache. Or use one of the smalldisk images (30 GB) and set the diskSizeGB to 100 GB for a Standard_D4s_v3. {code}{"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {"virtualMachines_redacted_name": {"defaultValue": "redacted","type": "String"},"redacted_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/PackerImages/providers/Microsoft.Compute/images/redacted","type": "String"},"disks_redacted_disk1_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/redacted/providers/Microsoft.Compute/disks/redacted","type": "String"},"networkInterfaces_redacted41_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/redacted/providers/Microsoft.Network/networkInterfaces/redacted","type": "String"}},"variables": {},"resources": [{"type": "Microsoft.Compute/virtualMachines","apiVersion": "2019-03-01","name": "[parameters('virtualMachines_redacted_name')]","location": "westus","properties": {"hardwareProfile": {"vmSize": "Standard_D4s_v3"},"storageProfile": {"imageReference": { "id": "[parameters('redacted_externalid')]"},"osDisk": { "osType": "Windows", "diffDiskSettings": { "option": "Local" }, "name": "[concat(parameters('virtualMachines_redacted_name'), '_disk1_')]",
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer edited a comment on JENKINS-59752 Re: Add support for ephemeral OS disk Found a promising fork [https://github.com/jenkinsci/azure-vm-agents-plugin/compare/dev...rittneje:azure-agent-os-type] that adds ephemeralOSDisk and managedDiskStorageAccountType, but needs some more adjustments for all json templates and probably changes for deprovision() as no disk has to be deleted .I can try to help here.The relevant part is diffDiskSetting = Local and caching = ReadOnly. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.7554.1572709140149%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer commented on JENKINS-59752 Re: Add support for ephemeral OS disk Found a promising fork https://github.com/jenkinsci/azure-vm-agents-plugin/compare/dev...rittneje:azure-agent-os-type that adds ephemeralOSDisk and managedDiskStorageAccountType, but needs some more adjustments for all json templates. I can try to help here. The relevant part is diffDiskSetting = Local and caching = ReadOnly. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.7551.1572708960192%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Jie Shen commented on JENKINS-59752 Re: Add support for ephemeral OS disk This should be useful in some cases. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6291.1570852800149%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Jie Shen assigned an issue to Jie Shen Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Jie Shen Assignee: Azure DevOps Jie Shen Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.202475.1570808392000.6289.1570852740206%40Atlassian.JIRA.
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer updated an issue Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Stefan Scherer Recently, Microsoft introduced the concept of [Ephemeral OS disk|https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks] for certain types of VMs. An Ephemeral OS disk is stored on local storage and is therefore faster and free, but it is not persistent. It is therefore only used in situations where the VM is based on an [image|https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource] and every time it is started the OS disk will get “regenerated” from the generalized image and any changes made to the OS disk (C: ) will be lost if the VM moves to another host or is reallocated. [https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks] This would be super helpful for ephemeral Jenkins agents to have the best performance like the temporary disk (D: ) and have no cost for this disk.What I can see it's only a small change in the json. The diffDiskSettings with option Local seems to be the key.Machine sizes must be big enough to carry the disk image (127 GB for Windows from Marketplace) in their cache.{code}{"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {"virtualMachines_redacted_name": {"defaultValue": "redacted","type": "String"},"redacted_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/PackerImages/providers/Microsoft.Compute/images/redacted","type": "String"},"disks_redacted_disk1_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/ ci-docker-com redacted /providers/Microsoft.Compute/disks/redacted","type": "String"},"networkInterfaces_redacted41_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/ ci-docker-com redacted /providers/Microsoft.Network/networkInterfaces/redacted","type": "String"}},"variables": {},"resources": [{"type": "Microsoft.Compute/virtualMachines","apiVersion": "2019-03-01","name": "[parameters('virtualMachines_redacted_name')]","location": "westus","properties": {"hardwareProfile": {"vmSize": "Standard_D4s_v3"},"storageProfile": {"imageReference": { "id": "[parameters('redacted_externalid')]"},"osDisk": { "osType": "Windows", "diffDiskSettings": { "option": "Local" }, "name": "[concat(parameters('virtualMachines_redacted_name'), '_disk1_')]", "createOption": "FromImage",
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer updated an issue Jenkins / JENKINS-59752 Add support for ephemeral OS disk Change By: Stefan Scherer Recently, Microsoft introduced the concept of [Ephemeral OS disk|https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks] for certain types of VMs. An Ephemeral OS disk is stored on local storage and is therefore faster and free, but it is not persistent. It is therefore only used in situations where the VM is based on an [image|https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource] and every time it is started the OS disk will get “regenerated” from the generalized image and any changes made to the OS disk (C:) will be lost if the VM moves to another host or is reallocated. [https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks] This would be super helpful for ephemeral Jenkins agents to have the best performance like the temporary disk (D:) and have no cost for this disk.What I can see it's only a small change in the json. The diffDiskSettings with option Local seems to be the key.Machine sizes must be big enough to carry the disk image (127 GB for Windows from Marketplace) in their cache.{code}{"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {"virtualMachines_redacted_name": {"defaultValue": "redacted","type": "String"},"redacted_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/PackerImages/providers/Microsoft.Compute/images/redacted","type": "String"},"disks_redacted_disk1_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/ci-docker-com/providers/Microsoft.Compute/disks/redacted","type": "String"},"networkInterfaces_redacted41_externalid": {"defaultValue": "/subscriptions/redacted/resourceGroups/ci-docker-com/providers/Microsoft.Network/networkInterfaces/redacted","type": "String"}},"variables": {},"resources": [{"type": "Microsoft.Compute/virtualMachines","apiVersion": "2019-03-01","name": "[parameters('virtualMachines_redacted_name')]","location": "westus","properties": {"hardwareProfile": {"vmSize": "Standard_D4s_v3"},"storageProfile": {"imageReference": { "id": "[parameters('redacted_externalid')]"},"osDisk": { "osType": "Windows", "diffDiskSettings": { "option": "Local" }, "name": "[concat(parameters('virtualMachines_redacted_name'), '_disk1_')]", "createOption": "FromImage", "caching": "ReadOnly",
[JIRA] (JENKINS-59752) Add support for ephemeral OS disk
Title: Message Title Stefan Scherer created an issue Jenkins / JENKINS-59752 Add support for ephemeral OS disk Issue Type: Improvement Assignee: Azure DevOps Components: azure-vm-agents-plugin Created: 2019-10-11 15:39 Priority: Minor Reporter: Stefan Scherer Recently, Microsoft introduced the concept of Ephemeral OS disk for certain types of VMs. An Ephemeral OS disk is stored on local storage and is therefore faster and free, but it is not persistent. It is therefore only used in situations where the VM is based on an image and every time it is started the OS disk will get “regenerated” from the generalized image and any changes made to the OS disk (C will be lost if the VM moves to another host or is reallocated. https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks This would be super helpful for ephemeral Jenkins agents to have the best performance like the temporary disk (D and have no cost for this disk. What I can see it's only a small change in the json. The diffDiskSettings with option Local seems to be the key. Machine sizes must be big enough to carry the disk image (127 GB for Windows from Marketplace) in their cache. { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "virtualMachines_redacted_name": { "defaultValue": "redacted", "type": "String" }, "redacted_externalid": { "defaultValue": "/subscriptions/redacted/resourceGroups/PackerImages/providers/Microsoft.Compute/images/redacted", "type": "String" }, "disks_redacted_disk1_externalid": { "defaultValue":