SlideShare a Scribd company logo
Openstack Magnum: Containers-as-a-Service
Chhavi Agarwal (IBM)
Ravi Gummadi (IBM)
1
Agenda
What is Magnum
Terminology
Why Magnum
Magnum Overview and Architecture
Supported COEs and OSes combinations
Setup Magnum with Devstack
Magnum Demo
2
What is Magnum
• Magnum is an OpenStack API service developed by the OpenStack
Containers Team making container orchestration engines such as
Docker Swarm, Kubernetes, and Apache Mesos available as first class
resources in OpenStack (from openstack wiki)
3
Terminology
• COE: Container Orchestration Engine to manage containers.
Examples: Kubernetes, Docker Swarm, Apache Mesos
• Cluster/Bay: A construct in which Magnum launches COE.
Cluster
COE
Nova
Instance
Nova
Instance
Nova
Instance
4
Terminology
• ClusterTemplate/BayModel: Template for creating clusters.
Includes image, COE.
• Native Client: Use native clients at COE level or at container
level to interact with clusters. Ex: kubectl, docker.
ClusterTemplate
Cluster ClusterCluster
5
Why Magnum
• Multi-tenancy for containers
• Reusing OpenStack Components like Keystone, Heat, Glance,
Neutron
• Multiple COEs side by side
• Server Type: VM, Bare Metal
6
Magnum Overview
7
Magnum Architecture
8
Magnum Support
9
Magnum Cluster Template LifeCycle Operations
• Create, List, Show, Delete
• magnum cluster-template-create –name my-cluster-template --image-id ubuntu-
mesos 
--keypair-id testkey 
--external-network-id public 
--dns-nameserver 8.8.8.8 
--flavor-id m1.small 
--coe mesos
• magnum cluster-template-list
• magnum cluster-template-show my-cluster-template
• magnum cluster-template-delete my-cluster-template
• magnum cluster-template-update my-cluster-template
10
Magnum Cluster LifeCycle Operations
• Create, List, Show, Update/Scale, Delete
• magnum cluster-create --name mycluster 
--cluster-template mytemplate 
--node-count 8 
--master-count 3
• magnum cluster-list
• Magnum cluster-show mycluster
• magnum cluster-update mycluster replace node_count=2 # (See below table)
• magnum cluster-delete mycluster
11
Scaling
• Scaling containers is through COEs
• Scaling Nodes:
magnum cluster-update mycluster replace node_count=4
• Scale up
• Scale down
12
Demo
13
Setup Devstack including Magnum
• Configure devstack by enabling magnum:
• Clone devstack:
• # Create a root directory for devstack if needed
• sudo mkdir -p /opt/stack
• sudo chown $USER /opt/stack
• # clone
• git clone https://git.openstack.org/openstack-dev/devstack /opt/stack/devstack
• Configure to enable enable magnum, heat, and neutron
• Configure to enable ceilometer, swift if required
14
Setup Devstack including Magnum
• Configure to enable enable magnum, heat, and neutron in /opt/stack/devstack/local.conf :
• [[local|localrc]]
• DATABASE_PASSWORD=password
• RABBIT_PASSWORD=password
• SERVICE_TOKEN=password
• SERVICE_PASSWORD=password
• ADMIN_PASSWORD=password
• # magnum requires the following to be set correctly
• PUBLIC_INTERFACE=eth1
• # Enable barbican service and use it to store TLS certificates
• # For details http://docs.openstack.org/developer/magnum/dev/tls.html
• enable_plugin barbican https://git.openstack.org/openstack/barbican
• enable_plugin heat https://git.openstack.org/openstack/heat
• enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas
• enable_plugin octavia https://git.openstack.org/openstack/octavia
• # Enable magnum plugin after dependent plugins
• enable_plugin magnum https://git.openstack.org/openstack/magnum
• # Optional: uncomment to enable the Magnum UI plugin in Horizon
• #enable_plugin magnum-ui https://github.com/openstack/magnum-ui
• # Disable LBaaS(v1) service
• disable_service q-lbaas
• # Enable LBaaS(v2) services
• enable_service q-lbaasv2
• enable_service octavia
• enable_service o-cw
• enable_service o-hk
• enable_service o-hm
• enable_service o-api
• VOLUME_BACKING_FILE_SIZE=20G 15
Setup Devstack including Magnum
• Run devstack:
• cd /opt/stack/devstack
• ./stack.sh
• magnum-api and magnum-conductor processes would come up
• Prepare for openstack clients:
• source /opt/stack/devstack/openrc admin admin
• Commands to start with:
• magnum help
• magnum service-list
• Create a keypair for use with the ClusterTemplate:
• test -f ~/.ssh/id_rsa.pub || ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
• nova keypair-add --pub-key ~/.ssh/id_rsa.pub testkey
16
Building and Using a Mesos Cluster
• Download Ubuntu image which includes mesos related packages and add to glance
• wget https://fedorapeople.org/groups/magnum/ubuntu-mesos-latest.qcow2
• glance image-create --name ubuntu-mesos --visibility public 
--disk-format=qcow2 --container-format=bare 
--os-distro=ubuntu --file=ubuntu-mesos-latest.qcow2
• Create a ClusterTemplate
• magnum cluster-template-create --name mesos-cluster-template --image-id ubuntu-mesos 
--keypair-id testkey 
--external-network-id public 
--dns-nameserver 8.8.8.8 
--flavor-id m1.small 
--coe mesos
• Create Cluster
• magnum cluster-create --name mesos-cluster 
--cluster-template mesos-cluster-template 
--node-count 1
17
Building and Using a Mesos Cluster
• Make sure that the cluster status is CREATE_COMPLETE
18
Building and Using a Mesos Cluster
• Create Container through marathon REST API
$ cat > mesos.json << END
{
"container": {
"type": "DOCKER",
"docker": {
"image": "cirros"
}
},
"id": "ubuntu",
"instances": 1,
"cpus": 0.5,
"mem": 512,
"uris": [],
"cmd": "ping 8.8.8.8"
}
END
$ MASTER_IP=$(magnum cluster-show mesos-cluster | awk '/ api_address /{print $4}')
$ curl -X POST -H "Content-Type: application/json" 
http://${MASTER_IP}:8080/v2/apps -d@mesos.json 19
Accessing Mesos Cluster
• Check application and task status:
$ curl http://${MASTER_IP}:8080/v2/apps
$ curl http://${MASTER_IP}:8080/v2/tasks
• Mesos web page at http://<master>:5050/
• Marathon web console at http://<master>:8080/
20
References
• https://docs.openstack.org/developer/magnum/userguide.html
• http://docs.openstack.org/developer/magnum/dev/quickstart.html#
exercising-the-services-using-devstack
• http://superuser.openstack.org/articles/a-primer-on-magnum-
openstack-containers-as-a-service
• Videos from OpenStack Summits
21
THANK YOU
22
BackUp
23
Multi-node Setup of OpenStack using OpenStack-Ansible
• On all nodes,
• Install prerequisite packages:
apt-get -y install bridge-utils debootstrap ifenslave ifenslave-2.6 lsof lvm2 ntp ntpdate
openssh-server sudo tcpdump vlan aptitude build-essential git ntp ntpdate openssh-server
python-dev
• Configure networking
• On the deployer node,
• git clone https://github.com/openstack/openstack-ansible.git /opt/openstack-ansible
• scripts/bootstrap-ansible.sh
• Configure things in /etc/openstack_deploy/*.yml and /etc/openstack_deploy/*/*.yml
• Make sure to configure magnum-infra_hosts in
/etc/openstack_deploy/conf.d/magnum.yml
• Run setup-hosts.yml
• Run setup-infrastructure.yml
• Run setup-openstack.yml to complete the deployment of OpenStack
24
Horizon UI – Magnum Cluster Templates
25
Horizon UI – Magnum – Create Cluster
26
Horizon UI – Magnum Cluster Template Details
27

