You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/05/22 14:31:00 UTC

[jira] [Commented] (JCLOUDS-1421) Images created by the ImageExtension may lack the mandatory default credentials

    [ https://issues.apache.org/jira/browse/JCLOUDS-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484051#comment-16484051 ] 

ASF subversion and git services commented on JCLOUDS-1421:
----------------------------------------------------------

Commit b76a594e816b0c04a8382b1876e160ae4581ae09 in jclouds's branch refs/heads/master from [~nacx]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=b76a594 ]

JCLOUDS-1421: Add default credentials to images created by the ImageExtension

By default, when listing images the ComputeServiceAdapter adds the
default credentials for each image. This is not done when images are
created by the image extension, and NPEs can appear in code that assumes
the default credentials are there, as the field is not nullable.

This change tries to populate the known node credentials for images
created form nodes, and falls back to the default strategy to add the
default credentials to an image if there are not known credentials.


> Images created by the ImageExtension may lack the mandatory default credentials
> -------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1421
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1421
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-compute
>    Affects Versions: 2.1.0
>            Reporter: Ignasi Barrera
>            Assignee: Ignasi Barrera
>            Priority: Major
>
> When creating images using the {{ImageExtension}} the resulting image might not have the default credentials field populated. This is the responsibility of the provider code but since jclouds already has strategies to populate default credentials for each image, it should fallback to those strategies if the resulting {{Image}} does not have the mandatory default credentials.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)