Skip to content

Commit be5cda9

Browse files
committed
various fixes
1 parent ee6b0df commit be5cda9

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

chapters/cluster_setup_kubespray.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Ansible needs python to be installed on all the machines.
4848

4949
```
5050
sudo apt update
51-
sudo apt install python3
51+
sudo apt install python3 python-minimal
5252
sudo apt install python3-pip
5353
```
5454

@@ -87,7 +87,7 @@ export LC_ALL="en_US.UTF-8"
8787
export LC_CTYPE="en_US.UTF-8"
8888
sudo dpkg-reconfigure locales
8989
```
90-
Do no select any other locale in the menu. Just press <OK> in the next two screens.
90+
Do no select any other locale in the menu. Just press (**OK**) in the next two screens.
9191

9292
### Setup passwordless SSH between ansible controller and kubernetes nodes
9393

@@ -274,6 +274,18 @@ Option -i = Inventory file path
274274
Option -b = Become as root user
275275
Option -v = Give verbose output
276276

277+
If you face this following error, while running `ansible-playbook` command, you can fix it by running following instructions
278+
`ERROR`:
279+
```
280+
ERROR! Unexpected Exception, this is probably a bug: (cryptography 1.2.3 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=1.5'), {'paramiko'})
281+
```
282+
`FIX`:
283+
```
284+
sudo pip3 install --upgrade pip
285+
sudo pip3 uninstall cryptography
286+
sudo pip3 install cryptography
287+
ansible-playbook -b -v -i inventory/prod/hosts.ini cluster.yml
288+
```
277289

278290
This Ansible run will take around 30 mins to complete.
279291

0 commit comments

Comments
 (0)