GithubHelp home page GithubHelp logo

powershell-aws-cli-s3-steps's Issues

s3 / ls -- Error running command - Line Number: 90

Retry logic looks to be working. Forced a failure to occur using s3 ls step.

Logging looks good just want to make sure that the "Error running command - Line Number: 90" error is expected when Retry logic is executed?

An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
Command [aws s3 ls s3://dev-dms-rdso-os-ois-administration/diagnostic-data/  --endpoint-url https://ooss.uhc.com ] failed. Retrying in 2 seconds.

An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
Command [aws s3 ls s3://dev-dms-rdso-os-ois-administration/diagnostic-data/  --endpoint-url https://ooss.uhc.com ] failed. Retrying in 2 seconds.

An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
Command [aws s3 ls s3://dev-dms-rdso-os-ois-administration/diagnostic-data/  --endpoint-url https://ooss.uhc.com ] failed the maximum number of 3 times.
/app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/s3-ls.ps1 
: Error: Error running command - Line Number: 90
At line:1 char:1
+ /app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep 
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio 
   n,s3-ls.ps1
 
Failed: NonZeroResultCode: Script result code was: 1

FileChecker throwing errors

Tried using the FileChecker functionality with the "PS / aws / cli / s3 / ls" step and execution threw the following error. I tried checking for a file "C:\temp\foo.txt" which does not exist on the FS. The step worked fine without using the FileChecker option. Please check all s3 steps as FileChecker may face issues in all of them.

/app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/s3-ls.ps1 
: Error: A parameter cannot be found that matches parameter name 
'ForegroundColor'. - Line Number: 48
At line:1 char:1
+ /app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep 
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio 
   n,s3-ls.ps1
 
Failed: NonZeroResultCode: Script result code was: 1
Step [4] did not run. start conditions: [(after.step.3 == 'true')], skip conditions: []
Execution failed: 505376 in project powershell-test: [Workflow result: , step failures: {3=Dispatch failed on 1 nodes: [apset2771: NonZeroResultCode: Script result code was: 1 + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, Node failures: {apset2771=[NonZeroResultCode: Script result code was: 1 + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, status: failed]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.