A script to extract infromation about instances (servers) from an OpenStack cluster.
Copyright (c) 2020 Marco Napolitano
The author is Marco Napolitano, email: mannysys-AaaaT-outlook.com put at sign instead of -AaaaT-
The content of the repository is licensed under Apache License, available at: http://www.apache.org/licenses/LICENSE-2.0
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This repository contains a script made to extract infromation about instances (servers) from an OpenStack cluster.
It is a custom script, made for a custom OpenStack architecture, where Nova ephemeral disks of instances are mounted from a nfs share,
which is the same nfs share mounted on all the compute nodes of the cluster.
In order to extract data, the script calls ssh to execute shell commands on one of the compute nodes, and also calls openstack cli from the host where it is run.
The output of the script is a csv file, so it can also be imported into a spreadsheet for further elaboration.
There is an example csv extraction file in the repository.