Dear developers,

I would like to ask you for help with one issue, which has been reported to me.

----- BEGINNING OF REPORT ----

Description of problem:

ipmi sol cannot get cobbler pre scripts user input on the screen

How reproducible:
1. prepare a cobbler server
2. prepare a ks include pre scripts that get user input
···
%pre --log=/tmp/ks-pre.log
##$SNIPPET('woqu_read_config')
exec < /dev/tty1 > /dev/tty1 2>&1
chvt 1
HOSTNAME=""
IPADDR=""
NETMASK=""
GATEWAY=""
DNS=""

while [[ "$HOSTNAME" == "" ]] || [[ "${IPADDR}" == "" ]] || [[ "${NETMASK}" == 
"" ]] || [[ "${GATEWAY}" == "" ]] || [[ "${DNS}" == "" ]] ; do
 echo
 echo " *** Please enter the following details: *** "
 echo
 read -p "Hostname: " HOSTNAME
 read -p "IP Address: " IPADDR
 read -p "Netmask: " NETMASK
 read -p "Gateway: " GATEWAY
 read -p "DNS: " DNS
done
clear

echo "network --bootproto=static --addvmportgroup=true --device=vmnic0 
--ip=${IPADDR} --netmask=${NETMASK} --gateway=${GATEWAY} --nameserver=${DNS} 
--hostname=${HOSTNAME}" > /tmp/networkconfig

echo -e "Applying the following configuration: \n"
echo "Hostname = ${HOSTNAME}"
echo "IP Address = ${IPADDR}"
echo "Netmask = ${NETMASK}"
echo "Gateway = ${GATEWAY}"
echo -e "DNS = ${DNS}\n"
sleep 5
%end
···
3. modify /var/lib/tftpboot/pxelinux.cfg/default to add console=ttyS1,115200n8
···
LABEL qdata-oracle-rhel67-x86_64
        kernel /images/rhel67-x86_64/vmlinuz
        MENU LABEL QData-For-Oracle-T-Compute-rhel67-x86_64
        append console=ttyS1,115200n8  initrd=/images/rhel67-x86_64/initrd.img 
ksdevice=bootif lang=  kssendmac text  
ks=http://192.168.1.224/cblr/svc/op/ks/profile/qdata-oracle-rhel67-x86_64 
biosdevname=0 rdloaddriver=megaraid_sas rdloaddriver=mpt2sas rdloaddriver=ahci
        ipappend 2
···
4. on the clinet execute 'ipmitool -I lanplus -H 10.10.20.147 -U ADMIN -P 
12345678 sol activate'


Actual results:
on the dell idrac java view:

on the ipmi over sol screen:


Expected results:
ipmi sol get the pre scripts that get user input

Additional info:
my thought is in the pre scripts generate a new /dev/tty1 , ipmi sol cannot get 
it.

----- END OF REPORT -----

This behavior has been reported against ipmitool-1.8.11. 
I am quite confused due I am not able to reproduce it and even I am not sure, 
if it is ipmitool related issue or not.

Thanks in advance for your advice/thoughts/hints.

Regards

Josef Ridky
Associate Software Engineer
Core Services Team
Red Hat Czech, s.r.o.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to