Migrate the Chef repo to Cinc Workstation #692
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
Infrastructure metrics, alerts, notifications, etc.
service
discourse
Kosmos Community Forums
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
lightning
Lightning address, lndhub, etc.
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
All your base are belong to us
User interface, process design, etc.
This won't be fixed
release
major
release
minor
release
patch
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#692
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Migrates the tooling and node management from Chef Workstation / Chef Infra Client to Cinc Workstation / Cinc Client.
Changes
.ruby-versiontocinc-workstation; move the repo knife config from.chef/to.cinc/(Cinc'sUSER_CONF_DIR); on-node config now lives in/etc/cinc. Drop theGemfile/Gemfile.lock(knife-zero is installed withcinc gem install knife-zero).Vagrantfileand the two vagrant-based Test Kitchen suites (kosmos-bitcoin, tor-full).product_name: cinc); fix Berksfiles (kosmos_emailwas missing one,kosmos_garagelacked local path deps); bump therskjpin to9.0.4; document remaining suite work indoc/test-kitchen-open-tasks.md.scripts/knife/migrate_node_to_cinc.sh: one-shot, idempotent node migration. Installs Cinc Client, links/etc/cinc→/etc/chef, pre-seeds theallowed_*attribute lists, and removes the oldchefpackage.nodes: migrateddrone-1(Chef 18.7.10 → Cinc 19.2.12) andgarage-11(Chef 18.5.0 → Cinc 19.4.46).Migration notes
migrate_node_to_cinc.shdoes this. On EOL OSes only the last Cinc build is available (Ubuntu 20.04 → 19.2.12; 22.04/24.04 → 19.4.46).*_attribute_whitelist, which silently dropsvm_host(and would breakscripts/knife/converge_all.sh).Open task (deferred)
zerotierautomatic attribute is no longer collected under Ohai 19. The vendoredzerotiercookbook's Ohai plugin (cookbooks/zerotier/templates/default/zerotier_ohai.rb) yields nozerotierattribute on Cinc nodes. Repro on a Cinc node:ohai --directory /etc/cinc/ohai/plugins zerotier→I cannot find an attribute named zerotier!. It is currently unused by any cookbook, role or search, but the plugin should be updated for Ohai 19 (or the allowlist entry dropped). Affects all Cinc nodes.Tested
drone-1andgarage-11converged successfully with Cinc;vm_hostpreserved in both.kosmos_rskTest Kitchen suite passes 9/9 withproduct_name: cinc.f0a98a148ato7de46b6115@greg I think this one's good to go. I changed it to use pinned versions, always the latest stable for each distro version, and I ran it on a few machines.