====== OpenStack Upstream Training ======
===== Prepare =====
* VM Image: http://bit.ly/vm-2018-berlin-v1
* (For windows 10 disablee Hyper-v and reboot for this VM to work)
Useful Links:
* Slides: https://docs.openstack.org/upstream-training/upstream-training-content.html
* Contributor Guide: https://docs.openstack.org/contributors/common/introduction.html
* Devstack: https://docs.openstack.org/devstack/latest/
* IRC: Help Registering: https://freenode.net/kb/answer/registration
* Openstack board of directors: https://www.openstack.org/foundation/board-of-directors/
* Technical committee: https://governance.openstack.org/tc/ https://www.openstack.org/foundation/tech-committee/
* User committee: https://www.openstack.org/foundation/user-committee/
* OpenStack Releases: https://releases.openstack.org
Release Schedules:
* Stein- 3 September 2018 - 8 April 2019 (32 weeks) (https://releases.openstack.org/stein/schedule.html)
* Rocky: https://releases.openstack.org/rocky/schedule.html#
Communication:
* Subscribe to openstack-discuss
* http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
Thread on combining old lists to this new one: http://lists.openstack.org/pipermail/openstack-dev/2018-September/134911.html
* Mailing Archives:
* http://openstack.markmail.org/
* http://www.mail-archive.com/openstack@lists.launchpad.net/
* http://lists.openstack.org/pipermail/openstack/
* IRC:
* channels: http://eavesdrop.openstack.org/#channels
Things to fix in the slides
* https://docs.openstack.org/upstream-training/howitsmade-communication.html#4 subscribe to openstack-discuss
* https://docs.openstack.org/upstream-training/upstream-trainees-guide.html points to vancouver
* https://docs.openstack.org/upstream-training/intro-introduction.html#4 also points to vancouver
* Fixed with: https://review.openstack.org/#/c/617138/
* Fix these slides: https://docs.openstack.org/upstream-training/howitsmade-events.html#3
* spotz knows what to update
==== About VM on KVM ====
If it could be useful to other users :
I use virt-manager (libvirt/KVM) so I convert the ova to qcow2 and import it in virt-manager (it works) :
On debian you will need package qemu-utils if not yet installed
sudo apt-get install qemu-utils
Then you can begin to extract the VM image :
tar xvf upstream-training-20181105-2044.ova
You will obtain these files :
upstream-training-disk001.vmdk
upstream-training.ovf
Then convert the file upstream-training-disk001.vmdk to qcow2 :
qemu-img convert -O qcow2 upstream-training-disk001.vmdk upstream-training-disk001.qcow2
You will obtain the file upstream-training-disk001.qcow2, that you can import in virt-manager.
To improve desktop integration, go to "View ➡️ Scale Display ➡️ Auto Resize VM with window"
==== VM DEV Tools ====
- git gui
- gitk
- tig
==== VM Network ====
I use 1 host only (for accessing VM) and 1 NAT (for internet) virtual box network.
If NAT network is not started:
sudo vim /etc/network/interfaces.d/enp0s8
auto enp0s8
iface enp0s8 inet dhcp
ubuntu@upstream-training:~$ ip a
2: enp0s3: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:be:95:18 brd ff:ff:ff:ff:ff:ff
inet 192.168.56.101/24 brd 192.168.56.255 scope global enp0s3 <---------- HOST only
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:febe:9518/64 scope link
valid_lft forever preferred_lft forever
3: enp0s8: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:3c:1b:b0 brd ff:ff:ff:ff:ff:ff
inet 10.0.3.15/24 brd 10.0.3.255 scope global enp0s8 <------------- NAT
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe3c:1bb0/64 scope link
valid_lft forever preferred_lft forever
===== Devstack =====
Goto
cd /opt/devstack
./stack.sh
**Error:** devstack can't detect IP. Need to edit local.conf
[[local|localrc]]
...
#IPV4_ADDRS_SAFE_TO_USE=172.31.1.0/24
##FLOATING_RANGE=192.168.20.0/25 <-------- take from NAT, internet access
HOST_IP=192.168.56.101 <------- check this, use host only subnet here?
===== Using Devstack =====
Installation information:
This is your host IP address: 192.168.56.101
This is your host IPv6 address: ::1
Horizon is now available at http://192.168.56.101/dashboard
Keystone is serving at http://192.168.56.101/identity/
The default users are: admin and demo
The password: openstack
WARNING:
Using lib/neutron-legacy is deprecated, and it will be removed in the future
Services are running under systemd unit files.
For more information see:
https://docs.openstack.org/devstack/latest/systemd.html
DevStack Version: stein
Change: a61b4704871e7b0ae88a50932576e961eca615e4 Merge "Remove cgroup natty or less block" 2018-11-02 15:29:37 +0000
OS Version: Ubuntu 16.04 xenial
==== cirros ====
username: cirros
password: cubswin:)
===== Headline =====
* **Don't turn off VM, use save/restore state** devstack can't setup network after restarting VM.
====== Bug Tracking ======
* Sandbox:
* Story: https://storyboard-dev.openstack.org/#!/page/about
* Launch: https://bugs.launchpad.net/openstack-dev-sandbox/+bug/1802870
* gerrit: https://git.openstack.org/cgit/openstack-dev/sandbox/
====== Gerrit ======
* https://docs.openstack.org/contributors/code-and-documentation/using-gerrit.html
====== Zuul ======
====== Development With Devstack ======
* https://docs.openstack.org/contributors/code-and-documentation/devstack.html
*