You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 4, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+130-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,85 @@ Thanks to the flexibility of the HashiCorp products there is no need wonder how
23
23
* Please download __Virtualbox__ from https://www.virtualbox.org/wiki/Downloads and __Vagrant__ from https://www.vagrantup.com/downloads.html and install
24
24
* Using `git` - clone this repo `git clone $repo .`[__What is Git?__](git/#git)
25
25
* Inside the local repo folder, do `vagrant up --provision` - This will setup, Vault, Nomad, Consul, Terraform, Localstack and Docker as well as giving you access the docsify website at http://localhost:3333
26
-
* Open in your browser http://localhost:3333 for Documentation
26
+
27
+
:bulb: If you see this error message
28
+
29
+
```
30
+
The IP address configured for the host-only network is not within the
31
+
allowed ranges. Please update the address used to be within the allowed
32
+
ranges and run the command again.
33
+
34
+
Address: 10.9.99.10
35
+
Ranges: 192.168.56.0/21
36
+
37
+
Valid ranges can be modified in the /etc/vbox/networks.conf file. For
Please create the following file: __/etc/vbox/networks.conf__ with the following contents
44
+
45
+
```
46
+
* 10.0.0.0/8 192.168.0.0/16
47
+
* 2001::/64
48
+
```
49
+
50
+
and re-run `vagrant up --provision`
51
+
52
+
## Dependencies
53
+
To get started we are now going to install some core dependencies to get the Lab started, you need to install
54
+
below dependencies before you can do anything
55
+
56
+
__Mac Users only, Windows Users can skip this step__
57
+
Let's first check if we have an __M1 Mac__, if that is the case the __virtualbox__ provider will not work.
58
+
59
+
Click on the Apple Icon top left
60
+

61
+
62
+
and click on __About this Mac__
63
+
64
+
If you see an __Intel__ chip, you can proceed with the `virtualbox` provider.
65
+

66
+
67
+
If you see an __Apple M1__ chip, please ensure you specify the environment variable and the provider to be docker.
68
+
```
69
+
vagrant plugin uninstall vagrant-hostsupdater # the hostsupdator plugin does not work with the docker provider
70
+
```
71
+
72
+

73
+
74
+
#### Docker Desktop
75
+
Docker Desktop is an easy-to-install application for your Mac or Windows environment that enables you to build and share containerized applications and microservices. It's a graphical user interface for the docker service.
76
+
77
+
* Please download __Docker Desktop__ from https://www.docker.com/products/docker-desktop and install it on your laptop, to verify please bring up the Docker Desktop application.
78
+
79
+
I already have HashiQube running, you won't see any containers but you will be able to open the application
The latest version of Docker on Mac has some signaficant performance improvements, you should consider updating.
101
+
102
+
Improvements have been made to the way that files are synced between the macOS host and Docker VM. During testing with our amazing macOS community of users, we have observed that these changes have reduced the time taken to complete filesystem operations by up to 98%.
103
+
104
+
For developers, these incredible gains in speed mean less time waiting for filesystem operations to complete (or building project-specific workarounds to improve performance) and more time focusing on innovation!
27
105
28
106
## Consul DNS
29
107
__Local DNS via Consul__ <br />
@@ -42,6 +120,32 @@ Now you can use DNS like nomad.service.consul:9999 vault.service.consul:9999 via
42
120
* Vagrant
43
121
*`vagrant up --provision`
44
122
123
+
124
+
If you see this error message
125
+
126
+
```
127
+
The IP address configured for the host-only network is not within the
128
+
allowed ranges. Please update the address used to be within the allowed
129
+
ranges and run the command again.
130
+
131
+
Address: 10.9.99.10
132
+
Ranges: 192.168.56.0/21
133
+
134
+
Valid ranges can be modified in the /etc/vbox/networks.conf file.
Please create the following file: __/etc/vbox/networks.conf__ with the following contents
141
+
142
+
```
143
+
* 10.0.0.0/8 192.168.0.0/16
144
+
* 2001::/64
145
+
```
146
+
147
+
and re-run `vagrant up --provision`
148
+
45
149
## Additional Information
46
150
*[__Multi Cloud__](multi-cloud/#terraform-hashicorp-hashiqube) - Hashiqube on AWS, GCP and Azure (Clustered) https://registry.terraform.io/modules/star3am/hashiqube/hashicorp/latest
47
151
*[__Vagrant__](hashicorp/#vagrant) - Development Environments Made Easy
@@ -112,6 +216,31 @@ For Documentation please open http://localhost:3333 in your browser
112
216
==> user.local.dev: Setting hostname...
113
217
```
114
218
219
+
### Errors you might encounter
220
+
__Error__ response from daemon: cannot stop container: 6c0c8135620ff47efe12df417a0df0e57d7a81a7f7ca06d011323fbb52e573db: tried to kill container, but did not receive an exit event <br />
221
+
__Command__`vagrant destroy` <br />
222
+
__Solution__ run `vagrant destroy` again <br />
223
+
```
224
+
hashiqube0.service.consul: Are you sure you want to destroy the 'hashiqube0.service.consul' VM? [y/N] y
Stderr: Error response from daemon: cannot stop container: 6c0c8135620ff47efe12df417a0df0e57d7a81a7f7ca06d011323fbb52e573db: tried to kill container, but did not receive an exit event
233
+
```
234
+
235
+
__Error__ The IP address configured for the host-only network is not within the allowed ranges. Please
236
+
update the address used to be within the allowed ranges and run the command again. <br />
237
+
__Command__`vagrant up --provision` <br />
238
+
__Solution__ Ensure the following contents are present in `/etc/vbox/networks.conf` <br>
0 commit comments