Comments (6)
Hi there, did you run this with the Multipass or the Terraform workflow?
I think I might know where this is coming from, but would like to verify first.
from at-hashi-demo.
Hi Chris - I already had existing VMs setup for this so skipped the infra provision stage and went straight to the 01 playbook and worked my way from there. 01/02 playbooks working ok. In 02, I commented out the reference to multipass and vault ( since I am installing just consul and nomad )
from at-hashi-demo.
I think your problem would be that the name of the servers (hostnamectl
) do not correspond with the names in inventory you created within the servers group. Therefore a when
condition will not be set to true when creating the Consul CA, thus failing to set a Consul encryption key.
Yes, there was a typo in the file, but at least it was a consistent typo throughout the whole repository. I will correct this typo in the near future.
However, using this repository other than the installation methods I provided and editing the playbooks kind of makes it impossible for me to guess what goes wrong. When I deploy the stack here on Multipass, the playbook finishes without any errors.
from at-hashi-demo.
Can I modify the when condition to match my server names? Can you point me to the line where the relevant condition is?
from at-hashi-demo.
Line 72. But you are on your own from there on. Good luck!
from at-hashi-demo.
you mean this?
when:
- inventory_hostname in groups['servers']
My inventory hosts group is also called servers. Is it looking for specific hostnames in the server group? Not sure why this should be the issue? it seems to be looking for a definition for consul_encryption_key: but its not defined anywhere.
Anyway, thanks
from at-hashi-demo.
Related Issues (3)
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 at-hashi-demo.