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 709870 Details for
Bug 916831
[TRACKER] Failed to create btrfs as data fs in beaker run
[?]
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.
kickstart file generated by beaker recipe
252066 (text/plain), 12.93 KB, created by
Eryu Guan
on 2013-03-14 04:26:05 UTC
(
hide
)
Description:
kickstart file generated by beaker recipe
Filename:
MIME Type:
Creator:
Eryu Guan
Created:
2013-03-14 04:26:05 UTC
Size:
12.93 KB
patch
obsolete
>nfs --server storage.bos.redhat.com --dir /vol/engineering/devarchive/redhat/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/ >#url --url=nfs://storage.bos.redhat.com:/vol/engineering/devarchive/redhat/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/ > >auth --useshadow --enablemd5 ># System bootloader configuration >bootloader --location=mbr ># Use text mode install >text ># no specific network configuration >repo --name=beaker-HighAvailability --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/addons/HighAvailability >repo --name=beaker-LoadBalancer --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/addons/LoadBalancer >repo --name=beaker-ResilientStorage --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/addons/ResilientStorage >repo --name=beaker-Server-debuginfo --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/debuginfo/tree >repo --name=beaker-Server-optional-debuginfo --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server-optional/x86_64/debuginfo/tree >repo --name=beaker-Server-optional --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server-optional/x86_64/os >repo --name=beaker-Server --cost=100 --baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os > >firewall --disabled ># Run the Setup Agent on first boot >firstboot --disable ># System keyboard >keyboard us ># System language >lang en_US.UTF-8 > >reboot >#Root password >rootpw --iscrypted $1$UlDQwX4u$2ZrtTodUxA19dL21hV7k01 ># SELinux configuration >selinux --enforcing > > ># System timezone >timezone America/New_York ># Install OS instead of upgrade >install > >zerombr >clearpart --all --initlabel > > >part /boot --size 200 --recommended --asprimary >part / --size 1024 --grow >part swap --recommended >part /mnt/testarea --size=10240 --fstype btrfs > ># no snippet data for RedHatEnterpriseLinux7 ># no snippet data for system > >%packages --ignoremissing ># readahead conflicts with auditd, see bug 561486 for detailed explanation. >-readahead > >@desktop-platform-devel >@development >@development-libs >@development-tools >@server-platform-devel >bc >ethtool >expect >gcc >iproute >kernel-devel >kernel-headers >libaio-devel >libattr-devel >libcap-devel >libxml2-python >make >nfs-utils >ntp >ntpdate >numactl-devel >procmail >pyOpenSSL >redhat-lsb >rsyslog >sysklogd >util-linux >util-linux-ng >wget ># no snippet data for packages >%end > > > >%pre --log=/dev/console >set -x ># Check in with Beaker Server >wget -O - http://lab-02.rhts.eng.bos.redhat.com:8000/install_start/821561 > >wget -O /tmp/anamon 'http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon' >python /tmp/anamon --recipe-id 821561 --xmlrpc-url 'http://lab-02.rhts.eng.bos.redhat.com:8000/RPC2' ># no snippet data for RedHatEnterpriseLinux7_pre ># no snippet data for system_pre >%end > > >%post --log=/dev/console >set -x ># Check in with Beaker Server, let it know our hostname, and ># record our install time. >REPORTED_FQDN=$(hostname -f) >if [[ -z "$REPORTED_FQDN" || $REPORTED_FQDN == localhost || $REPORTED_FQDN == localhost.* ]] ; then > # hostname -f is the most future-proof approach, but it isn't always reliable > if [ -f /etc/hostname ] ; then > # Preferred fallback if the OS is recent enough to provide it > REPORTED_FQDN=$(cat /etc/hostname) > elif grep -q ^HOSTNAME= /etc/sysconfig/network ; then > # Last resort fallback to try to report something sensible > REPORTED_FQDN=$(grep ^HOSTNAME= /etc/sysconfig/network | cut -f2- -d=) > fi >fi >curl http://lab-02.rhts.eng.bos.redhat.com:8000/install_done/821561/$REPORTED_FQDN > >curl http://lab-02.rhts.eng.bos.redhat.com:8000/nopxe/hp-z600-01.rhts.eng.bos.redhat.com >echo 821561 > /root/RECIPE.TXT > ># If netboot_method= is found in /proc/cmdline record it to /root >netboot_method=$(perl -n -e'/netboot_method=([^\s]+)/ && print $1' /proc/cmdline) >if [ -n "$netboot_method" ]; then >echo $netboot_method >/root/NETBOOT_METHOD.TXT >fi > ># Enable post-install boot notification > >curl -R "http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon" -o /usr/local/sbin/anamon >curl -R "http://lab-02.rhts.eng.bos.redhat.com/beaker/anamon.init" -o /etc/rc.d/init.d/anamon > >chmod 755 /etc/rc.d/init.d/anamon /usr/local/sbin/anamon >test -d /selinux && restorecon /etc/rc.d/init.d/anamon /usr/local/sbin/anamon > >chkconfig --add anamon > >cat << __EOT__ > /etc/sysconfig/anamon >XMLRPC_URL="http://lab-02.rhts.eng.bos.redhat.com:8000/RPC2" >RECIPE_ID="821561" >LOGFILES="/var/log/boot.log /var/log/messages /var/log/dmesg" >__EOT__ > ># readahead conflicts with auditd, see bug 561486 for detailed explanation. > >cat << EOF >>/etc/sysconfig/readahead > ># readahead conflicts with auditd, see bug 561486 for detailed explanation. ># ># Should a task need to change these settings, it must revert to this state ># when test is done. > >READAHEAD_COLLECT="no" >READAHEAD_COLLECT_ON_RPM="no" > >EOF > >/sbin/chkconfig ntpdate on >/dev/null 2>&1 || : >/sbin/chkconfig ntpd on >/dev/null 2>&1 || : >if [ -e "/etc/sysconfig/ntpd" ]; then > GOT_G=$(/bin/cat /etc/sysconfig/ntpd | grep -E '^OPTIONS' | grep '\-g') > > if [ -z "$GOT_G" ]; then > /bin/sed -i -r 's/(^OPTIONS\s*=\s*)(['\''|"])(.+)$/\1\2\-x \3 /' /etc/sysconfig/ntpd > fi >fi > > ># If efibootmgr exists then re-order boot options >if [ -x '/usr/sbin/efibootmgr' ]; then > BOOT=$(/usr/sbin/efibootmgr -v | grep BootOrder | awk '{print $2}' | awk -F, '{print $1}') > EFI=$(/usr/sbin/efibootmgr -v | grep Boot$BOOT | awk '{print $NF}') > PXE_SLOT=$(/usr/sbin/efibootmgr -v | grep -Ei '(netboot|pxe)' |cut -c5-8) > # If There is no Netboot Entry we can't continue > # You have to manually setup a Netboot entry first > # from EFI maint menu. > if [ ! -z $PXE_SLOT ]; then > NEWBOOT=$(echo $BOOT| sed -e 's/$PXE_SLOT,//') > # its cheesy. but it works. > NEWBOOT=$(echo $NEWBOOT| sed -e 's/,$PXE_SLOT,//') > NEWBOOT=$(echo $NEWBOOT| sed -e 's/,$PXE_SLOT//') > /usr/sbin/efibootmgr -o $PXE_SLOT,$NEWBOOT > /usr/sbin/efibootmgr -n $BOOT > fi >fi > > > >#Add Task Repo >cat <<"EOF" >/etc/yum.repos.d/beaker-tasks.repo >[beaker-tasks] >name=beaker-tasks >baseurl=http://beaker.engineering.redhat.com/repos/821561 >enabled=1 >gpgcheck=0 >EOF > > ># Add Harness Repo >cat <<"EOF" >/etc/yum.repos.d/beaker-harness.repo >[beaker-harness] >name=beaker-harness >baseurl=http://beaker.engineering.redhat.com/harness/RedHatEnterpriseLinux7/ >enabled=1 >gpgcheck=0 >EOF > ># Add distro and custom Repos >cat <<"EOF" >/etc/yum.repos.d/beaker-HighAvailability.repo >[beaker-HighAvailability] >name=beaker-HighAvailability >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/addons/HighAvailability >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-LoadBalancer.repo >[beaker-LoadBalancer] >name=beaker-LoadBalancer >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/addons/LoadBalancer >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-ResilientStorage.repo >[beaker-ResilientStorage] >name=beaker-ResilientStorage >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os/addons/ResilientStorage >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-Server-debuginfo.repo >[beaker-Server-debuginfo] >name=beaker-Server-debuginfo >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/debuginfo/tree >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-Server-optional-debuginfo.repo >[beaker-Server-optional-debuginfo] >name=beaker-Server-optional-debuginfo >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server-optional/x86_64/debuginfo/tree >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-Server-optional.repo >[beaker-Server-optional] >name=beaker-Server-optional >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server-optional/x86_64/os >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF >cat <<"EOF" >/etc/yum.repos.d/beaker-Server.repo >[beaker-Server] >name=beaker-Server >baseurl=http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20130222.0/compose/Server/x86_64/os >enabled=1 >gpgcheck=0 >skip_if_unavailable=1 >EOF > > ># fill the yum cache and redirect output to /dev/null ># This speeds up yum because of a bug where it will update stdout too often. ># http://lists.baseurl.org/pipermail/yum-devel/2011-December/008857.html >yum check-update > /dev/null 2>&1 || true ># Install old rhts commands >yum -y install rhts-test-env-lab rhts-legacy ># Install new harness >yum -y install beah ># This may fail if you are outside of Red Hat.. >yum -y install beakerlib-redhat > >cp /etc/beah_beaker.conf{,.default} >cat << EOF > /etc/beah_beaker.conf ># see /etc/beah_beaker.conf.default for commented configuration > >[DEFAULT] ># LAB_CONTROLLER: URI of Beaker's XML-RPC handler >LAB_CONTROLLER=http://lab-02.rhts.eng.bos.redhat.com:8000 ># ># HOSTNAME: Pretend to be machine with given name. ># NOTE: This is mostly pointless as usually correct name is assigned by DHCP. >HOSTNAME=hp-z600-01.rhts.eng.bos.redhat.com >RECIPEID=821561 > ># Turn on hard limits on upload sizes: >FILE_SIZE_LIMIT=200000000 >TASK_SIZE_LIMIT=800000000 > >EOF > >cp /etc/beah.conf{,.default} >cat << EOF > /etc/beah.conf ># see /etc/beah.conf.default for commented configuration > >[DEFAULT] ># Turn on more verbose logging and redirect to console. This is useful for ># debugging harness' problems. >LOG=Info >CONSOLE_LOG=Console ># To turn on debug logging uncomment the following line. Warning: this is ># rather verbose! This also requires LOG to be Debug. >#DEVEL=True > >[TASK] >INTERFACE= > >EOF > >chkconfig --level 345 beah-srv on >chkconfig --level 345 beah-beaker-backend on >chkconfig --level 345 beah-fwd-backend on > ># turn on rhts-compat by default (it will save us one reboot): >chkconfig --add rhts-compat >chkconfig --level 345 rhts-compat on > >#Add test user account >useradd --password '$6$oIW3o2Mr$XbWZKaM7nA.cQqudfDJScupXOia5h1u517t6Htx/Q/MgXm82Pc/OcytatTeI4ULNWOMJzvpCigWiL4xKP9PX4.' test >cat <<"EOF" >/etc/profile.d/beaker.sh >export BEAKER="https://beaker.engineering.redhat.com/" >export BEAKER_JOB_WHITEBOARD='ltp-fs: btrfs lite, RHEL-7.0-20130222.0, kernel-3.7.0-0.36.el7' >export BEAKER_RECIPE_WHITEBOARD=3.7.0-0.36.el7 >EOF >cat <<"EOF" >/etc/profile.d/beaker.csh >setenv BEAKER "https://beaker.engineering.redhat.com/" >setenv BEAKER_JOB_WHITEBOARD 'ltp-fs: btrfs lite, RHEL-7.0-20130222.0, kernel-3.7.0-0.36.el7' >setenv BEAKER_RECIPE_WHITEBOARD 3.7.0-0.36.el7 >EOF >cat << EOF > /etc/profile.d/rh-env.sh >export LAB_CONTROLLER=lab-02.rhts.eng.bos.redhat.com >export DUMPSERVER=netdump-01.eng.bos.redhat.com >export NFSSERVERS="RHEL3,rhel3-nfs.rhts.eng.bos.redhat.com:/export/home RHEL4,rhel4-nfs.rhts.eng.bos.redhat.com:/export/home RHEL5,rhel5-nfs.rhts.eng.bos.redhat.com:/export/home RHEL6,rhel6-nfs.rhts.eng.bos.redhat.com:/export/home NETAPP, SOLARIS," >export LOOKASIDE=http://download.eng.bos.redhat.com/qa/rhts/lookaside/ >export BUILDURL=http://download.eng.bos.redhat.com >EOF >cat << EOF > /etc/profile.d/rh-env.csh >setenv LAB_CONTROLLER lab-02.rhts.eng.bos.redhat.com >setenv DUMPSERVER netdump-01.eng.bos.redhat.com >setenv NFSSERVERS "RHEL3,rhel3-nfs.rhts.eng.bos.redhat.com:/export/home RHEL4,rhel4-nfs.rhts.eng.bos.redhat.com:/export/home RHEL5,rhel5-nfs.rhts.eng.bos.redhat.com:/export/home RHEL6,rhel6-nfs.rhts.eng.bos.redhat.com:/export/home NETAPP, SOLARIS," >setenv LOOKASIDE http://download.eng.bos.redhat.com/qa/rhts/lookaside/ >setenv BUILDURL http://download.eng.bos.redhat.com >EOF >mkdir -p /root/.ssh >cat >>/root/.ssh/authorized_keys <<"__EOF__" >ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdD53mI3Cepwm9fYf8tFQYhvR3TFY9CYWuiudOgIiwm9bIoG67dUOz5ylKd+4kzdaQpFLO6XURiyi6bWppO7rNPX4gMaSUIxmJ4vQ1BcD+B5LwMgBaIarFrdMEhnrOtUsFCM5sQR8ip7T1Y/3Z8QRnwx6Prqar4IXFWrCO4FMGSP3q5QhAmfkI+17Mh8oCQVQtKRZ4FTvHum1HYQiXys5pOp7vhIvgGRocs4FtdO2s4G6tYWCwMLuq4SMuF+wWdl7F6EWXI0+NON8WtXvovKlUbdXmG9N8mvvQTtJGqOgGVhf3Xknc2rMz6rQn/sYAvvaSuiOc01N746XSK2LTRPMh gery@wlan-5-106.nay.redhat.com >ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxBC4xKm0pAP2xoIJcIZzOV5d2zKfukJkVSyRab2RVykIiOtLdqKIdI/VcM5OHz+4yhF4ps7UdLfLqNByma7eUcLdSguJuTKZgyDCObHtYaCQJOdsPAEnlNAwLTZv5vhlvApUuSmtsgQusr9ZncbE3DQ4uuvGsWx6cVGoi/MYCVMQPPVH+JvivcJHd/YpESV/+UkLWvu7FpQ0jd9eg+/gWf4UanzdDCzup7RshKhQcxIHl5CxIkAfq9yUZIkQXvFMRl3fpjgAzYpkQDmsc0d2si/O6LgQgxWNcFMSjk376tNxmyDC0FAkw7zhKK6K4ZR5f4RRMk40DkdegqBpo1mC9 gery@eguan-t400 >__EOF__ >restorecon -R /root/.ssh >chmod go-w /root /root/.ssh /root/.ssh/authorized_keys ># Check in with Beaker Server, record our postinstall time. >curl http://lab-02.rhts.eng.bos.redhat.com:8000/postinstall_done/821561 ># no snippet data for RedHatEnterpriseLinux7_post ># no snippet data for system_post >%end > ># Disable rhts-compat for Fedora15 and newer. >%post --log=/dev/console >cat >> /etc/profile.d/task-overrides-rhts.sh <<END >export RHTS_OPTION_COMPATIBLE= >export RHTS_OPTION_COMPAT_SERVICE= >END >%end > > >
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 916831
: 709870 |
710296
|
710297
|
710298
|
710299
|
710300
|
710301