Zuul: do not use USE_PYTHON3
Devstack has removed the USE_PYTHON3 variable[1][2] and now always uses Python 3.
[1] https://review.opendev.org/c/openstack/devstack/+/920658 [2] Commit 5412dbfe7b797149f1f68100de8003b1876398fe
Change-Id: Id42c2031e462f9104d59476e2914aebdd3af3475
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
OpenStack Upstream Institute Virtual Environment
bit.ly/upstream-training
bit.ly/vm-2020-virtual-v1
Instructions
Using VirtualBox
ovafile (File->Import appliance...)Using VMware player
ovafile (File->Open a Virtual Machine)Minimum requirements
Getting around in the VM
Run
stack.shto install devstack. It might take 10-20 minutes.Explore the environment. The four main software you will be using from the desktop during the training are:
When
stack.shfinished running, you can open your Horizon Dashboard or on VirtualBox using the DevStack bookmarkdemoopenstackIn the upper left corner, switch from
invisible_to_adminto thedemoprojectStart a VM (no volume needed, use the nano flavor). A CirrOS image is already set up by devstack
Associate a floating IP. Initially, no Floating IP’s allocated, you can add one with the
+button. An example would be172.124.4.45. It may stuck at the loading screen - in this case, reload the dashboard.Enable SSH and ICMP ports on the default security group. Select “Network” -> “Security groups” and “Manage rules” -> “Add rule”
Try to connect with SSH to the floating IP.
DNS might not work in the cirros vm, in this case:
IMPORTANT: To keep your devstack environment across reboots, do not reboot / halt the VM, but instead use “Save the machine state” from VirtualBox quit dialog.
Devstack installs using the 99-devstack script.
Using latest devstack
Please do not update your openstack installation during the training. It requires bandwidth.
If you want to keep on using the training VM for devstacking, you should disable offline mode in local.conf. Also reconsider git related settings here.
Screenshots
Advanced Topics
This section is mainly for developers of the VM, on the training you won’t need this.
Roll your own image
The image can be built using diskimage-builder in a convenience vagrant machine from vm-creator-vm directory
Spin up vm-creator-vm:
This will boot up a VirtualBox VM with CentOS 7
Activate the python virtual environment
Create disk image with provided convenience script
The generated image can be found under
dist/License
MIT