Changes between Version 11 and Version 12 of GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-MON-1


Ignore:
Timestamp:
08/15/12 11:52:21 (12 years ago)
Author:
Josh Smift
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-MON-1

    v11 v12  
    44
    55''This page is GPO's working page for performing EG-MON-1.  It is public for informational purposes, but it is not an official status report.  See [wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus] for the current status of ExoGENI acceptance tests.''
    6 
    7 ''Last substantive edit of this page: 2012-08-08''
    86
    97== Page format ==
     
    2018
    2119Meaning of states:
    22  * [[Color(green,Pass)]]: Step is completed and passed (for a verification step), or is completed (for a prep step)
     20 * [[Color(lightgreen,Pass)]]: Step is completed and passed (for a verification step), or is completed (for a prep step)
    2321 * [[Color(red,Fail)]]: Step is completed and failed, and is not being revisited
    2422 * in progress: We are currently testing or iterating on this step
    2523 * [[Color(orange,Blocked)]]: Step is blocked by some other step or activity
    2624
    27 || '''Step''' || '''State'''               || '''Date completed''' || '''Open Tickets'''                                                       || '''Closed Tickets/Comments'''       ||
    28 || 1          || [[Color(orange,Blocked)]] ||                      || exoticket:93 [[BR]] exoticket:95 [[BR]] exoticket:96 [[BR]] exoticket:98 || complete except for issues in open tickets ||
    29 || 2          ||                           ||                      ||                                                                          || ready to test                       ||
    30 || 3          ||                           ||                      ||                                                                          || (exoticket:10) [[BR]] ready to test ||
    31 || 4          ||                           ||                      ||                                                                          || (exoticket:10) [[BR]] ready to test ||
     25|| '''Step''' || '''State'''                || '''Date completed''' || '''Open Tickets'''                                                       || '''Closed Tickets/Comments'''       ||
     26|| 1          || [[Color(orange,Blocked)]]  ||                      || exoticket:93 [[BR]] exoticket:95 [[BR]] exoticket:96 [[BR]] exoticket:98 || complete except for issues in open tickets ||
     27|| 2          || [[Color(lightgreen,Pass)]] || 2012-08-15           ||                                                                          ||                                     ||
     28|| 3          ||                            ||                      ||                                                                          || (exoticket:10) [[BR]] ready to test ||
     29|| 4          ||                            ||                      ||                                                                          || (exoticket:10) [[BR]] ready to test ||
    3230
    3331== High-level description from test plan ==
     
    927925}}}
    928926
    929 So that essentialy is from an RPM. ExoGENI ticket exoticket:93 is tracking the task of identifying the versions and sources of the others.
     927So that essentialy is from an RPM. ExoGENI ticket [exoticket:93] is tracking the task of identifying the versions and sources of the others.
    930928
    931929As to the RPMs, these look like standard CentOS:
     
    10361034}}}
    10371035
    1038 ExoGENI ticket exoticket:98 is tracking the task of making sure that repo exists.
    1039 
    1040 Meanwhile, http://software.exogeni.net/repo/exogeni doesn't seem to have an obvious SRPM location, so I've created exoticket:96 for that.
     1036ExoGENI ticket [exoticket:98] is tracking the task of making sure that repo exists.
     1037
     1038Meanwhile, http://software.exogeni.net/repo/exogeni doesn't seem to have an obvious SRPM location, so I've created ExoGENI ticket [exoticket:96] for that.
    10411039
    10421040Puppet does have SRPMs, as the baseurl listings above imply, and http://yum.puppetlabs.com/el/6/products/SRPMS/puppet-2.7.18-1.el6.src.rpm has one for Puppet 2.7.18, so that seems good.
     
    10451043
    10461044== Step 2: identify network-listening software on an !OpenStack worker node ==
     1045
     1046=== Overview of Step 2 ===
    10471047
    10481048'''Using:'''
     
    10601060 * The source code and identifiable version (e.g. a git tag) can be found for each non-RPM software source
    10611061
     1062=== Results of Step 2 from 2012-08-15 ===
     1063
     1064A list of processes that are listening:
     1065
     1066{{{
     1067[11:20:57] jbs@bbn-w1:/home/jbs
     1068+$ sudo netstat -anp | egrep ':\*.+LISTEN' | egrep -v '(127.0.0.1|192.168.103.10|10.100.0.1|10.103.0.1)' > netstat-raw.txt
     1069
     1070[11:21:22] jbs@bbn-w1:/home/jbs
     1071+$ cat netstat-raw.txt
     1072tcp        0      0 0.0.0.0:8139                0.0.0.0:*                   LISTEN      2572/ruby           
     1073tcp        0      0 0.0.0.0:5900                0.0.0.0:*                   LISTEN      18815/qemu-kvm     
     1074tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1983/rpcbind       
     1075tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      2272/sshd           
     1076tcp        0      0 0.0.0.0:33762               0.0.0.0:*                   LISTEN      2001/rpc.statd     
     1077tcp        0      0 :::111                      :::*                        LISTEN      1983/rpcbind       
     1078tcp        0      0 :::22                       :::*                        LISTEN      2272/sshd           
     1079tcp        0      0 ::1:25                      :::*                        LISTEN      2374/master         
     1080tcp        0      0 :::6556                     :::*                        LISTEN      2280/xinetd         
     1081tcp        0      0 :::48004                    :::*                        LISTEN      2001/rpc.statd     
     1082}}}
     1083
     1084Stripping that into a list of PIDs:
     1085
     1086{{{
     1087[11:21:36] jbs@bbn-w1:/home/jbs
     1088+$ awk '{print $NF}' netstat-raw.txt | sed -r -e 's|/.*||' | sort -n | uniq > netstat-pids.txt
     1089
     1090[11:22:03] jbs@bbn-w1:/home/jbs
     1091+$ cat netstat-pids.txt
     10921983
     10932001
     10942272
     10952280
     10962374
     10972572
     109818815
     1099}}}
     1100
     1101Here are the commands:
     1102
     1103{{{
     1104[11:22:38] jbs@bbn-w1:/home/jbs
     1105+$ for pid in $(cat netstat-pids.txt) ; do ps -efwww | egrep "^[^ ]+ +$pid" ; done >& netstat-commands.txt
     1106
     1107[11:23:47] jbs@bbn-w1:/home/jbs
     1108+$ cat netstat-commands.txt
     1109rpc       1983     1  0 Jul17 ?        00:00:01 rpcbind
     1110rpcuser   2001     1  0 Jul17 ?        00:00:00 rpc.statd
     1111root      2272     1  0 Jul17 ?        00:00:00 /usr/sbin/sshd
     1112root      2280     1  0 Jul17 ?        00:00:05 xinetd -stayalive -pidfile /var/run/xinetd.pid
     1113root      2374     1  0 Jul17 ?        00:00:10 /usr/libexec/postfix/master
     1114root      2572     1  0 Jul17 ?        01:55:23 /usr/bin/ruby /usr/sbin/puppetd
     1115qemu     18815     1  0 Aug14 ?        00:01:20 /usr/libexec/qemu-kvm -S -M pc-0.14 -enable-kvm -m 128 -smp 1,sockets=1,cores=1,threads=1 -name instance-00000d78 -uuid efb7e543-0ed8-9dac-76dd-12345b4be3a9 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000d78.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -kernel /var/lib/nova/instances/instance-00000d78/kernel -initrd /var/lib/nova/instances/instance-00000d78/ramdisk -append root=/dev/vda console=ttyS0 selinux=0 -drive file=/var/lib/nova/instances/instance-00000d78/disk,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/var/lib/nova/instances/instance-00000d78/disk.local,if=none,id=drive-virtio-disk1,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,fd=22,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=02:16:3e:69:b0:db,bus=pci.0,addr=0x3 -netdev tap,fd=23,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:e6:5e:1a,bus=pci.0,addr=0x4 -chardev file,id=charserial0,path=/var/lib/nova/instances/instance-00000d78/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -usb -vnc 0.0.0.0:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
     1116}}}
     1117
     1118Just to sanity check that we haven't missed anything:
     1119
     1120{{{
     1121[11:23:51] jbs@bbn-w1:/home/jbs
     1122+$ wc -l netstat-*
     1123   7 netstat-commands.txt
     1124   7 netstat-pids.txt
     1125  10 netstat-raw.txt
     1126  24 total
     1127}}}
     1128
     1129The change from raw to pids is because of duplicates: Two for 1983, two for 2001, and two for 2272.
     1130
     1131Let's plow through each of those.
     1132
     1133This is from an RPM:
     1134
     1135{{{
     1136rpc       1983     1  0 Jul17 ?        00:00:01 rpcbind
     1137
     1138[11:27:39] jbs@bbn-w1:/home/jbs
     1139+$ which rpcbind
     1140rpcbind is /sbin/rpcbind
     1141
     1142[11:27:41] jbs@bbn-w1:/home/jbs
     1143+$ rpm -qf /sbin/rpcbind
     1144rpcbind-0.2.0-8.el6.x86_64
     1145}}}
     1146
     1147This is from an RPM:
     1148
     1149{{{
     1150rpcuser   2001     1  0 Jul17 ?        00:00:00 rpc.statd
     1151
     1152[11:27:45] jbs@bbn-w1:/home/jbs
     1153+$ which rpc.statd
     1154rpc.statd is /sbin/rpc.statd
     1155
     1156[11:28:02] jbs@bbn-w1:/home/jbs
     1157+$ rpm -qf /sbin/rpc.statd
     1158nfs-utils-1.2.3-15.el6.x86_64
     1159}}}
     1160
     1161This is from an RPM:
     1162
     1163{{{
     1164root      2272     1  0 Jul17 ?        00:00:00 /usr/sbin/sshd
     1165
     1166[11:28:35] jbs@bbn-w1:/home/jbs
     1167+$ rpm -qf /usr/sbin/sshd
     1168openssh-server-5.3p1-70.el6_2.2.x86_64
     1169}}}
     1170
     1171This is from an RPM:
     1172
     1173{{{
     1174root      2280     1  0 Jul17 ?        00:00:05 xinetd -stayalive -pidfile /var/run/xinetd.pid
     1175
     1176[11:28:50] jbs@bbn-w1:/home/jbs
     1177+$ which xinetd
     1178xinetd is /usr/sbin/xinetd
     1179
     1180[11:28:52] jbs@bbn-w1:/home/jbs
     1181+$ rpm -qf /usr/sbin/xinetd
     1182xinetd-2.3.14-33.el6.x86_64
     1183}}}
     1184
     1185This is from an RPM:
     1186
     1187{{{
     1188root      2374     1  0 Jul17 ?        00:00:10 /usr/libexec/postfix/master
     1189
     1190[11:28:56] jbs@bbn-w1:/home/jbs
     1191+$ rpm -qf /usr/libexec/postfix/master
     1192postfix-2.6.6-2.2.el6_1.x86_64
     1193}}}
     1194
     1195These are from RPMs:
     1196
     1197{{{
     1198root      2572     1  0 Jul17 ?        01:55:23 /usr/bin/ruby /usr/sbin/puppetd
     1199
     1200[11:29:12] jbs@bbn-w1:/home/jbs
     1201+$ rpm -qf /usr/bin/ruby
     1202ruby-1.8.7.352-4.el6_2.x86_64
     1203
     1204[11:29:29] jbs@bbn-w1:/home/jbs
     1205+$ rpm -qf /usr/sbin/puppetd
     1206puppet-2.6.14-1.el6.noarch
     1207}}}
     1208
     1209This is not from an RPM; but there seems to be a qemu-kvm RPM; but it doesn't contain any files:
     1210
     1211{{{
     1212qemu     18815     1  0 Aug14 ?        00:01:20 /usr/libexec/qemu-kvm -S -M pc-0.14 -enable-kvm -m 128 -smp 1,sockets=1,cores=1,threads=1 -name instance-00000d78 -uuid efb7e543-0ed8-9dac-76dd-12345b4be3a9 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000d78.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -kernel /var/lib/nova/instances/instance-00000d78/kernel -initrd /var/lib/nova/instances/instance-00000d78/ramdisk -append root=/dev/vda console=ttyS0 selinux=0 -drive file=/var/lib/nova/instances/instance-00000d78/disk,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/var/lib/nova/instances/instance-00000d78/disk.local,if=none,id=drive-virtio-disk1,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,id=virtio-disk1 -netdev tap,fd=22,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=02:16:3e:69:b0:db,bus=pci.0,addr=0x3 -netdev tap,fd=23,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:e6:5e:1a,bus=pci.0,addr=0x4 -chardev file,id=charserial0,path=/var/lib/nova/instances/instance-00000d78/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -usb -vnc 0.0.0.0:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
     1213
     1214[11:29:34] jbs@bbn-w1:/home/jbs
     1215+$ rpm -qf /usr/libexec/qemu-kvm
     1216file /usr/libexec/qemu-kvm is not owned by any package
     1217
     1218[11:30:58] jbs@bbn-w1:/home/jbs
     1219+$ rpm -q qemu-kvm
     1220qemu-kvm-0.15.0-3.el6.x86_64
     1221
     1222[11:31:15] jbs@bbn-w1:/home/jbs
     1223+$ rpm -ql qemu-kvm
     1224(contains no files)
     1225}}}
     1226
     1227Ah:
     1228
     1229{{{
     1230[11:31:17] jbs@bbn-w1:/home/jbs
     1231+$ rpm -qi qemu-kvm
     1232Name        : qemu-kvm                     Relocations: (not relocatable)
     1233Version     : 0.15.0                            Vendor: (none)
     1234Release     : 3.el6                         Build Date: Thu Nov 24 12:24:20 2011
     1235Install Date: Fri Feb 24 08:56:13 2012         Build Host: osc-build.vm.griddynamics.net
     1236Group       : Development/Tools             Source RPM: qemu-0.15.0-3.el6.src.rpm
     1237Size        : 0                                License: GPLv2+ and LGPLv2+ and BSD
     1238Signature   : RSA/SHA1, Thu Nov 24 12:25:34 2011, Key ID 499590cc596f1e88
     1239URL         : http://www.qemu.org/
     1240Summary     : QEMU metapackage for KVM support
     1241Description :
     1242This is a meta-package that provides a qemu-system-<arch> package for native
     1243architectures where kvm can be enabled. For example, in an x86 system, this
     1244will install qemu-system-x86
     1245}}}
     1246
     1247And ah, /usr/libexec/qemu-kvm is just a symlink, to an executable which *is* from an RPM:
     1248
     1249{{{
     1250[11:31:47] jbs@bbn-w1:/home/jbs
     1251+$ file /usr/libexec/qemu-kvm
     1252/usr/libexec/qemu-kvm: symbolic link to `/usr/bin/qemu-kvm'
     1253
     1254[11:32:17] jbs@bbn-w1:/home/jbs
     1255+$ rpm -qf /usr/bin/qemu-kvm
     1256qemu-system-x86-0.15.0-3.el6.x86_64
     1257}}}
     1258
     1259Ok then.
     1260
     1261So, that's these RPMs:
     1262
     1263{{{
     1264rpcbind-0.2.0-8.el6.x86_64
     1265nfs-utils-1.2.3-15.el6.x86_64
     1266openssh-server-5.3p1-70.el6_2.2.x86_64
     1267xinetd-2.3.14-33.el6.x86_64
     1268postfix-2.6.6-2.2.el6_1.x86_64
     1269ruby-1.8.7.352-4.el6_2.x86_64
     1270puppet-2.6.14-1.el6.noarch
     1271qemu-system-x86-0.15.0-3.el6.x86_64
     1272}}}
     1273
     1274Those all look like standard CentOS things:
     1275
     1276{{{
     1277[11:39:19] jbs@bbn-w1:/home/jbs
     1278+$ yum -C list installed rpcbind-0.2.0-8.el6.x86_64 nfs-utils-1.2.3-15.el6.x86_64 openssh-server-5.3p1-70.el6_2.2.x86_64 xinetd-2.3.14-33.el6.x86_64 postfix-2.6.6-2.2.el6_1.x86_64 ruby-1.8.7.352-4.el6_2.x86_64 puppet-2.6.14-1.el6.noarch qemu-system-x86-0.15.0-3.el6.x86_64
     1279Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
     1280190 packages excluded due to repository priority protections
     1281Installed Packages
     1282nfs-utils.x86_64      1:1.2.3-15.el6    @anaconda-CentOS-201112091719.x86_64/6.2
     1283openssh-server.x86_64 5.3p1-70.el6_2.2  @CentOS Updates/6.2                     
     1284postfix.x86_64        2:2.6.6-2.2.el6_1 @anaconda-CentOS-201112091719.x86_64/6.2
     1285puppet.noarch         2.6.14-1.el6      @epel                                   
     1286qemu-system-x86.x86_64
     1287                      2:0.15.0-3.el6    @ExoGENI/6.2                           
     1288rpcbind.x86_64        0.2.0-8.el6       @anaconda-CentOS-201112091719.x86_64/6.2
     1289ruby.x86_64           1.8.7.352-4.el6_2 @updates                               
     1290xinetd.x86_64         2:2.3.14-33.el6   @anaconda-CentOS-201112091719.x86_64/6.2
     1291}}}
     1292
     1293('yum -C' to use cached info only, because these bbn-w1 can't do DNS right now.)
     1294
     1295So, that identifies the source of each network-listening file, and since they're all standard CentOS RPMs, source RPMs for them can be found in standard CentOS places.
     1296
     1297I've created ExoGENI ticket [exoticket:104] for the DNS issue, but it's not a blocker for this test.
     1298
    10621299== Step 3: verify VLANs on the rack management switch ==
     1300
     1301=== Overview of Step 3 ===
    10631302
    10641303'''Using:'''
     
    10741313 * Control interfaces for all workers in bare metal mode are access ports on VLAN 1008
    10751314
     1315=== Results of Step 3 from 2012-08-15 ===
     1316
     1317
     1318
    10761319== Step 4: verify MAC addresses on the rack management switch ==
     1320
     1321=== Overview of Step 4 ===
    10771322
    10781323'''Using:'''
     
    10831328'''Verify:'''
    10841329 * It is possible to identify and classify every MAC address visible on the switch
     1330
     1331=== Results of Step 4 from 2012-08-15 ===
     1332