SlideShare une entreprise Scribd logo
1  sur  24
Mistral and StackStorm
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC.
Barnaul, Russia
Portland, Apr 2013
Hong Kong, Nov 2013Palo Alto, Jan 2014
StackStorm: Mistral’s before and after
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 3
What’s next task?
Which action?
Data input/output
Before After
AUTOMATION PRODUCT
WORKFLOW
SERVICE
What triggers
workflow?
Input data?
Run action.
Take input.
Return output.
StackStorm contributed from the beginning
4MISTRAL-ALL, ALL TIME (ALL PROJECTS)
Lines of code Reviews
1. Directions
2. Code
• Event-driven automation product
• License: Apache 2.0
• Python, 80% OpenStack “stack”
• Controlled by: Brocade
• Dev workflow: Github flow
5
StackStorm Mistral
• Workflow Service
• License: Apache 2.0
• Python, 100% OpenStack “stack”
• Controlled by: OpenStack foundation
• Dev workflow: OpenStack Gerrit
StackStorm
6
IT Domains
Config mgmtStorageNetworking ContainersCloud InfraMonitoring
ActionsSensors
WorkflowsRules
Ops Support
MISTRAL
Automation Example
7
Automation
EngineerService
Monitoring Incident
Management
Event: “low disk
on web301”
Web301 is
“low disk”
Resolve known cases,
fast. Is it
/var/log?
Clean up!
Unknown
problem, need a
human
Wake up, buddy.
Something real
is going on…
What is Mistral?
8
Mistral is an OpenStack Service that
manages workflows
OpenStack summit Austin 2016 Video: https://youtu.be/rVAoc4fNkxI
Why yet another workflow service?
1. NO Java
– Ops friendly language (e.g. Python)
2. NO WYSWYG
– Infrastructure as code
3. NO BPEL
– Need a good workflow definition language!
• TOSCA: “Instead of providing another language for defining process models, the specification
relies on existing languages like BPMN or BPEL.”
4. NO Legacy architecture
– Horizontally scalable, highly available, micro-services, REST API
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 9
No JAVA: ops friendly stack
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 10
No WYCWYG
11
No BPEL: need good workflow language
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 12
TOSCA: “Instead of providing another language for defining process
models, the specification relies on existing languages like BPMN or
BPEL.”
NO Legacy architecture:
Horizontally scalable, highly available, micro-services, REST API
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 13
StackStorm & Mistral: overlap
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 14
What’s next task?
Which action?
Data input/output
Before After
AUTOMATION PRODUCT
WORKFLOW
SERVICE
What triggers
workflow?
Input data?
Run action.
Take input.
Return output.
Mistal raw or StackStorm?
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 15
Usage
16
Mistral (deep) StackStorm (broad)
Users OpenStack community, TELCO DevOps, Security, Networking
Use Cases NVF, OpenStack automation, use by
OpenStack projects
CI/CD, operation automation,
security, networking, ChatOps,
Usage (estimated) ??? installations
Estimated: ~200 users
IRC chatter: ~3,000 msg/month
~2,000 installations/months
Estimated: ~1000 users
Slack chatter: ~5,000 msg/month
Super-users Nokia, Ericson, TripleO, Intel, IBM Fujitsu, Target, Cisco, Verizon,
Pearson, Pulsant, CollabNet,
DimentionData, Symantec, Netflix…
Case study: Cisco IT
• Use case:
– automate self-service provisioning
– Transformation:
– traditional IT -> DevOps
– Legacy Runbook automation -> DevOps-friendly workflow product
• Wanted Mistral (watched for 1 year!)
• Using StackStorm
– Was Mistral not enough? Why?
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 17
Case study: Nokia
• Use case:
– NFV
– Complex application provisioning workflows on OpenStack
• Using Mistral “raw”
– Happy with OpenStack + custom static Python actions (less dynamic env)
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 18
Actions: Overlap?
19
Mistral StackStorm
Python actions ✓ ✓
Extensible ✓ (stevedore) ✓ (dynamic)
Dynamic load ✗ ✓
Python lib isolation ✗ ✓
Polygloting ✗ ✓ (runners)
Call directly ✗ ✓ (API, CLI, UI)
OpenStack actions ✓ (*) ✓ (*)
“Pack” model ✗ ✓
Community “hub” ✗ ✓
Community integrations
Over 2,000 actions (github/st2contrib)
StackStorm & Mistral: overlap
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 21
What’s next task?
Which action?
Data input/output
Before After
AUTOMATION PRODUCT
WORKFLOW
SERVICE
What triggers
workflow?
Input data?
Run action.
Take input.
Return output.
StackStorm & Mistral: overlap
• Users confused: when use one, when another
• Contributors confused: offering functionality that breaks architectural
“purity”
© 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 22
Mistral & StackStorm: path forward (draft)
• Keep Mistral workflow service “clean”
• Separate “action” framework and
• Make Python actions compatible
• Recommend StackStorm for event-driven, and advanced actions
Details – Mistral contributor’s session tomorrow, Fri Oct 27
23
DISCUSSION
24

