Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Container Linux should phone-home to Packet on boot failure #2130

Open
crawford opened this issue Aug 30, 2017 · 2 comments
Open

Container Linux should phone-home to Packet on boot failure #2130

crawford opened this issue Aug 30, 2017 · 2 comments

Comments

@crawford
Copy link
Contributor

Issue Report

Feature Request

Environment

Packet.net

Desired Feature

When Ignition is fed a bad config, it prevents the boot from succeeding. As a result, the packet-phone-home.service doesn't run, which leaves the machine in a failed provisioning state (Packet then removes the machine from the available pool). Instead, packet-phone-home.service should be run from the initramfs when Ignition fails. This will allow Packet to continue using that machine and the user to get a console and debug.

Other Information

It would be nice if the API allowed us to indicate a boot failure, but I don't believe it supports that yet.

@bgilbert
Copy link
Contributor

See also #2042, which is slightly different.

@bgilbert
Copy link
Contributor

This will require adding curl (or equivalent) to the initramfs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants