You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2015/01/23 22:56:34 UTC
[jira] [Updated] (JCLOUDS-672) Automatically cleaning up orphaned
nova key pairs causes exceptions
[ 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)