or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
tags:
Training
Lab deployment with TripleO-Quickstart
Table of Contents
Beginners Guide
If you are a total beginner to this, start here!
Requirements
A testbox with the following minimum requirements
a. 8 core cpu, 12 GB memory, 60GB freespace
b. CentOS-7, CentOS-8, RHEL-8 virthost
Lab setup for TripleO OpenStack Train release
Note: you can use the root or non-root user. Non-root users should have sudo access
Provision
Note: the default workspace is $HOME/.quickstart
this is single-nic-vlan deployment https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/network/config/single-nic-vlans
TripleO Quickstart has created a stack user and the undercloud and overcloud qcow2 files are located in /home/stack
undercloud_local_interface=ens4
refers to the interface on the host which will be used to connect all VM's to. This should not be the default interface on the host. Depending on your host setup, you may need to use a different value.The libvirt vm's are running under the stack user. This allows users to continue to run vm's as root untouched.
You now have a running vm for the undercloud. The undercloud has all or most of the required rpms installed for the undercloud install. You may have noticed overcloud images in the stack users home directory on the undercloud node.
Undercloud Deployment
tls certs are not found and the deployment fails here: https://bugs.launchpad.net/tripleo/+bug/1871703
The logs for the undercloud install can be found in /home/stack/install-undercloud.log on the undercloud node.
Note: You can find the configuration for the containers deployment in /home/stack/containers-prepare-parameter.yaml
Note: You should see users and roles, but no servers, nodes or stacks should be populated quite yet :)
Backup your Environment
You should see:
You'll notice that all the libvirt images, config etc.. are defined under $HOME/.config/libvirt
Begin the backup:
You should have about a 20G backup file
We have a bug here:
Workaround:
You should now see all three vms in shutdown state
Restart your Undercloud:
Perhaps you want to rerun the some openstack commands to reverify everything is working OK. See the above openstack commands..
Prepare the undercloud for the overcloud deployment
These steps will register baremetal nodes (vms) for the overcloud, prepare openstack flavors and setup the deployment configs and commands.
Let's see what this step has done.
Overcloud Nodes
First openstack flavors were created for the TripleO Overcloud
Next we uploaded the overcloud images found in /home/stack
The images were uploaded with the script in /home/stack/overcloud-prep-images.sh on the undercloud node.
The libvirt overcloud nodes were then introspected and setup by the ironic service
The log of the work here can be found in /home/stack/overcloud_prep_images.log on the undercloud node.
Preparing the Undercloud Network
You see the pattern here, tripleo-quickstart will create the shell scripts required for the particular deployment and then also execute the scripts and log the result. This also allows you to view and update the script when walking through this manually.
DNS
The overcloud deployment heat parameters:
SSL Configuration
The TripleO Overcloud will be deployed with SSL, documentation
To read through the details of the configuration, do the following.
Validations ( pre-deployment )
This is an optional step but one that might prove handy. Documentation
To get the details of any failure, and note some can be waived as this is not a production deployment. Do the following.
Finally deploy the TripleO Overcloud
Now your TripleO Overcloud is deploying…
If you need to change something in the deployment or restart it remember you can restore from your backup and execute the prep and deployment again.
Let's see what the deployment commands and output look like.
TripleO stands for OpenStack on Openstack. Let's see if that is really the case :)
Validating the TripleO Overcloud Services
This will be shown in a later slide deck
CONGRATS, you made it through \0/
FAQ
Find this document incomplete? Leave a comment!
source: https://hackmd.io/UZPFdivCSAm18jTLDBSdfg?both
tags:
Templates
Documentation