1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
# About
This project is a collection of OpenStack OPS tools.
# More in details
This package contains tools useful for OpenStack cloud administrators. In
include things like:
* Validating a compute host before putting it into service.
* More to come.
It can be used either on the command line, using /usr/bin/vgt, or as a
Python module, called by a higher level thing.
# Example usage for validating a compute:
```
vgt validate-compute \
--image-name debian-image \
--flavor-name cpu2-ram6-disk0 \
--network-name ext-net1 \
--host cluster1-compute-2.example.com \
--keep-enabled
```
Once done validating multiple compute node, one can:
```
vgt validate-cleanup
```
This will:
- create an aggreagte "hosts-to-validate"
- add the trait: CUSTOM_COMPUTE_TO_VALIDATE
- Make this trait required for that aggregate
- add the trait to the compute
- create a new "vgt" project and user
- create a bootable volume
- add the trait:CUSTOM_COMPUTE_TO_VALIDATE as required on that volume
- boot a VM from that volume
- make sure it is possible to ssh the newly created VM
After validate-compute the compute node trait is removed.
validate-cleanup deletes the aggregate and custom trait.
|