Comment 1 for bug 1077875

Revision history for this message
Tomas Karasek (tomas-karasek) wrote :

hi, more investigation showed me that the def get_public_ssh_keys(self) is indeed implemented in DataSource class in sources/__init__.py. However, the "isinstance" test for self.metadata['public-keys'] doesn't work as expected. It seems it's because self.metadata is instance of boto.utils.LazyLoadMetadata and the value on 'public-keys' is not evaluated.

when putting "print self.metadata['public-keys']" before the isinstance checks, the public key is properly downloaded.

Is this addressed in some bug or fix yet?