[StarCluster] Updated cookbook for preparation of Ubuntu 12.04 or 12.10 HVM for starcluster

Ed Morris ecm200 at gmail.com
Wed Feb 13 08:57:19 EST 2013


Justin.

When I run this script I get two errors.

1. When chrooting the image, the resulting terminal no longer has internet
access as the resolv.conf link in /etc is broken as there is nothing in
/var/run or /run. The way I got around this was copying /etc/resolf.conf
from my native environment to /tmp/imag/run/ ...


2. When I run the script after solving problem 1, I get the following
errors:

Err http://www.cs.wisc.edu lenny/contrib Sources


  404  Not Found
Ign http://www.cs.wisc.edu lenny/contrib Translation-en


Fetched 2805 kB in 9s (311 kB/s)


W: Failed to fetch
http://www.cs.wisc.edu/condor/debian/development/dists/lenny/contrib/source/Sources
404  Not Found

E: Some index files failed to download. They have been ignored, or old ones
used instead.
Traceback (most recent call last):
  File "scimage.py", line 612, in <module>
    main()
  File "scimage.py", line 590, in main
    upgrade_packages()
  File "scimage.py", line 274, in upgrade_packages
    apt_command('update')
  File "scimage.py", line 228, in apt_command
    run_command(cmd)
  File "scimage.py", line 216, in run_command
    raise Exception(errmsg)
Exception: command 'DEBIAN_FRONTEND='noninteractive' apt-get -o
Dpkg::Options::='--force-confnew' -y --force-yes update' failed with status
100


I investigated the addresses and it is true that the directory does not
exist. http://www.cs.wisc.edu/condor/debian/development/dists/lenny/contrib/has
the following directories

binary-amd64/
binary-i386/

Cheers.

Ed.


On 13 February 2013 13:55, Ed Morris <ecm200 at gmail.com> wrote:

> Thanks Justin.
>
> One question, once you have run the script, how do you then register it as
> an AMI?
>
> Thanks.
>
> Ed.
>
>
> On 13 February 2013 08:28, Justin Riley <justin.t.riley at gmail.com> wrote:
>
>> Hi Ed,
>>
>> The latest AMI build script is available here:
>>
>> https://github.com/jtriley/StarCluster/blob/develop/utils/scimage.py
>>
>> It's pretty rudimentary but gets the job done. There are some
>> instructions in the header about downloading a Ubuntu cloud image from
>> uec-images.ubuntu.com, chrooting, and running the script inside the
>> chroot as root. You can either do this on an EC2 instance on an
>> attached EBS volume or in a chroot on your local machine.
>>
>> HTH,
>>
>> ~Justin
>>
>> On Wed, Feb 6, 2013 at 10:41 AM, Ed Morris <ecm200 at gmail.com> wrote:
>> > Hi.
>> >
>> > I was wondering, would anyone be able to provide an update to the
>> cookbook
>> > on the Wiki page (here) for installing a newer version of Ubuntu HVM
>> for use
>> > on compute cluster nodes?
>> >
>> > I require the use of glibc 2.14 or above, and current AMI's for HVM
>> versions
>> > are limited to version 11.10, which uses glibc 2.13.
>> >
>> > Thanks.
>> >
>> > Ed.
>> >
>> > --
>> > Ed Morris
>> > ------------------------------------------------
>> > email: ecm200 at gmail.com
>> > phone:
>> >
>> > _______________________________________________
>> > StarCluster mailing list
>> > StarCluster at mit.edu
>> > http://mailman.mit.edu/mailman/listinfo/starcluster
>> >
>>
>
>
>
> --
> Ed Morris
> ------------------------------------------------
> email: ecm200 at gmail.com
> phone:
>



-- 
Ed Morris
------------------------------------------------
email: ecm200 at gmail.com
phone:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20130213/aaa03c00/attachment-0001.htm


More information about the StarCluster mailing list