cloudinit/sshinit is dependent on cloud-init implementation details

Bug #1259942 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

sshinit.Configure waits in a loop while there are any processes whose names match "cloud-init". This both makes sshinit dependent on cloud-init's implementation details, and also introduces a fragility in manual bootstrap where anyone running a process matching "cloud-init" will stall Juju.

We should change sshinit to synchronise with cloud-init using something within our control, for example by waiting for the presence of a file on disk.

Tags: tech-debt

Related branches

Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
status: Triaged → Won't Fix
status: Won't Fix → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Medium → High
milestone: none → 1.17.0
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.