From: Jan Provaznik jprovazn@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=741939 changed key generation accroding to changes in new deltacloud-client lib --- src/app/models/instance.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/models/instance.rb b/src/app/models/instance.rb index 735f7d7..e6bb17a 100644 --- a/src/app/models/instance.rb +++ b/src/app/models/instance.rb @@ -247,7 +247,7 @@ class Instance < ActiveRecord::Base client = self.provider_account.connect return nil unless client && client.feature?(:instances, :authentication_key) if key = client.create_key(:name => key_name) - self.instance_key = InstanceKey.create!(:pem => key.pem.first, :name => key.id, :instance => self) + self.instance_key = InstanceKey.create!(:pem => key.pem, :name => key.id, :instance => self) self.save! end end
aeolus-devel@lists.fedorahosted.org