Xen and OpenStack

S
Stefano StabelliniSenior Principal Software Engineer at Citrix
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 production deployments
• Get Xen via Libvirt in Group A within 1 year
• Xen should be a great platform for OpenStack development and hacking
• devstack should deploy Xen and OpenStack
© 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-loop
What 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=2048M
• Dom0 vcpus: 4
dom0_max_vcpus=4 dom0_vcpus_pin
• use LVM for local storage
volume_group=<volume_group_name> # /etc/cinder/cinder.conf
• 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
© 2014 Citrix. Confidential.19
OpenStack Working Group
We need help!
http://lists.xenproject.org/mailman/listinfo/wg-openstack
© 2014 Citrix. Confidential.20
Questions?
© 2014 Citrix. Confidential.21
WORK BETTER. LIVE BETTER.
1 of 21

More Related Content

Viewers also liked(15)

New ResumeNew Resume
New Resume
aniket angol96 views
RULES TO PURCHASERS OF APARTMENTSRULES TO PURCHASERS OF APARTMENTS
RULES TO PURCHASERS OF APARTMENTS
Bangalore Property172 views
CMRS Sai Flora - bangalore5.comCMRS Sai Flora - bangalore5.com
CMRS Sai Flora - bangalore5.com
Bangalore Property401 views
Taller 4. DisponibleTaller 4. Disponible
Taller 4. Disponible
Lina Guerrero283 views
PizzassssPizzassss
Pizzassss
Sara Sarmiento127 views
RATIONALE BEHIND THE DENIAL OF HOUSING LOANSRATIONALE BEHIND THE DENIAL OF HOUSING LOANS
RATIONALE BEHIND THE DENIAL OF HOUSING LOANS
Bangalore Property206 views
Como Escrever Artigos CientíficosComo Escrever Artigos Científicos
Como Escrever Artigos Científicos
LEANDRO DE SOUZA RAMOS1.2K views
Taller Inversiones Largo PlazoTaller Inversiones Largo Plazo
Taller Inversiones Largo Plazo
Lina Guerrero354 views
PORTF BBAA PORTF BBAA
PORTF BBAA
Manuel Alvelo140 views
Resume presentationResume presentation
Resume presentation
Ben Brown297 views
Taller depreciaciónTaller depreciación
Taller depreciación
Lina Guerrero24.2K views
Steve McCurrySteve McCurry
Steve McCurry
A S4.8K views

Similar to Xen and OpenStack(20)

OpenStack and XenOpenStack and Xen
OpenStack and Xen
Stefano Stabellini399 views
XenServer and OpenStackXenServer and OpenStack
XenServer and OpenStack
John Garbutt1.4K views
Xen Project for ARM ServersXen Project for ARM Servers
Xen Project for ARM Servers
Stefano Stabellini699 views
Openstack Xen and XCPOpenstack Xen and XCP
Openstack Xen and XCP
The Linux Foundation5.2K views
XCP Project UpdateXCP Project Update
XCP Project Update
The Linux Foundation1.7K views
Introduction to the xen cloud platform - xcpIntroduction to the xen cloud platform - xcp
Introduction to the xen cloud platform - xcp
Lorscheider Santiago755 views
XDS15: Project RaisinXDS15: Project Raisin
XDS15: Project Raisin
Stefano Stabellini602 views
Virgo Project Creation ReviewVirgo Project Creation Review
Virgo Project Creation Review
glynnormington720 views
Xen Project CI for OpenStack OverviewXen Project CI for OpenStack Overview
Xen Project CI for OpenStack Overview
The Linux Foundation1.7K views
Why xen slidesWhy xen slides
Why xen slides
The Linux Foundation4.3K views
Neutron CI Run on DockerNeutron CI Run on Docker
Neutron CI Run on Docker
Hirofumi Ichihara369 views

Xen and OpenStack

  • 1. OpenStack and Xen Stefano Stabellini August 2015
  • 2. © 2014 Citrix. Confidential.2 Make Xen the best hypervisor for OpenStack
  • 3. © 2014 Citrix. Confidential.3 OpenStack
  • 4. © 2014 Citrix. Confidential.4 OpenStack
  • 5. © 2014 Citrix. Confidential.5 OpenStack
  • 6. © 2014 Citrix. Confidential.6 OpenStack
  • 7. © 2014 Citrix. Confidential.7 OpenStack
  • 8. © 2014 Citrix. Confidential.8 OpenStack
  • 9. © 2014 Citrix. Confidential.9 OpenStack
  • 10. © 2014 Citrix. Confidential.10 OpenStack
  • 11. © 2014 Citrix. Confidential.11 Goals • Xen should be a great platform for OpenStack production deployments • Get Xen via Libvirt in Group A within 1 year • Xen should be a great platform for OpenStack development and hacking • devstack should deploy Xen and OpenStack
  • 12. © 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
  • 13. © 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
  • 14. © 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
  • 15. © 2014 Citrix. Confidential.15 Xen Project OpenStack CI-loop What it means to be “voting” http://review.openstack.org
  • 16. © 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
  • 17. © 2014 Citrix. Confidential.17 Tuning OpenStack and Xen • Dom0 Memory: 1-4G dom0_mem=2048M • Dom0 vcpus: 4 dom0_max_vcpus=4 dom0_vcpus_pin • use LVM for local storage volume_group=<volume_group_name> # /etc/cinder/cinder.conf • PV vs HVM guests nova image-meta set vm_mode=HVM nova image-meta delete vm_mode
  • 18. © 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
  • 19. © 2014 Citrix. Confidential.19 OpenStack Working Group We need help! http://lists.xenproject.org/mailman/listinfo/wg-openstack
  • 20. © 2014 Citrix. Confidential.20 Questions?
  • 21. © 2014 Citrix. Confidential.21 WORK BETTER. LIVE BETTER.