More Related Content

PDF
NATS Streaming - an alternative to Apache Kafka?
PDF
Automated CloudStack Deployment
PPTX
Kubernetes Workshop
PDF
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
PDF
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
PDF
Introduction to Docker Compose
PDF
Event-Driven Microservices With NATS Streaming
NATS Streaming - an alternative to Apache Kafka?
Automated CloudStack Deployment
Kubernetes Workshop
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Introduction to Docker Compose
Event-Driven Microservices With NATS Streaming

What's hot (20)

PDF
[OpenInfra Days Korea 2018] Day 2 - CEPH 운영자를 위한 Object Storage Performance T...
PDF
Red Hat OpenShift Operators - Operators ABC
PPTX
Docker introduction (1)
PDF
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
PDF
How to build a Kubernetes networking solution from scratch
PDF
What's Coming in CloudStack 4.19
PDF
Kubernetes dealing with storage and persistence
PDF
Deep dive into Kubernetes Networking
ODP
Block Storage For VMs With Ceph
PPTX
Ceph Performance and Sizing Guide
PDF
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
PPTX
Keystone - Openstack Identity Service
PDF
Easy, Secure, and Fast: Using NATS.io for Streams and Services
PDF
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
PPTX
Minio Cloud Storage
PDF
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
PDF
Red Hat OpenStack 17 저자직강+스터디그룹_1주차
PDF
Docker Introduction
PDF
How to write a Dockerfile
PPTX
Discover Quarkus and GraalVM
[OpenInfra Days Korea 2018] Day 2 - CEPH 운영자를 위한 Object Storage Performance T...
Red Hat OpenShift Operators - Operators ABC
Docker introduction (1)
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
How to build a Kubernetes networking solution from scratch
What's Coming in CloudStack 4.19
Kubernetes dealing with storage and persistence
Deep dive into Kubernetes Networking
Block Storage For VMs With Ceph
Ceph Performance and Sizing Guide
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
Keystone - Openstack Identity Service
Easy, Secure, and Fast: Using NATS.io for Streams and Services
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
Minio Cloud Storage
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
Red Hat OpenStack 17 저자직강+스터디그룹_1주차
Docker Introduction
How to write a Dockerfile
Discover Quarkus and GraalVM
Ad

