SlideShare a Scribd company logo
#CCCEU14 | #CloudStackWorks
#CCCEU14 | #CloudStackWorks
Cloudstack Simulator
Koushik Das
#CCCEU14 | #CloudStackWorks
Agenda
• Challenges related to product quality
in the community
• Solution to address some of them
• What is the simulator? Benefits?
• Demo
• Q & A
#CCCEU14 | #CloudStackWorks
Challenges related to quality
• Release getting delayed due to quality
issues
• Concern in community to merge big
changes as no easy way to identify
regressions
• Complex to develop test scenarios due
to distributed nature of the product
#CCCEU14 | #CloudStackWorks
Solution
• Use the simulator
#CCCEU14 | #CloudStackWorks
Cloudstack Architecture
11/14/2014 5
#CCCEU14 | #CloudStackWorks
Simulator – What is it?
• Mock library, intercepts all provisioning
requests from orchestration layer
• Developed as a plugin that sits on the
resource layer
• Ability to simulate success, failure, timeout
• Ability to define scope for simulation or mock
– specific agent command, host, cluster, pod,
data center, number of executions
#CCCEU14 | #CloudStackWorks
Benefits of Simulator
• Software based approach, no need for
hypervisors/hardware
• Apart from happy-path scenarios, very easy to test
for failure scenarios by injecting faults and delays
• Almost 70-80% of existing tests can run using
Simulator
• More automated tests resulting in improved code
coverage
• Easy to test for scale and performance
• API support – helps in automation
#CCCEU14 | #CloudStackWorks
Simulator APIs
• configureSimulator - define a mock
behaviour based on specified criteria
• queryMock - query the status of existing
mock. This is useful for checking if the
mock actually got executed during the
test.
• cleanupMock – remove mock once done
with it, so that subsequent tests can
start from a fresh state.
#CCCEU14 | #CloudStackWorks
#CCCEU14 | #CloudStackWorks
Demo
#CCCEU14 | #CloudStackWorks
VM deployment retry
• Test path - test/integration/smoke/misc/test_deploy_vm.py
#CCCEU14 | #CloudStackWorks
VM high availability
• Test path - test/integration/smoke/misc/test_vm_ha.py
#CCCEU14 | #CloudStackWorks
CWiki resources
• https://cwiki.apache.org/confluence/display/CLOU
DSTACK/Writing+tests+leveraging+the+simulator
+enhancements
• https://cwiki.apache.org/confluence/display/CLOU
DSTACK/Validating+check-
ins+for+your+local+changes%2C+using+Simulato
r
#CCCEU14 | #CloudStackWorks
#CCCEU14 | #CloudStackWorks
Q & A

More Related Content

Viewers also liked

Killeen, TX Homes For Sale
Killeen, TX Homes For SaleKilleen, TX Homes For Sale
Killeen, TX Homes For Sale
cloudrealestate
 
2014product catalogue
2014product catalogue2014product catalogue
2014product catalogue
Sebastian Galliano
 
アベノミクス
アベノミクスアベノミクス
アベノミクス
Taiga Okuma
 
Document
DocumentDocument
Document
marcpaul09
 
Presentasi hip tulungagung
Presentasi hip tulungagungPresentasi hip tulungagung
Presentasi hip tulungagung
Havid Indra guna
 
Российские документики Лазаря Шаулова
Российские документики Лазаря ШауловаРоссийские документики Лазаря Шаулова
Российские документики Лазаря Шаулова
lazarik_shaulov
 
DOCUMENTATION
DOCUMENTATIONDOCUMENTATION
DOCUMENTATION
marcpaul09
 
Atmosfer XS5
Atmosfer XS5Atmosfer XS5
Atmosfer XS5
Ariel Tantono
 

Viewers also liked (8)

Killeen, TX Homes For Sale
Killeen, TX Homes For SaleKilleen, TX Homes For Sale
Killeen, TX Homes For Sale
 
2014product catalogue
2014product catalogue2014product catalogue
2014product catalogue
 
アベノミクス
アベノミクスアベノミクス
アベノミクス
 
Document
DocumentDocument
Document
 
Presentasi hip tulungagung
Presentasi hip tulungagungPresentasi hip tulungagung
Presentasi hip tulungagung
 
Российские документики Лазаря Шаулова
Российские документики Лазаря ШауловаРоссийские документики Лазаря Шаулова
Российские документики Лазаря Шаулова
 
DOCUMENTATION
DOCUMENTATIONDOCUMENTATION
DOCUMENTATION
 
Atmosfer XS5
Atmosfer XS5Atmosfer XS5
Atmosfer XS5
 

Similar to Cloudstack simulator

CloudStack Collaboration Conference Europe 2014 参加リポート
CloudStack Collaboration Conference Europe 2014 参加リポートCloudStack Collaboration Conference Europe 2014 参加リポート
CloudStack Collaboration Conference Europe 2014 参加リポート
Satoshi Shimazaki
 
