From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wPr0Dv4n22ZKRgEAe85BDQ:P1 (envelope-from ) for ; Fri, 06 Sep 2024 16:04:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wPr0Dv4n22ZKRgEAe85BDQ (envelope-from ) for ; Fri, 06 Sep 2024 18:04:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DC3Fl8C8; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=FLUQ9iTl; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725638654; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YsZfHSI5mSup9sjzlwLn2V5FnPmFdvWVd+Ys1E6zJs0=; b=FLF3dtm/ZY28xWVKnHL+X7uhLZ/5XiUQlExKic5rslDgBrXAGJgbtYazLgV4EuKMluYuWO Zd8hhxAMoQz96Xo3+1DZfx61EXbT4ZsPVIOvV9GoFqHozD09ZUIK5w87gZR8O0gssQR7NZ nzdr3WYbS1Y+sSYouNstOYLxiHDSHfX/loHlIWKU0NuThKLiBGXwEFAtrX29QptPg9M+Wz uLrDWR4ghAJaoOfM0kLDW5Wqe2Ix0bRBQsO3VlQzkzLdqSLCufDJigAaMgmyLDKG9yIUgB ZXbGO8f4rBWGwxs6DiLui5SOSRCE3DAiuBratPyLnBSJROHtJaZnMMA8e4Xoag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725638654; a=rsa-sha256; cv=none; b=DcbHS/QRsuyzek0uxw4Y4FcsUY3OTnSYlKPyZQFpNwU6uS7PcbyiVW0LN2fN5egw7VJS17 ON555SmuRW504MTAO0ugyphKPubUs2fGA79Tt+CAGFPBxARqsOrqwunEc62UkNcXoQ6X5G QneVBSuEK4ZFBi/U6g8HoRWExjxOP3BDfAbqGU1COcWZFEkJ3y9Gh3o2kLOzd375+rJwuI 9KGMuG9iMrdLreefEQLXITRBad+waN5qR5GOy2XZh9+rC8ypdShX+r23evG0jepTjYAEpj p/khXxIFCY5+vufE3mJOHXwMGitRZrxW06BGwPkzsq8pgPIR535keFo6l9niUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DC3Fl8C8; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=FLUQ9iTl; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68C677A976 for ; Fri, 6 Sep 2024 18:04:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smbRO-00036r-GV; Fri, 06 Sep 2024 12:04:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smbRL-0002ws-7o for guix-patches@gnu.org; Fri, 06 Sep 2024 12:04:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smbRK-0001Ro-UJ for guix-patches@gnu.org; Fri, 06 Sep 2024 12:04:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=YsZfHSI5mSup9sjzlwLn2V5FnPmFdvWVd+Ys1E6zJs0=; b=DC3Fl8C8y1QrbHOY2mrpAMOY4i6AZWDOBfqHyc7d8ORYq6m/DoCjTTNbq68i/eTmASwcjRzehKbDAgnQZQUgoOtSJSwlplGBCjLWamNJo5T/MWv0HQ4+ENYotS99dIAvk1278L9NeYhNRx/2iQqnsmWHTUKohQS4IXNyU0uBvVXayRoi698yawSAPBVCba4J6DDOJOGktASydaQm8GifXDLVHcW+3/SO+JxVa9zklH1v16J3NgU5kL/+fgKANn/16Gve0RPU+JT1y9XebWNcOMICg49K7apAVHLnA4OAwh6QnwhPXb3vcNSMFfnNPpTiD+cYspY8uf2E4pVtMGpolA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smbRK-0008HD-F5 for guix-patches@gnu.org; Fri, 06 Sep 2024 12:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72766] [PATCH 2/2] gnu: slurm: Enable REST API. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Sep 2024 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 72766@debbugs.gnu.org Received: via spool by 72766-submit@debbugs.gnu.org id=B72766.172563859931735 (code B ref 72766); Fri, 06 Sep 2024 16:04:02 +0000 Received: (at 72766) by debbugs.gnu.org; 6 Sep 2024 16:03:19 +0000 Received: from localhost ([127.0.0.1]:54002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smbQc-0008Fn-To for submit@debbugs.gnu.org; Fri, 06 Sep 2024 12:03:19 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:47860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smbQZ-0008Fa-2y for 72766@debbugs.gnu.org; Fri, 06 Sep 2024 12:03:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YsZfHSI5mSup9sjzlwLn2V5FnPmFdvWVd+Ys1E6zJs0=; b=FLUQ9iTljhmzOfUZXoPgtOhnv4 9EX5Og63zbmiX2DI0atJ4+158j78bDWeHoTglyQGQb5559v3lAPlH0laXQe7Wtfyk7Tfho+wvnzFC 2SGRfYmdv2dQ+lwYTydQP0+RLDR2pNr6dkbwVAYF1mYQyDCsNZNFZA/ece/OGttILMNfjIPrrzNQW K7F8G9dtDeh+A75BadSgEk0KeB1oBUVhd8ei9lq7HYQmmEbt4OvnsMho3WxJ3JT5sFqV2+iZ2Im2d /17gIWNR3x58jhhtmYp82nLhFHFSoPORqaGbVC19Y8gVkZEqXIn7yU+eISmPgSqBwilllxFfMjQ15 TBZJRw+A==; Received: from [192.168.2.1] (port=55494 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1smbKy-000000003c5-1e7b; Fri, 06 Sep 2024 16:57:29 +0100 From: Arun Isaac In-Reply-To: <87a5gqlcuc.fsf@gnu.org> References: <3f45eba5ce4b94bcf046b1f9368336ad236a74e3.1724369334.git.arunisaac@systemreboot.net> <87a5gqlcuc.fsf@gnu.org> Date: Fri, 06 Sep 2024 17:03:05 +0100 Message-ID: <87bk10srba.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 68C677A976 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.42 X-Spam-Score: -10.42 X-TUID: KiNaAyn6zbuC Hi Ludo, > I=E2=80=99m curious what the REST interface has to offer compared to DRMA= A. I don't know, to be honest. I've started working on ravanan, a new implementation of the Common Workflow Language that takes inspiration from Guix and integrates with Guix for strong reproducibility. https://git.systemreboot.net/ravanan/about/ ravanan uses the slurm REST API to talk to slurm, and that's why I need this patch. I chose the slurm REST API over DRMAA rather arbitrarily. In the future, I could support both in ravanan. So, it's still good to have both. >> + (inputs (list dbus >> + freeipmi >> + http-parser >> `(,hwloc-2 "lib") >> json-c >> + libjwt >> + librdkafka >> + libyaml >> + linux-libre-headers >> linux-pam >> + `(,mariadb "dev") > > That=E2=80=99s quite a few heavyweight dependencies (=E2=80=98linux-libre= -headers=E2=80=99 is > not necessary; it=E2=80=99s included by default). Good catch! I'll remove it before pushing. > It=E2=80=99s a bit of Inheritance Game in this file (ah ha!) so we should= make > sure the other slurm variants still work fine. qa.guix hasn=E2=80=99t te= sted it > yet. I have built the other slurm variants, and they seem to build fine. I also used these packages to migrate a cluster from ancient slurm 18.08 to modern slurm 23.02 in increments of two versions, and tested functionality at each step. They all seem to work. So, I am relatively confident these packages work. Regards, Arun