This guide instructs how to build and install an Akraino Edge Stack (AES) Regional Controller node.
...
Code Block | ||
---|---|---|
| ||
# lsb_release -rs 16.04 # docker --version Docker version 1.13.1, build 092cba3 |
For behind Proxy configure docker to use proxy
Code Block |
---|
mkdir /etc/systemd/system/docker.service.d
touch /etc/systemd/system/docker.service.d/http-proxy.conf
echo '[Service]
Environment="HTTP_PROXY=<proxy>"
Environment="HTTPS_PROXY=<proxy>"' > /etc/systemd/system/docker.service.d/http-proxy.conf
systemctl daemon-reload
systemctl restart docker
docker info |
...
language | bash |
---|
...
Ensure Python 2, specifically version 2.7.12 or later is installed. Ensure the latest versions of sshpass, xorriso, and python-requests are installed. Also install make, gcc
Code Block | ||
---|---|---|
| ||
# python --version # Python 2.7.12 # apt install --upgrade sshpass xorriso python-requests Reading package lists... Done Building dependency tree Reading state information... Done python-requests is already the newest version (2.9.1-3). sshpass is already the newest version (1.05-1). xorriso is already the newest version (21.94.12-34ubuntu1). sshpass0 isupgraded, already the newest version (1.05-1). xorriso is already the newest version (1.4.2-4ubuntu1). 0 upgraded, 0 0 newly installed, 0 to remove and 107 not upgraded # apt install make gcc |
...
Warning | ||
---|---|---|
| ||
The Regional Controller installation is not idempotent at this time. If errors are encountered during this phase, it is recommended that the errors be triaged and resolved, followed by an Operating System re-installation. This will ensure a "clean slate" Bare Metal Server before trying again. |
A successful installation will end as follows. Note that any time estimates (e.g., "This step could take up to 15 minutes") and elapsed times are likely inaccurate.
...
The Regional Controller Node installation is now complete.
## Prerequisites on regional controller node ##
- Login to regional controller node: ssh root@regional_node_ip
- Clone airship-treasuremap under /root:
git clone https://git.openstack.org/openstack/airship-treasuremap.git
cd /root/airship-treasuremap
git checkout 059857148ad142730b5a69374e44a988cac92378
git checkout -b stable
3. Install required components on regional controller node
apt-get install python-pip
python -m pip install --upgrade pip setuptools wheel
pip install --user jinja2 PyYAML
4. mkdir -p /var/log/yaml_builds
5. mkdir –p /opt/akraino/tools
...
Akraino Portal Operations
...