Pulling Back the Curtain – CloudStack in Private and Community Clouds
Pulling Back the Curtain –CloudStack in Private and Community CloudsPulling Back the Curtain –CloudStack in Private and Community Clouds
Pulling Back the Curtain – CloudStack in Private and Community Clouds
Chip Childers
 
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
ShapeBlue
 
Rackspace: Unlock Your Cloud - RightScale Compute 2013
Rackspace: Unlock Your Cloud - RightScale Compute 2013Rackspace: Unlock Your Cloud - RightScale Compute 2013
Rackspace: Unlock Your Cloud - RightScale Compute 2013
RightScale
 
Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013
Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013
Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013
RightScale
 
Build A Better Way to Deliver IT
Build A Better Way to Deliver ITBuild A Better Way to Deliver IT
Build A Better Way to Deliver IT
Rackspace
 
Databricks clusters in autopilot mode
Databricks clusters in autopilot modeDatabricks clusters in autopilot mode
Databricks clusters in autopilot mode
Prakash Chockalingam
 
Containerising bootiful microservices javaeeconf
Containerising bootiful microservices javaeeconfContainerising bootiful microservices javaeeconf
Containerising bootiful microservices javaeeconf
Ivan Vasyliev
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for Testing
Mukta Aphale
 
Using Docker for Testing - Mukta
Using Docker for Testing - MuktaUsing Docker for Testing - Mukta
Using Docker for Testing - Mukta
Agile Testing Alliance
 
CloudOps CloudStack Budapest, 2014
CloudOps CloudStack Budapest, 2014CloudOps CloudStack Budapest, 2014
CloudOps CloudStack Budapest, 2014
CloudOps2005
 
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
RightScale
 
Deploying Kubernetes Clusters on Apache CloudStack
Deploying Kubernetes Clusters on Apache CloudStackDeploying Kubernetes Clusters on Apache CloudStack
Deploying Kubernetes Clusters on Apache CloudStack
ShapeBlue
 
Francisco Javier Ramirez Urea - Hopla - OSL19
Francisco Javier Ramirez Urea - Hopla - OSL19Francisco Javier Ramirez Urea - Hopla - OSL19
Francisco Javier Ramirez Urea - Hopla - OSL19
marketingsyone
 
Live Introduction to the Cloud Native Microservices Platform – open, manageab...
Live Introduction to the Cloud Native Microservices Platform – open, manageab...Live Introduction to the Cloud Native Microservices Platform – open, manageab...
Live Introduction to the Cloud Native Microservices Platform – open, manageab...
Lucas Jellema
 
Quality in a Square. K8s-native Quality Assurance of Microservices with Testkube
Quality in a Square. K8s-native Quality Assurance of Microservices with TestkubeQuality in a Square. K8s-native Quality Assurance of Microservices with Testkube
Quality in a Square. K8s-native Quality Assurance of Microservices with Testkube
QAware GmbH
 
Rightscale webinar-key-design-considerations-private-hybrid-clouds
Rightscale webinar-key-design-considerations-private-hybrid-cloudsRightscale webinar-key-design-considerations-private-hybrid-clouds
Rightscale webinar-key-design-considerations-private-hybrid-clouds
RightScale
 
Predicting Flights with Azure Databricks
Predicting Flights with Azure DatabricksPredicting Flights with Azure Databricks
Predicting Flights with Azure Databricks
Sarah Dutkiewicz
 
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Midori Oge
 
Operational dashboard for apache cloud stack
Operational dashboard for apache cloud stackOperational dashboard for apache cloud stack
Operational dashboard for apache cloud stack
Chip Childers
 

Similar to Cloudstack simulator (20)

CloudStack Collaboration Conference Europe 2014 参加リポート
CloudStack Collaboration Conference Europe 2014 参加リポートCloudStack Collaboration Conference Europe 2014 参加リポート
CloudStack Collaboration Conference Europe 2014 参加リポート
 
Pulling Back the Curtain – CloudStack in Private and Community Clouds
Pulling Back the Curtain –CloudStack in Private and Community CloudsPulling Back the Curtain –CloudStack in Private and Community Clouds
Pulling Back the Curtain – CloudStack in Private and Community Clouds
 
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
What’s New in CloudStack 4.15 - CloudStack European User Group Virtual, May 2021
 
Rackspace: Unlock Your Cloud - RightScale Compute 2013
Rackspace: Unlock Your Cloud - RightScale Compute 2013Rackspace: Unlock Your Cloud - RightScale Compute 2013
Rackspace: Unlock Your Cloud - RightScale Compute 2013
 
Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013
Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013
Tips For a Successful Cloud Proof-of-Concept - RightScale Compute 2013
 
Build A Better Way to Deliver IT
Build A Better Way to Deliver ITBuild A Better Way to Deliver IT
Build A Better Way to Deliver IT
 
Databricks clusters in autopilot mode
Databricks clusters in autopilot modeDatabricks clusters in autopilot mode
Databricks clusters in autopilot mode
 
