--- Begin Message ---
Subject: |
[PATCH 0/4] Add Ganeti |
Date: |
Wed, 8 Jul 2020 12:08:26 +0200 |
Here it comes! The much-rumoured Ganeti service, along with a draft
blog post (sent as patch 5/4).
Before pushing I'm going to update Ganeti to get rid of some patches,
and publish an improved ganeti-instance-guix. I will also try to
provision a cluster from scratch using the blog post instructions.
Note: the 'ganeti-shepherd-master-failover' patch relies on a Shepherd
service that has since been removed. I intend to replace it with a
"force-start" action on the ganeti-wconfd service, that passes the
required command-line arguments via environment variables, but other
ideas to temporarily start a daemon with special parameters welcome.
I have a lot going on currently and might not be able to finish this
until next week. Meanwhile, feedback appreciated as always.
Marius Bakke (4):
gnu: Add ganeti.
gnu: Add ganeti-instance-guix.
gnu: Add ganeti-instance-debootstrap.
services: Add ganeti.
doc/guix.texi | 560 +++++++++++
gnu/local.mk | 8 +
gnu/packages/patches/ganeti-copy-hmac.patch | 83 ++
.../ganeti-disable-version-symlinks.patch | 136 +++
gnu/packages/patches/ganeti-drbd-compat.patch | 168 ++++
.../patches/ganeti-haskell-pythondir.patch | 66 ++
.../ganeti-openvswitch-may-exist.patch | 25 +
.../patches/ganeti-preserve-PYTHONPATH.patch | 21 +
.../ganeti-shepherd-master-failover.patch | 26 +
.../patches/ganeti-shepherd-support.patch | 87 ++
gnu/packages/virtualization.scm | 500 ++++++++++
gnu/services/virtualization.scm | 906 +++++++++++++++++-
gnu/tests/virtualization.scm | 175 +++-
13 files changed, 2759 insertions(+), 2 deletions(-)
create mode 100644 gnu/packages/patches/ganeti-copy-hmac.patch
create mode 100644 gnu/packages/patches/ganeti-disable-version-symlinks.patch
create mode 100644 gnu/packages/patches/ganeti-drbd-compat.patch
create mode 100644 gnu/packages/patches/ganeti-haskell-pythondir.patch
create mode 100644 gnu/packages/patches/ganeti-openvswitch-may-exist.patch
create mode 100644 gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch
create mode 100644 gnu/packages/patches/ganeti-shepherd-master-failover.patch
create mode 100644 gnu/packages/patches/ganeti-shepherd-support.patch
--
2.27.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#42261] [PATCH 1/4] gnu: Add ganeti. |
Date: |
Thu, 16 Jul 2020 22:36:04 +0200 |
Ludovic Courtès <ludo@gnu.org> writes:
>> I haven't dared submitting 'disable-version-symlinks.patch' yet,
>> mainly because I struggled to find a clean way to conditionally
>> override Automake variables, ref
>> <https://lists.gnu.org/archive/html/automake/2020-06/msg00000.html>
>>
>> (there is a reply from Karl Berry in 2020-07)
>
> I think another option would be something like this (beware!):
>
> pkglibdir =
> if USE_VERSION_LINKS
> pkglibdir += foo
> else
> pkglibdir += bar
> endif
That's clever, but unfortunately did not work because the += adds an
extra whitespace between entries. So in this case $(pkglibdir) would
expand to ' bar', which may or may not work depending on whether the
usage is quoted. For things like $(bindir), install-binSCRIPTS
unfortunately quotes the entries. Tricky stuff!
>>> Apart from that, on a cursory look it LGTM!
>>
>> Awesome, I was able to do some more testing today and expect to push
>> this in a couple of days.
>
> Yay!
I've made lots of tweaks recently, such as adding default hooks for
debootstrap so that basic things work out of the box. Finally pushed
now, and I intend to publish the blog post tomorrow.
One step closer to worl^W datacenter domination. \o/
signature.asc
Description: PGP signature
--- End Message ---