<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello, </div><div><br></div><div>Can someone please help me with a nova-api issue.  After install all the nova services, all seem to be running fine, except for nova-api.  I even reboot my controller node, no luck.  After reboot all services are running, except nova-api.  When I manually start nova-api, nova-api crashes with the following error "<b>error: [Errno 98] Address already in use</b>".  I installed nova-volume earlier during the install process, but later on installed cinder, and made the necessary modifications (as far as I can tell) to nova-api.conf to use cinder for block storage.  Should I uninstall nova-volume? </div><div><br></div><div><div>2012-11-12 14:46:24 INFO keystone.middleware.auth_token [-] Starting keystone auth_token middleware</div><div>2012-11-12 14:46:24 INFO keystone.middleware.auth_token [-] Using /var/lib/nova/keystone-signing as cache directory for signing certificate</div><div>2012-11-12 14:46:24 CRITICAL nova [-] [Errno 98] Address already in use</div><div>2012-11-12 14:46:24 TRACE nova Traceback (most recent call last):</div><div>2012-11-12 14:46:24 TRACE nova   File "/usr/bin/nova-api", line 50, in <module></div><div>2012-11-12 14:46:24 TRACE nova     server = service.WSGIService(api)</div><div>2012-11-12 14:46:24 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 584, in __init__</div><div>2012-11-12 14:46:24 TRACE nova     port=self.port)</div><div>2012-11-12 14:46:24 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 72, in __init__</div><div>2012-11-12 14:46:24 TRACE nova     self._socket = eventlet.listen((host, port), backlog=backlog)</div><div>2012-11-12 14:46:24 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen</div><div>2012-11-12 14:46:24 TRACE nova     sock.bind(addr)</div><div>2012-11-12 14:46:24 TRACE nova   File "/usr/lib/python2.7/socket.py", line 224, in meth</div><div>2012-11-12 14:46:24 TRACE nova     return getattr(self._sock,name)(*args)</div><div>2012-11-12 14:46:24 TRACE nova error: [Errno 98] Address already in use</div><div>2012-11-12 14:46:24 TRACE nova </div><div>2012-11-12 14:46:24 INFO nova.service [-] Parent process has died unexpectedly, exiting</div><div>2012-11-12 14:46:24 INFO nova.service [-] Parent process has died unexpectedly, exiting</div><div>2012-11-12 14:46:24 INFO nova.wsgi [-] Stopping WSGI server.</div><div>2012-11-12 14:46:24 INFO nova.wsgi [-] Stopping WSGI server.</div></div><div><br></div><div>Would highly appreciate any pointers to understanding or resolving the issue. </div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Date: </span> Friday, November 9, 2012 12:45 AM<br><span style="font-weight:bold">To: </span> Vishvananda Ishaya <<a href="mailto:vishvananda@gmail.com">vishvananda@gmail.com</a>><br><span style="font-weight:bold">Cc: </span> "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Cannot start "nova-api" service<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span>Vishvananda Ishaya <<a href="mailto:vishvananda@gmail.com">vishvananda@gmail.com</a>><br><span style="font-weight:bold">Date: </span>Thursday, November 8, 2012 8:18 PM<br><span style="font-weight:bold">To: </span>Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span>"<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span>Re: [Openstack] Cannot start "nova-api" service<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 8, 2012, at 7:01 PM, Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Vish,</div><div><br></div><div>I am running cinder-api.   The following two lines are present in nova.conf. </div><div><br></div><div>volume_api_class=nova.volume.cinder.API</div><div>enabled_apis=ec2,osapi_compute,metadata </div><div><br></div><div>Do I need to re-sync the db, or add any additional lines to nova.conf?</div></div></blockquote><br></div><div>No that is it. Are you sure a) you don't have another nova-api or nova-metadata or nova-api-os-compute process running? and b) that your nova.conf is being read properly?</div><div><br></div><div>Vish</div></div></div></blockquote></span><div><br></div><div>As far as I can tell, no other nova-api, nova-metadata, nova-api-os-compute is running.   If there another way to confirm besides running "ps aux".  And how can I tell if nova.conf is being read properly?</div><div><br></div><div><div>root@bodega:~# ps aux | grep nova</div><div>nova       914  0.0  0.0  37952  1312 ?        Ss   16:01   0:00 su -s /bin/sh -c exec nova-novncproxy --config-file=/etc/nova/nova.conf nova</div><div>nova       916  0.0  0.2 122976 24108 ?        S    16:01   0:01 /usr/bin/python /usr/bin/nova-novncproxy --config-file=/etc/nova/nova.conf</div><div>nova      1235  0.0  0.0  37952  1312 ?        Ss   16:01   0:00 su -s /bin/sh -c exec nova-cert --config-file=/etc/nova/nova.conf nova</div><div>nova      1243  0.0  0.0  37952  1308 ?        Ss   16:01   0:00 su -s /bin/sh -c exec nova-consoleauth --config-file=/etc/nova/nova.conf nova</div><div>nova      1244  0.2  0.6 122996 51232 ?        S    16:01   1:12 /usr/bin/python /usr/bin/nova-cert --config-file=/etc/nova/nova.conf</div><div>nova      1249  0.2  0.6 122992 51252 ?        S    16:01   1:13 /usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf</div><div>nova      1252  0.0  0.0  37952  1312 ?        Ss   16:01   0:00 su -s /bin/sh -c exec nova-network --config-file=/etc/nova/nova.conf nova</div><div>nova      1255  0.0  0.0  37952  1308 ?        Ss   16:01   0:00 su -s /bin/sh -c exec nova-scheduler --config-file=/etc/nova/nova.conf nova</div><div>nova      1259  0.3  0.6 124964 53100 ?        S    16:01   1:16 /usr/bin/python /usr/bin/nova-network --config-file=/etc/nova/nova.conf</div><div>nova      1260  0.3  0.7 151856 59068 ?        S    16:01   1:16 /usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf</div><div>root      3509  0.0  0.0   9388   920 pts/3    S+   22:55   0:00 grep --color=auto nova</div><div>root@bodega:~# </div><div>root@bodega:~# </div><div>root@bodega:~# ls -l /etc/nova/</div><div>total 32</div><div>-rw-r----- 1 nova nova 3588 Sep 25 17:48 api-paste.ini</div><div>-rw-r-xr-x 1 nova nova 1329 Oct 20 19:16 logging.conf</div><div>-rw-r----- 1 nova nova 2203 Nov  8 18:34 nova.conf</div><div>-rw-r----- 1 root root  434 Nov  5 10:44 nova.conf.orig.ahmed</div><div>-rw-r----- 1 nova nova 5181 Sep 25 17:48 policy.json</div><div>-rw-r--r-- 1 root root  304 Sep 25 17:48 rootwrap.conf</div><div>drwxr-xr-x 2 root root 4096 Nov  5 10:36 rootwrap.d</div><div>root@bodega:~# </div></div><div><br></div><div><br></div><div>Can you help me understand the following error message in the file:</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre"></span><b>2012-11-08 23:31:27 CRITICAL nova [-] [Errno 98] Address already in use</b></div></div><div><br></div><div>By address, are we talking about tcp port number? If so, what is the port number?</div><div><br></div><div>Thank you,</div><div>Ahmed.</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div></div></blockquote></span></div></div></blockquote></span></body></html>