Issues following Bare Metal Deployment Guide for kolla-kubernetes

Bug #1766159 reported by Jonathan Bailey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-kubernetes
New
Undecided
Unassigned

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [ ] This doc is inaccurate in this way:
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.

1. Instructions to install python-pip produces errors. Fix is as such:

Input:

Install repositories necessary to install packaging:

sudo yum install -y epel-release ansible python-pip python-devel

Output:

Install repositories necessary to install packaging:

sudo yum install -y epel-release
sudo yum install -y ansible python-pip python-devel

---

reason being that pip-python is only accessible after epel-release repo is available.

2. Instructions to generate default config for kolla-ansible produces errors. Fix:

Input:

Generate the default configuration:

ansible-playbook -e ansible_python_interpreter=/usr/bin/python -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla ansible/site.yml

Output:

Generate the default configuration:

ansible-playbook -e ansible_python_interpreter=/usr/bin/python -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla kolla-ansible/ansible/site.yml

3. No instructions to disable swap even though it fails on baremetal centos environments during kubectl init. Fix:

Input:

Enable and start docker and kubelet:

sudo systemctl enable kubelet
sudo systemctl start kubelet
Deploy Kubernetes with kubeadm:

sudo kubeadm init --pod-network-cidr=10.1.0.0/16 --service-cidr=10.3.3.0/24

Output:

Enable and start docker and kubelet:

sudo systemctl enable kubelet
sudo systemctl start kubelet

Disable swap if currently enabled:
swapoff -a

Deploy Kubernetes with kubeadm:

sudo kubeadm init --pod-network-cidr=10.1.0.0/16 --service-cidr=10.3.3.0/24

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: on 2018-04-20 05:52
SHA: 9870692e7995ab2eb2e6422fda581b2d69e2f1aa
Source: https://git.openstack.org/cgit/openstack/kolla-kubernetes/tree/doc/source/deployment-guide.rst
URL: https://docs.openstack.org/kolla-kubernetes/latest/deployment-guide.html

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.