Project

General

Profile

Actions

Idea #7454

closed

[NodeManager] Use CustomData on to provision compute nodes on Azure instead of CustomScriptExtension

Added by Peter Amstutz over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-

Description

Currently we use CustomScriptForLinux to provision compute nodes. However, for some reason (we have not been able to get to the root cause) it fails to run the script reliably. To get around this we are using a cron job hack which re-runs CustomScriptForLinux until it succeeds. It would be better to solve the problem a different way.

It turns out there is actually a simpler way to put a small file onto a newly provisioned node than what we have been trying to do with CustomScriptForLinux. Somehow I overlooked this feature before or I would have implemented this way originally.

https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-how-to-inject-custom-data/

1) Add custom data support to libcloud (done)
2) Update node manager to put the ping URL command into custom data
3) in /etc/waagent.conf:

Provisioning.Enabled=y 
Provisioning.DecodeCustomData=y
Provisioning.ExecuteCustomData=y

4) Build a new image.


Subtasks 1 (0 open1 closed)

Task #8004: Review 7454-azure-custom-dataResolvedTom Clegg12/16/2015Actions
Actions

Also available in: Atom PDF