Table of Contents

OpenStack Upstream Training

Prepare

Useful Links:

Release Schedules:

Communication:

Thread on combining old lists to this new one: http://lists.openstack.org/pipermail/openstack-dev/2018-September/134911.html

Things to fix in the slides

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

  1. git gui
  2. gitk
  3. 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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: <BROADCAST,MULTICAST,UP,LOWER_UP> 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

Zuul

Development With Devstack