Missing [database] section

Bug #1308560 reported by Genco YILMAZ
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Low
Tom Fifield

Bug Description

I am following openstack guide from the beginning and on this page I have seen something that I am not sure it is a configuration
mistake or a documentation.
  According to the documentation Step 2, I should modify the section [database] which actually doesn't exist in my configuration file /etc/nova/nova.conf (see below)
Should we say "add the section" or modify it? I am confused and don't know if it will cause any issues if my installation isn't proper. I have found bug 1250606 which is for the keystone_authtoken but entire section doesn't exist either which means we should add the section name in brackets as well. If you think I have a point here, I think documentation needs a bit clarification.

Thanks for checking.

I have the following details

root@controller:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

root@controller:~# apt-get install nova-api nova-cert nova-conductor nova-consoleauth \
> nova-novncproxy nova-scheduler python-novaclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
nova-api is already the newest version.
nova-cert is already the newest version.
nova-conductor is already the newest version.
nova-consoleauth is already the newest version.
nova-novncproxy is already the newest version.
nova-scheduler is already the newest version.
python-novaclient is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@controller:~# cat /etc/nova/nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
root@controller:~#

-----------------------------------
Built: 2014-04-16T12:36:57 00:00
git SHA: 613d37ffe7c78e5927c809f9f668737674a7c930
URL: http://docs.openstack.org/trunk/install-guide/install/apt/content/nova-controller.html
source File: file:/home/jenkins/workspace/openstack-install-deploy-guide-ubuntu/doc/install-guide/section_nova-controller.xml
xml:id: nova-controller

Revision history for this message
Tom Fifield (fifieldt) wrote :

Hi Genco,

Please add the [database] section

Revision history for this message
Genco YILMAZ (gencoyilmaz) wrote :

Hi Tom,
  I have added and it is working. This is my first time to follow this guide and I think putting a note about this in the documentation
might help others.

thanks
Genco.

Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → icehouse
tags: added: install-guide
Tom Fifield (fifieldt)
Changed in openstack-manuals:
importance: Medium → Low
status: Confirmed → In Progress
assignee: nobody → Tom Fifield (fifieldt)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/88133

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/88133
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=ae6ef70788549855deb7935111f50f28a4849220
Submitter: Jenkins
Branch: master

commit ae6ef70788549855deb7935111f50f28a4849220
Author: Tom Fifield <email address hidden>
Date: Thu Apr 17 11:58:15 2014 +0800

    Note that [database] may not exist

    in some ubuntus, the reader will need to add the [database] section.

    This patch adds a simple clarifying remark to that effect.

    Change-Id: Ibec8692bcccd177255fd64ed27ac8128651fb0bf
    Closes-Bug: 1308560

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
Roy So (airhins) wrote :

Also happens on Juno Release, CentOS 7.
Solution is quick straight forward as Tom's post #1, but may be a difficulty to new openstack admin.

Revision history for this message
Yann (yzagabe) wrote :

Also happens on Mitaka Release, ubuntu 14.04.
Same solution as before. (Tom's post #1).
Add all entries manually.
Please update documentation accordingly.

thanks

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.