Deployment of FUEL OpenStack on VirtualBox
Deployment process of FUEL OpenStack on VirtualBox:
The 6.1 version of Fuel. iso was installed several times according to the domestic and foreign tutorials, but the network verification never passed. I am not very familiar with the network. Later, I saw on the Internet that version 6.1 requires fuel-master to connect to the Internet, and cannot connect to the Internet and cannot pass verification.
Therefore, it is okay to re-deploy version 5.1.
Both manual deployment (for windows) and script deployment (for Ubuntu) in version 6.1 have been tried. When installing version 5.1, you can directly use a script on ubuntu. After launch. sh is executed, no operations are required in the middle until the master and node are installed.
My notebook has 8 GB memory. The script creates one master node and three slave nodes according to the config. sh configuration file.
(1) Access 10.20.0.2: 8000 in the browser and log on to the fuel interface.
(2) create an openstack environment. Almost all of them are default (CentOS, multi-node non-HA mode, and nova network ).
(3) then add nodes (only two nodes are used, one controller and one compute. Controller 1 gb ram, compute 2 gb ram. I shut down another unused node ).
(4) After adding a play node, the network tab directly verifies that the network can pass. But you still need to configure the network normally: Return to the node label and configure the network for each node. Set eth0 to admin (PXE), eth1 to public, eth2 to stroage, management, and VM (fixed ). Both controller and compute are configured in this way. You do not need to modify other IP addresses. After the configuration is complete, verify the network and pass.
(5) Click deploy changes to start deployment. The two nodes are automatically restarted to start deployment. The Fuel UI has a progress bar. After the deployment is complete, a green message will pop up to tell you the url of the dashboard.
After the deployment and installation are complete, the master node can connect to the Internet, and the two nodes cannot access the Internet.
Let's talk about the differences between 5.1 and 6.1 during deployment:
Of course, the biggest difference for me is that 5.1 does not need to access the Internet.
In addition, there are:
When executing the launch. sh script, 6.1 will not Delete the existing vboxnet interface in virtualbox, and 5.1 will delete it directly;
During fuel installation, 6.1 will pop up a fuelmenu interface by default, and 5.1 does not;
After the fuel installation is complete, only multi-node HA mode is available in 6.1 when you create an openstack. 5.1 There are two modes available: HA and non-HA.
Finally, it is easy and quick to deploy with scripts.
Follow-up:
(1) When running commands such as nova list and neutron on the conroller node, the following error is prompted:
ERROR: You must provide a username via either -- OS _username or env [OS _USERNAME]
, The solution is, you can see the controller node ~ The directory contains an openrc file to run
$ source openrc admin admin # for admin rightsor$ source openrc demo demo # for demo user
To generate OS _USERNAME and other variables. Compute node ~ There is no openrc file in the directory.
The following is a collection of Openstack related knowledge for you to see if you like it:
Install and deploy Openstack on Ubuntu 12.10
Ubuntu 12.04 OpenStack Swift single-node deployment Manual
OpenStack cloud computing quick start tutorial
Deploying OpenStack for enterprises: what should be done and what should not be done
CentOS 6.5 x64bit quick OpenStack Installation
This article permanently updates the link address: