Skip to content

Instantly share code, notes, and snippets.

@mwrock
Created December 29, 2014 08:37
Show Gist options
  • Save mwrock/4b74f6ad0dd18a1b0b8e to your computer and use it in GitHub Desktop.
Save mwrock/4b74f6ad0dd18a1b0b8e to your computer and use it in GitHub Desktop.
winrm error
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #converge action: [{:from=>"C:/Users/Matt/AppData/Local/Temp/winrm_upload20141228-27984-1tdcu5e.zip", :to=>"/tmp/kitchen", :message=>"#< CLIXML\r\nC:\\Users\\Administrator\\AppData\\Local\\Temp\\tmp35CE.tmp\r\n<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><S S=\"Error\">Exception calling \"Open\" with \"3\" argument(s): \"Access to the path _x000D__x000A_</S><S S=\"Error\">'C:\\tmp\\kitchen' is denied.\"_x000D__x000A_</S><S S=\"Error\">At line:8 char:11_x000D__x000A_</S><S S=\"Error\">+ $file = [System.IO.File]::Open($destFile,_x000D__x000A_</S><S S=\"Error\">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : UnauthorizedAccessException_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S><S S=\"Error\">Multiple ambiguous overloads found for \"ComputeHash\" and the argument count: _x000D__x000A_</S><S S=\"Error\">\"1\"._x000D__x000A_</S><S S=\"Error\">At line:10 char:11_x000D__x000A_</S><S S=\"Error\">+ $guestMd5 = _x000D__x000A_</S><S S=\"Error\">([System.BitConverter]::ToString($cryptoProv.ComputeHash($ ..._x000D__x000A_</S><S S=\"Error\">+ _x000D__x000A_</S><S S=\"Error\">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : NotSpecified: (:) [], MethodException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : MethodCountCouldNotFindBest_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S><S S=\"Error\">You cannot call a method on a null-valued expression._x000D__x000A_</S><S S=\"Error\">At line:11 char:11_x000D__x000A_</S><S S=\"Error\">+
$guestMd5 = $guestMd5.Replace(\"-\",\"\").ToLower()_x000D__x000A_</S><S S=\"Error\">+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : InvalidOperation: (:) [], RuntimeException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : InvokeMethodOnNull_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S><S S=\"Error\">You cannot call a method on a null-valued expression._x000D__x000A_</S><S S=\"Error\">At line:12 char:11_x000D__x000A_</S><S S=\"Error\">+ $file.Close()_x000D__x000A_</S><S S=\"Error\">+ ~~~~~~~~~~~~~_x000D__x000A_</S><S S=\"Error\"> + CategoryInfo : InvalidOperation: (:) [], RuntimeException_x000D__x000A_</S><S S=\"Error\"> + FullyQualifiedErrorId : InvokeMethodOnNull_x000D__x000A_</S><S S=\"Error\"> _x000D__x000A_</S></Objs>"}]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment