These forums are a place for learning, helping and sharing experiences with others about any of our products. Feel free to ask a question and get answers from our community and our most advanced users.
Note that these are public forums - anyone can view the discussions here.
Announcements | |
CloudShell | TestShell |
Developers | BI (Business Inteligence) |
This is where you can suggest your ideas to help and improve the product for everyone.
Please make sure to read the following article before posting a new idea, to get more information about the required information and ideas lifecycle.
Feel free to vote and comment on other ideas to promote them.
Thanks for everyone who suggested the ideas and voted for them.
Find, download and share integrations that can extend and enhance the CloudShell experience.
Integrations have several levels:
Certified - Officially tested and supported by Quali.
Preview - Provides a sneak peek to what the Quali team is developing. Officially supported by Quali. Feel free to experiment and comment, but please take into consideration that it is not yet tested and released.
Community - Integrations shared by community users. Feel free to look into what other users have contributed, please take into consideration that these integrations are not tested by Quali.
To learn more about creating Shells and integrating with CloudShell, use the following links:
CloudShell's Dev Guide | Configuration Management |
Getting started with Shells | Extending CloudShell with Cloud Providers |
Getting started with Orchestration | API Guide |
To share your integration, follow the instructions in this guide.
Hello folks,
My group has identified a few events that occur during out sandbox setup_script’s execution which we consider to be critical failures. 'Critical Failures' mean something which should not allow the reservation to continue. Specifically, I want to:
Has anyone implemented anything like this? Can anyone suggest where I can start?
Answer by Song Chen · Jan 22, 2019 at 02:26 PM
Since you simply wants to end the sandbox and run teardown in this case, you may do the following in your Setup when 'Critical Failures' events occur:
from cloudshell.workflow.orchestration.sandbox import Sandbox
sandbox = Sandbox()
api_session = sandbox.automation_api
reservation_id = sandbox.id
api_session.WriteMessageToReservationOutput(reservation_id, 'ending sandbox')
api_session.EndReservation(reservation_id)
This will end (i.e. 'fail') the sandbox (state won't be Active or ActiveWithError), and invoke theTeardown script. Hope this helps.
Extend your CloudShell capabilities by creating your own Shells. Share your knowledge with the world and be part of our growing community
Api command to update the blueprint with specific setup and teardown script 2 Answers
Taking action when resource is added or removed from blueprint 1 Answer
Default setup/teardown scripts in 8.2 1 Answer
a script to get all the errors from activity feed of sandboxes created from a specific blueprint 0 Answers
Blueprint Input Parameters at Setup Time 3 Answers