[ https://issues.apache.org/jira/browse/JCLOUDS-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16589805#comment-16589805 ]
Ignasi Barrera commented on JCLOUDS-1444: ----------------------------------------- As a workaround you can configure the {{jclouds regions}} property with the list of regions you want to use and jclouds should only hit those regions. > Outage on any endpoint in catalog blocks usage of other endpoints > ----------------------------------------------------------------- > > Key: JCLOUDS-1444 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1444 > Project: jclouds > Issue Type: Bug > Components: jclouds-compute > Affects Versions: 2.1.1 > Environment: OVH OpenStack > Reporter: Gilles Coremans > Priority: Major > Labels: NovaComputeService, openstack, openstack-nova > > I was trying to create a template using the ComputeService backed by the nova > API (I was connecting to OVH, which does not have a jClouds provider). > However, one of their regions was down for maintenance. This caused the > following error: > {code:java} > SEVERE: Cannot retry after server error, command has exceeded retry limit 5: > [method=org.jclouds.openstack.nova.v2_0.features.ImageApi.public abstract > org.jclouds.collect.PagedIterable > org.jclouds.openstack.nova.v2_0.features.ImageApi.listInDetail()[], > request=GET https://compute.bhs3.cloud.ovh.net/v2/[tenant]/images/detail > HTTP/1.1{code} > I feel that jClouds shold handle this case gracefully and simply skip the > offending API, rather than failing with NullPointerExceptions and making it > impossible to create templates as long as any endpoint is down for whatever > reason. > This is the reply one gets when querying the given URL directly: > {code:java} > $ curl https://compute.bhs3.cloud.ovh.net/v2/[tenant]/images/detail > curl: (52) Empty reply from server > {code} > I verified on OVH's site that this region was indeed down for maintenance: > [http://travaux.ovh.net/?do=details&id=32795&PHPSESSID=b0747f889c42d0b97fedeb393cc16b0e|http://travaux.ovh.net/?do=details&id=32795&PHPSESSID=b0747f889c42d0b97fedeb393cc16b0e)] -- This message was sent by Atlassian JIRA (v7.6.3#76005)