Viewers also liked (18)

PDF
OpenStack Magnum 2016-08-04
PPTX
Introduction to Magnum (JP)
PDF
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
PDF
OpenStack Magnum
PPTX
Optimising nfv service chains on open stack using docker
PPTX
GKE vs OpenStack Magnum
PDF
Networking For Nested Containers: Magnum, Kuryr, Neutron Integration
PDF
An Introduction to the Kubernetes API
PDF
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
PDF
【第33回コンピュータビジョン勉強会@関東】OpenVX、 NVIDIA VisionWorks使ってみた
PDF
OpenStack networking
PDF
Deploying your apps in the cloud - the options: an overview
PPTX
Service Discovery using etcd, Consul and Kubernetes
PDF
Docker on RHEL & Project Atomic 入門 - #Dockerjp 4
PDF
OpenStack Tutorial
PPTX
Docker Container As A Service - JAX 2016
ODP
Introducing OpenStack for Beginners
PDF
OpenStack Architecture
OpenStack Magnum 2016-08-04
Introduction to Magnum (JP)
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
OpenStack Magnum
Optimising nfv service chains on open stack using docker
GKE vs OpenStack Magnum
Networking For Nested Containers: Magnum, Kuryr, Neutron Integration
An Introduction to the Kubernetes API
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
【第33回コンピュータビジョン勉強会@関東】OpenVX、 NVIDIA VisionWorks使ってみた
OpenStack networking
Deploying your apps in the cloud - the options: an overview
Service Discovery using etcd, Consul and Kubernetes
Docker on RHEL & Project Atomic 入門 - #Dockerjp 4
OpenStack Tutorial
Docker Container As A Service - JAX 2016
Introducing OpenStack for Beginners
OpenStack Architecture
Ad

Similar to Openstack Magnum: Container-as-a-Service (20)

PDF
Bug smash day magnum
PDF
Bug smash day magnum
PPTX
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
PPTX
Docker in OpenStack
PPTX
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
PDF
Pro2516 10 things about oracle and k8s.pptx-final
PDF
Bdc from bare metal to k8s
PPTX
Docker New York Meetup May 2015 - The Docker Orchestration Ecosystem on Azure
PPTX
Devoxx France 2015 - The Docker Orchestration Ecosystem on Azure
PPTX
Docker 1.11 Presentation
PDF
Postgre sql linuxcontainers by Jignesh Shah
PPTX
PostgreSQL and Linux Containers
PPTX
Docker and kubernetes_introduction
PDF
Toward 10,000 Containers on OpenStack
PPTX
KuberneteSADASDSADASDASDASDASDASDAs Labs.pptx
PPTX
Kolla talk at OpenStack Summit 2017 in Sydney
PDF
Kubernetes Boston — Custom High Availability of Kubernetes
PPTX
Docker Container Security
PDF
Kubernetes for Java Developers
PDF
Get you Java application ready for Kubernetes !
Bug smash day magnum
Bug smash day magnum
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
Docker in OpenStack
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
Pro2516 10 things about oracle and k8s.pptx-final
Bdc from bare metal to k8s
Docker New York Meetup May 2015 - The Docker Orchestration Ecosystem on Azure
Devoxx France 2015 - The Docker Orchestration Ecosystem on Azure
Docker 1.11 Presentation
Postgre sql linuxcontainers by Jignesh Shah
PostgreSQL and Linux Containers
Docker and kubernetes_introduction
Toward 10,000 Containers on OpenStack
KuberneteSADASDSADASDASDASDASDASDAs Labs.pptx
Kolla talk at OpenStack Summit 2017 in Sydney
Kubernetes Boston — Custom High Availability of Kubernetes
Docker Container Security
Kubernetes for Java Developers
Get you Java application ready for Kubernetes !

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation theory and applications.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Cloud computing and distributed systems.
PDF
Machine learning based COVID-19 study performance prediction
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Understanding_Digital_Forensics_Presentation.pptx
Empathic Computing: Creating Shared Understanding
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation theory and applications.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Cloud computing and distributed systems.
Machine learning based COVID-19 study performance prediction
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Chapter 3 Spatial Domain Image Processing.pdf

