Menu

#4637 [FVT]:confignics -s does not work when there is no values in nics table

2.10
closed
junxiaw
None
postscripts
7
2015-05-15
2015-04-13
No

[root@c910f02c01p18 ~]# lsdef -l c910f02c01p19
Object name: c910f02c01p19
arch=ppc64
cons=hmc
currchain=boot
currstate=boot
groups=lpar,all,f02c01compute,compute,diskfull40g,p7compute
hcp=c910hmc01
hwtype=lpar
id=19
initrd=xcat/osimage/rhels7.1-ppc64-install-compute/initrd.img
ip=10.2.1.19
kcmdline=quiet inst.repo=http://10.2.1.18:80/install/rhels7.1/ppc64 inst.ks=http://10.2.1.18:80/install/autoinst/c910f02c01p19 BOOTIF=e6:d4:d4:4c:4a:03 ip=dhcp
kernel=xcat/osimage/rhels7.1-ppc64-install-compute/vmlinuz
mac=e6:d4:d4:4c:4a:03
mgt=hmc
monserver=10.2.1.18
nameservers=10.2.1.18
netboot=grub2
nfsserver=10.2.1.18
nodetype=ppc,osi
os=rhels7.1
parent=c910f02fsp01
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles,confignics -s
pprofile=c910f02c01p19
profile=compute
provmethod=rhels7.1-ppc64-install-compute
status=booted
statustime=04-13-2015 02:07:55
tftpserver=10.2.1.18
updatestatus=synced
updatestatustime=04-09-2015 04:53:57
xcatmaster=10.2.1.18
[root@c910f02c01p18 ~]# tabdump nics

node,nicips,nichostnamesuffixes,nichostnameprefixes,nictypes,niccustomscripts,nicnetworks,nicaliases,nicextraparams,comments,disable

[root@c910f02c01p19 network-scripts]# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.2.1.119 netmask 255.0.0.0 broadcast 10.255.255.255
inet6 fe80::e4d4:d4ff:fe4c:4a03 prefixlen 64 scopeid 0x20<link>
ether e6:d4:d4:4c:4a:03 txqueuelen 1000 (Ethernet)
RX packets 1093 bytes 140432 (137.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1846 bytes 324767 (317.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::e4d4:d4ff:fe4c:4a04 prefixlen 64 scopeid 0x20<link>
ether e6:d4:d4:4c:4a:04 txqueuelen 1000 (Ethernet)
RX packets 277 bytes 69224 (67.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 54 bytes 9204 (8.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 21

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::221:5eff:fea9:a332 prefixlen 64 scopeid 0x20<link>
ether 00:21:5e:a9:a3:32 txqueuelen 1000 (Ethernet)
RX packets 15 bytes 4920 (4.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 53 bytes 8862 (8.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@c910f02c01p19 sysconfig]# cat network

Created by anaconda

[root@c910f02c01p19 network-scripts]# cat ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eth0
UUID=7a442eb6-e1c5-4bf2-b815-9d744e95c1c2
DEVICE=eth0
ONBOOT=yes

There is some message in log
Mon Apr 13 02:08:04 EDT 2015 Running postscript: confignics -s
confignics on c910f02c01p19: config install nic:1, remove: 0, iba ports:
confignics on c910f02c01p19: nicips attribute is not defined.

Discussion

  • Ling

    Ling - 2015-04-14
    • assigned_to: Ling
     
  • junxiaw

    junxiaw - 2015-05-15
    • status: open --> pending
    • assigned_to: Ling --> junxiaw
     
  • junxiaw

    junxiaw - 2015-05-15

    git commit 7d5d1c9b730bb640bc6381ffd4b233ff90b2d1fe

     
  • junxiaw

    junxiaw - 2015-05-15
    • status: pending --> closed
     
  • junxiaw

    junxiaw - 2015-05-15

    have tested