beaker-create-kickstart tries to read from /etc/beaker/server.cfg to get the database credentials, but that is only readable by root and the Beaker web service user so it fails when run as an ordinary user.
It would be good to provide a better error message in this case.
Steps to reproduce:
For each server CLI command (beaker-create-kickstart, beaker-init, beaker-create-ipxe-image, beaker-log-delete, nag-mail, product-update, beaker-repo-update, beaker-refresh-ldap):
1. Run the command as a non-root user
Non-zero exit status, error message like the following is printed:
Failed to read server configuration. [Errno 13] Permission denied: '/etc/beaker/server.cfg'.
Hint: run this command as root
Beaker 0.17.1 has been released.