Evolution of Containers in OpenStack Deployment

ease openstack non containerized to containerized n.w
1 / 31
Embed
Share

Explore the evolution of containerized deployment in OpenStack, from non-containerized to containerized solutions. Learn about the advantages, migration reasons, use cases, and future possibilities of containerization with Kolla for efficient resource use and improved deployment strategies.

  • OpenStack
  • Containerization
  • Deployment
  • Evolution
  • Kolla

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Ease OpenStack : Non-Containerized to Containerized

  2. Introduction : -- Surya Prakash Singh (NEC Technologies India Pvt Ltd) -- Jeffrey Zhang (99cloud) -- Duong Ha-Quang (Fujitsu)

  3. Agenda: Evolution of Containers Evolution of Containerized Deployment Advantages of Containers Why Migrate ? Use Cases Why Containerized with Kolla ? Future of migration with Kolla Containerized Analytics Migration Feasibility How do we containerize OpenStack Demo Q & A

  4. Evolution of Containers: Process Container 2006 1979 2004 2000 2005 2001 2008 2011 LMCTFY Container Tools Container Security RKT 2017 2017 2017 2016 2013 2013

  5. Advantages of Containerized Deployment: Efficient CI Compatibility and Maintainability Simplicity and Faster Configuration Rapid Deployment Multi Cloud Platform Isolation Security Environment Standardization and Version Control

  6. Evolution of containerized deployment: Packstack Devstack

  7. Why migrate ?

  8. Use Cases - - - Node failure Maintenance of cloud Efficient resource use

  9. Node Failure Storage failure Network issue Natural disaster Heating issue on node

  10. Maintenance of DC Firmware Upgrades Hardware Upgrades Kernel Upgrades

  11. Efficient Resource use Cost Reduction Resiliency improvement VM 1 VM 2 VM 3 VM VM VM 4 VM 5 VM 6 VM VM VM VM VM 6 Low network latency VM1 VM VM VM Retire VM Transfer VM Compute Node

  12. Why Containerized with Kolla? - - - - - Quick OpenStack Deployment with high availability Microservice architecture Easy upgrades Easy development environment Different OpenStack releases in single environment

  13. Quick OpenStack Deployment Kolla + Kolla-ansible

  14. Micro-Service Architecture

  15. Easy Upgrade Ocata Pike Queens Easy Development Environment Horizon Murano Heat Kuryr Zun Horizon Keyston Glance Tacker

  16. Different OpenStack releases in single environment One Cloud Heat Cinder Nova Swift Object Storage Neutron Compute Node Controller Node Storage Node Pike Queens Ocata

  17. Containerized Analytics Architecture Case Study: Complexity of process migration Easy Normal Difficult Code Single Process Multiple Processes Self modifying Configuration One file Several Files Anywhere in FS Data Saved at one place Saved in several Places Anywhere in FS Network HTTP, HTTPS TCP, UDP IPSEC, Highly isolated Installation Packages, Source Installer & Understood Configuration Install.sh Licensing Open Source Proprietary Restrictive & Proprietary Recoverability Easy to Restart Fails Sometimes Fails often

  18. Type1 Migration Feasibility : Application on Old-infra Application on New Infra Possibility Performance Drawbacks Case1: Yes Case 1: Case1: n-api DB Case 1 Depends on application Depends on application Docker OS Cinder- api DB n-api H/w OS DB n-api Case 2: Depends on application Case2: Depends on application Case 2 HW Docker Case2: VM Hypervisor Yes OS HW

  19. Type2 Migration Feasibility : Application on Old-infra Application on New Infra Possibility Performance Drawbacks Case1: Case1: Case1: Case 1 App 2 n-api Yes Docker Application dependent Application dependent VM Hypervisor App 2 n-api H/w Case 2 VM App 2 n-api Case2: Yes Hypervisor Docker OS Case2: Application dependent Case2: Application dependent OS HW HW

  20. Type3 Migration Feasibility: Application on Old-infra Application on New Infra Possibility Performance Drawbacks Case1: Case1: Application dependent Case1: Application dependent App 2 n-api Yes Case 1 Docker VM Hypervisor H/w App 2 n-api Case 2 App 2 n-api VM Case2: Case2: Application dependent Case2: Application dependent Hypervisor Docker Yes H/w OS HW

  21. [Assumption] Future of migration with Kolla Live migration of services into containers Cold migration of services into container

  22. [Assumption] Non-containerized to containerized execution steps: 1. Stop Node 2. Copying Configuration/Data 3. Start Container of Service 4. Rollback

  23. Flow ~ ~ ~ Nova API Image Nova Compute Image Nova Conductor Image Nova Scheduler Image API API Nova API Volume Volume Nova Compute Nova API Container Nova Compute Container Docker Hub Backup Backup Nova Conductor Nova Schedule Nova Conductor Container Nova Scheduler Container Cinder Cinder Nova Stop Nova Start Kolla Acc Acc Proxy Proxy API L2/l3 API L2/l3 Cont Obj Cont Obj Kolla-Migrator Copy/Configure Neutron Neutron Swift Swift Api DB Api DB Kolla-ansible Keystone Keystone Non-Containerized Cloud Containerized Cloud

  24. Way of doing with kolla for OpenStack services: Control Plane Services Possible steps of doing setup of l3-ha stop slave,start kolla slave, vrrp restores cluster stop master, vrrp moves to kolla-based l3 agent copy PXE state /tftboot/ to ironic_pxe volume Copy /var/lib/libvirt to volume/container cgroup set for Qemu worst case live migration Possible steps of doing kill iscid/tgtd start kolla container tgtd/iscsid Add swift container wait for rebalance (heavy) or restart containerized node Possible steps of doing Current config as override update log directory Playbook to diff existing config with kolla-ansible generated Move contents of /var/lib/glance to glance/volume Depends on backend Network Nodes Ironic Nova Data Plane Services Cinder + LVM/NFS Swift Config migration Config Migration Glance Images

  25. How do we Containerize OpenStack Way of doing with kolla for OpenStack services: Infra Services Possible steps of doing within same db version copy data to docker/volume worst case backup and restore DB + Rabbit MQ switch from non-containerized to containerized ceph existing .yml (with some customization may be possible) external ceph Ceph

  26. Architecture: Containerization of OpenStack swift service Adding to existing cloud Swift Cluster Proxy Swift Storage Container Ac Cont Cont Ac Keystone Obj Obj Swift storage Swift storage Ac DB Cont DB Obj DB Docker Virtual Box OS H/W

  27. Migration of OpenStack swift service into container Expected Operations : 1- Create an Object in non-containerized Swift cluster 2- Add a container as new node addition in swift cluster 3- Wait for rebalancing of swift cluster 4- Access the created object from in partly containerized cloud

  28. Challenges Faced in swift service migration: Heavy data traffic AIO installation of swift into container Applying config to Kolla-container

  29. Q & A

  30. Communication Surya Prakash Singh IRC: spsurya singh.surya64mnnit@gmail.com Jeffrey Zhang IRC: Jeffrey4l jeffrey.zhang@99cloud.net Duong Ha-Quang IRC: duonghq duonghq@vn.fujitsu.com

  31. Thank You !!

Related


More Related Content