Contenu connexe

Tendances

Tendances (20)

Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015Meetup openstack-sfbay-2015
Meetup openstack-sfbay-2015
 
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magicRunning Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
 
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
 
Introduction to Spring Cloud OSS - Denver Cloud Foundry Meetup
Introduction to Spring Cloud OSS - Denver Cloud Foundry MeetupIntroduction to Spring Cloud OSS - Denver Cloud Foundry Meetup
Introduction to Spring Cloud OSS - Denver Cloud Foundry Meetup
 
Moving from Icinga 1 to Icinga 2 + Director - Icinga Camp Zurich 2019
Moving from Icinga 1 to Icinga 2 + Director - Icinga Camp Zurich 2019Moving from Icinga 1 to Icinga 2 + Director - Icinga Camp Zurich 2019
Moving from Icinga 1 to Icinga 2 + Director - Icinga Camp Zurich 2019
 
Incident Resolution as Code
Incident Resolution as CodeIncident Resolution as Code
Incident Resolution as Code
 
Puppet Camp Berlin 2015: Nigel Kersten | Puppet Keynote
Puppet Camp Berlin 2015: Nigel Kersten | Puppet KeynotePuppet Camp Berlin 2015: Nigel Kersten | Puppet Keynote
Puppet Camp Berlin 2015: Nigel Kersten | Puppet Keynote
 
Masterless Puppet Using AWS S3 Buckets and IAM Roles
Masterless Puppet Using AWS S3 Buckets and IAM RolesMasterless Puppet Using AWS S3 Buckets and IAM Roles
Masterless Puppet Using AWS S3 Buckets and IAM Roles
 
Deployment Automation on OpenStack with TOSCA and Cloudify
Deployment Automation on OpenStack with  TOSCA and CloudifyDeployment Automation on OpenStack with  TOSCA and Cloudify
Deployment Automation on OpenStack with TOSCA and Cloudify
 
OpenStack and Puppet
OpenStack and PuppetOpenStack and Puppet
OpenStack and Puppet
 
TripleO
 TripleO TripleO
TripleO
 
Deployment Automation & Self-Healing with Dynatrace & Ansible
Deployment Automation & Self-Healing with Dynatrace & AnsibleDeployment Automation & Self-Healing with Dynatrace & Ansible
Deployment Automation & Self-Healing with Dynatrace & Ansible
 
OSMC 2017 | Log Monitoring with Logstash and Icinga by Walter Heck
OSMC 2017 | Log Monitoring with Logstash and Icinga by Walter HeckOSMC 2017 | Log Monitoring with Logstash and Icinga by Walter Heck
OSMC 2017 | Log Monitoring with Logstash and Icinga by Walter Heck
 
OpenStack at NTT Resonant: Lessons Learned in Web Infrastructure
OpenStack at NTT Resonant: Lessons Learned in Web InfrastructureOpenStack at NTT Resonant: Lessons Learned in Web Infrastructure
OpenStack at NTT Resonant: Lessons Learned in Web Infrastructure
 
Deploying OpenStack with Ansible
Deploying OpenStack with AnsibleDeploying OpenStack with Ansible
Deploying OpenStack with Ansible
 
