jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1249) IllegalArgumentException when rolling back servers in openstack-nova
Date Mon, 06 Mar 2017 10:25:32 GMT

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

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

Commit 95759292468b0dbfb5d3eda972f3b24dd117c826 in jclouds's branch refs/heads/2.0.x from
[~nacx]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=9575929 ]

JCLOUDS-1249: Fix OpenStack server rollback


> IllegalArgumentException when rolling back servers in openstack-nova
> --------------------------------------------------------------------
>
>                 Key: JCLOUDS-1249
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1249
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 2.0.1
>            Reporter: Ignasi Barrera
>              Labels: openstack-nova
>
> When trying to rollback a server in OpenStack Nova, we are passing the ID in an invalid
format to the cleanup strategy, leading to an IllegalArgumentException:
> {code}
> Caused by: java.lang.IllegalArgumentException: id must be in format regionId/id
>     at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125)
>     at org.jclouds.openstack.nova.v2_0.domain.regionscoped.RegionAndId.fromSlashEncoded(RegionAndId.java:31)
>     at org.jclouds.openstack.nova.v2_0.compute.functions.CleanupServer.apply(CleanupServer.java:67)
>     at org.jclouds.openstack.nova.v2_0.compute.NovaComputeServiceAdapter.destroyNode(NovaComputeServiceAdapter.java:269)
>     at org.jclouds.openstack.nova.v2_0.compute.NovaComputeServiceAdapter.createNodeWithGroupEncodedIntoName(NovaComputeServiceAdapter.java:152)
>     at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.createNodeWithGroupEncodedIntoName(AdaptingComputeServiceStrategies.java:196)
>     at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:81)
>     at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet$AddNode.call(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:64)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>     at java.lang.Thread.run(Thread.java:745)
>     at java.lang.Thread.getStackTrace(Thread.java:1552)
>     at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:169)
>     at org.jclouds.openstack.nova.v2_0.compute.strategy.ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.createNodeInGroupWithNameAndTemplate(ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.java:161)
>     at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:124)
>     at org.jclouds.openstack.nova.v2_0.compute.strategy.ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet.java:154)
>     at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:217)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message