Openstack Magnum: Container-as-a-Service

  • 1. Openstack Magnum: Containers-as-a-Service Chhavi Agarwal (IBM) Ravi Gummadi (IBM) 1
  • 2. Agenda What is Magnum Terminology Why Magnum Magnum Overview and Architecture Supported COEs and OSes combinations Setup Magnum with Devstack Magnum Demo 2
  • 3. What is Magnum • Magnum is an OpenStack API service developed by the OpenStack Containers Team making container orchestration engines such as Docker Swarm, Kubernetes, and Apache Mesos available as first class resources in OpenStack (from openstack wiki) 3
  • 4. Terminology • COE: Container Orchestration Engine to manage containers. Examples: Kubernetes, Docker Swarm, Apache Mesos • Cluster/Bay: A construct in which Magnum launches COE. Cluster COE Nova Instance Nova Instance Nova Instance 4
  • 5. Terminology • ClusterTemplate/BayModel: Template for creating clusters. Includes image, COE. • Native Client: Use native clients at COE level or at container level to interact with clusters. Ex: kubectl, docker. ClusterTemplate Cluster ClusterCluster 5
  • 6. Why Magnum • Multi-tenancy for containers • Reusing OpenStack Components like Keystone, Heat, Glance, Neutron • Multiple COEs side by side • Server Type: VM, Bare Metal 6
  • 10. Magnum Cluster Template LifeCycle Operations • Create, List, Show, Delete • magnum cluster-template-create –name my-cluster-template --image-id ubuntu- mesos --keypair-id testkey --external-network-id public --dns-nameserver 8.8.8.8 --flavor-id m1.small --coe mesos • magnum cluster-template-list • magnum cluster-template-show my-cluster-template • magnum cluster-template-delete my-cluster-template • magnum cluster-template-update my-cluster-template 10
  • 11. Magnum Cluster LifeCycle Operations • Create, List, Show, Update/Scale, Delete • magnum cluster-create --name mycluster --cluster-template mytemplate --node-count 8 --master-count 3 • magnum cluster-list • Magnum cluster-show mycluster • magnum cluster-update mycluster replace node_count=2 # (See below table) • magnum cluster-delete mycluster 11
  • 12. Scaling • Scaling containers is through COEs • Scaling Nodes: magnum cluster-update mycluster replace node_count=4 • Scale up • Scale down 12
  • 14. Setup Devstack including Magnum • Configure devstack by enabling magnum: • Clone devstack: • # Create a root directory for devstack if needed • sudo mkdir -p /opt/stack • sudo chown $USER /opt/stack • # clone • git clone https://git.openstack.org/openstack-dev/devstack /opt/stack/devstack • Configure to enable enable magnum, heat, and neutron • Configure to enable ceilometer, swift if required 14
  • 15. Setup Devstack including Magnum • Configure to enable enable magnum, heat, and neutron in /opt/stack/devstack/local.conf : • [[local|localrc]] • DATABASE_PASSWORD=password • RABBIT_PASSWORD=password • SERVICE_TOKEN=password • SERVICE_PASSWORD=password • ADMIN_PASSWORD=password • # magnum requires the following to be set correctly • PUBLIC_INTERFACE=eth1 • # Enable barbican service and use it to store TLS certificates • # For details http://docs.openstack.org/developer/magnum/dev/tls.html • enable_plugin barbican https://git.openstack.org/openstack/barbican • enable_plugin heat https://git.openstack.org/openstack/heat • enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas • enable_plugin octavia https://git.openstack.org/openstack/octavia • # Enable magnum plugin after dependent plugins • enable_plugin magnum https://git.openstack.org/openstack/magnum • # Optional: uncomment to enable the Magnum UI plugin in Horizon • #enable_plugin magnum-ui https://github.com/openstack/magnum-ui • # Disable LBaaS(v1) service • disable_service q-lbaas • # Enable LBaaS(v2) services • enable_service q-lbaasv2 • enable_service octavia • enable_service o-cw • enable_service o-hk • enable_service o-hm • enable_service o-api • VOLUME_BACKING_FILE_SIZE=20G 15
  • 16. Setup Devstack including Magnum • Run devstack: • cd /opt/stack/devstack • ./stack.sh • magnum-api and magnum-conductor processes would come up • Prepare for openstack clients: • source /opt/stack/devstack/openrc admin admin • Commands to start with: • magnum help • magnum service-list • Create a keypair for use with the ClusterTemplate: • test -f ~/.ssh/id_rsa.pub || ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa • nova keypair-add --pub-key ~/.ssh/id_rsa.pub testkey 16
  • 17. Building and Using a Mesos Cluster • Download Ubuntu image which includes mesos related packages and add to glance • wget https://fedorapeople.org/groups/magnum/ubuntu-mesos-latest.qcow2 • glance image-create --name ubuntu-mesos --visibility public --disk-format=qcow2 --container-format=bare --os-distro=ubuntu --file=ubuntu-mesos-latest.qcow2 • Create a ClusterTemplate • magnum cluster-template-create --name mesos-cluster-template --image-id ubuntu-mesos --keypair-id testkey --external-network-id public --dns-nameserver 8.8.8.8 --flavor-id m1.small --coe mesos • Create Cluster • magnum cluster-create --name mesos-cluster --cluster-template mesos-cluster-template --node-count 1 17
  • 18. Building and Using a Mesos Cluster • Make sure that the cluster status is CREATE_COMPLETE 18
  • 19. Building and Using a Mesos Cluster • Create Container through marathon REST API $ cat > mesos.json << END { "container": { "type": "DOCKER", "docker": { "image": "cirros" } }, "id": "ubuntu", "instances": 1, "cpus": 0.5, "mem": 512, "uris": [], "cmd": "ping 8.8.8.8" } END $ MASTER_IP=$(magnum cluster-show mesos-cluster | awk '/ api_address /{print $4}') $ curl -X POST -H "Content-Type: application/json" http://${MASTER_IP}:8080/v2/apps -d@mesos.json 19
  • 20. Accessing Mesos Cluster • Check application and task status: $ curl http://${MASTER_IP}:8080/v2/apps $ curl http://${MASTER_IP}:8080/v2/tasks • Mesos web page at http://<master>:5050/ • Marathon web console at http://<master>:8080/ 20
  • 21. References • https://docs.openstack.org/developer/magnum/userguide.html • http://docs.openstack.org/developer/magnum/dev/quickstart.html# exercising-the-services-using-devstack • http://superuser.openstack.org/articles/a-primer-on-magnum- openstack-containers-as-a-service • Videos from OpenStack Summits 21
  • 24. Multi-node Setup of OpenStack using OpenStack-Ansible • On all nodes, • Install prerequisite packages: apt-get -y install bridge-utils debootstrap ifenslave ifenslave-2.6 lsof lvm2 ntp ntpdate openssh-server sudo tcpdump vlan aptitude build-essential git ntp ntpdate openssh-server python-dev • Configure networking • On the deployer node, • git clone https://github.com/openstack/openstack-ansible.git /opt/openstack-ansible • scripts/bootstrap-ansible.sh • Configure things in /etc/openstack_deploy/*.yml and /etc/openstack_deploy/*/*.yml • Make sure to configure magnum-infra_hosts in /etc/openstack_deploy/conf.d/magnum.yml • Run setup-hosts.yml • Run setup-infrastructure.yml • Run setup-openstack.yml to complete the deployment of OpenStack 24
  • 25. Horizon UI – Magnum Cluster Templates 25
  • 26. Horizon UI – Magnum – Create Cluster 26
  • 27. Horizon UI – Magnum Cluster Template Details 27