Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 922685

Summary: Installation of l3 agent on stand alone node has incorrect auth_strategy
Product: Red Hat OpenStack Reporter: Gary Kotton <gkotton>
Component: openstack-quantumAssignee: Gary Kotton <gkotton>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: chrisw, ykaul
Target Milestone: snapshot5Keywords: Triaged
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-quantum-2012.2.3-9.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-04 18:03:35 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:
Attachments:
Description Flags
proposed pactht to quantum-l3-setup none

Description Gary Kotton 2013-03-18 09:59:42 UTC
Description of problem:
l3 agent fails to work on stand alone network node


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install Quantum l3 agent
2. Run quantum-l3-setup
3.
  
Actual results:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/quantum/agent/l3_agent.py", line 171, in daemon_loop
    self.do_single_loop()
  File "/usr/lib/python2.6/site-packages/quantum/agent/l3_agent.py", line 202, in do_single_loop
    target_ex_net_id = self._fetch_external_net_id()
  File "/usr/lib/python2.6/site-packages/quantum/agent/l3_agent.py", line 183, in _fetch_external_net_id
    ex_nets = self.qclient.list_networks(**params)['networks']
  File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 106, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 263, in list_networks
    return self.get(self.networks_path, params=_params)
  File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 542, in get
    headers=headers, params=params)
  File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 527, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 464, in do_request
    resp, replybody = self.httpclient.do_request(action, method, body=body)
  File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 138, in do_request
    self.authenticate()
  File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 179, in authenticate
    raise exceptions.Unauthorized(message='unknown auth strategy')


Expected results:


Additional info:

Comment 3 Gary Kotton 2013-03-18 11:35:34 UTC
A work around to the problem is s follows:
After running quantum-l3-setup edit add the following line to /etc/quantum/l3-agent.ini
auth_strategy = keystone

Comment 4 Gary Kotton 2013-03-18 11:51:20 UTC
Created attachment 711911 [details]
proposed pactht to quantum-l3-setup

Comment 6 Ofer Blaut 2013-03-24 15:27:22 UTC
fixed 
 
openstack-quantum-2012.2.3-10.el6ost.noarch

Comment 7 errata-xmlrpc 2013-04-04 18:03:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0706.html