Skip to content

wandersonlima/heketi_tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Requirements

  1. Gluster and Heketi PODs in the namespace "gluster"
  2. We have 3 gluster POD
  3. All volumes have 3 replicas

#How to start use this scripts:

git clone https://github.com/Cyreex/heketi_tools.git
cd heketi_tools
chmod +x *.sh

To start test just run:

./search-errors.sh

Lost gluster volumes

If you have warnings like this:

 These volumes we have in the Gluster but don't have in the Heketi (lost control):  
 vol_16c8b695505950ccc604e60e68c9de37  
 vol_67c8780e42ef40dafe7c1d2d4dd54871  

You can fix it:

./add-lost-volume-to-heketi-db.sh vol_67c8780e42ef40dafe7c1d2d4dd54871

#How to reset files on local server

git reset --hard origin/master 
git pull
chmod +x *.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%