[Thincrust-devel] ec2-creator merge into appliance-tools

Joey Boggs jboggs at redhat.com
Wed Aug 27 01:47:12 UTC 2008


I've solved the issues,

New package:   
http://rhx-xen01.rdu.redhat.com/ec2-conversion-tools/ec2-conversion-tools-001-5.thincrust.noarch.rpm

Changes made
- removed --noscripts on the kernel install, we only need the modules, 
so the file laid down in /boot are irrelevent, 
(/lib/modules/$kernelver/modules.dep wasn't being generated)
- made sure the network service is chkconfig'd on in the conversion process

Bryan, we need to add one more additional package to the ec2appliance 
kickstart for rsync for the ami-tools.

I did some more testing as well, iptables even though not chkconfig'd on 
still starts and has the default bounce all traffic rules in place. I 
can't remember how it auto starts even though it's turned off.


So rebuild using the latest package and add rsync to the kickstart, 
figure out how to disable iptables permanently or just echo "" into 
/etc/sysconfig/iptables or something in the kickstart as a temp fix.





jboggs at redhat.com wrote:
> It's gonna be the missing kernel modules for the 2.6.16 EC2 kernel. I 
> thought it worked previously with one you tried last week? You'll most 
> likely need to change the kernel to aki-a71cf9ce. You can override it 
> in elasticfox but you will need to rrbindle it to make it permanent.   
> My ISP is down eta is 1pm so one it's back up I'll verify the issue on 
> my side too.
>
>
>
> On Aug 26, 2008, at 12:42 PM, Bryan Kearney <bkearney at redhat.com> wrote:
>
>> Joey Boggs wrote:
>>> I've made the merge of ec2-conversion-tools with the 
>>> appliance-tools. Once Huff has reviewed and pushed the changes they 
>>> will be live at:  http://git.et.redhat.com/?p=act.git;a=summary 
>>> Another announcement will be made when the changes are public.
>>
>>
>> Joey:
>>
>> I tried the tools, doing the following:
>>
>> 1) Used appliance creator to build an image (with ace in it) based on 
>> the ec2Appliance manifest. This is configured with iptables off, 
>> selinux off, sshd enabled, and the ace-console installed.
>>
>> 2) I packaged it using the ec2-converter. No errors.
>>
>> 3) I did an ec2-bundle-image and then an ec2-upload-image and finally 
>> an ec2-register. The resulting ami (public) is ami-f1f51198.
>>
>> If i launche the image from (1), I can ssh in from my local machine. 
>> No issues. If I launch the result of (3) I get the console output 
>> below. I can not ssh or attach to the ace-console at port 3000.
>>
>>
>> Any ideas?
>>
>> -- bk
>>
>>
>> Linux version 2.6.16-xenU (builder at xenbat.amazonsa) (gcc version 
>> 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Mon May 28 03:41:49 SAST 2007
>> BIOS-provided physical RAM map:
>> Xen: 0000000000000000 - 000000006a400000 (usable)
>> 980MB HIGHMEM available.
>> 727MB LOWMEM available.
>> NX (Execute Disable) protection: active
>> IRQ lockup detection disabled
>> Built 1 zonelists
>> Kernel command line:  root=/dev/sda1 ro 4
>> Enabling fast FPU save and restore... done.
>> Enabling unmasked SIMD FPU exception support... done.
>> Initializing CPU#0
>> PID hash table entries: 4096 (order: 12, 65536 bytes)
>> Xen reported: 2600.000 MHz processor.
>> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>> Software IO TLB disabled
>> vmalloc area: ee000000-f53fe000, maxmem 2d7fe000
>> Memory: 1718700k/1748992k available (1958k kernel code, 20948k 
>> reserved, 620k data, 144k init, 1003528k highmem)
>> Checking if this processor honours the WP bit even in supervisor 
>> mode... Ok.
>> Calibrating delay using timer specific routine.. 5201.45 BogoMIPS 
>> (lpj=26007296)
>> Mount-cache hash table entries: 512
>> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
>> CPU: L2 Cache: 1024K (64 bytes/line)
>> Checking 'hlt' instruction... OK.
>> Brought up 1 CPUs
>> migration_cost=0
>> Grant table initialized
>> NET: Registered protocol family 16
>> Brought up 1 CPUs
>> xen_mem: Initialising balloon driver.
>> highmem bounce pool size: 64 pages
>> VFS: Disk quotas dquot_6.5.1
>> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>> Initializing Cryptographic API
>> io scheduler noop registered
>> io scheduler anticipatory registered (default)
>> io scheduler deadline registered
>> io scheduler cfq registered
>> i8042.c: No controller found.
>> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
>> Xen virtual console successfully installed as tty1
>> Event-channel device installed.
>> netfront: Initialising virtual ethernet driver.
>> mice: PS/2 mouse device common for all mice
>> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
>> md: bitmap version 4.39
>> NET: Registered protocol family 2
>> Registering block device major 8
>> IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
>> TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
>> TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
>> TCP: Hash tables configured (established 262144 bind 65536)
>> TCP reno registered
>> TCP bic registered
>> NET: Registered protocol family 1
>> NET: Registered protocol family 17
>> NET: Registered protocol family 15
>> Using IPI No-Shortcut mode
>> md: Autodetecting RAID arrays.
>> md: autorun ...
>> md: ... autorun DONE.
>> kjournald starting.  Commit interval 5 seconds
>> EXT3-fs: mounted filesystem with ordered data mode.
>> VFS: Mounted root (ext3 filesystem) readonly.
>> Freeing unused kernel memory: 144k freed
>>
>>  ***************************************************************
>>  ***************************************************************
>>  ** WARNING: Currently emulating unsupported memory accesses  **
>>  **          in /lib/tls glibc libraries. The emulation is    **
>>  **          slow. To ensure full performance you should      **
>>  **          install a 'xen-friendly' (nosegneg) version of   **
>>  **          the library, or disable tls support by executing **
>>  **          the following as root:                           **
>>  **          mv /lib/tls /lib/tls.disabled                    **
>>  ** Offending process: init (pid=1)                           **
>>  ***************************************************************
>>  ***************************************************************
>>
>> Pausing... 5Pausing... 4Pausing... 3Pausing... 
>> 2Pausing... 1Continuing...
>>        Welcome to Fedora
>>        Press 'I' to enter interactive startup.
>> Starting udev: [  OK  ]
>> Setting hostname localhost.localdomain:  [  OK  ]
>> Checking filesystems
>> Checking all file systems.
>> [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1
>> /dev/sda1: clean, 19136/45216 files, 117565/180736 blocks
>> [/sbin/fsck.ext3 (1) -- /mnt] fsck.ext3 -a /dev/sda2
>> ext2fs_check_if_mount: No such file or directory while determining 
>> whether /dev/sda2 is mounted.
>> /dev/sda2: Adding dirhash hint to filesystem.
>> /dev/sda2: clean, 11/19546112 files, 661385/39088128 blocks
>> [  OK  ]
>> Remounting root filesystem in read-write mode:  [  OK  ]
>> Mounting local filesystems:  [  OK  ]
>> Enabling /etc/fstab swaps:  [  OK  ]
>> Entering non-interactive startup
>> ip6tables: Applying firewall rules: modprobe: FATAL: Could not load 
>> /lib/modules/2.6.16-xenU/modules.dep: No such file or directory
>> FATAL: Could not load /lib/modules/2.6.16-xenU/modules.dep: No such 
>> file or directory
>> modprobe: FATAL: Could not load /lib/modules/2.6.16-xenU/modules.dep: 
>> No such file or directory
>> ip6tables-restore v1.4.1.1: ip6tables-restore: unable to initialize 
>> table 'filter'
>> Error occurred at line: 3
>> Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more 
>> information.
>> [FAILED]
>> iptables: Applying firewall rules: FATAL: Could not load 
>> /lib/modules/2.6.16-xenU/modules.dep: No such file or directory
>> iptables-restore v1.4.1.1: iptables-restore: unable to initialize 
>> table 'filter'
>> Error occurred at line: 3
>> Try `iptables-restore -h' or 'iptables-restore --help' for more 
>> information.
>> [FAILED]
>> Starting system logger: [  OK  ]
>> Starting system message bus: [  OK  ]
>> Generating SSH1 RSA host key: [  OK  ]
>> Generating SSH2 RSA host key: [  OK  ]
>> Generating SSH2 DSA host key: [  OK  ]
>> Starting sshd: [  OK  ]
>> Starting crond: [  OK  ][  OK  ]
>> curl: (7) Failed to connect to 169.254.169.254: Network is unreachable
>> Updating ec2-ami-tools
>> curl: (6) Couldn't resolve host 's3.amazonaws.com'
>> c
>> Fedora release 9 (Sulphur)
>> Kernel 2.6.16-xenU on an i686 (tty1)
>> localhost log
>>
>>
>>
>> _______________________________________________
>> Thincrust-devel mailing list
>> Thincrust-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/thincrust-devel
>
> _______________________________________________
> Thincrust-devel mailing list
> Thincrust-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/thincrust-devel




More information about the Thincrust-devel mailing list