Containerising bootiful microservices javaeeconf
Containerising bootiful microservices javaeeconfContainerising bootiful microservices javaeeconf
Containerising bootiful microservices javaeeconf
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for Testing
 
Using Docker for Testing - Mukta
Using Docker for Testing - MuktaUsing Docker for Testing - Mukta
Using Docker for Testing - Mukta
 
CloudOps CloudStack Budapest, 2014
CloudOps CloudStack Budapest, 2014CloudOps CloudStack Budapest, 2014
CloudOps CloudStack Budapest, 2014
 
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
 
Deploying Kubernetes Clusters on Apache CloudStack
Deploying Kubernetes Clusters on Apache CloudStackDeploying Kubernetes Clusters on Apache CloudStack
Deploying Kubernetes Clusters on Apache CloudStack
 
Francisco Javier Ramirez Urea - Hopla - OSL19
Francisco Javier Ramirez Urea - Hopla - OSL19Francisco Javier Ramirez Urea - Hopla - OSL19
Francisco Javier Ramirez Urea - Hopla - OSL19
 
Live Introduction to the Cloud Native Microservices Platform – open, manageab...
Live Introduction to the Cloud Native Microservices Platform – open, manageab...Live Introduction to the Cloud Native Microservices Platform – open, manageab...
Live Introduction to the Cloud Native Microservices Platform – open, manageab...
 
Quality in a Square. K8s-native Quality Assurance of Microservices with Testkube
Quality in a Square. K8s-native Quality Assurance of Microservices with TestkubeQuality in a Square. K8s-native Quality Assurance of Microservices with Testkube
Quality in a Square. K8s-native Quality Assurance of Microservices with Testkube
 
Rightscale webinar-key-design-considerations-private-hybrid-clouds
Rightscale webinar-key-design-considerations-private-hybrid-cloudsRightscale webinar-key-design-considerations-private-hybrid-clouds
Rightscale webinar-key-design-considerations-private-hybrid-clouds
 
Predicting Flights with Azure Databricks
Predicting Flights with Azure DatabricksPredicting Flights with Azure Databricks
Predicting Flights with Azure Databricks
 
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
 
Operational dashboard for apache cloud stack
Operational dashboard for apache cloud stackOperational dashboard for apache cloud stack
Operational dashboard for apache cloud stack
 

Recently uploaded

Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
kalichargn70th171
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
The Third Creative Media
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
ervikas4
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 

Recently uploaded (20)

Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 

Cloudstack simulator

  • 1. #CCCEU14 | #CloudStackWorks #CCCEU14 | #CloudStackWorks Cloudstack Simulator Koushik Das
  • 2. #CCCEU14 | #CloudStackWorks Agenda • Challenges related to product quality in the community • Solution to address some of them • What is the simulator? Benefits? • Demo • Q & A
  • 3. #CCCEU14 | #CloudStackWorks Challenges related to quality • Release getting delayed due to quality issues • Concern in community to merge big changes as no easy way to identify regressions • Complex to develop test scenarios due to distributed nature of the product
  • 5. #CCCEU14 | #CloudStackWorks Cloudstack Architecture 11/14/2014 5
  • 6. #CCCEU14 | #CloudStackWorks Simulator – What is it? • Mock library, intercepts all provisioning requests from orchestration layer • Developed as a plugin that sits on the resource layer • Ability to simulate success, failure, timeout • Ability to define scope for simulation or mock – specific agent command, host, cluster, pod, data center, number of executions
  • 7. #CCCEU14 | #CloudStackWorks Benefits of Simulator • Software based approach, no need for hypervisors/hardware • Apart from happy-path scenarios, very easy to test for failure scenarios by injecting faults and delays • Almost 70-80% of existing tests can run using Simulator • More automated tests resulting in improved code coverage • Easy to test for scale and performance • API support – helps in automation
  • 8. #CCCEU14 | #CloudStackWorks Simulator APIs • configureSimulator - define a mock behaviour based on specified criteria • queryMock - query the status of existing mock. This is useful for checking if the mock actually got executed during the test. • cleanupMock – remove mock once done with it, so that subsequent tests can start from a fresh state.
  • 9. #CCCEU14 | #CloudStackWorks #CCCEU14 | #CloudStackWorks Demo
  • 10. #CCCEU14 | #CloudStackWorks VM deployment retry • Test path - test/integration/smoke/misc/test_deploy_vm.py
  • 11. #CCCEU14 | #CloudStackWorks VM high availability • Test path - test/integration/smoke/misc/test_vm_ha.py
  • 12. #CCCEU14 | #CloudStackWorks CWiki resources • https://cwiki.apache.org/confluence/display/CLOU DSTACK/Writing+tests+leveraging+the+simulator +enhancements • https://cwiki.apache.org/confluence/display/CLOU DSTACK/Validating+check- ins+for+your+local+changes%2C+using+Simulato r
  • 13. #CCCEU14 | #CloudStackWorks #CCCEU14 | #CloudStackWorks Q & A