Compass first meetup
Compass first meetupCompass first meetup
Compass first meetup
 
OpenStack-Ansible Security
OpenStack-Ansible SecurityOpenStack-Ansible Security
OpenStack-Ansible Security
 
Monitor your CentOS stack with Prometheus
Monitor your CentOS stack with PrometheusMonitor your CentOS stack with Prometheus
Monitor your CentOS stack with Prometheus
 
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
Meetup 23 - 01 - The things I wish I would have known before doing OpenStack ...
 
Incident Management with Workflows
Incident Management with WorkflowsIncident Management with Workflows
Incident Management with Workflows
 

En vedette

En vedette (19)

OpenStack Automation Overview
OpenStack Automation OverviewOpenStack Automation Overview
OpenStack Automation Overview
 
OpenStack DevOps Workflows with TOSCA
OpenStack DevOps Workflows with TOSCAOpenStack DevOps Workflows with TOSCA
OpenStack DevOps Workflows with TOSCA
 
StackStorm DevOps Automation Webinar
StackStorm DevOps Automation WebinarStackStorm DevOps Automation Webinar
StackStorm DevOps Automation Webinar
 
Mirantis, Openstack, Ubuntu, and it's Performance on Commodity Hardware
Mirantis, Openstack, Ubuntu, and it's Performance on Commodity HardwareMirantis, Openstack, Ubuntu, and it's Performance on Commodity Hardware
Mirantis, Openstack, Ubuntu, and it's Performance on Commodity Hardware
 
Automating Application over OpenStack using Workflows
Automating Application over OpenStack using WorkflowsAutomating Application over OpenStack using Workflows
Automating Application over OpenStack using Workflows
 
