Coder Social home page Coder Social logo

clapper's Introduction

Clapper

Synchronize setup and deployment for the Director.

Configuration Validation

After executing the below command, you can start validation.

openstack baremetal import --json instackenv.json

The script checks the json file for missing passwords and usernames, it also checks that the MAC addresses contained within the file are unique. Lastly, it tests connections to bare metal nodes and confirm they are accessible.

The only argument for instackenv-vaidator.py is -f to input a json file. By default this will search for instackenv.json.

In order to use the IPMI access checking feature, you’ll need to run the following command to install ipmitool on the undercloud node:

sudo yum -y install ipmitool

./instackenv-validation.py

The network-validation.py script takes the network-environment.yaml file which will be used to launch the overcloud as its input and checks for several things:

  • Subnets do not overlap
  • Allocation Pools should be part of the appropriate subnet
  • VLAN IDs are unique per network
./network-validation.py

End to End Network Validation

This is being done via a modification to the heat templates. This will use all the nodes available to ping the VLAN routers (if applicable) as well as the controller node and the default gateways on all nodes. If there is a failure it will show up in heat.

To apply these patches run:

cat patches/000* | (cd /usr/share/openstack-tripleo-heat-templates; sudo patch -p1)

If you get a failure from heat in the AllNodesValidations, you can run:

heat resource-list -n5 overcloud | grep Deployment | grep FAILED

and look for the deployments with names '0'. For each of these run:

heat deployment-show <uuid>

of a given deployment.

Overcloud Controller Settings

After deploying the overcloud, it is possible to check the controller's settings against current best practices for several configuration file by executing the check_overcloud_controller_settings.py script on it. For example, if your overcloud controller node has IP address 192.0.2.10:

ssh [email protected] 'python' < ./check_overcloud_controller_settings.py

Discovery Diff Validation

Provides difference in configuration based on data collected in ironic-inspectorprovides difference in configuration based on data collected in ironic-inspector

Steps

  • Update the hosts as per guidelines
  • Rename validations/files/env_vars.json.sample to validations/files/env_vars.json
  • Update the configuration to reflect the environment specific values
  • Run the validation
mv validations/files/env_vars.json.sample validations/files/env_vars.json
vi validations/files/env_vars.json  #update the configuration
ansible-playbook -v -i hosts validations/discovery_diff.yaml

clapper's People

Contributors

aathomas avatar jpeeler avatar larsks avatar mandre avatar tomassedovic avatar

Watchers

 avatar  avatar  avatar

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.