redhat-performance / satellite-monitoring

Monitor Red Hat satelitte & capsule servers
GNU General Public License v3.0
10 stars 22 forks source link

superuser creation is flawed during graphite setup #41

Closed andreamtp closed 6 years ago

andreamtp commented 6 years ago

The action Create initial graphite db when installing graphite via roles/graphite/tasks/main.yml has some problems.

The expect script setup-graphite-db.exp that is used to cope with the questions from manage.py syncdb miss the first question Would you like to create one now? (yes/no): and nonetheless do not correctly create a superuser needed for the setup - issue already advertised in #30

A more robust way to create superuser is needed.