Bug 877606 - Need to add "enabled_apis" in nova.conf
Summary: Need to add "enabled_apis" in nova.conf
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: doc-Getting_Started_Guide
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Bruce Reeler
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-17 07:10 UTC by Etsuji Nakai
Modified: 2014-10-30 22:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-02 23:18:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Etsuji Nakai 2012-11-17 07:10:29 UTC
Description of problem:

In Chapter6 of the Getting Started Guide:

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_OpenStack_Preview/2/html-single/Getting_Started_Guide/index.html#Chapter-Nova

After setting the Cinder Volume API:

# openstack-config --set /etc/nova/nova.conf DEFAULT volume_api_class nova.volume.cinder.API

You have to add "enabled_apis=ec2,osapi_compute,metadata" in nova.conf, too:

# openstack-config --set /etc/nova/nova.conf DEFAULT enabled_apis ec2,osapi_compute,metadata

Without that, openstack-nova-api service fails to start with the following error in /var/log/nova/api.log:

2012-11-18 00:54:28 CRITICAL nova [-] [Errno 98] Address already in use



Version-Release number of selected component (if applicable):
$ rpm -qa | grep nova
openstack-nova-api-2012.2-2.1.el6.noarch
openstack-nova-2012.2-2.1.el6.noarch
python-novaclient-2.9.0-1.el6.noarch
openstack-nova-common-2012.2-2.1.el6.noarch
openstack-nova-objectstore-2012.2-2.1.el6.noarch
openstack-nova-cert-2012.2-2.1.el6.noarch
openstack-nova-compute-2012.2-2.1.el6.noarch
python-nova-2012.2-2.1.el6.noarch
openstack-nova-console-2012.2-2.1.el6.noarch
openstack-nova-network-2012.2-2.1.el6.noarch
openstack-nova-scheduler-2012.2-2.1.el6.noarch
openstack-nova-volume-2012.2-2.1.el6.noarch

Comment 3 Sandro Mathys 2012-11-28 14:32:42 UTC
FWIW: I can confirm Etsuji's findings and the proposed fix.

Comment 4 Bruce Reeler 2012-12-11 04:10:27 UTC
Fixed by Eric Harney as per Etsuji's recommendation.

Comment 6 Bruce Reeler 2013-12-02 23:18:22 UTC
The openstack-config command is no longer in Getting Started Guide..


Note You need to log in before you can comment on or make changes to this bug.