{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/vcd-cli/issues/249","repository_url":"https://api.github.com/repos/vmware/vcd-cli","labels_url":"https://api.github.com/repos/vmware/vcd-cli/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/vmware/vcd-cli/issues/249/comments","events_url":"https://api.github.com/repos/vmware/vcd-cli/issues/249/events","html_url":"https://github.com/vmware/vcd-cli/issues/249","id":366959337,"node_id":"MDU6SXNzdWUzNjY5NTkzMzc=","number":249,"title":"OVF upload to catalog fails","user":{"login":"mgaruccio","id":3801085,"node_id":"MDQ6VXNlcjM4MDEwODU=","avatar_url":"https://avatars1.githubusercontent.com/u/3801085?v=4","gravatar_id":"","url":"https://api.github.com/users/mgaruccio","html_url":"https://github.com/mgaruccio","followers_url":"https://api.github.com/users/mgaruccio/followers","following_url":"https://api.github.com/users/mgaruccio/following{/other_user}","gists_url":"https://api.github.com/users/mgaruccio/gists{/gist_id}","starred_url":"https://api.github.com/users/mgaruccio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgaruccio/subscriptions","organizations_url":"https://api.github.com/users/mgaruccio/orgs","repos_url":"https://api.github.com/users/mgaruccio/repos","events_url":"https://api.github.com/users/mgaruccio/events{/privacy}","received_events_url":"https://api.github.com/users/mgaruccio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-04T20:34:16Z","updated_at":"2018-10-08T19:58:40Z","closed_at":null,"author_association":"NONE","body":"When attempting to upload an OVF to a catalog the upload fails almost immediately with the error below.  The console then shows an in-progress import that remains stuck at 1% until it is manually cancelled. \r\n\r\nvcd version: 9.5.9851390\r\ncli version: 21.0.0\r\npython version: 3.6.6\r\n\r\nvcd catalog upload -i ubuntu-16.04-server-cloudimg-amd64-k8s cse ubuntu-16.04-server-cloudimg-amd64.ova\r\nInsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.\r\nTraceback (most recent call last):\r\n  File \"/home/mike/.local/lib/python3.6/site-packages/pyvcloud/vcd/org.py\", line 617, in upload_ovf\r\n    EntityType.TEXT_XML.value)\r\n  File \"/home/mike/.local/lib/python3.6/site-packages/pyvcloud/vcd/client.py\", line 990, in put_resource\r\n    objectify_results=objectify_results)\r\n  File \"/home/mike/.local/lib/python3.6/site-packages/pyvcloud/vcd/client.py\", line 830, in _do_request\r\n    response), _objectify_response(response, objectify_results))\r\n  File \"/home/mike/.local/lib/python3.6/site-packages/pyvcloud/vcd/client.py\", line 611, in _get_response_request_id\r\n    return response.headers[self._REQUEST_ID_HDR_NAME]\r\n  File \"/home/mike/.local/lib/python3.6/site-packages/requests/structures.py\", line 52, in __getitem__\r\n    return self._store[key.lower()][1]\r\nKeyError: 'x-vmware-vcloud-request-id'\r\n\r\nUsage: vcd catalog upload [OPTIONS] <catalog-name> <file-name>\r\nTry \"vcd catalog upload -h\" for help.\r\n\r\nError: Ovf upload failed"},"comment":{"url":"https://api.github.com/repos/vmware/vcd-cli/issues/comments/427960347","html_url":"https://github.com/vmware/vcd-cli/issues/249#issuecomment-427960347","issue_url":"https://api.github.com/repos/vmware/vcd-cli/issues/249","id":427960347,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzk2MDM0Nw==","user":{"login":"rocknes","id":4933668,"node_id":"MDQ6VXNlcjQ5MzM2Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/4933668?v=4","gravatar_id":"","url":"https://api.github.com/users/rocknes","html_url":"https://github.com/rocknes","followers_url":"https://api.github.com/users/rocknes/followers","following_url":"https://api.github.com/users/rocknes/following{/other_user}","gists_url":"https://api.github.com/users/rocknes/gists{/gist_id}","starred_url":"https://api.github.com/users/rocknes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rocknes/subscriptions","organizations_url":"https://api.github.com/users/rocknes/orgs","repos_url":"https://api.github.com/users/rocknes/repos","events_url":"https://api.github.com/users/rocknes/events{/privacy}","received_events_url":"https://api.github.com/users/rocknes/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T19:58:40Z","updated_at":"2018-10-08T19:58:40Z","author_association":"CONTRIBUTOR","body":"``BrokenPipeError: [Errno 32] Broken pipe`` - vCD is hanging up on the connection.\r\n\r\nvCD team is aware of this bug, and it's being tracked internally. I will get in touch with them and try to see if they can find out why vCD is closing the connection on clients."}}
{"actor":{"display_login":"rocknes"}}