debian packaging for magnum-cluster-api
Closed, ResolvedPublic

Description

The magnum-cluster-api driver is not currently packaged by Zigo. The version in debian Trixie is extremely out of date (0.16); debian packaging stopped when the driver maintainers added rust to the build.

Taavi has done almost all the work to build a .deb, and there's a repo that builds here:

https://gitlab.wikimedia.org/repos/cloud/deb/magnum-cluster-api

I have this building on Trixie (and working), with the addition of a few backported rust packages on the build host and a rebase of the latest driver code. Remaining tasks are:

  • document build host requirements in a readme and/or on wikitech
  • update gitlab repo with the latest upstream code
  • complete packaging work so that this package is appropriate for inclusion on apt.wikimedia.org <- I (Andrew) don't know what this entails -- it won't be due to all the last-minute rust code it pulls down.
  • decide whether or not our build is appropriate for upstream Debian and the osbpo; if yes, get all needed patches added to zigo's repo at https://salsa.debian.org/openstack-team/services/magnum-cluster-api -- it isn't

Related Objects

Event Timeline

gentle reminder that I'm still hoping for advice re "appropriate for inclusion on apt.wikimedia.org"

complete packaging work so that this package is appropriate for inclusion on apt.wikimedia.org <- I (Andrew) don't know what this entails

I did check the Lintian output and while there's some smaller cleanup that would be nice to get done at some point, I don't see any of that blocking using the package internally. Main thing that needs to happen at this point is to change the UNRELEASED to trixie-wikimedia in debian/changelog. And a debian/watch would be nice at some point.

decide whether or not our build is appropriate for upstream Debian and the osbpo; if yes, get all needed patches added to zigo's repo at https://salsa.debian.org/openstack-team/services/magnum-cluster-api

No, we're pulling Rust dependencies from Cargo during build time which means it can't go into Debian.

I have this working now, and somewhat documented. The only caveat is that everything is on the debian/trixie-wikimedia branch; not sure if that should be backported to debian/unstable or if I should just drop that branch entirely.

Change #1295477 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/puppet@production] magnum: create directory to hold /var/lib/magnum/.kube/config

https://gerrit.wikimedia.org/r/1295477

Change #1295477 merged by Andrew Bogott:

[operations/puppet@production] magnum: create directory to hold /var/lib/magnum/.kube/config

https://gerrit.wikimedia.org/r/1295477

Andrew updated the task description. (Show Details)