Skip to main content

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.

** Note that versions >= 2.0.0 of this package only work with the re-branded versions of the “HPE” cinder drivers. To run against the older “HP” cinder drivers, please install the latest 1.0.x version of this package.

Requirements

cliff
cliff-tab
python-3parclient

Installation instructions

pip install cinderdiags

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 python-lefthandclient --package-min-version 2.0.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cinderdiags-2.4.1.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

cinderdiags-2.4.1-py2-none-any.whl (30.8 kB view details)

Uploaded Python 2

File details

Details for the file cinderdiags-2.4.1.tar.gz.

File metadata

  • Download URL: cinderdiags-2.4.1.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cinderdiags-2.4.1.tar.gz
Algorithm Hash digest
SHA256 49059b24e3042b93ba8f8b2a7284e814c2cd653703dc9e60bfd7d0607f1a42a5
MD5 2c17665de4fcb43272cabf2d17e85c1f
BLAKE2b-256 0143cf0934a60dd33dcd69961146b225cde302cd1f696f4f1bbd029413febb89

See more details on using hashes here.

File details

Details for the file cinderdiags-2.4.1-py2-none-any.whl.

File metadata

File hashes

Hashes for cinderdiags-2.4.1-py2-none-any.whl
Algorithm Hash digest
SHA256 9fd72fc60e975f94866b94c33a42b6e896cd8a96e0726111d163b9ae9b25d2a6
MD5 c01f8f9116651e947faf6636d2c915be
BLAKE2b-256 d240053de49b84157d95f58453a26b56e46a0b2b672ecd7a649ce0ad5cedf271

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page