Code Monkey home page Code Monkey logo

traas's Introduction

traas is a set of Heat templates and wrapper scripts arond toci_gate_test.sh. You can think of traas as taking on the role that is done by nodepool and devstack-gate in CI, but using Heat instead. traas could just be used when you have access to an OpenStack cloud with Heat that you want to use for TripleO development.

The Heat templates are used to bring up a multinode environment, and then trigger some SoftwareDeployment resources on the undercloud node to execute a tripleo-ci job.

The main template is:

templates/traas.yaml

You can see the resources there for an undercloud node and set of overcloud nodes, etc. The templates requires some parameters. Included, there are some sample environment files that can be used to set the required parameters at:

templates/example-environments

Once the nodes are up, the main script that is triggered is:

scripts/traas.sh

The script logs to tripleo-root/traas.log in the home directory of the centos user. This logfile is equivalent to the upstream console.html output from a ci job.

That is a simple wrapper around toci_gate_test.sh. The $TOCI_JOBTYPE variable (passed in via a Heat parameter) is what drives which job is executed. Since it just executes toci_gate_test.sh, what tool tripleo-ci uses for that jobtype is what tool gets used to execute the job (tripleo-quickstart, tripleo.sh, etc).

By default, it will be set to multinode-1ctlr-featureset004 which is the default nonha multinode job used upstream in tripleo-ci.

It executes the ci job end to end and then leaves the environment up at the end for inspection and/or development.

traas's People

Contributors

arxcruz avatar emilienm avatar sathlan avatar slagle avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

traas's Issues

No package python-os-testr available.

When running traas.sh in RDO Cloud, the execution gets stop in toci_gate_test.sh because it can't find python-os-testr package. This issue seems to be related to https://bugs.launchpad.net/tripleo/+bug/1708175 and in fact, the patch referenced in the bug (https://review.openstack.org/#/c/490032/) was solving the issue but it has been abandoned.

Is there a possibility to implement some workaround when setting up the repos in https://github.com/slagle/traas/blob/master/templates/traas.yaml#L101 so that the package will be available when running "sudo yum install -y python-os-testr" in toci_gate_test.sh?

Stable release used for bootstrapping nodes conflicts with quickstart repo setup

I noticed that repo-setup role failed because of newer packages were installed via user data bootstrap script.

The latter had effectively invoked env STABLE_RELEASE=master tripleo-ci/scripts/tripleo.sh --repo-setup.

The former configured dlrn repos from quicktart's config/release/master-tripleo-ci.yml, which somehow ended up with older packages attempted to be installed and failed.

Not sure how to trace down the root cause of those two produced different configs for 'master' repos, but for traas we prolly should make the bootstrap repo config optional.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.