osbs-2: 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/osbs-2 - from package: python-osbs-client

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