Closed huamichaelchen closed 6 years ago
Hi, Recently I'm trying to run knife winrm command to do some chef deployment through bamboo. However, I'm getting this error all of sudden.
Here are some version info that could be helpful :)
FATAL: Cannot find subcommand for: 'winrm role:victoria AND chef_environment:dev13 del /Q C:\chef\cache\*.zip & del /Q C:\chef\cache\*.md5 & del /Q C:\chef\cache\*.msi & del /Q C:\chef\cache\*.exe & del /Q C:\chef\cache\*.gz & del /Q C:\chef\cache\*.conf -x SOMEUSER -P SOMEPASSWORD -t ssl -p 5986 -f C:\work\SOME.pem --config C:\work\.chef\knife-12.rb' FATAL: Cannot find subcommand for: 'winrm role:SOMEROLE AND chef_environment:dev13 chef-client -x SOMEUSER -P SOMEPASSWORD -t ssl -p 5986 -f C:\work\SOME.pem --config C:\work\.chef\knife-12.rb'
This appears to be an env issue, not really one with the knife-windows code. If this condition still exists please open a new issue with current versions of the software.
Hi, Recently I'm trying to run knife winrm command to do some chef deployment through bamboo. However, I'm getting this error all of sudden.
Here are some version info that could be helpful :)
FATAL: Cannot find subcommand for: 'winrm role:victoria AND chef_environment:dev13 del /Q C:\chef\cache\*.zip & del /Q C:\chef\cache\*.md5 & del /Q C:\chef\cache\*.msi & del /Q C:\chef\cache\*.exe & del /Q C:\chef\cache\*.gz & del /Q C:\chef\cache\*.conf -x SOMEUSER -P SOMEPASSWORD -t ssl -p 5986 -f C:\work\SOME.pem --config C:\work\.chef\knife-12.rb' FATAL: Cannot find subcommand for: 'winrm role:SOMEROLE AND chef_environment:dev13 chef-client -x SOMEUSER -P SOMEPASSWORD -t ssl -p 5986 -f C:\work\SOME.pem --config C:\work\.chef\knife-12.rb'