[
https://issues.apache.org/jira/browse/BROOKLYN-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Harris updated BROOKLYN-114:
-----------------------------------
Description:
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
> 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)