All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: Zack Cerza <zack@redhat.com>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: paddles read-only mirror
Date: Wed, 23 Mar 2016 11:21:41 +0100	[thread overview]
Message-ID: <56F26E35.8030802@dachary.org> (raw)

Hi Zack,

It would be very convenient to have a read-only public copy of the paddles database. So that anyone can run a command like this:

paddles=paddles.front.sepia.ceph.com
run=loic-2016-01-29_00:40:06-upgrade:hammer-hammer-backports---basic-vps
eval filter=$(curl --silent http://$paddles/runs/$run/ | jq '.jobs[] | select(.status == "dead" or .status == "fail") | .description' | while read description ; do echo -n $description, ; done | sed -e 's/,$//')

to schedule a run of failed jobs.

It could be done by activating continuous archiving of the pgsql wal (http://www.postgresql.org/docs/9.4/static/continuous-archiving.html) which can then be used to udpate the read-only copy. It is non intrusive for the running paddles and there is plenty of space to keep these.

ubuntu@pulpito:~$ hostname --fqdn
pulpito.front.sepia.ceph.com
ubuntu@pulpito:~$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       351G  5.6G  328G   2% /

Do you think that's something sensible ?

Cheers
-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2016-03-23 10:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56F26E35.8030802@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=zack@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.