Bug 877606

Summary: Need to add "enabled_apis" in nova.conf
Product: Red Hat OpenStack Reporter: Etsuji Nakai <enakai>
Component: doc-Getting_Started_GuideAssignee: Bruce Reeler <breeler>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0 (Folsom)CC: apevec, eharney, rlandman, sandro, sgordon
Target Milestone: ---Keywords: Documentation, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-02 23:18:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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..