[
https://issues.apache.org/jira/browse/JCLOUDS-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ignasi Barrera reassigned JCLOUDS-1195:
---------------------------------------
Assignee: Ignasi Barrera
> Nova create server predicate shouldn't check the addresses
> ----------------------------------------------------------
>
> Key: JCLOUDS-1195
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1195
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 2.0.0
> Reporter: Ignasi Barrera
> Assignee: Ignasi Barrera
> Labels: openstack-nova
>
> The
> [NovaComputeServiceAdapter|https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/NovaComputeServiceAdapter.java#L142-L149]
> waits until the created server exists and has IP addresses.
> This is an issue when the server creation fails (for example because the
> selected hardware profile is too small for the image) and the server is
> returned in ERROR state. In that case, the server won't get the ip addresses
> assigned, but the adapter will wait up to 30 minutes before giving up and
> rolling back the node.
> The ip addresses check should be removed from there, and let the base jclouds
> classes handle the polling on the status of the server. The server
> transformation function should take care of properly populating the IP
> addresses, but they shouldn't be taken into account in the server creation
> polling.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)