jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Gaul (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCLOUDS-672) Automatically cleaning up orphaned nova key pairs causes exceptions
Date Fri, 23 Jan 2015 21:56:34 GMT

     [ https://issues.apache.org/jira/browse/JCLOUDS-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Gaul updated JCLOUDS-672:
--------------------------------
    Component/s:     (was: jclouds-core)

> Automatically cleaning up orphaned nova key pairs causes exceptions
> -------------------------------------------------------------------
>
>                 Key: JCLOUDS-672
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-672
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.8.0
>            Reporter: Zack Shoylev
>            Assignee: Zack Shoylev
>
> cleanupOrphanedKeyPairsInRegion:
> https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/NovaComputeService.java#L156
> This uses (in containsGroup)
> https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/predicates/validators/DnsNameValidator.java
> to validate the nova key pair names. This is wrong. The API allows much more freedom
for key pair names than the DNS validator allows, causing strange exceptions for users.
> I am guessing that this most likely happens when the DNS validator is used in https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/internal/FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java#L79



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message