← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1883661] Re: Race condition while starting cloud-init systemd services

 

** Changed in: cloud-init
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1883661

Title:
  Race condition while starting cloud-init systemd services

Status in cloud-init:
  Fix Released

Bug description:
  cloud-init runs into some weird race condition while it's services are
  restarted repeatedly in a loop and sometimes during boot.

  
  Following is my test script to reproduce the issue

  #Start of test script

  #!/bin/bash

  set -e

  for i in {1..30}; do
    echo -n "$i "
    cloud-init clean -ls
    sleep 1
    systemctl restart cloud-*.service
  done
  echo ""

  #End of test script

  Looks like this is a cloud-init service file issue. Please help me
  resolve this issue.

  
  Attaching the necessary logs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1883661/+subscriptions


References