Mailinglist Archive: opensuse-autoinstall (36 mails)

< Previous Next >
[opensuse-autoinstall] YaST got signal 1 at YCP file :174
  • From: "Alan Mosca [CRI]" <alan@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 03 Oct 2007 11:50:42 +0100
  • Message-id: <47037402.3050907@xxxxxxxxxxxxxxxxxxxx>
Hi all,

 I'm seeing a very strange behaviour after moving from SLES10 to SLES10
SP1 on some systems. We are using the same autoyast.xml as we were
before, and on i386 it seems as it isn't running the embedded scripts.
On x86_64, when it gets to the second stage of the install (after the
reboot) the install stops and returns the message in the subject.

I have attached autoyast.xml so you can take a look if it might be
something wrong there, but I also noticed that in another office they
are using SP1 and the same file and everything works ok.

Are there any specific logs I should be looking at? /var/log/YaST2/y2log
doesn't seem to have any errors. I can provide the whole /var/log/YaST2
folder if needed.

Thanks again guys!

-- 
 Alan Mosca
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns";>
  <bootloader>
    <global>
      <prompt>0</prompt>
      <timeout config:type="integer">5</timeout>
    </global>
    <loader_type>grub</loader_type>
    <sections config:type="list"/>
  </bootloader>
  <dhcp-server>
    <allowed_interfaces config:type="list"/>
    <chroot>1</chroot>
    <other_options></other_options>
    <settings config:type="list"/>
    <start_service>0</start_service>
    <use_ldap>0</use_ldap>
  </dhcp-server>
  <dns-server>
    <allowed_interfaces config:type="list"/>
    <chroot>1</chroot>
    <logging config:type="list"/>
    <options config:type="list"/>
    <start_service>0</start_service>
    <use_ldap>0</use_ldap>
    <zones config:type="list"/>
  </dns-server>
  <firewall>
    <enable_firewall config:type="boolean">false</enable_firewall>
  </firewall>
  <general>
    <mode>
      <confirm config:type="boolean">false</confirm>
      <second_stage config:type="boolean">true</second_stage>
    </mode>
    <mouse>
      <id>probe</id>
    </mouse>
    <signature-handling>
      <accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key>
      <accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key>
      <accept_unsigned_file config:type="boolean">true</accept_unsigned_file>
      <import_gpg_key config:type="boolean">true</import_gpg_key>
    </signature-handling>
  </general>
  <groups config:type="list"/>
  <kerberos>
    <kerberos_client>
      <clockskew>300</clockskew>
      <default_domain></default_domain>
      <default_realm></default_realm>
      <forwardable config:type="boolean">true</forwardable>
      <kdc_server></kdc_server>
      <minimum_uid>0</minimum_uid>
      <proxiable config:type="boolean">false</proxiable>
      <renew_lifetime>1d</renew_lifetime>
      <retain_after_close config:type="boolean">false</retain_after_close>
      <ssh_support config:type="boolean">false</ssh_support>
      <ticket_lifetime>1d</ticket_lifetime>
    </kerberos_client>
    <pam_login>
      <use_kerberos config:type="boolean">false</use_kerberos>
    </pam_login>
  </kerberos>
  <ldap>
    <base_config_dn></base_config_dn>
    <bind_dn></bind_dn>
    <create_ldap config:type="boolean">false</create_ldap>
    <file_server config:type="boolean">false</file_server>
    <ldap_domain>dc=cluster,dc=cri</ldap_domain>
    <ldap_server>headnode.cluster.cri</ldap_server>
    <ldap_tls config:type="boolean">true</ldap_tls>
    <ldap_v2 config:type="boolean">false</ldap_v2>
    <member_attribute>member</member_attribute>
    <nss_base_group></nss_base_group>
    <nss_base_passwd></nss_base_passwd>
    <nss_base_shadow></nss_base_shadow>
    <pam_password>crypt</pam_password>
    <start_autofs config:type="boolean">false</start_autofs>
    <start_ldap config:type="boolean">true</start_ldap>
  </ldap>
  <networking>
    <dhcp_options>
      <dhclient_hostname_option>AUTO</dhclient_hostname_option>
    </dhcp_options>
    <dns>
      <dhcp_hostname config:type="boolean">true</dhcp_hostname>
      <dhcp_resolv config:type="boolean">true</dhcp_resolv>
    </dns>
    <interfaces config:type="list">
      <interface>
        <bootproto>dhcp</bootproto>
        <device>eth0</device>
        <startmode>auto</startmode>
        <usercontrol>no</usercontrol>
      </interface>
    </interfaces>
    <managed config:type="boolean">false</managed>
    <modules config:type="list">
      <module_entry>
        <device>static-0</device>
        <module></module>
        <options></options>
      </module_entry>
    </modules>
    <routing>
      <ip_forward config:type="boolean">false</ip_forward>
    </routing>
  </networking>
  <nfs config:type="list">
    <nfs_entry>
      <mount_point>/home</mount_point>
      <nfs_options>defaults</nfs_options>
      <server_path>headnode.cluster.cri:/home</server_path>
    </nfs_entry>
    <nfs_entry>
      <mount_point>/mnt/install</mount_point>
      <nfs_options>defaults</nfs_options>
      <server_path>headnode.cluster.cri:/suse10</server_path>
    </nfs_entry>
  </nfs>
  <ntp-client>
    <configure_dhcp config:type="boolean">false</configure_dhcp>
    <peers config:type="list"/>
    <start_at_boot config:type="boolean">false</start_at_boot>
    <start_in_chroot config:type="boolean">true</start_in_chroot>
  </ntp-client>
  <partitioning config:type="list">
    <drive>
      <initialize config:type="boolean">true</initialize>
      <partitions config:type="list">
        <partition>
          <crypt>twofish256</crypt>
          <crypt_fs config:type="boolean">false</crypt_fs>
          <filesystem_id config:type="integer">130</filesystem_id>
          <format config:type="boolean">false</format>
          <partition_id config:type="integer">130</partition_id>
          <size>auto</size>
        </partition>
        <partition>
          <crypt>twofish256</crypt>
          <crypt_fs config:type="boolean">false</crypt_fs>
          <filesystem config:type="symbol">reiser</filesystem>
          <filesystem_id config:type="integer">131</filesystem_id>
          <format config:type="boolean">true</format>
          <mount>/</mount>
          <partition_id config:type="integer">131</partition_id>
          <size>max</size>
        </partition>
      </partitions>
      <type config:type="symbol">CT_DISK</type>
      <use>all</use>
    </drive>
  </partitioning>
  <proxy>
    <enabled config:type="boolean">false</enabled>
    <ftp_proxy></ftp_proxy>
    <http_proxy></http_proxy>
    <https_proxy></https_proxy>
    <no_proxy>localhost</no_proxy>
    <proxy_password></proxy_password>
    <proxy_user></proxy_user>
  </proxy>
  <pxe>
    <pxe_localboot config:type="boolean">true</pxe_localboot>
    <pxelinux-config><![CDATA[
        DEFAULT linux
        LABEL linux
        localboot 0
        ]]></pxelinux-config>
    <pxelinux-dir>pxelinux.cfg</pxelinux-dir>
    <tftp-server>10.10.10.100</tftp-server>
  </pxe>
  <scripts>
    <post-scripts config:type="list">
      <script>
        <debug config:type="boolean">false</debug>
        <feedback config:type="boolean">false</feedback>
        <filename>setupcluster.pl</filename>
        <interpreter>perl</interpreter>
        <network_needed config:type="boolean">false</network_needed>
        <source><![CDATA[#!/usr/bin/perl

#Torque configuration
`echo headnode.cluster.cri > /var/torque/server_name`;
open(CONFIG, "> /var/torque/mom_priv/config");
print CONFIG "\$pbsserver headnode.cluster.cri\n\$usecp *:/home /home";
close(CONFIG);

`mkdir -p /root/.ssh`;
`/etc/init.d/sshd start`;
`/etc/init.d/sshd stop`;
`date > /installdate`;
`mkdir -p /mnt/install`;
`mount -t nfs headnode.cluster.cri:/suse10 /mnt/install`;

#root password
if ( -f "/mnt/install/rpw" ) {
        open(ROOT_PW,"/mnt/install/rpw");
        chomp($root_pw=<ROOT_PW>);
        close(ROOT_PW);
        `cat /etc/shadow | grep -v ^root: | grep -v \+ > /shadow`;
        `cat /mnt/install/rpw >> /shadow`;
        `echo -e "+\n" >> /shadow`;
        `rm /etc/shadow`;
        `mv /shadow /etc/shadow`;
}

#quickfix for mpi path
`ln -s /opt/mpich/ch-p4/bin/mpirun /usr/bin/mpirun`;

open(SNMPD,"> /etc/snmp/snmpd.conf");
print SNMPD qq^
# Please see /usr/share/doc/packages/net-snmp/EXAMPLE.conf for a
# more complete example and snmpd.conf(5).
#
# Writing is disabled by default for security reasons.  If you'd like
# to enable it uncomment the rwcommunity line and change the community
# name to something nominally secure (keeping in mind that this is
# transmitted in clear text).

# don't use ' < > in strings for syslocation or syscontact
# Note that if you define the following here you won't be able to change
# them with snmpset
syslocation Server Room
syscontact Sysadmin (root@localhost)

# These really aren't meant for production use.  They include all MIBS
# and can use considerable resources.  See snmpd.conf(5) for information
# on setting up groups and limiting MIBS.
rocommunity public
# rwcommunity mysecret 127.0.0.1
^;

close(SNMPD);

#root ssh key
`cp /mnt/install/ssh_keys/id_dsa.pub /root/.ssh/authorized_keys`;
#host ssh key
`cp /mnt/install/ssh_keys/*key* /etc/ssh`;
#known hosts 
`cp /mnt/install/ssh_keys/known_hosts /root/.ssh/known_hosts`;

`chkconfig --add snmpd`;
`/etc/init.d/snmpd start`;
`/etc/init.d/pbs_mom restart`;
`echo "10.10.10.100 headnode.cluster.cri" >> /etc/hosts`;

open(SYSLOG,">> /etc/syslog-ng/syslog-ng.conf.in");
print SYSLOG qq^
# send everything to log host
destination loghost {
    tcp("10.10.10.100" port(5140));
};
log {
    source(src);
    destination(loghost);
};
^;
close(SYSLOG);
`SuSEconfig --module syslog-ng`;
`/etc/init.d/syslog restart`;


]]></source>
      </script>
    </post-scripts>
  </scripts>
  <software>
    <patterns config:type="list">
      <pattern>hpc_compute_node</pattern>
      <pattern>base</pattern>
      <pattern>apparmor</pattern>
    </patterns>
  </software>
  <sysconfig config:type="list">
    <sysconfig_entry>
      <sysconfig_key>DHCLIENT_MODIFY_NTP_CONF</sysconfig_key>
      <sysconfig_path>/etc/sysconfig/network/dhcp</sysconfig_path>
      <sysconfig_value>yes</sysconfig_value>
    </sysconfig_entry>
    <sysconfig_entry>
      <sysconfig_key>DHCLIENT_MODIFY_RESOLV_CONF</sysconfig_key>
      <sysconfig_path>/etc/sysconfig/network/dhcp</sysconfig_path>
      <sysconfig_value>yes</sysconfig_value>
    </sysconfig_entry>
    <sysconfig_entry>
      <sysconfig_key>DHCLIENT_SET_HOSTNAME</sysconfig_key>
      <sysconfig_path>/etc/sysconfig/network/dhcp</sysconfig_path>
      <sysconfig_value>yes</sysconfig_value>
    </sysconfig_entry>
    <sysconfig_entry>
      <sysconfig_key>MODIFY_RESOLV_CONF_DYNAMICALLY</sysconfig_key>
      <sysconfig_path>/etc/sysconfig/network/config</sysconfig_path>
      <sysconfig_value>yes</sysconfig_value>
    </sysconfig_entry>
  </sysconfig>
  <user_defaults>
    <group>100</group>
    <groups>video,dialout</groups>
    <home>/home</home>
    <inactive>-1</inactive>
    <shell>/bin/bash</shell>
    <skel>/etc/skel</skel>
  </user_defaults>
  <users config:type="list">
    <user>
      <encrypted config:type="boolean">false</encrypted>
      <fullname>root</fullname>
      <gid>0</gid>
      <home>/root</home>
      <password_settings>
        <inact>-1</inact>
        <max>-1</max>
        <min>-1</min>
        <warn>-1</warn>
      </password_settings>
      <shell>/bin/bash</shell>
      <uid>0</uid>
      <user_password>toor</user_password>
      <username>root</username>
    </user>
  </users>
</profile>
< Previous Next >
Follow Ups