Cinder Diagnostics CLI
Project description
HPE Storage OpenStack Cinder Diagnostic CLI
Free software: Apache license
Overview
This CLI tool can be used to validate a user cinder.conf file and also to verify software installed on Cinder and Nova nodes.
Requirements
cliff
cliff-tab
hp3parclient
Installation instructions
pip install configdiags
Running the CLI
To view command options:
cinderdiags --help
Example commands:
cinderdiags help options-check cinderdiags options-check -v cinderdiags help software-check cinderdiags software-check --log-file tmp.txt cinderdiags software-check -software hplefthandclient --package-min-version 1.1.0
Configuration File
Before executing cinderdiags, the user must create a cli.conf configuration file. The following example shows the required fields and format:
[MY-CINDER-NODE] # required section name - must be unique service=cinder # service type = cinder or nova host_ip=15.125.224.1 # host system where service is running ssh_user=admin # SSH credentials for host system ssh_password=admin conf_source=/etc/cinder/cinder.conf # if cinder node, location of cinder config file [MY-NOVA-NODE] service=nova host_ip=15.125.224.1 ssh_user=admin
By default, this file needs to exist in the /etc/cinderdiags/ directory. Alternatively, this file path can be passed into the CLI command using the argument ‘-conf-file <file path>’.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cinderdiags-1.0.2.tar.gz
(15.2 kB
view hashes)
Built Distribution
Close
Hashes for cinderdiags-1.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd635e2c7d72782f855dcc5929e0ce98fb56a2f9463884c0b5612d2678106b29 |
|
MD5 | 2001949474f1bc56e330240530c981fa |
|
BLAKE2b-256 | b2427998d487ff088bf5c8d5119a9732d18a20c2e3b85a0afa1538e9ea135a3e |