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 918753 Details for
Bug 1120742
ami-875053c2 RHEL 5.10 x86_64 us-west-1
[?]
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.
ami-875053c2.yaml
ami-875053c2.yaml (text/yaml), 329.36 KB, created by
mkovacik
on 2014-07-17 15:18:32 UTC
(
hide
)
Description:
ami-875053c2.yaml
Filename:
MIME Type:
Creator:
mkovacik
Created:
2014-07-17 15:18:32 UTC
Size:
329.36 KB
patch
obsolete
>ami: ami-875053c2 >arch: x86_64 >console_output: {c1.xlarge: "Xen Minimal OS!\r\n start_info: 0x17ae000(VA)\r\n \ > \ nr_pages: 0x1c0000\r\n shared_inf: 0xbf5e7000(MA)\r\n pt_base: 0x17b1000(VA)\r\ > \nnr_pt_frames: 0x11\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 17c5\r\n \ > \ max_pfn: 1c0000\r\nMapping memory range 0x1c00000 - 0x1c0000000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 25bd000(25bd000)-1c0000000(1c0000000)\r\nMM: done\r\nDemand map pfns at 1c0001000-21c0001000.\r\ > \nHeap resides at 21c0002000-41c0002000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x1c0001000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x21c0002050, stack: 0x3410000\r\nThread \"xenstore\"\ > : pointer: 0x21c0002800, stack: 0x3420000\r\nxenbus initialised on irq 1 mfn 0x21f776\r\ > \nThread \"shutdown\": pointer: 0x21c0002fb0, stack: 0x3430000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x21c0003760, stack: 0x3440000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/317/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/317/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/317/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/317/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/317/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/317/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/317/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/317/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1810163\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2133.408 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7182584k/7348224k available (2562k\ > \ kernel code, 156724k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5334.69 BogoMIPS (lpj=10669397)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 0\n\ > \rCPU: Processor Core ID: 1\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\ > \rchecking if image is initramfs... it is\n\rGrant table initialized\n\rNET: Registered\ > \ protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=3148\n\rmigration_cost=3148\n\ > \rInitializing CPU#2\n\rmigration_cost=Initializing CPU#3\n\r3148\n\rmigration_cost=Initializing\ > \ CPU#4\n\r3148\n\rmigration_cost=Initializing CPU#5\n\r3148\n\rInitializing CPU#6\n\ > \rmigration_cost=3148\n\rInitializing CPU#7\n\rmigration_cost=3148\n\rBrought\ > \ up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter disabled.\n\ > \rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI: disabled\n\ > \rxen_mem: Initialising balloon driver.\n\rusbcore: registered new driver usbfs\n\ > \rusbcore: registered new driver hub\n\rPCI: System does not support PCI\n\rPCI:\ > \ System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel: domain hash\ > \ size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel: unlabeled\ > \ traffic allowed by default\n\rNET: Registered protocol family 2\n\rIP route\ > \ cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1405581052.160:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1810163\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2133.408 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7182584k/7348224k available (2562k\ > \ kernel code, 156724k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5334.69 BogoMIPS (lpj=10669397)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 0\n\ > \rCPU: Processor Core ID: 1\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\ > \rchecking if image is initramfs... it is\n\rGrant table initialized\n\rNET: Registered\ > \ protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=3148\n\rmigration_cost=3148\n\ > \rInitializing CPU#2\n\rmigration_cost=Initializing CPU#3\n\r3148\n\rmigration_cost=Initializing\ > \ CPU#4\n\r3148\n\rmigration_cost=Initializing CPU#5\n\r3148\n\rInitializing CPU#6\n\ > \rmigration_cost=3148\n\rInitializing CPU#7\n\rmigration_cost=3148\n\rBrought\ > \ up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter disabled.\n\ > \rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI: disabled\n\ > \rxen_mem: Initialising balloon driver.\n\rusbcore: registered new driver usbfs\n\ > \rusbcore: registered new driver hub\n\rPCI: System does not support PCI\n\rPCI:\ > \ System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel: domain hash\ > \ size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel: unlabeled\ > \ traffic allowed by default\n\rNET: Registered protocol family 2\n\rIP route\ > \ cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1405581052.160:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\rChanging capacity of\ > \ (8, 1) to 31457280 sectors\n\r sdf: unknown partition table\n\rChanging capacity\ > \ of (8, 80) to 880732160 sectors\n\rLoading dm-mod.ko module\r\ndevice-mapper:\ > \ uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised:\ > \ dm-devel@redhat.com\n\rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\ > \nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko\ > \ module\r\nLoading linear.ko module\r\nmd: linear personality registered for\ > \ level -1\n\rLoading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd:\ > \ raid1 personality registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0\ > \ personality registered for level 0\n\rLoading raid10.ko module\r\nmd: raid10\ > \ personality registered for level 10\n\rLoading xor.ko module\r\nraid5: automatically\ > \ using best checksumming function: generic_sse\n\r generic_sse: 5978.000 MB/sec\n\ > \rraid5: using function: generic_sse (5978.000 MB/sec)\n\rLoading raid456.ko module\r\ > \nraid6: int64x1 2166 MB/s\n\rraid6: int64x2 2461 MB/s\n\rraid6: int64x4 \ > \ 1998 MB/s\n\rraid6: int64x8 1884 MB/s\n\rraid6: sse2x1 4676 MB/s\n\rraid6:\ > \ sse2x2 5377 MB/s\n\rraid6: sse2x4 6159 MB/s\n\rraid6: using algorithm\ > \ sse2x4 (6159 MB/s)\n\rmd: raid6 personality registered for level 6\n\rmd: raid5\ > \ personality registered for level 5\n\rmd: raid4 personality registered for level\ > \ 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\ > \nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem\ > \ initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev: cannot get major\ > \ 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko module\r\nLoading\ > \ dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\nLoading dm-message.ko\ > \ module\r\nLoading dm-raid45.ko module\r\ndevice-mapper: dm-raid45: initialized\ > \ v0.2594l\n\rWaiting for driver initialization.\r\nScanning and configuring dmraid\ > \ supported devices\r\nCreating root device.\r\nMounting root filesystem.\r\n\ > kjournald starting. Commit interval 5 seconds\n\rEXT3-fs: mounted filesystem\ > \ with ordered data mode.\n\rSetting up other filesystems.\r\nSetting up new root\ > \ fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching to new root and\ > \ running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\nunmounting old\ > \ /sys\r\ntype=1404 audit(1405581080.357:2): enforcing=1 old_enforcing=0 auid=4294967295\ > \ ses=4294967295\n\rtype=1403 audit(1405581082.023:3): policy loaded auid=4294967295\ > \ ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\tWelcome to Red Hat Enterprise\ > \ Linux Server\r\n\t\tPress 'I' to enter interactive startup.\r\nCannot access\ > \ the Hardware Clock via any known method.\r\nUse the --debug option to see the\ > \ details of our search for an access method.\r\nSetting clock (utc): Thu Jul\ > \ 17 03:11:30 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK ]\r\r\nLoading default\ > \ keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain: [ OK ]\r\ > \r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1441) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:12:13,650: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:12:13,651: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:12:13,653: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:12:13,653: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:12:13,662: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:12:13,662: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:12:13,668: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:12:13,669: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-174-214-237 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nUnmounting file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nRestarting system.\n\r", > m1.large: "Xen Minimal OS!\r\n start_info: 0x18ae000(VA)\r\n nr_pages: 0x1e0000\r\ > \n shared_inf: 0xbdae7000(MA)\r\n pt_base: 0x18b1000(VA)\r\nnr_pt_frames:\ > \ 0x11\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n mod_len:\ > \ 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n stack: \ > \ 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\ > \n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\ > \n _end: 0x9ade40(VA)\r\n start_pfn: 18c5\r\n max_pfn: 1e0000\r\nMapping\ > \ memory range 0x1c00000 - 0x1e0000000\r\nsetting 0x0-0x9a000 readonly\r\nskipped\ > \ 0x1000\r\nMM: Initialise page allocator for 27be000(27be000)-1e0000000(1e0000000)\r\ > \nMM: done\r\nDemand map pfns at 1e0001000-21e0001000.\r\nHeap resides at 21e0002000-41e0002000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x1e0001000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x21e0002050, stack: 0x3710000\r\nThread \"xenstore\": pointer: 0x21e0002800,\ > \ stack: 0x3720000\r\nxenbus initialised on irq 1 mfn 0x795f29\r\nThread \"shutdown\"\ > : pointer: 0x21e0002fb0, stack: 0x3730000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x21e0003760, stack: 0x3740000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/5262/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/5262/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/5262/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/5262/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/5262/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/5262/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/5262/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/5262/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001e0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1939443\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2266.746 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7697912k/7872512k available (2562k\ > \ kernel code, 165708k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5674.36 BogoMIPS (lpj=11348728)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 0\n\ > \rCPU: Processor Core ID: 2\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\ > \rchecking if image is initramfs... it is\n\rGrant table initialized\n\rNET: Registered\ > \ protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=4\n\rBrought up 2\ > \ CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter disabled.\n\ > \rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI: disabled\n\ > \rxen_mem: Initialising balloon driver.\n\rusbcore: registered new driver usbfs\n\ > \rusbcore: registered new driver hub\n\rPCI: System does not support PCI\n\rPCI:\ > \ System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel: domain hash\ > \ size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel: unlabeled\ > \ traffic allowed by default\n\rNET: Registered protocol family 2\n\rIP route\ > \ cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1405580887.185:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001e0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1939443\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2266.746 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7697912k/7872512k available (2562k\ > \ kernel code, 165708k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5674.36 BogoMIPS (lpj=11348728)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 0\n\ > \rCPU: Processor Core ID: 2\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\ > \rchecking if image is initramfs... it is\n\rGrant table initialized\n\rNET: Registered\ > \ protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=4\n\rBrought up 2\ > \ CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter disabled.\n\ > \rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI: disabled\n\ > \rxen_mem: Initialising balloon driver.\n\rusbcore: registered new driver usbfs\n\ > \rusbcore: registered new driver hub\n\rPCI: System does not support PCI\n\rPCI:\ > \ System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel: domain hash\ > \ size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel: unlabeled\ > \ traffic allowed by default\n\rNET: Registered protocol family 2\n\rIP route\ > \ cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1405580887.185:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 6368.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (6368.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2215 MB/s\n\rraid6: int64x2 2295 MB/s\n\rraid6: int64x4 2082 MB/s\n\r\ > raid6: int64x8 122 MB/s\n\rraid6: sse2x1 4232 MB/s\n\rraid6: sse2x2 3611\ > \ MB/s\n\rraid6: sse2x4 5646 MB/s\n\rraid6: using algorithm sse2x4 (5646 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1405580916.719:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1405580919.047:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 17 03:08:50 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 937) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:09:37,097: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:09:37,099: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:09:37,107: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:09:37,107: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:09:37,119: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:09:37,120: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:09:37,128: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:09:37,128: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-172-27-73 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nUnmounting file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nRestarting system.\n\r", > m1.small: "Xen Minimal OS!\r\n start_info: 0xd00000(VA)\r\n nr_pages: 0x6a400\r\ > \n shared_inf: 0xbdef1000(MA)\r\n pt_base: 0xd03000(VA)\r\nnr_pt_frames:\ > \ 0xb\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n mod_len:\ > \ 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n stack: \ > \ 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\ > \n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\ > \n _end: 0x9ade40(VA)\r\n start_pfn: d11\r\n max_pfn: 6a400\r\nMapping\ > \ memory range 0x1000000 - 0x6a400000\r\nsetting 0x0-0x9a000 readonly\r\nskipped\ > \ 0x1000\r\nMM: Initialise page allocator for 105c000(105c000)-6a400000(6a400000)\r\ > \nMM: done\r\nDemand map pfns at 6a401000-206a401000.\r\nHeap resides at 206a402000-406a402000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x6a401000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x206a402050, stack: 0x13d0000\r\nThread \"xenstore\": pointer: 0x206a402800,\ > \ stack: 0x13e0000\r\nxenbus initialised on irq 1 mfn 0x7e0ae2\r\nThread \"shutdown\"\ > : pointer: 0x206a402fb0, stack: 0x13f0000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x206a403760, stack: 0x6a000000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4481/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4481/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/4481/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2051 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2051 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4481/2051\r\ > \nFailed to read /local/domain/0/backend/vbd/4481/2051/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4481/2051/feature-flush-cache.\r\n1835008\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd2\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4481/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/4481/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4481/2128/feature-flush-cache.\r\n312705024\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/4481/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/4481/2051\ > \ node=device/vbd/2051\r\nclose blk: backend=/local/domain/0/backend/vbd/4481/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 000000006ac00000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 429493\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2266.746 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 262144 (order:\ > \ 9, 2097152 bytes)\n\rInode-cache hash table entries: 131072 (order: 8, 1048576\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 1691896k/1748992k available (2562k\ > \ kernel code, 48572k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5674.36 BogoMIPS (lpj=11348723)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 1\n\ > \rCPU: Processor Core ID: 3\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\ > \rchecking if image is initramfs... it is\n\rGrant table initialized\n\rNET: Registered\ > \ protocol family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen PCI frontend\ > \ stub\n\rACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c)\ > \ Adam Belay\n\rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\ > \rusbcore: registered new driver usbfs\n\rusbcore: registered new driver hub\n\ > \rPCI: System does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel:\ > \ Initializing\n\rNetLabel: domain hash size = 128\n\rNetLabel: protocols =\ > \ UNLABELED CIPSOv4\n\rNetLabel: unlabeled traffic allowed by default\n\rNET:\ > \ Registered protocol family 2\n\rIP route cache hash table entries: 65536 (order:\ > \ 7, 524288 bytes)\n\rTCP established hash table entries: 262144 (order: 10, 4194304\ > \ bytes)\n\rTCP bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP:\ > \ Hash tables configured (established 262144 bind 65536)\n\rTCP reno registered\n\ > \raudit: initializing netlink socket (disabled)\n\rtype=2000 audit(1405580896.024:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\rLinux version 2.6.18-371.9.1.el5xen\ > \ (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\rBIOS-provided physical\ > \ RAM map:\n\r Xen: 0000000000000000 - 000000006ac00000 (usable)\n\rNo mptable\ > \ found.\n\rBuilt 1 zonelists. Total pages: 429493\n\rKernel command line: ro\ > \ root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries: 4096 (order: 12,\ > \ 32768 bytes)\n\rXen reported: 2266.746 MHz processor.\n\rConsole: colour dummy\ > \ device 80x25\n\rDentry cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\ > \rInode-cache hash table entries: 131072 (order: 8, 1048576 bytes)\n\rSoftware\ > \ IO TLB disabled\n\rMemory: 1691896k/1748992k available (2562k kernel code, 48572k\ > \ reserved, 1761k data, 196k init)\n\rCalibrating delay using timer specific routine..\ > \ 5674.36 BogoMIPS (lpj=11348723)\n\rSecurity Framework v1.0.0 initialized\n\r\ > SELinux: Initializing.\n\rselinux_register_security: Registering secondary module\ > \ capability\n\rCapability LSM initialized as secondary\n\rMount-cache hash table\ > \ entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\rCPU: L2 cache: 256K\n\ > \rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 1\n\rCPU: Processor Core\ > \ ID: 3\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\rchecking if image\ > \ is initramfs... it is\n\rGrant table initialized\n\rNET: Registered protocol\ > \ family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 65536 (order: 7, 524288 bytes)\n\ > \rTCP established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 262144 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1405580896.024:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rEvent-channel device installed.\n\rUniform Multi-Platform E-IDE driver\ > \ Revision: 7.00alpha2\n\ride: Assuming 50MHz system bus speed for PIO modes;\ > \ override with idebus=xx\n\ride-floppy driver 0.99.newide\n\rusbcore: registered\ > \ new driver hiddev\n\rusbcore: registered new driver usbhid\n\rdrivers/usb/input/hid-core.c:\ > \ v2.6:USB HID core driver\n\rPNP: No PS/2 controller found. Probing ports directly.\n\ > \ri8042.c: No controller found.\n\rmice: PS/2 mouse device common for all mice\n\ > \rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\rmd: bitmap version 4.39\n\ > \rTCP bic registered\n\rInitializing IPsec netlink socket\n\rNET: Registered protocol\ > \ family 1\n\rNET: Registered protocol family 17\n\rXENBUS: Device with no driver:\ > \ device/vbd/2049\n\rXENBUS: Device with no driver: device/vbd/2128\n\rXENBUS:\ > \ Device with no driver: device/vbd/2051\n\rXENBUS: Device with no driver: device/vif/0\n\ > \rXENBUS: Device with no driver: device/console/0\n\rInitalizing network drop\ > \ monitor service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat\ > \ nash version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs\ > \ filesystem\r\nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\ > \nCreating block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising\ > \ virtual ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\ > \rLoading xenblk.ko module\r\nRegistering block device major 8\n\rChanging capacity\ > \ of (8, 1) to 31457280 sectors\n\r sdf: unknown partition table\n\rLoading dm-mod.ko\ > \ module\r\ndevice-mapper: uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl\ > \ (2011-02-18) initialised: dm-devel@redhat.com\n\rLoading dm-log.ko module\r\n\ > Loading dm-mirror.ko module\r\nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko\ > \ module\r\nLoading dm-crypt.ko module\r\nLoading linear.ko module\r\nmd: linear\ > \ personality registered for level -1\n\rLoading dm-snapshot.ko module\r\nLoading\ > \ raid1.ko module\r\nmd: raid1 personality registered for level 1\n\rLoading raid0.ko\ > \ module\r\nmd: raid0 personality registered for level 0\n\rLoading raid10.ko\ > \ module\r\nmd: raid10 personality registered for level 10\n\rLoading xor.ko module\r\ > \nraid5: automatically using best checksumming function: generic_sse\n\r generic_sse:\ > \ 15590.000 MB/sec\n\rraid5: using function: generic_sse (15590.000 MB/sec)\n\r\ > Loading raid456.ko module\r\nraid6: int64x1 713 MB/s\n\rraid6: int64x2 816\ > \ MB/s\n\rraid6: int64x4 1646 MB/s\n\rraid6: int64x8 1549 MB/s\n\rraid6: sse2x1\ > \ 3841 MB/s\n\rraid6: sse2x2 4375 MB/s\n\rraid6: sse2x4 4966 MB/s\n\r\ > raid6: using algorithm sse2x4 (4966 MB/s)\n\rmd: raid6 personality registered\ > \ for level 6\n\rmd: raid5 personality registered for level 5\n\rmd: raid4 personality\ > \ registered for level 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\n\ > Loading virtio.ko module\r\nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko\ > \ module\r\nSCSI subsystem initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev:\ > \ cannot get major 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko\ > \ module\r\nLoading dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\ > \nLoading dm-message.ko module\r\nLoading dm-raid45.ko module\r\ndevice-mapper:\ > \ dm-raid45: initialized v0.2594l\n\rWaiting for driver initialization.\r\nScanning\ > \ and configuring dmraid supported devices\r\nCreating root device.\r\nMounting\ > \ root filesystem.\r\nkjournald starting. Commit interval 5 seconds\n\rEXT3-fs:\ > \ mounted filesystem with ordered data mode.\n\rSetting up other filesystems.\r\ > \nSetting up new root fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching\ > \ to new root and running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\ > \nunmounting old /sys\r\ntype=1404 audit(1405580925.876:2): enforcing=1 old_enforcing=0\ > \ auid=4294967295 ses=4294967295\n\rtype=1403 audit(1405580928.092:3): policy\ > \ loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\ > \tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 17 03:08:56 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n dev_is_mpath: failed to get device for 8:3\r\ > \n No volume groups found\r\n[ OK ]\r\r\nChecking filesystems\r\nChecking all\ > \ file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1 \r\n/: clean,\ > \ 64019/1572864 files, 525065/1572354 blocks\r\n[ OK ]\r\r\nRemounting root\ > \ filesystem in read-write mode: [ OK ]\r\r\nMounting local filesystems: [\ > \ OK ]\r\r\nEnabling local filesystem quotas: [ OK ]\r\r\nEnabling /etc/fstab\ > \ swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\r\nEntering non-interactive\ > \ startup\r\nStarting background readahead: [ OK ]\r\r\nChecking for hardware\ > \ changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\n[ OK \ > \ ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore v1.3.5: ip6tables-restore:\ > \ unable to initializetable 'filter'\r\n\r\nError occurred at line: 3\r\nTry `ip6tables-restore\ > \ -h' or 'ip6tables-restore --help' for more information.\r\n[FAILED]\r\r\nApplying\ > \ iptables firewall rules: [ OK ]\r\r\nLoading additional iptables modules:\ > \ ip_conntrack_netbios_ns [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing\ > \ up loopback interface: [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining\ > \ IP information for eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\ > \r\nStarting restorecond: [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid\ > \ (pid 859) is running...\r\nSetting up iSCSI targets: iscsiadm: No records found\r\ > \n[ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nMounting other filesystems:\ > \ [ OK ]\r\r\nStarting HAL daemon: [ OK ]\r\r\nStarting system logger: [\ > \ OK ]\r\r\nStarting autofs: Loading autofs4: [ OK ]\r\r\nStarting automount:\ > \ [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo]\ > \ choose_repo:39 2014-07-17 03:09:40,455: Zone [us-west-1a]\r\n[INFO:choose_repo]\ > \ choose_repo:67 2014-07-17 03:09:40,457: Enabling binary repos in redhat-rhui.repo\r\ > \n[INFO:choose_repo] choose_repo:86 2014-07-17 03:09:40,458: Enabling load balancer\ > \ plugin\r\n[INFO:choose_repo] choose_repo:88 2014-07-17 03:09:40,458: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo]\ > \ choose_repo:92 2014-07-17 03:09:40,465: Setting region in load balancer config\r\ > \n[INFO:choose_repo] choose_repo:94 2014-07-17 03:09:40,466: Executing [sed -i\ > \ 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\n[INFO:choose_repo]\ > \ choose_repo:98 2014-07-17 03:09:40,471: Enabling client config repo\r\n[INFO:choose_repo]\ > \ choose_repo:101 2014-07-17 03:09:40,471: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\n[ OK ]\r\r\nGenerating\ > \ SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA host key: [ OK ]\r\r\n\ > Generating SSH2 DSA host key: [ OK ]\r\r\nStarting sshd: [ OK ]\r\r\nStarting\ > \ xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\r\nStarting console mouse services:\ > \ [ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\n\r\nRed Hat Enterprise Linux Server release 5.10 (Tikanga)\r\nKernel\ > \ 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\nip-10-169-1-125 login: \rINIT: version\ > \ 2.86 reloading\r\n\rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nStopping rhsmcertd...[ OK ]\r\r\nStopping yum-updatesd:\ > \ [ OK ]\r\r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\n\ > Shutting down console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\ > \nShutting down exim: [FAILED]\r\r\nStopping xinetd: [ OK ]\r\r\nStopping crond:\ > \ [ OK ]\r\r\nStopping autofs: Stopping automount: [ OK ]\r\r\n[ OK ]\r\ > \r\nStopping HAL daemon: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\ > \r\nStopping system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\ > \nShutting down restorecond: [ OK ]\r\r\nStopping auditd: [ OK ]\r\r\n[ OK\ > \ ]\r[ OK ]\rShutting down interface eth0: [ OK ]\r\r\nShutting down loopback\ > \ interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains\ > \ to policy ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: [ OK ]\r\ > \r\nStarting killall: [ OK ]\r\r\nSending all processes the TERM signal...\ > \ \r\nSending all processes the KILL signal... \r\nSaving random seed: \r\nTurning\ > \ off quotas: \r\nUnmounting file systems: \r\nPlease stand by while rebooting\ > \ the system...\r\nRestarting system.\n\r", m1.xlarge: "Xen Minimal OS!\r\n start_info:\ > \ 0x27ae000(VA)\r\n nr_pages: 0x3c0000\r\n shared_inf: 0x7cc8d000(MA)\r\n\ > \ pt_base: 0x27b1000(VA)\r\nnr_pt_frames: 0x19\r\n mfn_list: 0x9ae000(VA)\r\ > \n mod_start: 0x0(VA)\r\n mod_len: 0\r\n flags: 0x0\r\n cmd_line:\ > \ root=/dev/sda1 ro 4\r\n stack: 0x96d840-0x98d840\r\nMM: Init\r\n \ > \ _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n \ > \ _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\ > \n start_pfn: 27cd\r\n max_pfn: 3c0000\r\nMapping memory range 0x2c00000 -\ > \ 0x3c0000000\r\nsetting 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise\ > \ page allocator for 45c5000(45c5000)-3c0000000(3c0000000)\r\nMM: done\r\nDemand\ > \ map pfns at 3c0001000-23c0001000.\r\nHeap resides at 23c0002000-43c0002000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x3c0001000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x23c0002050, stack: 0x6460000\r\nThread \"xenstore\": pointer: 0x23c0002800,\ > \ stack: 0x6470000\r\nxenbus initialised on irq 1 mfn 0xd2c643\r\nThread \"shutdown\"\ > : pointer: 0x23c0002fb0, stack: 0x6480000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x23c0003760, stack: 0x6490000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/1952/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1952/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/1952/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/1952/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/1952/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1952/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/1952/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/1952/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000003c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 3878643\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1799.999 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 2097152 (order:\ > \ 12, 16777216 bytes)\n\rInode-cache hash table entries: 1048576 (order: 11, 8388608\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 15411572k/15736832k available\ > \ (2562k kernel code, 316440k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 4502.12 BogoMIPS (lpj=9004242)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 5\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=99\n\ > \rmigration_cost=Initializing CPU#2\n\r99\n\rInitializing CPU#3\n\rmigration_cost=99\n\ > \rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1405580924.005:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000003c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 3878643\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1799.999 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 2097152 (order:\ > \ 12, 16777216 bytes)\n\rInode-cache hash table entries: 1048576 (order: 11, 8388608\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 15411572k/15736832k available\ > \ (2562k kernel code, 316440k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 4502.12 BogoMIPS (lpj=9004242)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 5\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=99\n\ > \rmigration_cost=Initializing CPU#2\n\r99\n\rInitializing CPU#3\n\rmigration_cost=99\n\ > \rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1405580924.005:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 5858.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (5858.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 1742 MB/s\n\rraid6: int64x2 2152 MB/s\n\rraid6: int64x4 2036 MB/s\n\r\ > raid6: int64x8 1709 MB/s\n\rraid6: sse2x1 4275 MB/s\n\rraid6: sse2x2 5078\ > \ MB/s\n\rraid6: sse2x4 5853 MB/s\n\rraid6: using algorithm sse2x4 (5853 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1405580952.367:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1405580953.959:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 17 03:09:21 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1104) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:10:03,786: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:10:03,787: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:10:03,788: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:10:03,789: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:10:03,798: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:10:03,799: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:10:03,806: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:10:03,806: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-199-0-122 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nUnmounting file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nRestarting system.\n\r", > m2.2xlarge: "Xen Minimal OS!\r\n start_info: 0x4e0a000(VA)\r\n nr_pages: 0x88b800\r\ > \n shared_inf: 0x7f427000(MA)\r\n pt_base: 0x4e0d000(VA)\r\nnr_pt_frames:\ > \ 0x2b\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n mod_len:\ > \ 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n stack: \ > \ 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\ > \n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\ > \n _end: 0x9ade40(VA)\r\n start_pfn: 4e3b\r\n max_pfn: 88b800\r\nMapping\ > \ memory range 0x5000000 - 0x88b800000\r\nsetting 0x0-0x9a000 readonly\r\nskipped\ > \ 0x1000\r\nMM: Initialise page allocator for 9291000(9291000)-88b800000(88b800000)\r\ > \nMM: done\r\nDemand map pfns at 88b801000-288b801000.\r\nHeap resides at 288b802000-488b802000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x88b801000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x288b802050, stack: 0xa030000\r\nThread \"xenstore\": pointer: 0x288b802800,\ > \ stack: 0xa040000\r\nxenbus initialised on irq 1 mfn 0x2029f39\r\nThread \"shutdown\"\ > : pointer: 0x288b802fb0, stack: 0xa050000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x288b803760, stack: 0xa060000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/1033/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1033/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/1033/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/1033/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/1033/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1033/2128/feature-flush-cache.\r\n1761474560\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/1033/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/1033/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 000000088c000000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 8837743\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 8388608 (order:\ > \ 14, 67108864 bytes)\n\rInode-cache hash table entries: 4194304 (order: 13, 33554432\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 35095388k/35848192k available\ > \ (2562k kernel code, 743992k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6002.20 BogoMIPS (lpj=12004404)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 6\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=75\n\ > \rmigration_cost=Initializing CPU#2\n\r75\n\rmigration_cost=Initializing CPU#3\n\ > \r75\n\rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1405580974.744:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 000000088c000000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 8837743\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 8388608 (order:\ > \ 14, 67108864 bytes)\n\rInode-cache hash table entries: 4194304 (order: 13, 33554432\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 35095388k/35848192k available\ > \ (2562k kernel code, 743992k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6002.20 BogoMIPS (lpj=12004404)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 6\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=75\n\ > \rmigration_cost=Initializing CPU#2\n\r75\n\rmigration_cost=Initializing CPU#3\n\ > \r75\n\rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1405580974.744:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 7812.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (7812.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2323 MB/s\n\rraid6: int64x2 2871 MB/s\n\rraid6: int64x4 2714 MB/s\n\r\ > raid6: int64x8 2281 MB/s\n\rraid6: sse2x1 5698 MB/s\n\rraid6: sse2x2 6769\ > \ MB/s\n\rraid6: sse2x4 7804 MB/s\n\rraid6: using algorithm sse2x4 (7804 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1405581002.022:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1405581003.418:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 17 03:10:10 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1103) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:10:41,409: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:10:41,409: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:10:41,410: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:10:41,410: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:10:41,417: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:10:41,417: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:10:41,423: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:10:41,423: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-196-40-55 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nUnmounting file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nRestarting system.\n\r", > m2.4xlarge: "Xen Minimal OS!\r\n start_info: 0x9266000(VA)\r\n nr_pages: 0x1117000\r\ > \n shared_inf: 0x7f56f000(MA)\r\n pt_base: 0x9269000(VA)\r\nnr_pt_frames:\ > \ 0x4d\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n mod_len:\ > \ 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n stack: \ > \ 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\ > \n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\ > \n _end: 0x9ade40(VA)\r\n start_pfn: 92b9\r\n max_pfn: 1117000\r\nMapping\ > \ memory range 0x9400000 - 0x1117000000\r\nsetting 0x0-0x9a000 readonly\r\nskipped\ > \ 0x1000\r\nMM: Initialise page allocator for 11b6b000(11b6b000)-1117000000(1117000000)\r\ > \nMM: done\r\nDemand map pfns at 1117001000-3117001000.\r\nHeap resides at 3117002000-5117002000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x1117001000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x3117002050, stack: 0x1113690000\r\nThread \"xenstore\": pointer: 0x3117002800,\ > \ stack: 0x11136a0000\r\nxenbus initialised on irq 1 mfn 0x110a95c\r\nThread \"\ > shutdown\": pointer: 0x3117002fb0, stack: 0x11136c0000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x3117003760, stack: 0x11136d0000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4/2049/feature-barrier.\r\nFailed to read\ > \ /local/domain/0/backend/vbd/4/2049/feature-flush-cache.\r\n31457280 sectors\ > \ of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/4/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4/2128/feature-flush-cache.\r\n1761475584\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/4/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/4/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000001117800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 17675243\n\ > \rKernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table\ > \ entries: 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\ > \rConsole: colour dummy device 80x25\n\rDentry cache hash table entries: 16777216\ > \ (order: 15, 134217728 bytes)\n\rInode-cache hash table entries: 8388608 (order:\ > \ 14, 67108864 bytes)\n\rSoftware IO TLB disabled\n\rMemory: 70206268k/71688192k\ > \ available (2562k kernel code, 1473000k reserved, 1761k data, 196k init)\n\r\ > Calibrating delay using timer specific routine.. 6001.72 BogoMIPS (lpj=12003443)\n\ > \rSecurity Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 1\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=87\n\ > \rmigration_cost=Initializing CPU#2\n\r87\n\rmigration_cost=87Initializing CPU#3\n\ > \r\n\rmigration_cost=Initializing CPU#4\n\r87\n\rmigration_cost=Initializing CPU#5\n\ > \r87\n\rmigration_cost=Initializing CPU#6\n\r87\n\rmigration_cost=Initializing\ > \ CPU#7\n\r87\n\rBrought up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\ > \rTCP established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 262144 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1405581055.444:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\rLinux version 2.6.18-371.9.1.el5xen\ > \ (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\rBIOS-provided physical\ > \ RAM map:\n\r Xen: 0000000000000000 - 0000001117800000 (usable)\n\rNo mptable\ > \ found.\n\rBuilt 1 zonelists. Total pages: 17675243\n\rKernel command line:\ > \ ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries: 4096 (order:\ > \ 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole: colour\ > \ dummy device 80x25\n\rDentry cache hash table entries: 16777216 (order: 15,\ > \ 134217728 bytes)\n\rInode-cache hash table entries: 8388608 (order: 14, 67108864\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 70206268k/71688192k available\ > \ (2562k kernel code, 1473000k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6001.72 BogoMIPS (lpj=12003443)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 1\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=87\n\ > \rmigration_cost=Initializing CPU#2\n\r87\n\rmigration_cost=87Initializing CPU#3\n\ > \r\n\rmigration_cost=Initializing CPU#4\n\r87\n\rmigration_cost=Initializing CPU#5\n\ > \r87\n\rmigration_cost=Initializing CPU#6\n\r87\n\rmigration_cost=Initializing\ > \ CPU#7\n\r87\n\rBrought up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\ > \rTCP established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 262144 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1405581055.444:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rEvent-channel device installed.\n\rUniform Multi-Platform E-IDE driver\ > \ Revision: 7.00alpha2\n\ride: Assuming 50MHz system bus speed for PIO modes;\ > \ override with idebus=xx\n\ride-floppy driver 0.99.newide\n\rusbcore: registered\ > \ new driver hiddev\n\rusbcore: registered new driver usbhid\n\rdrivers/usb/input/hid-core.c:\ > \ v2.6:USB HID core driver\n\rPNP: No PS/2 controller found. Probing ports directly.\n\ > \ri8042.c: No controller found.\n\rmice: PS/2 mouse device common for all mice\n\ > \rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\rmd: bitmap version 4.39\n\ > \rTCP bic registered\n\rInitializing IPsec netlink socket\n\rNET: Registered protocol\ > \ family 1\n\rNET: Registered protocol family 17\n\rXENBUS: Device with no driver:\ > \ device/vbd/2049\n\rXENBUS: Device with no driver: device/vbd/2128\n\rXENBUS:\ > \ Device with no driver: device/vif/0\n\rXENBUS: Device with no driver: device/console/0\n\ > \rInitalizing network drop monitor service\n\rWrite protecting the kernel read-only\ > \ data: 506k\n\rRed Hat nash version 5.1.19.6 starting\r\nMounting proc filesystem\r\ > \nMounting sysfs filesystem\r\nCreating /dev\r\nCreating initial device nodes\r\ > \nSetting up hotplug.\r\nCreating block device nodes.\r\nLoading xennet.ko module\r\ > \nnetfront: Initialising virtual ethernet driver.\n\rnetfront: device eth0 has\ > \ copying receive path.\n\rLoading xenblk.ko module\r\nRegistering block device\ > \ major 8\n\r sdf: unknown partition table\n\rLoading dm-mod.ko module\r\ndevice-mapper:\ > \ uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised:\ > \ dm-devel@redhat.com\n\rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\ > \nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko\ > \ module\r\nLoading linear.ko module\r\nmd: linear personality registered for\ > \ level -1\n\rLoading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd:\ > \ raid1 personality registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0\ > \ personality registered for level 0\n\rLoading raid10.ko module\r\nmd: raid10\ > \ personality registered for level 10\n\rLoading xor.ko module\r\nraid5: automatically\ > \ using best checksumming function: generic_sse\n\r generic_sse: 7799.000 MB/sec\n\ > \rraid5: using function: generic_sse (7799.000 MB/sec)\n\rLoading raid456.ko module\r\ > \nraid6: int64x1 2310 MB/s\n\rraid6: int64x2 2850 MB/s\n\rraid6: int64x4 \ > \ 2701 MB/s\n\rraid6: int64x8 2270 MB/s\n\rraid6: sse2x1 5669 MB/s\n\rraid6:\ > \ sse2x2 6716 MB/s\n\rraid6: sse2x4 7758 MB/s\n\rraid6: using algorithm\ > \ sse2x4 (7758 MB/s)\n\rmd: raid6 personality registered for level 6\n\rmd: raid5\ > \ personality registered for level 5\n\rmd: raid4 personality registered for level\ > \ 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\ > \nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem\ > \ initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev: cannot get major\ > \ 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko module\r\nLoading\ > \ dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\nLoading dm-message.ko\ > \ module\r\nLoading dm-raid45.ko module\r\ndevice-mapper: dm-raid45: initialized\ > \ v0.2594l\n\rWaiting for driver initialization.\r\nScanning and configuring dmraid\ > \ supported devices\r\nCreating root device.\r\nMounting root filesystem.\r\n\ > kjournald starting. Commit interval 5 seconds\n\rEXT3-fs: mounted filesystem\ > \ with ordered data mode.\n\rSetting up other filesystems.\r\nSetting up new root\ > \ fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching to new root and\ > \ running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\nunmounting old\ > \ /sys\r\ntype=1404 audit(1405581083.055:2): enforcing=1 old_enforcing=0 auid=4294967295\ > \ ses=4294967295\n\rtype=1403 audit(1405581085.392:3): policy loaded auid=4294967295\ > \ ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\tWelcome to Red Hat Enterprise\ > \ Linux Server\r\n\t\tPress 'I' to enter interactive startup.\r\nCannot access\ > \ the Hardware Clock via any known method.\r\nUse the --debug option to see the\ > \ details of our search for an access method.\r\nSetting clock (utc): Thu Jul\ > \ 17 03:11:35 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK ]\r\r\nLoading default\ > \ keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain: [ OK ]\r\ > \r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1445) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:12:16,150: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:12:16,152: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:12:16,155: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:12:16,155: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:12:16,162: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:12:16,163: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:12:16,168: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:12:16,168: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-198-86-173 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nUnmounting file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nRestarting system.\n\r", > m2.xlarge: "Xen Minimal OS!\r\n start_info: 0x2bdc000(VA)\r\n nr_pages: 0x445c00\r\ > \n shared_inf: 0x7f428000(MA)\r\n pt_base: 0x2bdf000(VA)\r\nnr_pt_frames:\ > \ 0x1b\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n mod_len:\ > \ 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n stack: \ > \ 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\ > \n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\ > \n _end: 0x9ade40(VA)\r\n start_pfn: 2bfd\r\n max_pfn: 445c00\r\nMapping\ > \ memory range 0x3000000 - 0x445c00000\r\nsetting 0x0-0x9a000 readonly\r\nskipped\ > \ 0x1000\r\nMM: Initialise page allocator for 4e24000(4e24000)-445c00000(445c00000)\r\ > \nMM: done\r\nDemand map pfns at 445c01000-2445c01000.\r\nHeap resides at 2445c02000-4445c02000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x445c01000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x2445c02050, stack: 0x5500000\r\nThread \"xenstore\": pointer: 0x2445c02800,\ > \ stack: 0x5510000\r\nxenbus initialised on irq 1 mfn 0xb05764\r\nThread \"shutdown\"\ > : pointer: 0x2445c02fb0, stack: 0x5520000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x2445c03760, stack: 0x5530000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/2062/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/2062/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/2062/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/2062/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/2062/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/2062/2128/feature-flush-cache.\r\n859761664\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/2062/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/2062/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000000446400000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 4418993\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 4194304 (order:\ > \ 13, 33554432 bytes)\n\rInode-cache hash table entries: 2097152 (order: 12, 16777216\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 17539824k/17928192k available\ > \ (2562k kernel code, 379488k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6004.20 BogoMIPS (lpj=12008403)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 2\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=59\n\ > \rBrought up 2 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1405580948.050:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000000446400000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 4418993\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 4194304 (order:\ > \ 13, 33554432 bytes)\n\rInode-cache hash table entries: 2097152 (order: 12, 16777216\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 17539824k/17928192k available\ > \ (2562k kernel code, 379488k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6004.20 BogoMIPS (lpj=12008403)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 2\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=59\n\ > \rBrought up 2 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1405580948.050:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 7722.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (7722.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2324 MB/s\n\rraid6: int64x2 2852 MB/s\n\rraid6: int64x4 2713 MB/s\n\r\ > raid6: int64x8 2181 MB/s\n\rraid6: sse2x1 5616 MB/s\n\rraid6: sse2x2 6756\ > \ MB/s\n\rraid6: sse2x4 7802 MB/s\n\rraid6: using algorithm sse2x4 (7802 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1405580976.918:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1405580978.438:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 17 03:09:45 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 935) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:10:23,497: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:10:23,498: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:10:23,499: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:10:23,499: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:10:23,507: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:10:23,507: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:10:23,512: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:10:23,513: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-196-37-159 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nUnmounting file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nRestarting system.\n\r", > t1.micro: "Xen Minimal OS!\r\n start_info: 0xae2000(VA)\r\n nr_pages: 0x26700\r\ > \n shared_inf: 0xbf0b2000(MA)\r\n pt_base: 0xae5000(VA)\r\nnr_pt_frames:\ > \ 0x9\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n mod_len:\ > \ 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n stack: \ > \ 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\ > \n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\ > \n _end: 0x9ade40(VA)\r\n start_pfn: af1\r\n max_pfn: 26700\r\nMapping\ > \ memory range 0xc00000 - 0x26700000\r\nsetting 0x0-0x9a000 readonly\r\nskipped\ > \ 0x1000\r\nMM: Initialise page allocator for c1f000(c1f000)-26700000(26700000)\r\ > \nMM: done\r\nDemand map pfns at 26701000-2026701000.\r\nHeap resides at 2026702000-4026702000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x26701000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x2026702050, stack: 0x26660000\r\nThread \"xenstore\": pointer: 0x2026702800,\ > \ stack: 0x26670000\r\nxenbus initialised on irq 1 mfn 0x429eff\r\nThread \"shutdown\"\ > : pointer: 0x2026702fb0, stack: 0x26680000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x2026703760, stack: 0x26690000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/15632/2049\r\n\ > Failed to read /local/domain/0/backend/vbd/15632/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/15632/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/15632/2049\ > \ node=device/vbd/2049\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000000026f00000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 155531\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2266.746 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 131072 (order:\ > \ 8, 1048576 bytes)\n\rInode-cache hash table entries: 65536 (order: 7, 524288\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 602104k/637952k available (2562k\ > \ kernel code, 27484k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5669.05 BogoMIPS (lpj=11338108)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 1\n\ > \rCPU: Processor Core ID: 2\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\ > \rchecking if image is initramfs... it is\n\rGrant table initialized\n\rNET: Registered\ > \ protocol family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen PCI frontend\ > \ stub\n\rACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c)\ > \ Adam Belay\n\rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\ > \rusbcore: registered new driver usbfs\n\rusbcore: registered new driver hub\n\ > \rPCI: System does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel:\ > \ Initializing\n\rNetLabel: domain hash size = 128\n\rNetLabel: protocols =\ > \ UNLABELED CIPSOv4\n\rNetLabel: unlabeled traffic allowed by default\n\rNET:\ > \ Registered protocol family 2\n\rIP route cache hash table entries: 32768 (order:\ > \ 6, 262144 bytes)\n\rTCP established hash table entries: 131072 (order: 9, 2097152\ > \ bytes)\n\rTCP bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP:\ > \ Hash tables configured (established 131072 bind 65536)\n\rTCP reno registered\n\ > \raudit: initializing netlink socket (disabled)\n\rtype=2000 audit(1405580842.742:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\rLinux version 2.6.18-371.9.1.el5xen\ > \ (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\rBIOS-provided physical\ > \ RAM map:\n\r Xen: 0000000000000000 - 0000000026f00000 (usable)\n\rNo mptable\ > \ found.\n\rBuilt 1 zonelists. Total pages: 155531\n\rKernel command line: ro\ > \ root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries: 4096 (order: 12,\ > \ 32768 bytes)\n\rXen reported: 2266.746 MHz processor.\n\rConsole: colour dummy\ > \ device 80x25\n\rDentry cache hash table entries: 131072 (order: 8, 1048576 bytes)\n\ > \rInode-cache hash table entries: 65536 (order: 7, 524288 bytes)\n\rSoftware IO\ > \ TLB disabled\n\rMemory: 602104k/637952k available (2562k kernel code, 27484k\ > \ reserved, 1761k data, 196k init)\n\rCalibrating delay using timer specific routine..\ > \ 5669.05 BogoMIPS (lpj=11338108)\n\rSecurity Framework v1.0.0 initialized\n\r\ > SELinux: Initializing.\n\rselinux_register_security: Registering secondary module\ > \ capability\n\rCapability LSM initialized as secondary\n\rMount-cache hash table\ > \ entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\rCPU: L2 cache: 256K\n\ > \rCPU: L3 cache: 4096K\n\rCPU: Physical Processor ID: 1\n\rCPU: Processor Core\ > \ ID: 2\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\rchecking if image\ > \ is initramfs... it is\n\rGrant table initialized\n\rNET: Registered protocol\ > \ family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 32768 (order: 6, 262144 bytes)\n\ > \rTCP established hash table entries: 131072 (order: 9, 2097152 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 131072 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1405580842.742:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rEvent-channel device installed.\n\rUniform Multi-Platform E-IDE driver\ > \ Revision: 7.00alpha2\n\ride: Assuming 50MHz system bus speed for PIO modes;\ > \ override with idebus=xx\n\ride-floppy driver 0.99.newide\n\rusbcore: registered\ > \ new driver hiddev\n\rusbcore: registered new driver usbhid\n\rdrivers/usb/input/hid-core.c:\ > \ v2.6:USB HID core driver\n\rPNP: No PS/2 controller found. Probing ports directly.\n\ > \ri8042.c: No controller found.\n\rmice: PS/2 mouse device common for all mice\n\ > \rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\rmd: bitmap version 4.39\n\ > \rTCP bic registered\n\rInitializing IPsec netlink socket\n\rNET: Registered protocol\ > \ family 1\n\rNET: Registered protocol family 17\n\rXENBUS: Device with no driver:\ > \ device/vbd/2049\n\rXENBUS: Device with no driver: device/vif/0\n\rXENBUS: Device\ > \ with no driver: device/console/0\n\rInitalizing network drop monitor service\n\ > \rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash version 5.1.19.6\ > \ starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\nCreating\ > \ /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating block\ > \ device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\rLoading dm-mod.ko module\r\ > \ndevice-mapper: uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18)\ > \ initialised: dm-devel@redhat.com\n\rLoading dm-log.ko module\r\nLoading dm-mirror.ko\ > \ module\r\nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko module\r\n\ > Loading dm-crypt.ko module\r\nLoading linear.ko module\r\nmd: linear personality\ > \ registered for level -1\n\rLoading dm-snapshot.ko module\r\nLoading raid1.ko\ > \ module\r\nmd: raid1 personality registered for level 1\n\rLoading raid0.ko module\r\ > \nmd: raid0 personality registered for level 0\n\rLoading raid10.ko module\r\n\ > md: raid10 personality registered for level 10\n\rLoading xor.ko module\r\nraid5:\ > \ automatically using best checksumming function: generic_sse\n\r generic_sse:\ > \ 15858.000 MB/sec\n\rraid5: using function: generic_sse (15858.000 MB/sec)\n\r\ > Loading raid456.ko module\r\nraid6: int64x1 2486 MB/s\n\rraid6: int64x2 2813\ > \ MB/s\n\rraid6: int64x4 2253 MB/s\n\rraid6: int64x8 2159 MB/s\n\rraid6: sse2x1\ > \ 5412 MB/s\n\rraid6: sse2x2 6214 MB/s\n\rraid6: sse2x4 7051 MB/s\n\r\ > raid6: using algorithm sse2x4 (7051 MB/s)\n\rmd: raid6 personality registered\ > \ for level 6\n\rmd: raid5 personality registered for level 5\n\rmd: raid4 personality\ > \ registered for level 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\n\ > Loading virtio.ko module\r\nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko\ > \ module\r\nSCSI subsystem initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev:\ > \ cannot get major 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko\ > \ module\r\nLoading dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\ > \nLoading dm-message.ko module\r\nLoading dm-raid45.ko module\r\ndevice-mapper:\ > \ dm-raid45: initialized v0.2594l\n\rWaiting for driver initialization.\r\nScanning\ > \ and configuring dmraid supported devices\r\nCreating root device.\r\nMounting\ > \ root filesystem.\r\nkjournald starting. Commit interval 5 seconds\n\rEXT3-fs:\ > \ mounted filesystem with ordered data mode.\n\rSetting up other filesystems.\r\ > \nSetting up new root fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching\ > \ to new root and running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\ > \nunmounting old /sys\r\ntype=1404 audit(1405580881.449:2): enforcing=1 old_enforcing=0\ > \ auid=4294967295 ses=4294967295\n\rtype=1403 audit(1405580883.857:3): policy\ > \ loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\ > \tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 17 03:08:19 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 64019/1572864 files, 525065/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nStarting background readahead: [ OK \ > \ ]\r\r\nChecking for hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [\ > \ OK ]\r[ OK ]\r\r\n[ OK ]\r\r\nApplying ip6tables firewall rules: ip6tables-restore\ > \ v1.3.5: ip6tables-restore: unable to initializetable 'filter'\r\n\r\nError occurred\ > \ at line: 3\r\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' for more\ > \ information.\r\n[FAILED]\r\r\nApplying iptables firewall rules: [ OK ]\r\r\ > \nLoading additional iptables modules: ip_conntrack_netbios_ns [ OK ]\r\r\n\ > Starting mcstransd: [ OK ]\r\r\nBringing up loopback interface: [ OK ]\r\r\ > \nBringing up interface eth0: \r\nDetermining IP information for eth0... done.\r\ > \n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond: [ OK ]\r\ > \r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 833) is running...\r\nSetting\ > \ up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting system\ > \ message bus: [ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\nStarting\ > \ HAL daemon: [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting autofs:\ > \ Loading autofs4: [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\ > \r\n [ OK ]\r\r\nStarting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-17\ > \ 03:09:03,535: Zone [us-west-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-17\ > \ 03:09:03,536: Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo]\ > \ choose_repo:86 2014-07-17 03:09:03,539: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-17 03:09:03,539: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-17\ > \ 03:09:03,551: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-17 03:09:03,552: Executing [sed -i 's/REGION/us-west-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-17 03:09:03,562: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-17 03:09:03,563: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting exim: [ OK ]\r\ > \r\nStarting console mouse services: [ OK ]\r\r\nStarting crond: [ OK ]\r\r\ > \nStarting xfs: [ OK ]\r\r\nStarting anacron: [ OK ]\r\r\nStarting atd: [\ > \ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[ OK ]\r\r\nStarting yum-updatesd:\ > \ [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys: No such file or directory\r\n\ > Successfully retrieved AWS public key from instance metadata\r\n\r\nRed Hat Enterprise\ > \ Linux Server release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\ > \n\r\nip-10-171-82-159 login: \rINIT: version 2.86 reloading\r\n\rINIT: Switching\ > \ to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping atd: [ OK ]\r\r\n\ > Shutting down xfs: [ OK ]\r\r\nShutting down console mouse services: [ OK \ > \ ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting down exim: [FAILED]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nShutting\ > \ down system logger: [ OK ]\r\r\nStopping system message bus: [ OK ]\r\r\n\ > Stopping mcstransd: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping\ > \ auditd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rShutting down interface eth0: [ \ > \ OK ]\r\r\nShutting down loopback interface: [ OK ]\r\r\nFlushing firewall\ > \ rules: [ OK ]\r\r\nSetting chains to policy ACCEPT: filter [ OK ]\r\r\n\ > Unloading iptables modules: [ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending\ > \ all processes the TERM signal... \r\nSending all processes the KILL signal...\ > \ \r\nSaving random seed: \r\nTurning off quotas: \r\nPlease stand by while\ > \ rebooting the system...\r\nRestarting system.\n\r"} >product: RHEL >region: us-west-1 >result: > c1.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7340032'']'} > - {command: '[ 7340032 -gt 6997900 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-81ed6bdf",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-875053c2",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-17T07:10:34Z",\r\n "instanceType" > : "c1.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" > : null,\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.174.214.237",\r\n "region" > : "us-west-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" : "us-west-1c"\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '8', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7340032'']'} > - {command: '[ 7340032 -gt 6997900 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.large: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7864320'']'} > - {command: '[ 7864320 -gt 7500000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "architecture" : "x86_64",\r\n "imageId" > : "ami-875053c2",\r\n "pendingTime" : "2014-07-17T07:07:24Z",\r\n "instanceType" > : "m1.large",\r\n "instanceId" : "i-d5ec6a8b",\r\n "billingProducts" : [ > "bp-63a5400a" ],\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" > : null,\r\n "region" : "us-west-1",\r\n "version" : "2010-08-31",\r\n "privateIp" > : "10.172.27.73",\r\n "availabilityZone" : "us-west-1c",\r\n "devpayProductCodes" > : null\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '2', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7864320'']'} > - {command: '[ 7864320 -gt 7500000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.small: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''1740800'']'} > - {command: '[ 1740800 -gt 1690000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-d2abf58c",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-875053c2",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-17T07:07:55Z",\r\n "instanceType" > : "m1.small",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" > : null,\r\n "region" : "us-west-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-west-1a",\r\n "privateIp" : "10.169.1.125",\r\n "devpayProductCodes" > : null\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '1', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''1740800'']'} > - {command: '[ 1740800 -gt 1690000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''15728640'']'} > - {command: '[ 15728640 -gt 15000000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-e6ed6bb8",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-875053c2",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-17T07:08:18Z",\r\n "instanceType" > : "m1.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" > : null,\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.199.0.122",\r\n "region" > : "us-west-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" : "us-west-1c"\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '4', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''15728640'']'} > - {command: '[ 15728640 -gt 15000000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.2xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''35840000'']'} > - {command: '[ 35840000 -gt 34200000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "accountId" : "567014786890",\r\n "instanceId" > : "i-eeea6cb0",\r\n "billingProducts" : [ "bp-63a5400a" ],\r\n "imageId" > : "ami-875053c2",\r\n "architecture" : "x86_64",\r\n "pendingTime" : "2014-07-17T07:09:05Z",\r\n "instanceType" > : "m2.2xlarge",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" : null,\r\n "privateIp" > : "10.196.40.55",\r\n "region" : "us-west-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-west-1c",\r\n "devpayProductCodes" : null\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '4', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''35840000'']'} > - {command: '[ 35840000 -gt 34200000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.4xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''71680000'']'} > - {command: '[ 71680000 -gt 68400000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "availabilityZone" : > "us-west-1c",\r\n "privateIp" : "10.198.86.173",\r\n "devpayProductCodes" > : null,\r\n "region" : "us-west-1",\r\n "accountId" : "567014786890",\r\n "instanceId" > : "i-8fec6ad1",\r\n "billingProducts" : [ "bp-63a5400a" ],\r\n "imageId" > : "ami-875053c2",\r\n "architecture" : "x86_64",\r\n "pendingTime" : "2014-07-17T07:10:02Z",\r\n "instanceType" > : "m2.4xlarge",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" : null,\r\n "version" > : "2010-08-31"\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '8', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''71680000'']'} > - {command: '[ 71680000 -gt 68400000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''17920000'']'} > - {command: '[ 17920000 -gt 17100000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-faed6ba4",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-875053c2",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-17T07:08:42Z",\r\n "instanceType" > : "m2.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" > : null,\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.196.37.159",\r\n "region" > : "us-west-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" : "us-west-1c"\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {command: mkfs.vfat -I /dev/sdf, result: passed} > - {command: mkdir -p /tmp/mnt-sdf, result: passed} > - {command: mount -t vfat /dev/sdf /tmp/mnt-sdf, result: passed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '2', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''17920000'']'} > - {command: '[ 17920000 -gt 17100000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > t1.micro: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/var/log/rpmpkgs'', [''cron_log_t'', ''rpm_log_t'']], > [''/var/log/yum.log'', [''var_log_t'', ''rpm_log_t'']], [''/var/lib/mlocate/mlocate.db'', > [''cron_var_lib_t'', ''var_lib_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''629760'']'} > - {command: '[ 629760 -gt 600000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,zlib,nspr,cyrus-sasl-lib,bash,readline,sqlite,bzip2-libs,atk,libacl,pcre,elfutils-libelf,iptables,libgcrypt,dmidecode,gnutls,hmaccalc,ed,tcl,unixODBC-libs,lm_sensors,iptables-ipv6,groff,gamin,libXdmcp,libFS,libtool-ltdl,xorg-x11-filesystem,xorg-x11-font-utils,libXpm,libXcursor,libXi,bitstream-vera-fonts,mozldap,iptstate,attr,udftools,telnet,cpuspeed,compat-db,dos2unix,ncompress,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-it,man-pages-pl,man-pages-ru,libgcc,nspr,readline,libgcrypt,libxml2,libXext,svrcore,beecrypt,wireless-tools,pam_smb,libselinux,findutils,postgresql-libs,apr,dbus-libs,libutempter,man,pango,dbus,gd,bind-libs,cups-libs,device-mapper-event,which,bind-utils,conman,openldap-clients,stunnel,audit,lsof,htmlview,libglade2,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,kernel-xen-devel,python-libs,python-simplejson,dmraid,libsemanage,util-linux,exim,libuser,iscsi-initiator-utils,samba-common,gamin-python,audit-libs-python,libselinux-python,pygtk2-libglade,setools,setuptool,mod_authz_ldap,mod_perl,vsftpd,quota,nss_ldap,postgresql-jdbc,readahead,krb5-libs,neon,rhnlib,subscription-manager,yum-updateonboot,redhat-lsb,python-setuptools,nss_ldap,curl,dmraid,redhat-lsb,xorg-x11-xfs,kernel-xen,fonts-chinese,hal,rhn-client-tools,firstboot-tui,gpg-pubkey,libgcc,filesystem,nash,mailcap,tzdata,glibc,chkconfig,mktemp,popt,audit-libs,expat,libtermcap,info,libsepol,sed,freetype,nss,libxml2,procps,diffutils,libpng,libattr,ttmkfdir,make,grep,libjpeg,libICE,libidn,libusb,libgpg-error,gdbm,aspell,libXau,perl-String-CRC32,libtiff,bzip2,less,m4,libgomp,gpm,libfontenc,slang,zip,checkpolicy,virt-what,perl-DBI,svrcore,cpp,desktop-file-utils,iputils,gmp,sgpio,libnl,mailx,libvolume_id,wireless-tools,mingetty,crontabs,libX11,libXrender,libXt,libXrandr,libXfixes,jpackage-utils,libXaw,libXtst,redhat-menus,redhat-release,kernel-headers,anacron,lftp,fbset,jwhois,rsync,crash,ftp,nano,mtr,mgetty,unzip,cyrus-sasl-plain,libicu,finger,pam_smb,unix2dos,dosfstools,symlinks,pam_passwdqc,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages-de,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,ncurses,db4,libXau,expat,nss,keyutils-libs,gnutls,audit-libs,libX11,libidn,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,tcp_wrappers,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,coreutils,openssl,openldap,cairo,kpartx,fipscheck-lib,psmisc,rpm,apr-util,e2fsprogs,net-tools,dbus-glib,rsyslog,libXft,curl,nscd,libselinux-utils,gnupg,libsmbclient,fipscheck,net-snmp-libs,ruby,tcsh,cryptsetup-luks,lvm2,udev,vim-minimal,net-snmp,openswan,mysql-connector-odbc,tmpwatch,autofs,cyrus-sasl-md5,nmap,pkinit-nss,ksh,tux,mlocate,nss_db,libutempter,hicolor-icon-theme,libgcj,ruby-irb,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,logwatch,python,rhpl,libxml2-python,dbus-python,m2crypto,gettext,python-iniparse,python-dmidecode,system-config-securitylevel-tui,pam,SysVinit,httpd,vixie-cron,openssh,passwd,at,dmraid-events,kbd,antlr,python-rhsm,ntsysv,pycairo,mx,yum-metadata-parser,policycoreutils,pygtk2,PyXML,pyOpenSSL,sudo,samba-client,openssh-clients,mutt,mod_python,mod_ssl,acpid,rng-utils,irqbalance,dhcpv6-client,krb5-workstation,screen,pam_pkcs11,pam_krb5,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,cracklib,selinux-policy,yum,yum-security,yum-utils,yum-fastestmirror,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,cyrus-sasl-md5,cyrus-sasl-gssapi,cryptsetup-luks,setools,libhugetlbfs,chkfontpath,module-init-tools,hwdata,usbutils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,mkinitrd,kudzu,pm-utils,yum-rhn-plugin,system-config-network-tui,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,glibc-common,glib2,libstdc++,db4,ncurses,gawk,tcp_wrappers,binutils,libcap,cpio,keyutils-libs,libSM,file,perl,libsysfs,bc,gzip,time,libXfont,pax,perl-BSD-Resource,vim-common,iproute,ethtool,pkgconfig,libart_lgpl,hesiod,libXext,libXmu,perl-URI,libXinerama,redhat-logos,libXp,sysfsutils,acl,nss-tools,dialog,nc,beecrypt,lslk,traceroute,hdparm,setserial,glibc-devel,aspell-de,aspell-pl,man-pages,redhat-release-notes,rootfiles,glibc,libsepol,libgpg-error,sqlite,cyrus-sasl-lib,libXdmcp,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,krb5-libs,fontconfig,tar,logrotate,mysql,rpm-libs,device-mapper-multipath,neon,patch,distcache,ruby-libs,alsa-lib,MAKEDEV,mtools,xterm,postgresql-odbc,tcpdump,cyrus-sasl-gssapi,parted,vim-enhanced,gtk2,w3m,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,liberation-fonts,newt,rpm-python,pygobject2,java-1.4.2-gcj-compat,cracklib,initscripts,mcstrans,usermode,authconfig,gjdoc,python-sqlite,python-ethtool,python-numeric,python-elementtree,postgresql-python,openssh-server,webalizer,postgresql,dhclient,prelink,pam_ccreds,libhugetlbfs,device-mapper,openldap,apr-util,python-urlgrabber,yum-updatesd,selinux-policy-targeted,sos,pam_pkcs11,subversion,parted,nss_db,mkinitrd,pciutils,fonts-korean,fonts-KOI8-R-75dpi,rhnsd,rhn-setup,rhn-check'']'} > - {comment: 'Newly introduced packages: []', result: passed} > - {comment: All required package are included, result: passed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "accountId" : "567014786890",\r\n "instanceId" > : "i-f6ea6ca8",\r\n "billingProducts" : [ "bp-63a5400a" ],\r\n "imageId" > : "ami-875053c2",\r\n "architecture" : "x86_64",\r\n "pendingTime" : "2014-07-17T07:07:00Z",\r\n "instanceType" > : "t1.micro",\r\n "kernelId" : "aki-880531cd",\r\n "ramdiskId" : null,\r\n "privateIp" > : "10.171.82.159",\r\n "region" : "us-west-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-west-1c",\r\n "devpayProductCodes" : null\r\n}'']'} > - {command: '[ ''ami-875053c2'' = ''ami-875053c2'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-west-1'' = ''us-west-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 15936b6fe4e8fadcea87b54de495f975} > - {comment: /etc/rsyslog.conf md5 matches, result: passed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client, result: passed, value: "/etc/init.d/choose_repo\r\ > \n/etc/init.d/rh-cloud-firstboot\r\n/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\ > \n/etc/pki/rhui/content-rhel5.key\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt\r\n/etc/pki/rhui/rhui-client-config-server-5.key\r\ > \n/etc/yum.repos.d/redhat-rhui-client-config.repo\r\n/etc/yum.repos.d/redhat-rhui.repo\r\ > \n/etc/yum.repos.d/rhui-load-balancers.conf\r\n/etc/yum/pluginconf.d/amazon-id.conf\r\ > \n/etc/yum/pluginconf.d/rhui-lb.conf\r\n/usr/lib/yum-plugins/amazon-id.py\r\ > \n/usr/lib/yum-plugins/amazon-id.pyc\r\n/usr/lib/yum-plugins/amazon-id.pyo\r\ > \n/usr/lib/yum-plugins/rhui-lb.py\r\n/usr/lib/yum-plugins/rhui-lb.pyc\r\n\ > /usr/lib/yum-plugins/rhui-lb.pyo\r\n/usr/sbin/choose_repo.py\r\n/usr/sbin/choose_repo.pyc\r\ > \n/usr/sbin/choose_repo.pyo\r\n/usr/sbin/rh-cloud-firstboot.py\r\n/usr/sbin/rh-cloud-firstboot.pyc\r\ > \n/usr/sbin/rh-cloud-firstboot.pyo"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates, result: passed, > value: "notBefore=Aug 23 19:46:02 2011 GMT\r\nnotAfter=Nov 30 19:46:02 2017\ > \ GMT"} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-03-14 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates, > result: passed, value: "notBefore=Mar 18 11:24:54 2010 GMT\r\nnotAfter=Mar 13\ > \ 11:24:54 2030 GMT"} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates, > result: passed, value: "notBefore=Sep 19 17:57:29 2013 GMT\r\nnotAfter=Sep 17\ > \ 17:57:29 2023 GMT"} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-03-14 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates, result: passed, value: "notBefore=Mar 29 18:41:55 2012 GMT\r\ > \nnotAfter=Mar 31 18:41:55 2017 GMT"} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-03-14 00:00:00', result: passed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {command: subscription-manager list, expectation: Installed Product Status, > result: passed} > stage1:testcase_32_ephemeral: > - {comment: no ephemeral devices in block map, result: skip} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '1', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {command: passwd -S root | grep -q "Password locked", result: passed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: passed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''629760'']'} > - {command: '[ 629760 -gt 600000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} >version: '5.10'
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 1120742
: 918753