osbs2: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/osbs2 - from package: python-osbs

You may install the required package with command yum install {package}
Error in other languages:
osbs2: bevel nie gevind nie
osbs2: comandă negăsită
osbs2: comando não encontrado
osbs2: commande introuvable
osbs2: command not found
osbs2: käsku ei ole
osbs2: không tìm thấy lệnh
osbs2: komanda nerasta
osbs2: Kommando nicht gefunden.
osbs2: kommandot finns inte
osbs2: komut yok
osbs2: nie znaleziono polecenia
osbs2: níor aimsíodh an t-ordú
osbs2: no se encontró la orden
osbs2: no s'ha trobat l'ordre
osbs2: opdracht niet gevonden
osbs2: parancs nem található
osbs2: perintah tidak ditemukan
osbs2: príkaz nenájdený
osbs2: příkaz nenalezen
osbs2: команда не найдена
osbs2: командата не е открита
osbs2: 命令找不到
osbs2: コマンドが見つかりません