[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#158696: marked as done (diskless: [PATCH] use update-cluster to run diskless-newhost)



Your message dated Tue, 13 Sep 2005 09:55:21 +0200
with message-id <20050913075521.GA1577@diziet.irb.hr>
and subject line diskless removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Aug 2002 00:06:43 +0000
>From hazelsct@mit.edu Wed Aug 28 19:06:43 2002
Return-path: <hazelsct@mit.edu>
Received: from p4-117-1.mit.edu [18.53.1.61] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17kCpe-0000CS-00; Wed, 28 Aug 2002 19:06:43 -0500
Received: from localhost ([127.0.0.1] helo=mit.edu)
	by p4-117-1.mit.edu with esmtp (Exim 3.35 #1 (Debian))
	id 17kCpa-0003mx-00
	for <submit@bugs.debian.org>; Wed, 28 Aug 2002 20:06:38 -0400
Message-ID: <3D6D6588.90703@mit.edu>
Date: Wed, 28 Aug 2002 20:06:32 -0400
From: Adam C Powell IV <hazelsct@mit.edu>
Organization: Massachvsetts Institvte of Technology
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020622 Debian/1.0.0-0.woody.1
X-Accept-Language: en
MIME-Version: 1.0
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diskless: [PATCH] use update-cluster to run diskless-newhost
Content-Type: multipart/mixed;
 boundary="------------030202030500030000020507"
Delivered-To: submit@bugs.debian.org

This is a multi-part message in MIME format.
--------------030202030500030000020507
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Package: diskless
Version: 0.3.17
Severity: wishlist

Greetings,

It's a bit of a pain to go around running diskless-newhost for every 
single host when setting up a cluster or changing the configuration. 
 Especially with a lot of machines.

The attached script (the "patch") could go into 
/usr/lib/update-cluster/diskless.updatelist and do that automatically, 
the admin would only need to run update-cluster-regenerate diskless. 
 The /etc/default/diskless file, which doesn't exist yet, could be 
configured (e.g. via debconf) to customize CLUSTERXML, IMAGEROOT and 
HOSTROOT.

Of course this would have to be added to the documentation too, I'd be 
glad to make a patch for this.

What do you think?

Zeen,
-- 

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
<http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>

-- System Information
Debian Release: 3.0
Kernel Version: Linux ozymandias 2.4.18-k7-smp #1 SMP Mon Mar 11 
05:14:21 EST 2002 i686 unknown

Versions of the packages diskless depends on:
ii  debootstrap    0.1.17         Bootstrap a basic Debian system
ii  libmd5-perl    2.02-3         backwards-compatible wrapper for 
Digest::MD5
ii  m4             1.4-14         a macro processing language
ii  perl           5.6.1-7        Larry Wall's Practical Extraction and 
Report
        ^^^ (Provides virtual package perl5)


--------------030202030500030000020507
Content-Type: text/plain;
 name="diskless.updatelist"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diskless.updatelist"

#!/bin/bash

CLUSTERXML=/etc/update-cluster/cluster.xml
IMAGEROOT=/var/lib/diskless/default/root
HOSTROOT=/var/lib/diskless/default

[ -f /etc/default/diskless ] && . /etc/default/diskless

for hostip in `cat $CLUSTERXML | \
	       update-cluster-remove --master | \
	       update-cluster-parseconfig ip`; do \
  hostname=`cat $CLUSTERXML | \
	    update-cluster-parseconfig hostname ip | \
	    grep $hostip | \
	    cut -d " " -f 1`; \
  echo "(Re)building IP=$hostip host=$hostname mailname=$hostname"; \
  diskless-newhost $IMAGEROOT $hostip host=$hostname mailname=$hostname; \
done

--------------030202030500030000020507--


---------------------------------------
Received: (at 158696-done) by bugs.debian.org; 13 Sep 2005 07:55:26 +0000
>From mvela@irb.hr Tue Sep 13 00:55:25 2005
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr [161.53.22.8] (UNKNOWN)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EF5dV-00067X-00; Tue, 13 Sep 2005 00:55:25 -0700
Received: from diziet.irb.hr (diziet.irb.hr [161.53.22.31])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j8D7tDOP024226;
	Tue, 13 Sep 2005 09:55:13 +0200
Received: from diziet.irb.hr (localhost [127.0.0.1])
	by diziet.irb.hr (8.13.4/8.13.4/Debian-4) with ESMTP id j8D7tLv2029532;
	Tue, 13 Sep 2005 09:55:21 +0200
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.4/8.13.4/Submit) id j8D7tLkm029530;
	Tue, 13 Sep 2005 09:55:21 +0200
Date: Tue, 13 Sep 2005 09:55:21 +0200
From: Matej Vela <vela@debian.org>
To: 77389-done@bugs.debian.org, 88529-done@bugs.debian.org,
        101199-done@bugs.debian.org, 107702-done@bugs.debian.org,
        107721-done@bugs.debian.org, 138817-done@bugs.debian.org,
        144307-done@bugs.debian.org, 158694-done@bugs.debian.org,
        158696-done@bugs.debian.org, 162615-done@bugs.debian.org,
        164531-done@bugs.debian.org, 164532-done@bugs.debian.org,
        246358-done@bugs.debian.org, 246532-done@bugs.debian.org,
        251425-done@bugs.debian.org, 254116-done@bugs.debian.org,
        261829-done@bugs.debian.org, 262905-done@bugs.debian.org,
        293264-done@bugs.debian.org, 293807-done@bugs.debian.org,
        311590-done@bugs.debian.org, 311591-done@bugs.debian.org,
        315516-done@bugs.debian.org, 316658-done@bugs.debian.org,
        319253-done@bugs.debian.org, 326873-done@bugs.debian.org
Subject: diskless removed
Message-ID: <20050913075521.GA1577@diziet.irb.hr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.10i
X-Scanned-By: MIMEDefang 2.51 on 161.53.22.8
Delivered-To: 158696-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 7

diskless has been removed from Debian due to bugginess and lack of
maintenance.  Similar functionality is provided by lessdisks.  For
details, see <http://bugs.debian.org/107808>.



Reply to: