Fuel Devops Postgres Configuration is not clear

Bug #1535912 reported by Michael Petersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Documentation Team
Mitaka
Won't Fix
Medium
Fuel Documentation Team
Newton
Confirmed
Medium
Fuel Documentation Team

Bug Description

There are issues with configuring the environment due to the assumption that users know Postgres. We need to clarify if you are supposed to use a password or not. If not then we need to specify the expected configuration/results.

https://docs.fuel-infra.org/fuel-dev/devops.html

Section 3.3.3

Set local peers to be trusted by default, create user and db and load fixtures.

sudo sed -ir 's/peer/trust/' /etc/postgresql/9.*/main/pg_hba.conf
sudo service postgresql restart
sudo -u postgres createuser -P <user> # see default <user> and <db> below
sudo -u postgres createdb <db> -O <user>
django-admin.py syncdb --settings=devops.settings
django-admin.py migrate devops --settings=devops.settings
in 2.5.x version, default <user> and <db> are devops
in 2.9.x version, default <user> and <db> are fuel_devops

This should let us know if we are expected to setup a Postgres without a password. The issue is that when we connect to localhost a password is expected.

Tags: area-docs
Maciej Relewicz (rlu)
Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Fuel Documentation Team (fuel-docs)
milestone: none → 9.0
tags: added: area-docs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.