{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/container-service-extension/issues/170","repository_url":"https://api.github.com/repos/vmware/container-service-extension","labels_url":"https://api.github.com/repos/vmware/container-service-extension/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/vmware/container-service-extension/issues/170/comments","events_url":"https://api.github.com/repos/vmware/container-service-extension/issues/170/events","html_url":"https://github.com/vmware/container-service-extension/issues/170","id":387104347,"node_id":"MDU6SXNzdWUzODcxMDQzNDc=","number":170,"title":"CSE install fails with temp vApp deletion in 1.2.5","user":{"login":"jondwaite","id":2012772,"node_id":"MDQ6VXNlcjIwMTI3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2012772?v=4","gravatar_id":"","url":"https://api.github.com/users/jondwaite","html_url":"https://github.com/jondwaite","followers_url":"https://api.github.com/users/jondwaite/followers","following_url":"https://api.github.com/users/jondwaite/following{/other_user}","gists_url":"https://api.github.com/users/jondwaite/gists{/gist_id}","starred_url":"https://api.github.com/users/jondwaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondwaite/subscriptions","organizations_url":"https://api.github.com/users/jondwaite/orgs","repos_url":"https://api.github.com/users/jondwaite/repos","events_url":"https://api.github.com/users/jondwaite/events{/privacy}","received_events_url":"https://api.github.com/users/jondwaite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-04T03:30:41Z","updated_at":"2018-12-04T03:39:37Z","closed_at":null,"author_association":"NONE","body":"Performing template upgrade with v1.2.5, cse install fails when attempting to remove the temporary vApp after customization has completed (successfully) and the vApp capture to catalog completed (again successfully):\r\n\r\n```\r\n...\r\nCustomized vApp 'photon2-temp'\r\nCreating template 'photon-custom-hw11-2.0-304b817-k8s' from vApp 'photon2-temp'\r\nvappShutdownGuest: Shutting down Virtual Application photon2-temp(846b9340-6726-4278-9c8d-c36bd8ae08ed)\r\nvappShutdownGuest: Shutting down Virtual Application photon2-temp(846b9340-6726-4278-9c8d-c36bd8ae08ed)\r\ntask: 9c1078e5-42a7-40e3-bc75-d5fe6c863bcd, Shut down Virtual Application photon2-temp(846b9340-6726-4278-9c8d-c36bd8ae08ed), result: success\r\nvdcCaptureTemplate: Capturing Virtual Application Template photon-custom-hw11-2.0-304b817-k8s(55c854e8-0538-461f-bf7c-c48edbb8deda)\r\nvdcCaptureTemplate: Capturing Virtual Application Template photon-custom-hw11-2.0-304b817-k8s(55c854e8-0538-461f-bf7c-c48edbb8deda)\r\ntask: f788ffa0-66dc-4e76-afde-ce56dac8a01b, Captured Virtual Application Template photon-custom-hw11-2.0-304b817-k8s(55c854e8-0538-461f-bf7c-c48edbb8deda), result: success\r\nCreated template 'photon-custom-hw11-2.0-304b817-k8s' from vApp 'photon2-temp'\r\nDeleting vApp 'photon2-temp'\r\nTraceback (most recent call last):\r\n  File \"/home/cse/cse/bin/cse\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/click/core.py\", line 764, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/click/core.py\", line 717, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/click/core.py\", line 1137, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/click/core.py\", line 956, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/container_service_extension/cse.py\", line 227, in install\r\n    amqp_install=amqp_install, ext_install=ext_install)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/container_service_extension/config.py\", line 516, in install_cse\r\n    org=org)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/container_service_extension/config.py\", line 620, in create_template\r\n    task = vdc.delete_vapp(vapp_name, force=True)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/pyvcloud/vcd/vdc.py\", line 145, in delete_vapp\r\n    href = self.get_resource_href(name)\r\n  File \"/home/cse/cse/lib64/python3.6/site-packages/pyvcloud/vcd/vdc.py\", line 100, in get_resource_href\r\n    raise EntityNotFoundException('vApp named \\'%s\\' not found' % name)\r\npyvcloud.vcd.exceptions.EntityNotFoundException: vApp named 'photon2-temp' not found\r\n```\r\n\r\nExact same issue with the ubuntu-16.04 template (ubuntu1604-temp not found). Since capture of the vApp has completed at the stage where this happens you can complete the install using the --template option to pick the 'other' one."},"comment":{"url":"https://api.github.com/repos/vmware/container-service-extension/issues/comments/443959217","html_url":"https://github.com/vmware/container-service-extension/issues/170#issuecomment-443959217","issue_url":"https://api.github.com/repos/vmware/container-service-extension/issues/170","id":443959217,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzk1OTIxNw==","user":{"login":"jondwaite","id":2012772,"node_id":"MDQ6VXNlcjIwMTI3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2012772?v=4","gravatar_id":"","url":"https://api.github.com/users/jondwaite","html_url":"https://github.com/jondwaite","followers_url":"https://api.github.com/users/jondwaite/followers","following_url":"https://api.github.com/users/jondwaite/following{/other_user}","gists_url":"https://api.github.com/users/jondwaite/gists{/gist_id}","starred_url":"https://api.github.com/users/jondwaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondwaite/subscriptions","organizations_url":"https://api.github.com/users/jondwaite/orgs","repos_url":"https://api.github.com/users/jondwaite/repos","events_url":"https://api.github.com/users/jondwaite/events{/privacy}","received_events_url":"https://api.github.com/users/jondwaite/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T03:39:37Z","updated_at":"2018-12-04T03:39:37Z","author_association":"NONE","body":"One other thing I forgot to mention - when attempting to manually delete the remaining vApp templates, this isn't possible until the vApp is powered-off (even though the status on the vApp already says powered-off), possible that there is a vApp refresh/synchronisation issue preventing the deletion from succeeding."}}
{"actor":{"display_login":"jondwaite"}}