Comments (4)
The work around is to log into test kitchen and run
Tentacle.exe new-certificate --if-blank --console
Once you run that, then next chef converge will work.
from octopus-deploy-cookbook.
@spuder this is because test kitchen is using winrm which does not have access to cert libraries so it can not generate a cert. We mock this out in the test cookbook by dropping a pre generated cert. We can actually also use the elevated mode built into test kitchen since https://github.com/chef/chef-dk/blob/master/CHANGELOG.md#v014-2016-05-17
from octopus-deploy-cookbook.
@spuder This is actually fixed with the test cookbook / the default way we handle setting up tentacles. By default we actually generate a cert before we configure the tentacle and save that cert in the octopus deploy directory code here. The reason we do this is for two reasons, its easier to test in test-kitchen because we can pre generate the certificate. The other big reason is that if you uninstall the tentacle instance on a host and re run chef you will get the same certificate and the host can connect to the same instance. If you didn't do it this way you would get a new certificate each time and have to reconnect the host as well.
In our infrastructure we have a wrapper cookbook for installing tentacles and in there we include a private test cookbook for mocking the tentacle install. (Its similar to the following below)
from octopus-deploy-cookbook.
So what is the approach to take? To use dummy certificatre for test kitchen and generate new one for real use? How okay is to use single pre-generated cert for all tentacles?
from octopus-deploy-cookbook.
Related Issues (20)
- Document database assumptions for server HOT 2
- Error if node name not specified
- Octopus.Server.exe configure --storageConnectionString deprecated
- Allow configuring multiple admins HOT 1
- admin_user only works for LDAP HOT 2
- Octopus.Server.exe configure --webAuthenticationMode "Domain" is deprecated
- Improve readme on limitations of database automation
- Net::HTTPServerException: 403 "Forbidden" during tentacle installation HOT 1
- Tentacle register action does not work with invalid certificates are used HOT 5
- Support Octopus Deploy 4.0.0 HOT 4
- How to always use the latest version of the tentacle HOT 2
- Register tentacle as tenanted deploy HOT 1
- Include a CONTRIBUTING.md file so supermarket doesnt complain
- Include a TESTING.md file so supermarket doesnt complain
- tenated_deployment_participation
- Setting tentacle_name does not seem to have any effect HOT 5
- Supermarket does not contain the latest code. HOT 1
- Remove need for windows cookbook and windows_firewall cookbooks HOT 2
- Change name_attribute to name_property in order to work with Chef 13
- Support workers tentacle types HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octopus-deploy-cookbook.