Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 316878 Details for
Bug 462491
AttributeError: InstallInterface instance has no attribute 'getLuksPassphrase'
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Here is the kickstart file that was used during the install.
ks.cfg (text/plain), 12.21 KB, created by
Jeff Burke
on 2008-09-16 18:49:39 UTC
(
hide
)
Description:
Here is the kickstart file that was used during the install.
Filename:
MIME Type:
Creator:
Jeff Burke
Created:
2008-09-16 18:49:39 UTC
Size:
12.21 KB
patch
obsolete
>nfs --server=bigpapi.bos.redhat.com --dir=/vol/engineering/redhat/nightly/RHEL5.3-Server-20080916.nightly/5/x86_64/os >install >#INSTALLURI# >key 49af89414d147589 >lang en_US.UTF-8 >keyboard us >skipx ># xconfig --startxonboot >network --device eth0 --bootproto dhcp >rootpw rhts >firewall --disabled >authconfig --enableshadow --enablemd5 >selinux --enforcing >timezone --utc America/New_York >bootloader --location=mbr --driveorder=sda --append="console=ttyS0,115200" >text >cmdline >reboot ># The following is the partition information you requested ># Note that any partitions you deleted are not expressed ># here so unless you clear all partitions first, this is ># not guaranteed to work >zerombr >clearpart --all --initlabel >#PART_DETAILS# >autopart > >%packages --ignoremissing >@development-tools >@development-libs >libxml2-python >ntp >expect >pyOpenSSL > > >%pre --interpreter=/usr/bin/python >#!/usr/bin/python > >import xmlrpclib >import os >import sys >import string >import time >import urllib >import re >import md5 >import base64 > >class WatchedFile: > def __init__(self, fn, alias): > self.fn=fn > self.alias=alias > self.reset() > > def reset(self): > self.where=0 > self.last_size=0 > self.lfrag='' > self.re_list={} > self.seen_line={} > > def exists(self): > return os.access(self.fn, os.F_OK) > > def lookfor(self,pattern): > self.re_list[pattern] = re.compile(pattern,re.MULTILINE) > self.seen_line[pattern] = 0 > > def seen(self,pattern): > if self.seen_line.has_key(pattern): > return self.seen_line[pattern] > else: > return 0 > > def changed(self): > if not self.exists(): > return 0 > size=os.stat(self.fn)[6] > if size > self.last_size: > self.last_size=size > return 1 > else: > return 0 > > def uploadWrapper(self, blocksize=262144): > """upload a file in chunks using the uploadFile call""" > # XXX - stick in a config or something > retries=3 > fo = file(self.fn, "r") #specify bufsize? > totalsize = os.path.getsize(self.fn) > ofs = 0 > md5sum = md5.new() > while True: > lap = time.time() > contents = fo.read(blocksize) > md5sum.update(contents) > size = len(contents) > data = base64.encodestring(contents) > if size == 0: > # end of file, use offset = -1 to finalize upload > offset = -1 > digest = md5sum.hexdigest() > sz = ofs > else: > offset = ofs > digest = md5.new(contents).hexdigest() > sz = size > del contents > tries = 0 > while True: > try: > result = session.results.uploadFile(installid, self.alias, sz, digest, offset, data) > if result == 0: > break > except: > print "Failed to upload %s" % self.alias > if tries <= retries: > tries += 1 > continue > if size == 0: > break > ofs += size > fo.close() > > def update(self): > if not self.exists(): > return > if not self.changed(): > return > try: > self.uploadWrapper() > except: > raise > >class MountWatcher: > > def __init__(self,mp): > self.mountpoint=mp > self.zero() > > def zero(self): > self.line='' > self.time=time.time() > > def update(self): > fd=open('/proc/mounts') > found=0 > while 1: > line=fd.readline() > if not line: > break > parts=string.split(line) > mp=parts[1] > if mp == self.mountpoint: > found=1 > if line != self.line: > self.line = line > self.time=time.time() > if not found: > self.zero() > fd.close() > > def stable(self): > self.update() > if self.line and (time.time() - self.time > 60): > return 1 > else: > return 0 > > >def anamon_loop(): > alog=WatchedFile('/tmp/anaconda.log','anaconda.log') > slog=WatchedFile('/tmp/syslog','sys.log') > llog=WatchedFile('/tmp/lvmout','lvmout.log') > kcfg=WatchedFile('/tmp/ks.cfg','ks.cfg') > scrlog=WatchedFile('/tmp/ks-script.log','ks-script.log') > dump=WatchedFile('/tmp/anacdump.txt','anacdump.txt') > mod=WatchedFile('/tmp/modprobe.conf','modprobe.conf') > ilog=WatchedFile('/mnt/sysimage/root/install.log','install.log') > ilog2=WatchedFile('/mnt/sysimage/tmp/install.log','tmp+install.log') > ulog=WatchedFile('/mnt/sysimage/root/upgrade.log','upgrade.log') > ulog2=WatchedFile('/mnt/sysimage/tmp/upgrade.log','tmp+upgrade.log') > sysimage=MountWatcher('/mnt/sysimage') > list=[alog,slog,dump,scrlog,mod,llog,kcfg] > waitlist=[ilog, ilog2, ulog, ulog2] > alog.lookfor('step installpackages$') > while 1: > time.sleep(5) > for watched in waitlist: > #if watched in list: > # continue > if alog.seen('step installpackages$') or (sysimage.stable() and watched.exists()): > print "Adding %s to watch list" %watched.alias > list.append(watched) > waitlist.remove(watched) > for wf in list: > wf.update() > > > >session = xmlrpclib.Server('http://rhts.redhat.com/cgi-bin/rhts/scheduler_xmlrpc.cgi') >lab = xmlrpclib.Server('http://rhts.redhat.com/cgi-bin/rhts/xmlrpc.cgi') >#get install_id from kernel command line >f=open('/proc/cmdline') >installid='909231' >for opt in string.split(f.readline()): > if opt[0:8] == 'install_id=': > installid = opt[8:] >f.close() >n=1 >daemon=1 >kick=0 >while n < len(sys.argv): > arg = sys.argv[n] > n=n+1 > if arg == '--install_id': > installid = sys.argv[n] > n=n+1 > elif arg == '--kick': > kick=1 > elif arg == '--fg': > daemon=0 >if not installid: > print "anamon: no install_id specified. exiting." > sys.exit(1) >testname = "/distribution/install/start" >while True: > try: > result_id = session.results.result(testname, testname, "Pass", 0, "N/A", installid) > if(result_id != 0) : > break > except: > print "Unable to connect to server, sleeping 5 seconds..." > time.sleep(5) >while True: > try: > lab.watchdog.testCheckin('nec-em21.rhts.bos.redhat.com',29279,testname,'',10800, installid) > break > except: > print "Unable to connect to server, sleeping 5 seconds..." > time.sleep(5) > >if daemon: > #fork off our monitor process > if not os.fork(): > anamon_loop() > # not reached > sys._exit(1) > sys.exit(0) >else: > anamon_loop() > > ># ># Make Sure DNS works in chroot ># >%post --nochroot >/bin/cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf > >%post >exec >> /root/ks-post.log 2>&1 >export PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin > > >cat << __EOT__ >> /etc/sysctl.conf ># Enables the magic-sysrq key >kernel.sysrq = 1 >__EOT__ > ># Turn on ntpd >/sbin/chkconfig ntpdate on >/sbin/chkconfig ntpd on >echo 'OPTIONS="$OPTIONS -x"' >>/etc/sysconfig/ntpd > ># Turn on syslog for yum logging. >/sbin/service syslog start > ># ># Lets put YUM on to install additional packages if needed ># >pushd /root >/usr/bin/wget -N http://rhts.redhat.com/rpms/yum-2.2.2-1.rhts.EL4.noarch.rpm >rpm -Uvh yum-2.2.2-1.rhts.EL4.noarch.rpm >popd > >cat << __EOT__ > /etc/yum.repos.d/rhts-tests.repo >[rhts-noarch] >name=RedHatEnterpriseLinuxServer5 - \$basearch - rhts development >baseurl=http://rhts.redhat.com/rpms/development/noarch/noarch >enabled=1 >gpgcheck=0 >__EOT__ > >yum --enablerepo=rhts* -y install rhts-test-env-lab rhts-legacy >yum --enablerepo=rhts* -y install yum-utils > > >cat <<__EOT__ > /etc/yum.repos.d/rhts-custom.repo >[rhts-custom1] >name=rhts-custom1 >baseurl=http://qafiler.bos.redhat.com/redhat/nightly/RHEL5.3-Server-20080916.nightly/5/x86_64/os/Cluster >enabled=1 >gpgcheck=0 > >[rhts-custom2] >name=rhts-custom2 >baseurl=http://qafiler.bos.redhat.com/redhat/nightly/RHEL5.3-Server-20080916.nightly/5/x86_64/os/ClusterStorage >enabled=1 >gpgcheck=0 > >[rhts-custom3] >name=rhts-custom3 >baseurl=http://qafiler.bos.redhat.com/redhat/nightly/RHEL5.3-Server-20080916.nightly/5/x86_64/os/Server >enabled=1 >gpgcheck=0 > >[rhts-custom4] >name=rhts-custom4 >baseurl=http://qafiler.bos.redhat.com/redhat/nightly/RHEL5.3-Server-20080916.nightly/5/x86_64/os/VT >enabled=1 >gpgcheck=0 > >__EOT__ >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >#!/bin/sh > >if [ -e "/usr/X11R6/bin/Xvfb" ]; then > Xvfb :1 -screen 0 1600x1200x24 -fbdir /tmp & > export DISPLAY=:1 >fi > >export RHTSLOOKASIDE="qafiler.bos.redhat.com/testkits" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export JOBID=29279 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RECIPESETID=100437 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RECIPETYPE=machine >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RECIPEID=106490 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export DISTRO="RHEL5.3-Server-20080916.nightly" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TREE_PATH="nfs://bigpapi.bos.redhat.com/vol/engineering/redhat/nightly/RHEL5.3-Server-20080916.nightly/5/x86_64/os" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export FAMILY="RedHatEnterpriseLinuxServer5" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export ARCH="x86_64" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export VARIANT="Default" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export HOSTNAME="nec-em21.rhts.bos.redhat.com" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export UUID="29279-0-1221580169" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export LAB_SERVER="rhts.redhat.com" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RESULT_SERVER="rhts.redhat.com" >__EOT__ > ># ># make XMLRPC call to remove custom PXE entry ># >%post --interpreter /usr/bin/python > >import xmlrpclib > >server = "http://rhts.redhat.com/cgi-bin/rhts/xmlrpc.cgi" > >client = xmlrpclib.Server(server) >resp = client.netboot.postPXE("nec-em21.rhts.bos.redhat.com") > > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >rhts-recipe-check || exit 1 >rhts-recipe-update rhts.redhat.com 106490 start >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export STANDALONE="nec-em21.rhts.bos.redhat.com" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TESTORDER=0 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RECIPETESTID=909231 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TESTID=909231 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RPACKAGES="" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TESTRPMNAME="rh-tests-distribution-install-1.8-43.noarch.rpm" >__EOT__ > >%post >export PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin >cat << __EOT__ >> /mnt/tests/runtests.sh >export TEST=/distribution/install >export TESTPATH=/mnt/tests/distribution/install >export KILLTIME=1200 >/usr/bin/rhts-test-runner.sh >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export STANDALONE="nec-em21.rhts.bos.redhat.com" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TESTORDER=2 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RECIPETESTID=909232 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TESTID=909232 >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export RPACKAGES="" >__EOT__ > >%post >cat << __EOT__ >> /mnt/tests/runtests.sh >export TESTRPMNAME="rh-tests-distribution-updateDistro-1.1-4.noarch.rpm" >__EOT__ > >%post >export PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin >cat << __EOT__ >> /mnt/tests/runtests.sh >export TEST=/distribution/updateDistro >export TESTPATH=/mnt/tests/distribution/updateDistro >export KILLTIME=300 >/usr/bin/rhts-test-runner.sh >__EOT__ > >%post > >cat << __EOT__ >> /mnt/tests/runtests.sh >rhts-recipe-update rhts.redhat.com 106490 finish >rhts-end-testing rhts.redhat.com nec-em21.rhts.bos.redhat.com 106490 29279-0-1221580169 >__EOT__ > >%post >/bin/chmod 755 /mnt/tests/runtests.sh
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 462491
: 316878