Bringing New Experience with Openstack and Fuel (Ihor Dvoretskyi, Oleksandr M...
Bringing New Experience with Openstack and Fuel (Ihor Dvoretskyi, Oleksandr M...Bringing New Experience with Openstack and Fuel (Ihor Dvoretskyi, Oleksandr M...
Bringing New Experience with Openstack and Fuel (Ihor Dvoretskyi, Oleksandr M...
 
The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.
 
Solum - OpenStack PaaS / ALM - Austin OpenStack summit
Solum - OpenStack PaaS / ALM - Austin OpenStack summitSolum - OpenStack PaaS / ALM - Austin OpenStack summit
Solum - OpenStack PaaS / ALM - Austin OpenStack summit
 
Fuel Plugins
Fuel PluginsFuel Plugins
Fuel Plugins
 
~ストレージの価値を最大化!~次世代ストレージの導入ベネフィットを無駄なく享受するために、“ネットワーク”視点で、知っておくべきこと
~ストレージの価値を最大化!~次世代ストレージの導入ベネフィットを無駄なく享受するために、“ネットワーク”視点で、知っておくべきこと~ストレージの価値を最大化!~次世代ストレージの導入ベネフィットを無駄なく享受するために、“ネットワーク”視点で、知っておくべきこと
~ストレージの価値を最大化!~次世代ストレージの導入ベネフィットを無駄なく享受するために、“ネットワーク”視点で、知っておくべきこと
 
Tutorial: Using GoBGP as an IXP connecting router
Tutorial: Using GoBGP as an IXP connecting routerTutorial: Using GoBGP as an IXP connecting router
Tutorial: Using GoBGP as an IXP connecting router
 
Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...
 
Troubleshooting common oslo.messaging and RabbitMQ issues
Troubleshooting common oslo.messaging and RabbitMQ issuesTroubleshooting common oslo.messaging and RabbitMQ issues
Troubleshooting common oslo.messaging and RabbitMQ issues
 
OpenStack Murano introduction
OpenStack Murano introductionOpenStack Murano introduction
OpenStack Murano introduction
 
The Key Components of Adopting CI The OpenStack Way
The Key Components of Adopting CI The OpenStack WayThe Key Components of Adopting CI The OpenStack Way
The Key Components of Adopting CI The OpenStack Way
 
DevOps Guide to Container Networking
DevOps Guide to Container NetworkingDevOps Guide to Container Networking
DevOps Guide to Container Networking
 
Fuel, Puppet and OpenStack
Fuel, Puppet and OpenStackFuel, Puppet and OpenStack
Fuel, Puppet and OpenStack
 
VNF components in OpenStack Tacker
VNF components in OpenStack TackerVNF components in OpenStack Tacker
VNF components in OpenStack Tacker
 
Evolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes
Evolve or Die: Enterprise Ready OpenStack upgrades with KubernetesEvolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes
Evolve or Die: Enterprise Ready OpenStack upgrades with Kubernetes
 

Similaire à Mistral and StackStorm

Resume_052715
Resume_052715Resume_052715
Resume_052715
Phu Sam
 
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
Mullaiselvan Mohan
 
openstackreferencearchitecturewhitepaper
openstackreferencearchitecturewhitepaperopenstackreferencearchitecturewhitepaper
openstackreferencearchitecturewhitepaper
Richard Haigh
 

Similaire à Mistral and StackStorm (20)

Test Execution Infrastructure for IoT Quality analysis
Test Execution Infrastructure for IoT Quality analysisTest Execution Infrastructure for IoT Quality analysis
Test Execution Infrastructure for IoT Quality analysis
 
Cloud Platform for IoT
Cloud Platform for IoTCloud Platform for IoT
Cloud Platform for IoT
 
Model-driven Telemetry: The Foundation of Big Data Analytics
Model-driven Telemetry: The Foundation of Big Data AnalyticsModel-driven Telemetry: The Foundation of Big Data Analytics
Model-driven Telemetry: The Foundation of Big Data Analytics
 
Spark Streaming the Industrial IoT
Spark Streaming the Industrial IoTSpark Streaming the Industrial IoT
Spark Streaming the Industrial IoT
 
Leveraging CI/CD to improve open stack operation
Leveraging CI/CD to improve open stack operationLeveraging CI/CD to improve open stack operation
Leveraging CI/CD to improve open stack operation
 
Resume_052715
Resume_052715Resume_052715
Resume_052715
 
Using Tetration for application security and policy enforcement in multi-vend...
Using Tetration for application security and policy enforcement in multi-vend...Using Tetration for application security and policy enforcement in multi-vend...
Using Tetration for application security and policy enforcement in multi-vend...
 
Event-driven automation, DevOps way ~IoT時代の自動化、そのリアリティとは?~
Event-driven automation, DevOps way ~IoT時代の自動化、そのリアリティとは?~Event-driven automation, DevOps way ~IoT時代の自動化、そのリアリティとは?~
Event-driven automation, DevOps way ~IoT時代の自動化、そのリアリティとは?~
 
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
10 years in Network Protocol testing L2 L3 L4-L7 Tcl Python Manual and Automa...
 
SDN Scale-out Testing at OpenStack Innovation Center (OSIC)
SDN Scale-out Testing at OpenStack Innovation Center (OSIC)SDN Scale-out Testing at OpenStack Innovation Center (OSIC)
SDN Scale-out Testing at OpenStack Innovation Center (OSIC)
 
openstackreferencearchitecturewhitepaper
openstackreferencearchitecturewhitepaperopenstackreferencearchitecturewhitepaper
openstackreferencearchitecturewhitepaper
 
Security TechTalk | AWS Public Sector Summit 2016
Security TechTalk | AWS Public Sector Summit 2016Security TechTalk | AWS Public Sector Summit 2016
Security TechTalk | AWS Public Sector Summit 2016
 
Microsoft Dryad
Microsoft DryadMicrosoft Dryad
Microsoft Dryad
 
Model driven telemetry
Model driven telemetryModel driven telemetry
Model driven telemetry
 
Activeeon - Scale Beyond Limits
Activeeon - Scale Beyond LimitsActiveeon - Scale Beyond Limits
Activeeon - Scale Beyond Limits
 
Brad stack - Digital Health and Well-Being Festival
Brad stack - Digital Health and Well-Being Festival Brad stack - Digital Health and Well-Being Festival
Brad stack - Digital Health and Well-Being Festival
 
Splunk App for Stream
Splunk App for StreamSplunk App for Stream
Splunk App for Stream
 
Splunk Conf2010: Corporate Express presents Splunk with SAP
Splunk Conf2010: Corporate Express presents Splunk with SAPSplunk Conf2010: Corporate Express presents Splunk with SAP
Splunk Conf2010: Corporate Express presents Splunk with SAP
 
Eclipse IOT [IoT World Santa Clara]
Eclipse IOT  [IoT World Santa Clara]Eclipse IOT  [IoT World Santa Clara]
Eclipse IOT [IoT World Santa Clara]
 
Openstack Summit Tokyo 2015 - Building a private cloud to efficiently handle ...
Openstack Summit Tokyo 2015 - Building a private cloud to efficiently handle ...Openstack Summit Tokyo 2015 - Building a private cloud to efficiently handle ...
Openstack Summit Tokyo 2015 - Building a private cloud to efficiently handle ...
 

Dernier

Dernier (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Mistral and StackStorm

  • 1. Mistral and StackStorm © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC.
  • 2. Barnaul, Russia Portland, Apr 2013 Hong Kong, Nov 2013Palo Alto, Jan 2014
  • 3. StackStorm: Mistral’s before and after © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 3 What’s next task? Which action? Data input/output Before After AUTOMATION PRODUCT WORKFLOW SERVICE What triggers workflow? Input data? Run action. Take input. Return output.
  • 4. StackStorm contributed from the beginning 4MISTRAL-ALL, ALL TIME (ALL PROJECTS) Lines of code Reviews 1. Directions 2. Code
  • 5. • Event-driven automation product • License: Apache 2.0 • Python, 80% OpenStack “stack” • Controlled by: Brocade • Dev workflow: Github flow 5 StackStorm Mistral • Workflow Service • License: Apache 2.0 • Python, 100% OpenStack “stack” • Controlled by: OpenStack foundation • Dev workflow: OpenStack Gerrit
  • 6. StackStorm 6 IT Domains Config mgmtStorageNetworking ContainersCloud InfraMonitoring ActionsSensors WorkflowsRules Ops Support MISTRAL
  • 7. Automation Example 7 Automation EngineerService Monitoring Incident Management Event: “low disk on web301” Web301 is “low disk” Resolve known cases, fast. Is it /var/log? Clean up! Unknown problem, need a human Wake up, buddy. Something real is going on…
  • 8. What is Mistral? 8 Mistral is an OpenStack Service that manages workflows OpenStack summit Austin 2016 Video: https://youtu.be/rVAoc4fNkxI
  • 9. Why yet another workflow service? 1. NO Java – Ops friendly language (e.g. Python) 2. NO WYSWYG – Infrastructure as code 3. NO BPEL – Need a good workflow definition language! • TOSCA: “Instead of providing another language for defining process models, the specification relies on existing languages like BPMN or BPEL.” 4. NO Legacy architecture – Horizontally scalable, highly available, micro-services, REST API © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 9
  • 10. No JAVA: ops friendly stack © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 10
  • 12. No BPEL: need good workflow language © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 12 TOSCA: “Instead of providing another language for defining process models, the specification relies on existing languages like BPMN or BPEL.”
  • 13. NO Legacy architecture: Horizontally scalable, highly available, micro-services, REST API © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 13
  • 14. StackStorm & Mistral: overlap © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 14 What’s next task? Which action? Data input/output Before After AUTOMATION PRODUCT WORKFLOW SERVICE What triggers workflow? Input data? Run action. Take input. Return output.
  • 15. Mistal raw or StackStorm? © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 15
  • 16. Usage 16 Mistral (deep) StackStorm (broad) Users OpenStack community, TELCO DevOps, Security, Networking Use Cases NVF, OpenStack automation, use by OpenStack projects CI/CD, operation automation, security, networking, ChatOps, Usage (estimated) ??? installations Estimated: ~200 users IRC chatter: ~3,000 msg/month ~2,000 installations/months Estimated: ~1000 users Slack chatter: ~5,000 msg/month Super-users Nokia, Ericson, TripleO, Intel, IBM Fujitsu, Target, Cisco, Verizon, Pearson, Pulsant, CollabNet, DimentionData, Symantec, Netflix…
  • 17. Case study: Cisco IT • Use case: – automate self-service provisioning – Transformation: – traditional IT -> DevOps – Legacy Runbook automation -> DevOps-friendly workflow product • Wanted Mistral (watched for 1 year!) • Using StackStorm – Was Mistral not enough? Why? © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 17
  • 18. Case study: Nokia • Use case: – NFV – Complex application provisioning workflows on OpenStack • Using Mistral “raw” – Happy with OpenStack + custom static Python actions (less dynamic env) © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 18
  • 19. Actions: Overlap? 19 Mistral StackStorm Python actions ✓ ✓ Extensible ✓ (stevedore) ✓ (dynamic) Dynamic load ✗ ✓ Python lib isolation ✗ ✓ Polygloting ✗ ✓ (runners) Call directly ✗ ✓ (API, CLI, UI) OpenStack actions ✓ (*) ✓ (*) “Pack” model ✗ ✓ Community “hub” ✗ ✓
  • 20. Community integrations Over 2,000 actions (github/st2contrib)
  • 21. StackStorm & Mistral: overlap © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 21 What’s next task? Which action? Data input/output Before After AUTOMATION PRODUCT WORKFLOW SERVICE What triggers workflow? Input data? Run action. Take input. Return output.
  • 22. StackStorm & Mistral: overlap • Users confused: when use one, when another • Contributors confused: offering functionality that breaks architectural “purity” © 2016 BROCADE COMMUNICATIONS SYSTEMS, INC. 22
  • 23. Mistral & StackStorm: path forward (draft) • Keep Mistral workflow service “clean” • Separate “action” framework and • Make Python actions compatible • Recommend StackStorm for event-driven, and advanced actions Details – Mistral contributor’s session tomorrow, Fri Oct 27 23

Notes de l'éditeur

  1. In conclusion, a shameless plug for StackStorm opensource platform and to it’s commercial twin, Brocade Workflow Composer. To get a taste of event driven automation, Install and use Stackstorm, try out BWC, that comes with that nice graphical workflow designe. Please share your experience with our community (we are on slack), And happy automation!
  2. This is a high level overview of the key Workflow Composer components and architecture. Workflow Composer is powered by StackStorm StackStorm is an innovator in event-driven, DevOps-style, cross-domain automation Powered by StackStorm, Workflow Composer provides nearly 2000 points of integration with popular cross-domain platforms and technologies. StackStorm provides 3 key technologies: Sensors, Actions, and Rules.\ These technologies work hand-in-hand with workflows to provide true end-to-end, event-driven, cross-domain automation. Sensors and Actions are points of integration that use APIs to integrate with cross-domain platforms and applications. Sensors listen for specific events while Actions execute commands. Rules use IFTTT logic to determine what actions to perform based on inputs from Sensors. This highly flexible, scalable approach enables BWC to easily integrate within any DC process, tool chain, and existing workflows. This unique, high-scalable, highly flexible approach to enabling cross-domain automation allows organizations of all sizes and maturity to deploy true end-to-end, event-driven automation that meets IT challenges today and into the future.
  3. Assume you run an app on a server in your data center. The server is running out of disk space. Shamefully, it’s much more common source of failure that most care to admit. The monitoring tool picks that the server is running low in disk, and raises an event. Automation system catches the event, and fires a “low disk space” trigger The rule is set to run a “remediate out-of-disk” workflow on “low disk space” trigger’; it matches, so it runs the workflow. The workflow runs the process as defined. It may goe and checks what the problem is. And if it’s a known problem with known fix, it fixes it automatically. For instance, if the logs didn’t rotate and filled up the space, it cleans the logs. If something unusual happening, it escalates to human.
  4. Source http://docs.oasis-open.org/wsbpel/2.0/OS/wsbpel-v2.0-OS.html#_Toc164738485
  5. StackStorm was the first to bring Mistral to the field for trial,
  6. OpenStack, AWS, Rackspace, libcloud DevOps tools Monitoring systems (not just sensors! Say, zabbix fires an alert,