Re: Error creating ebsimage. (ver 0.92)
Hi Paolo,
My apologies for the delay. From the output you sent it's clear that the
ebsimage command completed successfully, however, for some reason
paramiko threads are not being shutdown before the main thread exits. I
believe this is a bug in paramiko but it could also be a bug in
StarCluster. In any event I'm unable to reproduce it...
Is this reproducible for you? I've found others having similar issues
with paramiko even in the simplest cases where they explicitly close
paramiko connections before the main thread closes:
https://github.com/robey/paramiko/issues/17
Also, which Python version are you using? The issue above mentions it
happens on 2.7.2 but not on some 2.6 versions...
~Justin
On 10/19/2011 08:30 AM, Paolo Di Tommaso wrote:
> Dear All,
>
> I got the following error creating an EBS using StarCluster 0.92
>
>
> $ starcluster ebsimage i-4c92842c robusta-ebs
> StarCluster - (http://web.mit.edu/starcluster) (v. 0.92)
> Software Tools for Academics and Researchers (STAR)
> Please submit bug reports to starcluster_at_mit.edu
> <mailto:starcluster_at_mit.edu>
>
>>>> Removing private data...
>>>> Creating new EBS-backed image from instance-store instance
>>>> Creating new root volume...
>>>> Created new volume: vol-698d8803
>>>> Attaching volume vol-698d8803 to instance i-4c92842c on /dev/sdz
>>>> Mounting /dev/sdz on /ebs
>>>> Configuring /etc/fstab
>>>> Syncing root filesystem to new volume (vol-698d8803)
>>>> Unmounting /dev/sdz from /ebs
>>>> Detaching volume /dev/sdz from /ebs
>>>> Creating snapshot of volume: vol-698d8803
>>>> Waiting for snapshot to complete: snap-805762e3
> snap-805762e3: |||||||||||||||||||||||||||||||||||||||||||||100% Time:
> 00:08:11
>>>> New snapshot created: snap-805762e3
>>>> Removing generated volume vol-698d8803
>>>> Creating root block device map using snapshot snap-805762e3
>>>> Registering new image...
>>>> create_image took 11.732 mins
>>>> Your new AMI id is: ami-33b7785a
> Exception in thread Thread-1 (most likely raised during interpreter
> shutdown):
> Traceback (most recent call last):
> File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/transport.py",
> line 1587, in run
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/channel.py",
> line 1128, in _unlink
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/channel.py",
> line 1089, in _set_closed
> File
> "/usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/buffered_pipe.py",
> line 182, in close
> File "/usr/lib/python2.6/threading.py", line 289, in notifyAll
> <type 'exceptions.TypeError'>: 'NoneType' object is not callable
>
>
> Thanks,
> Paolo
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
Received on Mon Oct 31 2011 - 15:39:29 EDT
This archive was generated by
hypermail 2.3.0.