{"action":"created","issue":{"url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/issues/46","repository_url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci","labels_url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/issues/46/comments","events_url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/issues/46/events","html_url":"https://github.com/cloudbase/cloudbase-init-ci/pull/46","id":178026663,"number":46,"title":"Improved Cloudbase-Init installation logic","user":{"login":"dtoncu","id":20988548,"avatar_url":"https://avatars.githubusercontent.com/u/20988548?v=3","gravatar_id":"","url":"https://api.github.com/users/dtoncu","html_url":"https://github.com/dtoncu","followers_url":"https://api.github.com/users/dtoncu/followers","following_url":"https://api.github.com/users/dtoncu/following{/other_user}","gists_url":"https://api.github.com/users/dtoncu/gists{/gist_id}","starred_url":"https://api.github.com/users/dtoncu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtoncu/subscriptions","organizations_url":"https://api.github.com/users/dtoncu/orgs","repos_url":"https://api.github.com/users/dtoncu/repos","events_url":"https://api.github.com/users/dtoncu/events{/privacy}","received_events_url":"https://api.github.com/users/dtoncu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T10:46:18Z","updated_at":"2016-09-20T10:46:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/pulls/46","html_url":"https://github.com/cloudbase/cloudbase-init-ci/pull/46","diff_url":"https://github.com/cloudbase/cloudbase-init-ci/pull/46.diff","patch_url":"https://github.com/cloudbase/cloudbase-init-ci/pull/46.patch"},"body":"There are cases when Cloudbase-Init installation, for some reasons, may\r\nfail.\r\nImproved install_cbinit method logic by adding Retry - If Condition, check\r\nCloudbase-Init installation method and Cloudbase-Init clean up method."},"comment":{"url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/issues/comments/248266898","html_url":"https://github.com/cloudbase/cloudbase-init-ci/pull/46#issuecomment-248266898","issue_url":"https://api.github.com/repos/cloudbase/cloudbase-init-ci/issues/46","id":248266898,"user":{"login":"dtoncu","id":20988548,"avatar_url":"https://avatars.githubusercontent.com/u/20988548?v=3","gravatar_id":"","url":"https://api.github.com/users/dtoncu","html_url":"https://github.com/dtoncu","followers_url":"https://api.github.com/users/dtoncu/followers","following_url":"https://api.github.com/users/dtoncu/following{/other_user}","gists_url":"https://api.github.com/users/dtoncu/gists{/gist_id}","starred_url":"https://api.github.com/users/dtoncu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtoncu/subscriptions","organizations_url":"https://api.github.com/users/dtoncu/orgs","repos_url":"https://api.github.com/users/dtoncu/repos","events_url":"https://api.github.com/users/dtoncu/events{/privacy}","received_events_url":"https://api.github.com/users/dtoncu/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T10:46:46Z","updated_at":"2016-09-20T10:46:46Z","body":"2016-09-20 03:17:03,788 - argus - INFO - Trying to install Cloudbase-Init ...\r\n2016-09-20 03:17:03,789 - argus - INFO - Running the downloaded installation script using the installer 'CloudbaseInitSetup_Beta_x64.msi'.\r\n2016-09-20 03:17:03,789 - argus - DEBUG - Executing resource script windows/installCBinit.ps1 with this parameters -installer CloudbaseInitSetup_Beta_x64.msi\r\n2016-09-20 03:17:03,789 - argus - DEBUG - Downloading from https://raw.githubusercontent.com/cloudbase/cloudbase-init-ci/master/argus/resources/windows/installCBinit.ps1 to C:\\installCBinit.ps1\r\n2016-09-20 03:17:03,789 - argus - INFO - Running command Invoke-WebRequest -Uri https://raw.githubusercontent.com/cloudbase/cloudbase-init-ci/master/argus/resources/windows/installCBinit.ps1 -OutFile \"C:\\installCBinit.ps1\"...\r\n2016-09-20 03:17:04,705 - argus - INFO - Running command \"C:\\installCBinit.ps1\" -installer CloudbaseInitSetup_Beta_x64.msi...\r\n2016-09-20 03:18:24,557 - argus - INFO - Running command (Get-CimInstance Win32_OperatingSystem).OSArchitecture...\r\n2016-09-20 03:18:25,132 - argus - INFO - Running command powershell \"$ENV:ProgramFiles\"...\r\n2016-09-20 03:18:25,519 - argus - INFO - Running command powershell \"${ENV:ProgramFiles(x86)}\"...\r\n2016-09-20 03:18:25,876 - argus - INFO - Running command Test-Path \"C:\\Program` Files\\Cloudbase` Solutions\"...\r\n2016-09-20 03:18:26,264 - argus - INFO - Running command dir \"C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\" /b...\r\n2016-09-20 03:18:26,367 - argus - INFO - Checking Cloudbase-Init installation ...\r\n2016-09-20 03:18:26,878 - argus - ERROR - Cloudbase-Init installation failed: Executing command 'cd \"C:\\\\Program Files\\\\Cloudbase Solutions\\\\Cloudbase-Init\\\\Python\" ; .\\\\python.exe -c \"import cloudbaseinit\"' with encoded Command'powershell -Noninteractive -NoLogo -EncodedCommand YwBkACAAIgBDADoAXABQAHIAbwBnAHIAYQBtACAARgBpAGwAZQBzAFwAQwBsAG8AdQBkAGIAYQBzAGUAIABTAG8AbAB1AHQAaQBvAG4AcwBcAEMAbABvAHUAZABiAGEAcwBlAC0ASQBuAGkAdABcAFAAeQB0AGgAbwBuACIAIAA7ACAALgBcAHAAeQB0AGgAbwBuAC4AZQB4AGUAIAAtAGMAIAAiAGkAbQBwAG8AcgB0ACAAYwBsAG8AdQBkAGIAYQBzAGUAaQBuAGkAdAAiAA==' failed with exit code 1 and output 'Traceback (most recent call last):\\r\\n  File \"<string>\", line 1, in <module>\\r\\nImportError: No module named \\'cloudbaseinit\\'\\r\\n'.\r\n2016-09-20 03:18:26,879 - argus - INFO - Running command (Get-CimInstance Win32_OperatingSystem).OSArchitecture...\r\n2016-09-20 03:18:27,372 - argus - INFO - Running command powershell \"$ENV:ProgramFiles\"...\r\n2016-09-20 03:18:27,665 - argus - INFO - Running command powershell \"${ENV:ProgramFiles(x86)}\"...\r\n2016-09-20 03:18:27,999 - argus - INFO - Running command Test-Path \"C:\\Program` Files\\Cloudbase` Solutions\"...\r\n2016-09-20 03:18:28,397 - argus - INFO - Cleaning up Cloudbase-Init ...\r\n2016-09-20 03:18:28,397 - argus - INFO - Running command Test-Path -PathType Any -Path \"C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\..\"...\r\n2016-09-20 03:18:28,770 - argus - INFO - Running command Test-Path -PathType Container -Path \"C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\..\"...\r\n2016-09-20 03:18:29,187 - argus - DEBUG - Remove directory  C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\..\r\n2016-09-20 03:18:29,187 - argus - INFO - Running command Remove-Item -Force -Recurse -Path 'C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\..'...\r\n2016-09-20 03:18:31,322 - argus - INFO - Running the downloaded installation script using the installer 'CloudbaseInitSetup_Beta_x64.msi'.\r\n2016-09-20 03:18:31,322 - argus - DEBUG - Executing resource script windows/installCBinit.ps1 with this parameters -installer CloudbaseInitSetup_Beta_x64.msi\r\n2016-09-20 03:18:31,322 - argus - DEBUG - Downloading from https://raw.githubusercontent.com/cloudbase/cloudbase-init-ci/master/argus/resources/windows/installCBinit.ps1 to C:\\installCBinit.ps1\r\n2016-09-20 03:18:31,323 - argus - INFO - Running command Invoke-WebRequest -Uri https://raw.githubusercontent.com/cloudbase/cloudbase-init-ci/master/argus/resources/windows/installCBinit.ps1 -OutFile \"C:\\installCBinit.ps1\"...\r\n2016-09-20 03:18:32,474 - argus - INFO - Running command \"C:\\installCBinit.ps1\" -installer CloudbaseInitSetup_Beta_x64.msi...\r\n2016-09-20 03:19:53,065 - argus - INFO - Running command (Get-CimInstance Win32_OperatingSystem).OSArchitecture...\r\n2016-09-20 03:19:53,690 - argus - INFO - Running command powershell \"$ENV:ProgramFiles\"...\r\n2016-09-20 03:19:54,020 - argus - INFO - Running command powershell \"${ENV:ProgramFiles(x86)}\"...\r\n2016-09-20 03:19:54,320 - argus - INFO - Running command Test-Path \"C:\\Program` Files\\Cloudbase` Solutions\"...\r\n2016-09-20 03:19:54,704 - argus - INFO - Running command dir \"C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\" /b...\r\n2016-09-20 03:19:54,788 - argus - INFO - Checking Cloudbase-Init installation ...\r\n2016-09-20 03:19:55,340 - argus - INFO - Cloudbase-Init was successfully installed!"}}
{"actor":{"display_login":"dtoncu"}}