Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Summarize supportdump files from Mirantis MCC/MOS clusters

License

NotificationsYou must be signed in to change notification settings

escrevebastante/myrha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Summarize supportdump files from Mirantis MCC/MOS clusters

Installation:

Download the .sh scripts which corresponds to your distro (myrha-mac.sh or myrha-linux.sh). After that, create a link to /usr/local/bin folder:

$ sudo ln -s ~/Downloads/myrha-mac.sh /usr/local/bin/myrha

You should run "myrha" command inside the supportdump extracted folder, where either MCC or MOS logs are located. Example:

$ ~/Downloads/test/kaas-bootstrap/logs/ lskaas-mgmt/  mos/$ ~/Downloads/test/kaas-bootstrap/logs/ myrha

Myrha will check for nececessary packages and will prompt you to install them if needed (using apt,dnf or brew).
Once the script is complete, a new folder called "myrha" will be created, where yaml files will be created, containing the summary of different cluster aspects (MCC and/or MOS). The generated folder content should look like this:

$ ~/Downloads/test/kaas-bootstrap/logs/ ls myrha files             mos_nodes.yaml       mos_openstack.yaml  mos_l2template.yaml  mcc_cluster.yaml  mcc_lcmmachine.yaml  mcc_ipamhost.yaml    mcc_pv_pvc.yamlmos_cluster.yaml  mos_lcmmachine.yaml  mos_mariadb.yaml    mos_subnet.yaml      mcc_events.yaml   mcc_mariadb.yaml     mcc_l2template.yaml  mos_events.yaml   mos_ceph.yaml        mos_ipamhost.yaml   mos_pv_pvc.yaml      mcc_nodes.yaml    mcc_certs.yaml       mcc_subnet.yaml

By default, the script is set to automatically open Sublime text with all files generated. You can also open them up on vim by commenting the following lines:

/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl --new-window --command $LOGPATH/*.yaml 2> /dev/null

and uncommenting the following ones:

#nvim -R -c 'silent argdo set syntax=yaml' -p $LOGPATH/*_*#nvim -R -p $LOGPATH/*.yaml

About

Summarize supportdump files from Mirantis MCC/MOS clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp