OpenStack and Xen - events.static.linuxfound.org Project OpenStack CI-loop ... 4. ./stack.sh. 17 ©...
Transcript of OpenStack and Xen - events.static.linuxfound.org Project OpenStack CI-loop ... 4. ./stack.sh. 17 ©...
OpenStack and Xen
Stefano Stabellini
August 2015
© 2014 Citrix. Confidential.2
Make Xen the best hypervisor for OpenStack
© 2014 Citrix. Confidential.3
OpenStack
© 2014 Citrix. Confidential.4
OpenStack
© 2014 Citrix. Confidential.5
OpenStack
© 2014 Citrix. Confidential.6
OpenStack
© 2014 Citrix. Confidential.7
OpenStack
© 2014 Citrix. Confidential.8
OpenStack
© 2014 Citrix. Confidential.9
OpenStack
© 2014 Citrix. Confidential.10
OpenStack
© 2014 Citrix. Confidential.11
Goals
Xen should be a great platform for OpenStack development and hacking
• devstack should deploy Xen and OpenStack
• Xen should be a great platform for OpenStack production deployments
• Get Xen via Libvirt in Group A within 1 year
© 2014 Citrix. Confidential.12
Status and Progress
Jan 2015: Xen via Libvirt still in Group C
• No automated testing at all
• Bugs in Nova and Libvirt prevented OpenStack
from working out of the box with Xen via Libvirt
• Tempest could not be run on OpenStack with Xen via Libvirt
© 2014 Citrix. Confidential.13
Status and progress
Jun 2015: Xen via Libvirt is in Group B
• everything works out of the box!
Using the latest OpenStack and libvirt trees
• Tempest runs and *all* tests pass!
• The Xen Project CI-loop is up and running
• The Xen Project CI-loop has voting rights
© 2014 Citrix. Confidential.14
Xen Project OpenStack CI-loop
http://jenkins.openstack.xenproject.org
http://wiki.xenproject.org/wiki/
OpenStack_CI_Loop_for_Xen-Libvirt
© 2014 Citrix. Confidential.15
Xen Project OpenStack CI-loopWhat it means to be “voting”
http://review.openstack.org
© 2014 Citrix. Confidential.16
From 0 to Xen and OpenStack
1. Install Ubuntu 14.04 LTS
2. Install Xen
apt-get install xen-hypervisor-4.4-amd64
3. git clone devstack && configure it to use Xen
LIBVIRT_TYPE=xen
4. ./stack.sh
© 2014 Citrix. Confidential.17
Tuning OpenStack and Xen
• Dom0 Memory: 1-4G
dom0_mem=1024M
• Dom0 vcpus: 4
dom0_max_vcpus=4 dom0_vcpus_pin
• use LVM for local storage
VOLUME_GROUP=volume_group_name
• PV vs HVM guests
nova image-meta set vm_mode=HVM
nova image-meta delete vm_mode
© 2014 Citrix. Confidential.18
More information
www.xenproject.org
wiki.xenproject.org
wiki.xenproject.org/wiki/Tuning_Xen_for_Performance
wiki.xenproject.org/wiki/OpenStack
http://lists.xenproject.org/mailman/listinfo/xen-devel
http://lists.xenproject.org/mailman/listinfo/wg-openstack
© 2014 Citrix. Confidential.19
Questions?
© 2014 Citrix. Confidential.20
WORK BETTER. LIVE BETTER.