<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lifecycle on Barn</title><link>https://barn.pgsty.com/v1.5/tags/lifecycle/</link><description>Recent content in Lifecycle on Barn</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 09 Nov 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://barn.pgsty.com/v1.5/tags/lifecycle/index.xml" rel="self" type="application/rss+xml"/><item><title>Farrow 0.6.0: Ubuntu 24.04 and smoother local labs</title><link>https://barn.pgsty.com/v1.5/release/0.6.0/</link><pubDate>Sat, 05 Sep 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/0.6.0/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This version shipped as Farrow. Its download assets have been retired. See the &lt;a href="https://github.com/pgsty/barn/blob/v0.6.0/.github/releases/0.6.0.md"&gt;original tagged release notes&lt;/a&gt; or &lt;a href="https://barn.pgsty.com/v1.5/docs/start/installation/"&gt;install the current Barn release&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Farrow 0.6.0 makes Ubuntu 24.04 the default guest image and improves planning, startup, scale-out, and node recreation for local Pigsty labs.&lt;/p&gt;&#10;&lt;h2 id="what-changed"&gt;What changed&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Ubuntu 24.04 by default.&lt;/strong&gt; New inventories and the embedded catalog default to &lt;code&gt;u24:stable&lt;/code&gt;. Catalog revision &lt;code&gt;2026090501&lt;/code&gt; also bundles the normalized Debian 12/13 and Rocky Linux 8/9 image updates published in the official repositories.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Run &lt;code&gt;plan&lt;/code&gt; before host setup.&lt;/strong&gt; &lt;code&gt;farrow plan&lt;/code&gt; resolves catalog images without requiring QEMU or host networking to be installed first (registered &lt;code&gt;local-*&lt;/code&gt; images still use &lt;code&gt;qemu-img&lt;/code&gt; cache inspection). Plans display exact image versions, aggregate CPU/memory/disk totals, pending node starts, modified fields, and disk actions, while preserving custom &lt;code&gt;-f&lt;/code&gt; inventory paths in suggested next commands.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Clearer status and error reporting.&lt;/strong&gt; &lt;code&gt;farrow status&lt;/code&gt; includes image, CPU, and memory columns, and a damaged state file on one node no longer hides healthy peers—corrupt state errors name the exact file and cause. Image digest mismatches return exit code &lt;code&gt;7&lt;/code&gt;, SSH exit code &lt;code&gt;255&lt;/code&gt; passes through unchanged, and &lt;code&gt;--no-wait&lt;/code&gt; explicitly notes that readiness checks were skipped.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Preflight checks before disruption.&lt;/strong&gt; Targeted &lt;code&gt;recreate&lt;/code&gt; detects conflicting peer changes before deleting any disks, and &lt;code&gt;reload&lt;/code&gt; validates startup dependencies before stopping running guests. &lt;code&gt;stop&lt;/code&gt;, &lt;code&gt;destroy&lt;/code&gt;, and runtime cleanup update deployment state consistently under the deployment lock.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Automatic guest &lt;code&gt;/etc/hosts&lt;/code&gt; and SSH updates.&lt;/strong&gt; Starting or removing nodes refreshes Farrow-managed &lt;code&gt;/etc/hosts&lt;/code&gt; blocks and control-node SSH configuration inside running guests, so recreated peers remain reachable without manually pruning guest &lt;code&gt;known_hosts&lt;/code&gt;. User-authored SSH config entries and global option scopes remain intact.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Cleaner CLI parsing.&lt;/strong&gt; Custom &lt;code&gt;init&lt;/code&gt; output paths print matching follow-up commands, output flags no longer swallow adjacent option values, malformed integer sizes and multi-document YAML files are rejected rather than truncated, and &lt;code&gt;ALL_PROXY&lt;/code&gt;/&lt;code&gt;all_proxy&lt;/code&gt; acts as a fallback behind scheme-specific proxy variables and &lt;code&gt;NO_PROXY&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="upgrade-notes"&gt;Upgrade notes&#10;&lt;/h2&gt;&#10;&lt;p&gt;Upgrading Farrow leaves existing VM disks and explicit &lt;code&gt;vm_image&lt;/code&gt; settings untouched. If an older inventory relied on the implicit Debian 13 default, add &lt;code&gt;vm_image: d13&lt;/code&gt; under &lt;code&gt;all.vars&lt;/code&gt; before running &lt;code&gt;farrow up&lt;/code&gt; with 0.6.0. Always inspect &lt;code&gt;farrow plan&lt;/code&gt; before applying changes.&lt;/p&gt;</description></item><item><title>Declarative Does Not Mean Destructive</title><link>https://barn.pgsty.com/v1.5/blog/design/convergence-without-surprise/</link><pubDate>Thu, 27 Aug 2026 21:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/convergence-without-surprise/</guid><description>&lt;p&gt;This essay explains the Linux VM convergence model in Barn &lt;code&gt;1.1.0&lt;/code&gt; (&lt;a href="https://barn.pgsty.com/v1.5/docs/start/macos/"&gt;macOS guests&lt;/a&gt; are managed independently).&lt;/p&gt;&#10;&lt;p&gt;A declarative tool compares live state against a configuration file—but in daily development, that file might be temporarily edited for debugging, checked out on another git branch, or missing a YAML group after a merge. If a local VM manager treats an omitted YAML block as permission to destroy a virtual machine, a single typo can wipe out a database node.&lt;/p&gt;</description></item></channel></rss>