<div dir="ltr">Justin.<div><br></div><div style>When I run this script I get two errors.</div><div style><br></div><div style>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/ ...</div>
<div style><br></div><div style><br></div><div style>2. When I run the script after solving problem 1, I get the following errors:</div><div style><br></div><div style><div>Err <a href="http://www.cs.wisc.edu">http://www.cs.wisc.edu</a> lenny/contrib Sources </div>
<div> 404 Not Found</div><div>Ign <a href="http://www.cs.wisc.edu">http://www.cs.wisc.edu</a> lenny/contrib Translation-en </div>
<div>Fetched 2805 kB in 9s (311 kB/s) </div><div>W: Failed to fetch <a href="http://www.cs.wisc.edu/condor/debian/development/dists/lenny/contrib/source/Sources">http://www.cs.wisc.edu/condor/debian/development/dists/lenny/contrib/source/Sources</a> 404 Not Found</div>
<div><br></div><div>E: Some index files failed to download. They have been ignored, or old ones used instead.</div><div>Traceback (most recent call last):</div><div> File "scimage.py", line 612, in <module></div>
<div> main()</div><div> File "scimage.py", line 590, in main</div><div> upgrade_packages()</div><div> File "scimage.py", line 274, in upgrade_packages</div><div> apt_command('update')</div>
<div> File "scimage.py", line 228, in apt_command</div><div> run_command(cmd)</div><div> File "scimage.py", line 216, in run_command</div><div> raise Exception(errmsg)</div><div>Exception: command 'DEBIAN_FRONTEND='noninteractive' apt-get -o Dpkg::Options::='--force-confnew' -y --force-yes update' failed with status 100</div>
<div><br></div><div><br></div><div style>I investigated the addresses and it is true that the directory does not exist. <a href="http://www.cs.wisc.edu/condor/debian/development/dists/lenny/contrib/">http://www.cs.wisc.edu/condor/debian/development/dists/lenny/contrib/</a> has the following directories</div>
<div style><br></div><div style>binary-amd64/<br></div><div style>binary-i386/<br></div><div style><br></div><div style>Cheers.</div><div style><br></div><div style>Ed.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 13 February 2013 13:55, Ed Morris <span dir="ltr"><<a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks Justin.<div><br></div><div>One question, once you have run the script, how do you then register it as an AMI?</div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div><br>
</div><div>Ed.</div>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 February 2013 08:28, Justin Riley <span dir="ltr"><<a href="mailto:justin.t.riley@gmail.com" target="_blank">justin.t.riley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ed,<br>
<br>
The latest AMI build script is available here:<br>
<br>
<a href="https://github.com/jtriley/StarCluster/blob/develop/utils/scimage.py" target="_blank">https://github.com/jtriley/StarCluster/blob/develop/utils/scimage.py</a><br>
<br>
It's pretty rudimentary but gets the job done. There are some<br>
instructions in the header about downloading a Ubuntu cloud image from<br>
<a href="http://uec-images.ubuntu.com" target="_blank">uec-images.ubuntu.com</a>, chrooting, and running the script inside the<br>
chroot as root. You can either do this on an EC2 instance on an<br>
attached EBS volume or in a chroot on your local machine.<br>
<br>
HTH,<br>
<br>
~Justin<br>
<div><div><br>
On Wed, Feb 6, 2013 at 10:41 AM, Ed Morris <<a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a>> wrote:<br>
> Hi.<br>
><br>
> I was wondering, would anyone be able to provide an update to the cookbook<br>
> on the Wiki page (here) for installing a newer version of Ubuntu HVM for use<br>
> on compute cluster nodes?<br>
><br>
> I require the use of glibc 2.14 or above, and current AMI's for HVM versions<br>
> are limited to version 11.10, which uses glibc 2.13.<br>
><br>
> Thanks.<br>
><br>
> Ed.<br>
><br>
> --<br>
> Ed Morris<br>
> ------------------------------------------------<br>
> email: <a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a><br>
> phone:<br>
><br>
</div></div>> _______________________________________________<br>
> StarCluster mailing list<br>
> <a href="mailto:StarCluster@mit.edu" target="_blank">StarCluster@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ed Morris<br>------------------------------------------------<br>email: <a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a><br>phone:
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ed Morris<br>------------------------------------------------<br>email: <a href="mailto:ecm200@gmail.com">ecm200@gmail.com</a><br>phone:
</div>