Async VM state update stuck for ~ 25 mins

Open
#141 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure

Research direction

Start with the CustomScript extension behavior when waagent is stopped or disabled, and reproduce the attach/detach flow using the shown virtual_machines.create_or_update call. Observe how long async_update.wait() remains pending; done means the VM disk update completes without the reported delay.

Written by the indexing model from the issue text.

Description

When CustomScript extension is used and waagent is stopped/disabled.

Virtual machine disks state stuck in "Updating" for almost 25 mins.

When below command is executed after any attach/detach disk on this VM,
async_update = azure_compute_client.virtual_machines.create_or_update(resource_group_name, vm_name, vm_obj)
async_update.wait()

It stuck for ~25 mins.
screen shot 2018-08-22 at 1 24 33 pm

Dominant language
Go
Stars
113
Forks
46
Avg merge
4d 15h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/custom-script-extension-linux

All issues in Azure/custom-script-extension-linux

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.