pkgos-gen-upstart-job: 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 Debian possible default full paths are:

/usr/bin/pkgos-gen-upstart-job - from package: openstack-pkg-tools

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