You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Aled Sage (JIRA)" <ji...@apache.org> on 2015/01/16 11:25:34 UTC

[jira] [Resolved] (BROOKLYN-114) waitForTask in advanced-networking NatService hangs

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

Aled Sage resolved BROOKLYN-114.
--------------------------------
    Resolution: Fixed

Underlying cause was same as for BROOKLYN-106 (i.e. fixed by changing our API calls being made to add/remove NAT rules).

See https://github.com/brooklyncentral/advanced-networking/pull/22 for further discussion of code changes, which will really just be about adding comments about it.

> waitForTask in advanced-networking NatService hangs
> ---------------------------------------------------
>
>                 Key: BROOKLYN-114
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-114
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Martin Harris
>            Assignee: Martin Harris
>
> When deploying to a vcloud-director VM, occasionally the `task.waitForTask(0)` line in the `waitForTask` method in NatService in the vcloud-director project will hang indefinitely
> In the log, there are several calls to the API endpoint, as follows:
> 2015-01-08 13:55:42,835 INFO  com.vmware.vcloud.sdk [brooklyn-execmanager-D1YJVmTn-105]: GET URL - https://<domain removed>/api/admin/extension
> 2015-01-08 13:55:42,836 INFO  com.vmware.vcloud.sdk [brooklyn-execmanager-D1YJVmTn-105]: GET URL - https://<domain removed>/api/admin/extension
> 2015-01-08 13:55:42,836 INFO  com.vmware.vcloud.sdk [brooklyn-execmanager-D1YJVmTn-105]: GET URL - https://<domain removed>/api/admin/extension
> 2015-01-08 13:55:43,001 INFO  com.vmware.vcloud.sdk [brooklyn-execmanager-D1YJVmTn-105]: Status Code - 200
> 2015-01-08 13:55:43,001 INFO  com.vmware.vcloud.sdk [brooklyn-execmanager-D1YJVmTn-105]: Status - OK
> 2015-01-08 13:55:43,042 INFO  com.vmware.vcloud.sdk [brooklyn-execmanager-D1YJVmTn-105]: Response - <?xml version="1.0" encoding="UTF-8"?>
> <vmext:VMWExtension xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5" type="application/vnd.vmware.admin.vmwExtension+xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://<domain removed>/api/v1.5/schema/vmwextensions.xsd"></vmext:VMWExtension>
> However, after a few successful calls the log shows the same GET calls, but the response is missing and the call to `task.waitForTask(0)` hangs indefinitely



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